/* =========================================
   HusService24 — układ TOP-NAV + stały panel
   POPRAWIONA WERSJA (mobile menu bez ucięć + ukryte scrollbary)
   ========================================= */

/* --- Zmienne --- */
:root{
  --bg:#f6f9fc; --surface:#ffffff; --text:#0f172a; --muted:#64748b;
  --primary:#0ea5e9; --primary-2:#0284c7; --border:#e6eaf0; --ring:#93c5fd;

  --r-md:16px; --r-lg:20px; --r-xl:24px;
  --shadow-sm:0 1px 0 rgba(15,23,42,.03);
  --shadow-md:0 10px 26px rgba(15,23,42,.06);
  --shadow-lg:0 24px 66px rgba(15,23,42,.12);

  --maxw:1180px; --gutter:22px;
  --sp-1:8px; --sp-2:12px; --sp-3:14px; --sp-4:18px;
  --sp-5:22px; --sp-6:28px; --sp-7:36px; --sp-8:48px;

  --wys-pasek:56px;

  /* szkło */
  --glass-bg:rgba(255,255,255,.74);
  --glass-bd:rgba(230,234,240,.85);
  --glass-blur:8px;

  --pasek-plus:0px;
}

/* --- Reset/Global --- */
*, *::before, *::after { box-sizing:border-box; }

html{
  width:100%;
  overflow-x:hidden;
  -webkit-text-size-adjust:100%;
}
body{
  width:100%;
  min-width:0;
  overflow-x:hidden;
}
body{
  margin:0;
  max-height: 95%;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-size:16px; line-height:1.6; color:var(--text);
  background:
    radial-gradient(1200px 560px at 92% -10%, rgba(14,165,233,.12), rgba(14,165,233,0) 60%),
    var(--bg);
}

a{color:inherit; text-decoration:none}
a:focus-visible,button:focus-visible{outline:3px solid var(--ring); outline-offset:2px}
.kontener{width:100%; max-width:var(--maxw); margin-inline:auto; padding-inline:var(--gutter);max-height: 98%;}

img, video, iframe{ max-width:100%; }

/* --- Ukrywanie pasków przewijania (scroll działa) --- */
.okno-scroll,
.czat-lista,
.modal__okno{
  scrollbar-width:none;       /* Firefox */
}
.okno-scroll::-webkit-scrollbar,
.czat-lista::-webkit-scrollbar,
.modal__okno::-webkit-scrollbar{
  width:0; height:0;          /* Chrome/Safari */
}

/* --- Pasek górny --- */
.pasek{
  position: sticky;
  top: 0;
  z-index: 1;
  height: var(--wys-pasek);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.82));
  backdrop-filter: saturate(1.05) blur(10px);
  -webkit-backdrop-filter: saturate(1.05) blur(10px);
  border-bottom: 1px solid rgba(230,234,240,.9);
  box-shadow: 0 1px 0 rgba(15,23,42,.03);
  border-radius: 0 0 14px 14px;
  isolation: isolate;
  /* width:min(1180px, 62vw); */
  max-width: 1148px;
}

.marka{display:flex; align-items:center; gap:10px; font-weight:800}
.marka--home{ padding:0; border:0; background:transparent; color:inherit; font:inherit; cursor:pointer; }
.marka .logo{width:30px; height:30px; object-fit:contain; border-radius:10px; box-shadow:0 1px 4px rgba(15,23,42,.15)}
.jezyki{display:flex; gap:8px}
.jezyk{font:inherit; cursor:pointer; padding:6px 10px; background:#fff; color:var(--text); border:1px solid var(--border); border-radius:999px; transition:border-color .15s, transform .15s}
.jezyk:hover{border-color:#1c5aa7; transform:translateY(-1px)}
.aktywny-jezyk{box-shadow:0 0 0 2px var(--text) inset}

/* --- Układ główny: nawigacja NA GÓRZE + panel poniżej --- */
.miejsce-tresci{padding-block:4px var(--sp-6)}
.ekran{
  display:grid; gap:16px; align-items:stretch;
  grid-template-areas:
    "nav"
    "panel";
  grid-template-rows:auto 1fr;


}

.nawigacja-kafelki{ grid-area: nav; }
.panel-glowny{ grid-area: panel; }

/* --- TOP NAV (desktop/tablet) --- */
.nawigacja-kafelki{
  width:100%;
  max-width:100%;
  margin:8px auto 4px;
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:12px;
  background:transparent; padding:0; border-radius:0;
}

.tile{
  display:flex; gap:12px; align-items:center; width:100%;
  background:#fff; border:1px solid #edf1f6; border-radius:14px;
  padding:12px 14px;
  box-shadow:0 3px 12px rgba(15,23,42,.06);
  transition:transform .15s, box-shadow .15s, border-color .15s, background .15s;
  cursor:pointer; text-align:left;
}
.tile:hover{ transform:translateY(-2px); box-shadow:0 10px 24px rgba(15,23,42,.10); border-color:#e6f2fb; background:#fdfefe }
.tile.aktywny{ border-color:#b6e3fb; box-shadow:0 0 0 3px rgba(14,165,233,.22), 0 14px 34px rgba(15,23,42,.08) }
.tile--akcent{ background:linear-gradient(180deg,#ffffff,#f8fcff) }
.tile__ikona{
  width:40px; height:40px; border-radius:12px; display:grid; place-items:center;
  font-size:20px; line-height:1;
  background:linear-gradient(180deg,#f0f8ff,#ffffff);
  border:1px solid #eaf2f8;
}
.tile__tekst h3{margin:2px 0 0; font-size:16px}
.tile__tekst p{margin:0; color:#64748b; font-size:13px}

/* --- Panel stały (środek) --- */
.panel-glowny{display:flex}
.okno-stale{
  position:relative; flex:1;
  height:clamp(520px, 72svh, 760px);
  border-radius:22px;
  border:1px solid var(--glass-bd);
  background:linear-gradient(180deg,#f7fbff 0%, #ffffff 70%), #fff;
  box-shadow:var(--shadow-md);
  overflow:hidden;
  display:flex; align-items:stretch; justify-content:center;
}
.okno-stale::before{
  content:""; position:absolute; inset:0;
  background:var(--glass-bg);
  backdrop-filter:blur(var(--glass-blur)) saturate(1.05);
  -webkit-backdrop-filter:blur(var(--glass-blur)) saturate(1.05);
  z-index:0;
}
.okno-stale::after{
  content:""; position:absolute; inset:0; z-index:0;
  background:url("/HusService24.png") no-repeat center center / min(52vw,520px);
  opacity:.10; filter:saturate(.9) contrast(1.05) brightness(1.06);
  mix-blend-mode:multiply; pointer-events:none;
}
.okno-stale.stan-start::after{ opacity:.18; background-size:min(58vw,560px); filter:none }

/* Rama środka + scroll w środku */
.okno-zawartosc{
  position:relative; z-index:1;
  width:min(100%, 94%); margin:auto;
  padding:clamp(16px, 2.6vw, 28px);
  display:flex; flex-direction:column; gap:16px;
  height:100%;
}
.okno-scroll{
  overflow:auto;
  flex:1 1 auto;
  min-height:0;
  padding-right:2px;
  padding-bottom:24px;
  scroll-behavior:smooth;
}

/* Treści wyśrodkowane (Start/Kontakt/Logowanie) */
.okno-wycentrowane{
  min-height: clamp(420px, 56vh, 700px);
  display:grid; place-items:center; text-align:center; gap:12px;
}

/* Fade między widokami */
.okno-zawartosc{ opacity:1; transition:opacity .18s ease; width: min(94%, 94%);max-height: 93%; }
.okno-zawartosc.zanik{ opacity:0 }
.okno-zawartosc.pojaw{ opacity:1 }

/* Typografia */
h1,h2,h3{line-height:1.2; margin:0 0 var(--sp-3)}
h1{font-weight:850; font-size:clamp(28px,3.2vw,40px); letter-spacing:-.2px}
h2{font-weight:800; font-size:clamp(20px,2.2vw,26px)}
h3{font-weight:700; font-size:clamp(16px,2vw,20px)}
p{margin:0 0 var(--sp-3)} .muted{color:var(--muted)}

/* Przyciski – kompakt */
.akcje{display:flex; gap:10px; flex-wrap:wrap; justify-content:center}
.guzik{display:inline-block; cursor:pointer; padding:9px 14px; border-radius:12px; border:1px solid transparent; transition:.15s transform,.15s box-shadow,.15s background,.15s border-color; font-weight:600}
.guzik--pierwszy{background:var(--primary); color:#fff; box-shadow:0 6px 16px rgba(14,165,233,.24)}
.guzik--pierwszy:hover{background:var(--primary-2); transform:translateY(-1px)}
.guzik--obrys{background:#fff; color:var(--text); border-color:var(--border)}
.guzik--obrys:hover{border-color:var(--primary); transform:translateY(-1px)}

/* Paski-info / listy */
.kolumna-paskow{display:flex; flex-direction:column; gap:12px}
.pasek-info{
  background:var(--glass-bg); border:1px solid var(--glass-bd); border-radius:16px;
  backdrop-filter:blur(var(--glass-blur)); -webkit-backdrop-filter:blur(var(--glass-blur));
  padding:16px; box-shadow:0 10px 24px rgba(15,23,42,.06);
}
.pasek-info--delikatny{ background:rgba(255,255,255,.66); border-color:rgba(230,234,240,.7) }
.lista{margin:10px 0 0 18px} .lista li{margin:4px 0}

/* === Karty USŁUG z ikoną (flat) === */
.uslugi--flat{ 
  display:flex; 
  flex-wrap:wrap;
  /* flex-direction:column;  */
  gap:10px;
  padding-bottom: 60px;
}
.pasek-usluga{
  display:inline-flex; grid-template-columns:48px 1fr; gap:12px; align-items:flex-start;
  flex:0 0 auto;
  width:100%;
  min-height:68px;
  /* padding:12px 14px; border-radius:14px;  */
  padding:6px 10px;
  border-radius:10px;
  border-color: rgba(200,210,225,.55);
  border:1px solid #edf1f6;
  background:rgba(255,255,255,.42);
  box-shadow:none; transition:background .15s, border-color .15s, transform .12s; position:relative; cursor:pointer;
    font-weight:700;
  font-size:13px;
}

/* .why__badges{ display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.why__badge{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(230,234,240,.9);
  background:rgba(255,255,255,.75);
  font-weight:700;
  font-size:13px;
} */


.pasek-usluga:hover{ background:rgba(240,249,255,.52); border-color:#cfeafa; transform:translateY(-1px) }
.pasek-usluga::before{
  content:""; position:absolute; left:0; top:8px; bottom:8px; width:3px; border-radius:6px; background:transparent; transition:background .15s;
}
.pasek-usluga:hover::before{ background:#0ea5e94a; }
.usluga__ikona{
  width:48px; height:48px; border-radius:12px; display:grid; place-items:center;
  font-size:22px; background:linear-gradient(180deg,#f0f8ff,#ffffff);
  border:1px solid #eaf2f8; box-shadow:inset 0 1px 0 rgba(255,255,255,.8);
}
.usluga__tytul{ margin:2px 0 4px; font-weight:800; letter-spacing:-.2px; font-size:18px }
.usluga__opis{ margin:0; color:#6b7280; font-size:14.5px; line-height:1.5 }

/* --- OPINIE / CZAT --- */
.czat{
  display:flex;
  flex-direction:column;
  gap:10px;
  flex:1 1 auto;
  min-height:0;
  height:auto;
}
.czat-lista{
  list-style:none;
  margin:0;
  padding:0;
  overflow:auto;
  flex:1 1 auto;
  min-height:0;
  display:flex;
  flex-direction:column;
  gap:10px;
  padding-bottom:78px;
}
.dymek{
  max-width:85%; padding:10px 12px; border-radius:16px;
  background:var(--glass-bg); border:1px solid var(--glass-bd);
  backdrop-filter:blur(var(--glass-blur)); -webkit-backdrop-filter:blur(var(--glass-blur));
  box-shadow:0 8px 18px rgba(15,23,42,.06); word-break:break-word;
}
.dymek--prawa{ margin-left:auto; border-bottom-right-radius:6px }
.dymek--lewa{ margin-right:auto; border-bottom-left-radius:6px }
.dymek__meta{color:var(--muted); font-size:.85rem; margin-top:4px}
.dymek__zdj{display:flex; gap:6px; flex-wrap:wrap; margin-top:6px}
.dymek__zdj img{max-width:140px; height:auto; border-radius:10px; border:1px solid var(--glass-bd); background:#fff}

.czat-form{
  display:flex; gap:8px; align-items:center; padding-top:8px;
  position:sticky; bottom:0;
  background:#fff; border-top:1px solid #e6eaf0;
}
.czat-input{
  flex:1 1 auto; min-height:46px; resize:vertical; max-height:160px;
  border:1px solid var(--border); border-radius:12px; padding:10px 12px;
  font:inherit; background:#fff; min-width:0;
}
.czat-dodaj{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  border:1px solid var(--border);
  border-radius:12px;
  background:#fff;
  cursor:pointer;
  overflow:hidden;
  font-size:20px;
  flex:0 0 auto;
}
.czat-dodaj input[type="file"]{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  opacity:0;
  cursor:pointer;
}
.czat-wyslij{ white-space:nowrap }

/* --- Stopka --- */
.stopka{padding:18px 0 36px; color:var(--muted); border-top:1px solid var(--border)}
.stopka a{text-decoration:underline} .stopka a:hover{text-decoration:none}

/* --- Nick overlay / toast --- */
.nakladka{
  position: absolute; inset: 0; z-index: 5; display: grid; place-items: center;
  background: rgba(15,23,42,.25); backdrop-filter: blur(6px);
}
.nakladka[hidden]{ display:none !important; }
.okno-pytanie{
  width: min(520px, 92%); background: rgba(255,255,255,.96); border: 1px solid rgba(230,234,240,.9);
  border-radius: 18px; box-shadow: 0 24px 66px rgba(15,23,42,.16); padding: 18px; text-align: center;
}
.nick-form{ display:flex; flex-direction:column; gap:12px; margin-top:10px }
.pole{ width:100%; font:inherit; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border); background: #fff;max-width: 95%; }

.powiadom{
  position: absolute; z-index: 6; left: 50%; top: 16px; transform: translateX(-50%);
  background: #0ea5e9; color:#fff; font-weight:700; padding: 10px 14px; border-radius: 12px;
  box-shadow: 0 12px 28px rgba(14,165,233,.32); opacity: 0; pointer-events:none; transition: opacity .18s;
}
.powiadom.pokaz { opacity: 1; }

/* --- Modal --- */
.modal{
  position:fixed; inset:0; z-index:9999; display:grid; place-items:center;
  background:
    radial-gradient(1200px 520px at 50% -10%, rgba(14,165,233,.14), rgba(14,165,233,0) 60%),
    rgba(15,23,42,.42);
  backdrop-filter: blur(10px) saturate(1.05); -webkit-backdrop-filter: blur(10px) saturate(1.05);
  overflow:hidden; overscroll-behavior:none;
  opacity: 0; pointer-events: none; transition: opacity .22s ease;
}
.modal[hidden]{ display: none !important; }
.modal.open{ opacity: 1; pointer-events: auto; }

/* Otwarte szczegóły usługi blokują dokument i wszystkie panele pod spodem. */
html.service-modal-scroll-locked,
body.service-modal-open{
  overflow:hidden !important;
  overscroll-behavior:none;
}
body.service-modal-open .okno-scroll{
  overflow:hidden !important;
  overscroll-behavior:none;
  touch-action:none;
}
body.service-modal-open .mobile-contact-bar{
  visibility:hidden;
  opacity:0;
  pointer-events:none;
}

.modal__okno{
  position:relative; width:min(720px,92%); max-height:86svh; background:#fff;
  border:1px solid rgba(230,234,240,.9); border-radius:18px;
  box-shadow: 0 28px 70px rgba(15,23,42,.20), 0 8px 20px rgba(15,23,42,.08);
  transform: scale(.985) translateY(6px); opacity: .96;
  transition: transform .22s ease, opacity .22s ease, box-shadow .22s ease;
  padding:16px 56px 20px 20px;
  overflow-x:hidden; overflow-y:auto;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  touch-action:pan-y;
}
.modal.open .modal__okno{ transform: scale(1) translateY(0); opacity: 1; }
.modal__zamknij{
  position: absolute !important; top: 12px !important; right: 12px !important; left: auto !important;
  margin: 0 !important; transform: none !important; z-index: 9999 ;
  width: 36px; height: 36px; display:grid; place-items:center;
  border: 1px solid var(--border); background:#fff; border-radius: 10px; cursor: pointer; font-size: 18px; line-height: 1;
}
.modal__okno::before{
  content:""; position:absolute; inset:0; z-index:0;
  background:url("/HusService24.png") center/ clamp(160px, 40%, 380px) no-repeat;
  opacity:.08; pointer-events:none;
}
.modal__okno > *{ position:relative; z-index:1; }
.modal__okno h2:first-child{ margin:0 0 10px; }
@media (prefers-reduced-motion: reduce){
  .modal, .modal__okno{ transition: none !important; }
}

/* --- Responsywność drobna --- */
@media (max-width: 720px){
  .tile__tekst p{display:none}
  .okno-wycentrowane{ min-height: 52vh }
}
.pasek::before{ width:100%; }
@media (max-width:1200px){ .pasek{ max-width:72%; } }
@media (max-width:900px){  .pasek{ max-width:88%; } }
@media (max-width:640px){  .pasek{ max-width:100%; border-radius:0 0 10px 10px;} }

/* ===== Dlaczego my / Why ===== */
.why{ display:flex; flex-direction:column; gap:16px; }
.why__header{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:14px;
  align-items:stretch;
}
.why__lead{ margin-top:-6px; }
.why__badges{ display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.why__badge{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(230,234,240,.9);
  background:rgba(255,255,255,.75);
  font-weight:700;
  font-size:13px;
}
.why__media{
  margin:0;
  border-radius:18px;
  border:1px solid rgba(230,234,240,.9);
  overflow:hidden;
  box-shadow:0 10px 24px rgba(15,23,42,.06);
  background:#fff;
  min-height:200px;
}
.why__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.why__grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:12px;
}
.why__card{
  background:rgba(255,255,255,.72);
  border:1px solid rgba(230,234,240,.85);
  border-radius:16px;
  padding:14px;
  box-shadow:0 10px 24px rgba(15,23,42,.06);
}
.why__card h3{ margin:0 0 6px; font-size:16px; }
.why__card p{ margin:0; color:var(--muted); font-size:14px; }

.why__cta{
  margin-top:6px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px;
  border-radius:16px;
  border:1px solid rgba(230,234,240,.85);
  background:linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.68));
}
@media (max-width: 900px){
  .why__header{ grid-template-columns: 1fr; }
  .why__grid{ grid-template-columns: 1fr; }
  .why__media{ min-height:180px; }
  .why__cta{ flex-direction:column; align-items:flex-start; }
}

/* ===== Kontakt ===== */
.kontakt{ max-width: 980px; margin: 0 auto; padding: 2px 2px 14px; }
.kontakt__head{ margin-bottom: 14px; }
.kontakt__stack{ display:flex; flex-direction:column; gap:14px; }

.kontakt__card{
  background:#fff;
  border:1px solid #edf1f6;
  border-radius:16px;
  box-shadow:0 10px 26px rgba(15,23,42,.06);
  padding:16px;
}
.kontakt__cardTop{
  display:flex;
  gap:12px;
  align-items:flex-start;
  margin-bottom:12px;
}
.kontakt__ico{
  width:44px; height:44px;
  border-radius:14px;
  display:grid; place-items:center;
  background:linear-gradient(180deg,#f0f8ff,#ffffff);
  border:1px solid #eaf2f8;
  font-size:20px;
  flex:0 0 auto;
}
.kontakt__h2{ margin:0 0 4px; font-size:18px; font-weight:850; letter-spacing:-.2px; }

.kontakt__actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  width:100%;
}
.kontakt__actions a,
.kontakt__actions button{
  max-width:100%;
  overflow-wrap:anywhere;
}
.kontakt__btn{ border-radius:14px; }
.guzik--fb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.guzik--fb .fb-ico {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.guzik--fb {
  border-color: #1877f2;
  color: #1877f2;
  background: transparent;
}

.guzik--fb:hover {
  background: #1877f2;
  color: #fff;
}


/* Sklepy */
.kontakt__stores{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:6px;
}
.store{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid #edf1f6;
  background:linear-gradient(180deg,#ffffff,#f8fcff);
  min-width: 220px;
  box-shadow:0 8px 18px rgba(15,23,42,.05);
  text-decoration:none;
  color:inherit;
  max-width:100%;
}
.store:hover{ border-color:#dbeafe; transform: translateY(-1px); transition:.15s; }

.store__logo{
  width:40px; height:40px;
  border-radius:12px;
  display:grid; place-items:center;
  border:1px solid #eaf2f8;
  background:#fff;
  font-weight:900;
}
.store__txt{ display:flex; flex-direction:column; line-height:1.1; min-width:0; }
.store__small{ font-size:12px; color:#64748b; }
.store__big{ font-size:16px; font-weight:850; letter-spacing:-.2px; }
.store__badge{
  margin-left:auto;
  font-size:12px;
  font-weight:800;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid #e6eaf0;
  background:#fff;
  color:#64748b;
}
.store--disabled{
  opacity:.65;
  filter:saturate(.85);
  cursor:not-allowed;
}
.kontakt__note{ margin:10px 0 0; }

/* ===== Panel klienta ===== */
#konto-mount {
  min-height: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.konto-card {
  border-radius: 22px;
  padding: 40px 48px;
  max-width: 420px;

  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,.08);
  position: relative;
  z-index: 2;
}
.konto-card h1 { font-size: 28px; margin-bottom: 10px; }
.konto-card p { color: #64748b; margin-bottom: 22px; }
.konto-actions { display: flex; gap: 12px; justify-content: center; margin-bottom: 18px; flex-wrap:wrap; }
.konto-note { font-size: 13px; color: #94a3b8; }
.konto-avatar {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 32px;
  margin: 0 auto 20px;
  box-shadow: 0 10px 30px rgba(14,165,233,.4);
}



.mob-only{ display:none; }

@media (max-width: 640px){
  :root{
    --gutter:14px;
  }

  .stopka {
    padding: 0 0 0;
    border-top: none;
    margin-top: -7%;
    margin-left: 4%;
    text-align:center;
  }
  .kontener {
    max-height: 60%;
  }
  .mob-only{ display:inline-flex; }
.ekran {
  width: 100%;
  min-width: 0;
  margin-left: 0;
  margin-top: -4%;
}

@media (min-width:641px) and (max-width:900px){
  .nawigacja-kafelki{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .nawigacja-kafelki > .tile:last-child{
    grid-column:1 / -1;
    width:calc(50% - 6px);
    justify-self:center;
  }
}
.okno-stale {
  max-height: 99%;
}
  /* HEADER */
  .pasek{
    max-width:100%;
    height:auto;
    padding:10px var(--gutter);
    gap:10px;
    flex-wrap:nowrap;
    border-radius:0 0 14px 14px;
    z-index: 2;
    /* KLUCZ: header zawsze nad menu */
    position: sticky;
    top: 0;

  }

  .mob-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:40px;
    height:40px;
    border-radius:12px;
    border:1px solid var(--border);
    background:#fff;
    cursor:pointer;
    box-shadow:0 3px 12px rgba(15,23,42,.06);
    font-size:18px;
    line-height:1;
    flex:0 0 auto;
  }

  /* JĘZYKI jako dropdown */
  .jezyki{ display:none; }
  body.lang-open .jezyki{
    display:flex;
    position:fixed;
    top: calc(var(--wys-pasek) + 12px);
    right:12px;
    flex-wrap:wrap;
    gap:8px;
    padding:10px;
    background: rgba(255, 255, 255, 0.94);
    border:1px solid rgba(230,234,240,.9);
    border-radius:16px;
    box-shadow:0 18px 50px rgba(15,23,42,.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index:99999; /* nad wszystkim */
  }

  /* MENU — panel wysuwany spod nagłówka */
  .nawigacja-kafelki{
    position:fixed;

    /* KLUCZ: menu zaczyna się POD nagłówkiem */
    top: var(--wys-pasek);
    left: 0;
    right: 0;
    bottom: 0;

    /* pełna szerokość bez szarego paska */
    width:100%;
    max-width:100%;
    margin:0;

    z-index:3; /* pod headerem (500) */

    /* tło jak normalna karta */
    background:#fff;
    border-right:none;
    box-shadow:0 18px 60px rgba(15,23,42,.16);

    /* układ */
    display:flex;
    flex-direction:column;
    gap:0;

    /* padding jak w "Dlaczego my" */
    padding:14px 12px calc(18px + env(safe-area-inset-bottom));

    /* koniec poziomego overflow */
    overflow-x:hidden;
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;

    /* ukrycie + animacja */
    opacity:0;
    pointer-events:none;
    transform: translateY(-10px);
    transition: opacity .18s ease, transform .18s ease;

    /* usuń wpływ desktopowego grid-a */
    grid-template-columns: none !important;
  }

  body.menu-open .nawigacja-kafelki{
    opacity:1;
    pointer-events:auto;
    transform: translateY(0);
  }

  /* ukryj pseudo-szufladę (jeśli gdzieś została) */
  .nawigacja-kafelki::before{ content:none !important; }

  /* kafelki: zawsze 100% szerokości kontenera */
  .nawigacja-kafelki > .tile{
    width:100%;
    margin:0;
    flex:0 0 auto;
  }
  .nawigacja-kafelki > .tile + .tile{ margin-top:10px; }

  /* opisy w menu zostają */
  .tile__tekst p{ display:block; }

  /* ukryj pasek przewijania w menu (scroll działa) */
  .nawigacja-kafelki{ scrollbar-width:none; }
  .nawigacja-kafelki::-webkit-scrollbar{ width:0; height:0; }

  /* Menu ma własny scroll, a strona pod nim pozostaje nieruchoma. */
  html.menu-scroll-locked,
  body.menu-open,
  body.lang-open{
    overflow:hidden;
    overscroll-behavior:none;
  }
  body.menu-open .okno-scroll{
    overflow:hidden !important;
    overscroll-behavior:none;
    touch-action:none;
  }
  body.menu-open .nawigacja-kafelki{
    overflow-y:auto;
    overscroll-behavior:contain;
    touch-action:pan-y;
  }
  body.menu-open .panel-glowny,
  body.menu-open .stopka,
  body.menu-open .mobile-contact-bar{
    pointer-events:none;
  }

  /* CZAT form na mobile */
  .czat-form{
    flex-wrap:wrap;
    gap:8px;
    padding:10px;
  }
  .czat-input{
    flex:1 1 100%;
    width:100%;
    min-width:0;
    min-height:44px;
  }
  .czat-wyslij{
    flex:1 1 auto;
    width:auto;
    padding:10px 14px;
  }

  /* MODAL na mobile */
  .modal__okno{
    width: min(80vw, 300px);
    max-height: 88svh;
    padding:14px 14px 16px;
    border-radius:16px;
  }
  .modal__zamknij{
    top:10px !important;
    right:10px !important;
    z-index: 9999;
  }
  .modal__okno::before{
    background-size: clamp(140px, 55%, 320px);
  }

  /* Panel klienta padding mniejszy */
  #konto-mount{ padding:1px; background-color:none;}
  .konto-card{ padding:22px 18px; margin-top: -10px; }
  

  /* Kontakt: nie wyjeżdża */
  .kontakt, .kontakt * { min-width:0; }
}

/* (Opcjonalnie) Ukryj scrollbar globalnie w całej stronie,
   ale zostawiamy tylko na elementach scrollowanych powyżej,
   żeby nie psuć debugowania. */


/* ===== Strona startowa: budowa, remonty i serwis ===== */
.home-view{ padding:clamp(4px,1vw,12px) 2px 24px; }
.home-hero{ max-width:860px; margin:0 auto; padding:clamp(18px,4vw,44px) 10px 28px; text-align:center; }
.home-eyebrow{ margin:0 0 10px; color:var(--primary-2); font-size:13px; font-weight:800; letter-spacing:.13em; }
.home-hero h1{ max-width:780px; margin:0 auto 14px; font-size:clamp(32px,5vw,58px); line-height:1.05; }
.home-lead{ max-width:760px; margin:0 auto 22px; color:var(--muted); font-size:clamp(16px,2vw,20px); }
.home-actions .guzik{ padding:12px 18px; }
.home-pillars{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.home-pillar{ min-width:0; padding:18px; border:1px solid var(--border); border-radius:18px; background:rgba(255,255,255,.88); box-shadow:0 10px 24px rgba(15,23,42,.06); }
.home-pillar > span{ display:grid; width:44px; height:44px; place-items:center; margin-bottom:12px; border-radius:13px; background:#eef8fe; font-size:22px; }
.home-pillar h2{ margin-bottom:7px; font-size:20px; }
.home-pillar p{ margin:0; color:var(--muted); font-size:14px; }
.home-promise{ display:flex; align-items:center; justify-content:space-between; gap:16px; margin-top:12px; padding:16px 18px; border-radius:18px; background:#eef8fe; }
.home-promise p{ margin:0; font-weight:700; }
.home-process,.home-faq{ margin-top:18px; padding:22px; border:1px solid var(--border); border-radius:20px; background:rgba(255,255,255,.8); }
.home-process header,.home-faq header{ margin-bottom:16px; }
.home-process header h2,.home-faq header h2{ margin-bottom:4px; }
.home-process header p,.home-faq header p{ margin:0; color:var(--muted); }
.home-process ol{ display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:10px; margin:0; padding:0; list-style:none; }
.home-process li{ min-width:0; padding:14px; border-radius:15px; background:#f0f9ff; }
.home-process li > span{ display:grid; width:30px; height:30px; place-items:center; margin-bottom:9px; border-radius:50%; background:var(--primary); color:#fff; font-weight:800; }
.home-process h3{ margin:0 0 4px; font-size:16px; }
.home-process li p{ margin:0; color:var(--muted); font-size:13px; line-height:1.45; }
.home-faq > div{ display:grid; gap:8px; }
.home-faq details{ border:1px solid var(--border); border-radius:13px; background:#fff; }
.home-faq summary{ padding:13px 15px; font-weight:800; cursor:pointer; }
.home-faq details p{ margin:0; padding:0 15px 14px; color:var(--muted); }
.mobile-contact-bar{ display:none; }
.services-lead{ margin-top:-6px; }
.projects-empty{ max-width:660px; margin:48px auto 0; padding:28px; border:1px solid var(--border); border-radius:20px; background:rgba(255,255,255,.86); text-align:center; }
.projects-empty__icon{ display:block; margin-bottom:12px; font-size:42px; }
.projects-grid{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin-top:22px; }
.project-card{ min-width:0; overflow:hidden; border:1px solid var(--border); border-radius:20px; background:#fff; box-shadow:0 12px 30px rgba(15,23,42,.07); }
.project-card > img{ width:100%; aspect-ratio:16/10; object-fit:cover; }
.project-card > div{ padding:18px; }
.project-card__meta{ margin:0 0 5px!important; color:var(--primary-2)!important; font-size:12px; font-weight:800; text-transform:uppercase; }
.project-card__progress{ margin:0 0 12px!important; color:var(--muted)!important; font-size:13px; font-weight:700; }
.project-card h2{ margin-bottom:7px; }
.project-card > div > p:not(.project-card__meta){ display:-webkit-box; overflow:hidden; margin:0 0 14px; color:var(--muted); -webkit-box-orient:vertical; -webkit-line-clamp:3; }
.project-card > div > p.project-card__progress{ display:block; overflow:visible; -webkit-line-clamp:unset; }
.projects-grid--single{ grid-template-columns:minmax(0,920px); justify-content:center; }
.project-card--featured{ display:grid; grid-template-columns:minmax(0,1.12fr) minmax(330px,.88fr); }
.project-card--featured > img{ height:100%; min-height:365px; aspect-ratio:auto; }
.project-card--featured > div{ display:flex; flex-direction:column; align-items:flex-start; padding:30px; }
.project-card--featured > div > p:not(.project-card__meta):not(.project-card__progress){ -webkit-line-clamp:initial; }
.project-card--featured .guzik{ margin-top:auto; }
.project-dialog{ width:min(920px,calc(100% - 24px)); max-height:calc(100dvh - 24px); padding:26px; border:0; border-radius:22px; color:var(--text); box-shadow:0 24px 80px rgba(15,23,42,.3); }
.project-dialog::backdrop{ background:rgba(7,27,45,.66); backdrop-filter:blur(3px); }
.project-dialog > button{ position:sticky; z-index:2; top:0; float:right; display:grid; width:40px; height:40px; place-items:center; border:1px solid var(--border); border-radius:50%; background:#fff; font-size:25px; cursor:pointer; }
.project-detail__meta{ color:var(--muted); }
.project-dialog section{ clear:both; margin-top:20px; }
.project-dialog section h3{ margin-bottom:9px; }
.project-detail__images{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.project-detail__images img{ width:100%; border-radius:14px; object-fit:cover; }
.projects-loading,.projects-error{ padding:40px; text-align:center; color:var(--muted); }

@media (max-width: 760px){
  .home-hero{ padding:22px 4px 20px; text-align:left; }
  .home-hero h1{ font-size:clamp(30px,10vw,44px); }
  .home-lead{ font-size:16px; }
  .home-actions{ justify-content:flex-start; }
  .home-pillars{ grid-template-columns:1fr; }
  .home-pillar{ padding:15px; }
  .home-promise{ align-items:flex-start; flex-direction:column; }
  .home-process,.home-faq{ padding:16px; }
  .home-process ol{ grid-template-columns:1fr; }
  .home-process li{ display:grid; grid-template-columns:auto 1fr; gap:10px; }
  .home-process li > span{ margin:0; }
  .projects-empty{ margin-top:24px; padding:20px 16px; }
  .projects-grid{ grid-template-columns:1fr; }
  .projects-grid--single{ grid-template-columns:1fr; }
  .project-card--featured{ grid-template-columns:1fr; }
  .project-card--featured > img{ min-height:0; aspect-ratio:16/10; }
  .project-card--featured > div{ padding:20px 18px; }
  .project-dialog{ padding:20px 14px; }
  .project-detail__images{ grid-template-columns:1fr; }
}

@media (max-width:640px){
  body{ padding-bottom:72px; }
  .mobile-contact-bar{ position:fixed; z-index:1200; right:10px; bottom:10px; left:10px; display:grid; grid-template-columns:.85fr 1.15fr; gap:8px; padding:8px; border:1px solid rgba(255,255,255,.5); border-radius:17px; background:rgba(255,255,255,.94); box-shadow:0 14px 36px rgba(15,23,42,.22); backdrop-filter:blur(10px); }
  .mobile-contact-bar a{ display:flex; min-height:46px; align-items:center; justify-content:center; padding:9px 10px; border:1px solid var(--border); border-radius:12px; background:#fff; font-weight:800; text-align:center; }
  .mobile-contact-bar a.is-primary{ border-color:var(--primary); background:var(--primary); color:#fff; }
  body:has(#konto-mount) .mobile-contact-bar{ display:none; }
  .quote-file-picker{ align-items:flex-start; flex-direction:column; }
}

/* ===== Dlaczego my: doświadczenie, proces i obszar działania ===== */
.why-page{ display:flex; flex-direction:column; gap:14px; }
.why-page > *{ flex:0 0 auto; }
.why-hero{ display:grid; grid-template-columns:minmax(0,1fr) 190px; gap:18px; align-items:center; padding:22px; border:1px solid rgba(14,165,233,.16); border-radius:20px; background:linear-gradient(135deg,rgba(255,255,255,.84),rgba(234,247,255,.74)); }
.why-hero h1{ margin-bottom:8px; }
.why-hero__copy > p{ max-width:720px; }
.why-experience{ display:flex; min-height:140px; flex-direction:column; align-items:center; justify-content:center; padding:18px; border-radius:18px; background:linear-gradient(145deg,var(--primary),var(--primary-2)); color:#fff; text-align:center; box-shadow:0 16px 34px rgba(14,165,233,.22); }
.why-experience strong{ font-size:52px; line-height:1; letter-spacing:-.05em; }
.why-experience span{ margin-top:8px; font-weight:700; }
.why-page .why__grid{ grid-template-columns:repeat(3,minmax(0,1fr)); }
.why-page .why__card{ background:rgba(255,255,255,.58); box-shadow:none; }
.why-process{ padding:20px; border:1px solid var(--border); border-radius:20px; background:rgba(255,255,255,.58); }
.why-section-head{ display:flex; align-items:end; justify-content:space-between; gap:16px; margin-bottom:18px; }
.why-section-head h2,.why-section-head p{ margin:0; }
.why-steps{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin:0; padding:0; list-style:none; }
.why-steps li{ display:flex; gap:10px; min-width:0; padding:13px; border-radius:15px; background:rgba(238,248,254,.76); }
.why-steps li > span{ display:grid; width:30px; height:30px; flex:0 0 30px; place-items:center; border-radius:50%; background:var(--primary); color:#fff; font-weight:800; }
.why-steps h3{ margin:2px 0 4px; font-size:15px; }
.why-steps p{ margin:0; color:var(--muted); font-size:13px; line-height:1.45; }
.service-area{ position:relative; overflow:hidden; padding:22px; border-radius:20px; background:linear-gradient(135deg,#0b3f5d,#075985); color:#fff; box-shadow:0 18px 38px rgba(2,132,199,.18); }
.service-area::after{ content:"HS24"; position:absolute; right:-8px; top:-32px; color:rgba(255,255,255,.055); font-size:150px; font-weight:900; line-height:1; pointer-events:none; }
.service-area__head,.service-route,.service-area__foot{ position:relative; z-index:1; }
.service-area__eyebrow{ margin:0 0 4px; color:#7dd3fc; font-size:12px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; }
.service-area__head h2{ margin-bottom:7px; color:#fff; }
.service-area__head > p:last-child{ max-width:720px; margin:0; color:#dbeafe; }
.service-route{ display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); margin:26px 0 20px; padding:0; list-style:none; }
.service-route::before{ content:""; position:absolute; left:7%; right:7%; top:12px; height:2px; background:rgba(186,230,253,.48); }
.service-route li{ position:relative; display:flex; min-width:0; flex-direction:column; align-items:center; gap:7px; text-align:center; }
.service-route li > span{ z-index:1; width:24px; height:24px; border:6px solid #e0f2fe; border-radius:50%; background:var(--primary); color:transparent; }
.service-route li b{ font-size:13px; }
.service-route li small{ color:#bae6fd; font-size:11px; }
.service-route li.is-base > span{ display:grid; width:32px; height:32px; margin-top:-4px; place-items:center; border:0; background:#fff; color:#f59e0b; box-shadow:0 0 0 5px rgba(125,211,252,.22); font-size:17px; }
.service-route li.is-base b{ color:#fde68a; }
.service-area__foot{ display:flex; align-items:center; justify-content:space-between; gap:16px; padding-top:15px; border-top:1px solid rgba(186,230,253,.2); }
.service-area__foot p{ margin:0; color:#dbeafe; font-size:13px; }
.service-area__foot .guzik{ flex:0 0 auto; border-color:rgba(255,255,255,.34); background:#fff; }

@media (max-width: 800px){
  .why-hero{ grid-template-columns:1fr; }
  .why-experience{ min-height:0; flex-direction:row; gap:10px; justify-content:flex-start; }
  .why-experience strong{ font-size:40px; }
  .why-experience span{ margin-top:0; }
  .why-page .why__grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .why-section-head{ display:block; }
  .why-section-head p{ margin-top:5px; }
  .why-steps{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width: 560px){
  .why-hero,.why-process,.service-area{ padding:16px; }
  .why-page .why__grid,.why-steps{ grid-template-columns:1fr; }
  .service-route{ grid-template-columns:1fr; gap:0; margin:20px 0; }
  .service-route::before{ left:11px; right:auto; top:12px; bottom:12px; width:2px; height:auto; }
  .service-route li{ min-height:48px; flex-direction:row; justify-content:flex-start; text-align:left; }
  .service-route li > span{ flex:0 0 24px; }
  .service-route li.is-base > span{ flex-basis:32px; margin:-4px 0 0 -4px; }
  .service-route li small{ margin-left:auto; }
  .service-area__foot{ align-items:flex-start; flex-direction:column; }
}

/* ===== Naturalny przepływ strony i czytelna nawigacja ===== */
.okno-stale{ height:auto; min-height:520px; overflow:visible; }
.okno-zawartosc{ height:auto; max-height:none; }
.okno-scroll{ overflow:visible; flex:0 0 auto; min-height:auto; }
.tile__tekst p{ display:none; }

@media (min-width:641px) and (max-width:900px){
  .nawigacja-kafelki{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .nawigacja-kafelki > .tile:last-child{ grid-column:auto; width:100%; justify-self:stretch; }
}

@media (max-width:640px){
  .okno-stale{ min-height:0; }
  .tile__tekst p{ display:block; }
}

/* ===== Ukryta strona narzędzi / aplikacji ===== */
.tools-page{ display:flex; flex-direction:column; gap:20px; padding-block:8px 28px; }
.tools-head{ max-width:720px; }
.tools-head h1{ margin:8px 0; }
.tools-preview{ display:inline-flex; padding:5px 10px; border:1px solid rgba(14,165,233,.24); border-radius:999px; background:rgba(224,242,254,.72); color:var(--primary-2); font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.tools-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr)); gap:16px; }
.tool-card{ display:grid; grid-template-columns:84px minmax(0,1fr); gap:18px; align-items:start; padding:20px; border:1px solid var(--border); border-radius:20px; background:rgba(255,255,255,.72); box-shadow:0 12px 28px rgba(15,23,42,.06); }
.tool-card__icon{ display:grid; width:84px; height:84px; place-items:center; border-radius:20px; background:linear-gradient(145deg,#e0f2fe,#fff); border:1px solid #d9edf9; font-size:38px; }
.tool-card__icon img{ width:68px; height:68px; object-fit:contain; }
.tool-card__platform{ display:inline-block; margin-bottom:5px; color:var(--primary-2); font-size:12px; font-weight:800; }
.tool-card h2{ margin:0 0 7px; }
.tool-card p{ margin:0 0 16px; color:var(--muted); }
.tool-card__pending{ display:inline-flex; padding:8px 11px; border-radius:10px; background:#f1f5f9; color:#64748b; font-size:13px; font-weight:700; }
.tool-card__download{ width:max-content; }
.tools-note{ margin:0; color:var(--muted); font-size:13px; }

@media (max-width:520px){
  .tool-card{ grid-template-columns:1fr; }
  .tool-card__icon{ width:64px; height:64px; font-size:30px; }
  .tool-card__icon img{ width:52px; height:52px; }
}

/* ===== Kontakt: wycena, serwis i szybki kontakt ===== */
.contact-new{ display:flex; flex-direction:column; gap:18px; max-width:1040px; margin:0 auto; }
.contact-new__head{ max-width:760px; }
.contact-new__eyebrow{ display:inline-block; margin-bottom:6px; color:var(--primary-2); font-size:12px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; }
.contact-new__head h1{ margin-bottom:8px; }
.contact-new__choices{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.contact-choice{ display:flex; min-width:0; flex-direction:column; align-items:flex-start; padding:20px; border:1px solid var(--border); border-radius:20px; background:rgba(255,255,255,.72); box-shadow:0 12px 28px rgba(15,23,42,.06); }
.contact-choice--project{ border-top:4px solid var(--primary); }
.contact-choice--service{ border-top:4px solid #f59e0b; }
.contact-choice__icon{ display:grid; width:46px; height:46px; place-items:center; margin-bottom:12px; border-radius:14px; background:#eef8fe; font-size:23px; }
.contact-choice h2{ margin-bottom:7px; }
.contact-choice > p{ color:var(--muted); }
.contact-choice ul{ margin:2px 0 20px; padding-left:20px; color:var(--text); }
.contact-choice li{ margin:6px 0; }
.contact-choice > .guzik,.contact-choice__actions{ margin-top:auto; }
.contact-choice__actions{ display:flex; gap:8px; flex-wrap:wrap; }
.contact-direct{ display:flex; align-items:center; justify-content:space-between; gap:18px; padding:18px 20px; border-radius:20px; background:linear-gradient(135deg,#0b3f5d,#075985); color:#fff; }
.contact-direct h2{ margin-bottom:5px; color:#fff; }
.contact-direct p{ margin:0; color:#dbeafe; }
.contact-direct__links{ display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px; }
.contact-direct__links a{ padding:9px 12px; border:1px solid rgba(255,255,255,.28); border-radius:11px; background:rgba(255,255,255,.1); font-weight:700; }
.contact-direct__links a:hover{ background:rgba(255,255,255,.18); }

.quote-dialog{ width:min(720px,calc(100% - 24px)); max-height:calc(100dvh - 24px); padding:0; border:0; border-radius:22px; color:var(--text); box-shadow:0 24px 80px rgba(15,23,42,.28); }
.quote-dialog::backdrop{ background:rgba(7,27,45,.62); backdrop-filter:blur(3px); }
.quote-form{ position:relative; padding:28px; background:#fff; }
.quote-form h2{ margin:0 40px 6px 0; }
.quote-dialog__close{ position:absolute; top:16px; right:16px; display:grid; width:38px; height:38px; place-items:center; border:1px solid var(--border); border-radius:50%; background:#fff; color:var(--text); font-size:25px; cursor:pointer; }
.quote-form__grid{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin-top:20px; }
.quote-form label{ display:flex; min-width:0; flex-direction:column; gap:6px; font-weight:700; }
.quote-form input,.quote-form select,.quote-form textarea{ width:100%; padding:11px 12px; border:1px solid #cbd5e1; border-radius:11px; background:#fff; color:var(--text); font:inherit; }
.quote-form input:focus,.quote-form select:focus,.quote-form textarea:focus{ outline:3px solid rgba(14,165,233,.18); border-color:var(--primary); }
.quote-form__wide{ grid-column:1/-1; }
.quote-file-picker{ display:flex; align-items:center; gap:12px; padding:10px; border:1px solid #cbd5e1; border-radius:12px; background:#f8fafc; font-weight:500; }
.quote-file-picker .guzik{ flex:0 0 auto; padding:8px 12px; cursor:pointer; }
.quote-file-picker input{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.quote-form__files small,.quote-form__files output{ color:var(--muted); font-size:12px; font-weight:400; }
.quote-form__trap{ position:absolute!important; left:-9999px!important; width:1px!important; height:1px!important; opacity:0!important; }
.quote-form__consent{ display:grid!important; grid-template-columns:auto 1fr; align-items:start; gap:9px!important; margin-top:16px; font-size:13px; font-weight:400!important; }
.quote-form__consent input{ width:18px; height:18px; margin:1px 0 0; }
.quote-form__status{ min-height:22px; margin:12px 0 0; font-size:14px; font-weight:700; }
.quote-form__status--success{ padding:10px 12px; border-radius:10px; background:#ecfdf5; color:#047857; }
.quote-form__status--error{ color:#b91c1c; }
.quote-form__actions{ display:flex; justify-content:flex-end; gap:9px; margin-top:8px; }

@media (max-width:760px){
  .contact-new__choices{ grid-template-columns:1fr; }
  .contact-direct{ align-items:flex-start; flex-direction:column; }
  .contact-direct__links{ justify-content:flex-start; }
  .quote-form{ padding:22px 16px; }
  .quote-form__grid{ grid-template-columns:1fr; }
  .quote-form__wide{ grid-column:auto; }
  .quote-form__actions{ flex-direction:column-reverse; }
  .quote-form__actions .guzik{ width:100%; }
}

/* ===== Nowy katalog usług ===== */
.services-hero{ position:relative; overflow:hidden; margin-bottom:22px; padding:clamp(22px,4vw,38px); border:1px solid rgba(14,165,233,.18); border-radius:22px; background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(224,242,254,.82)); }
.services-hero::after{ content:""; position:absolute; right:-70px; bottom:-100px; width:290px; height:290px; border-radius:50%; background:radial-gradient(circle,rgba(14,165,233,.16),transparent 68%); pointer-events:none; }
.services-hero__eyebrow{ margin:0 0 8px; color:var(--primary-2); font-size:12px; font-weight:900; letter-spacing:.13em; }
.services-hero h1{ max-width:760px; margin-bottom:10px; font-size:clamp(30px,4.5vw,50px); }
.services-hero > p:not(.services-hero__eyebrow){ max-width:760px; color:var(--muted); font-size:17px; }
.services-badges{ display:flex; flex-wrap:wrap; gap:8px; margin-top:18px; }
.services-badges span{ padding:7px 10px; border:1px solid rgba(14,165,233,.16); border-radius:999px; background:rgba(255,255,255,.78); font-size:13px; font-weight:800; }
.services-catalog{ display:flex; flex-direction:column; gap:24px; }
.services-catalog > section > h2{ margin-bottom:12px; }
.services-grid{ display:grid; gap:12px; }
.services-grid--main{ grid-template-columns:repeat(3,minmax(0,1fr)); }
.services-grid--more{ grid-template-columns:repeat(3,minmax(0,1fr)); }
.service-card{ min-width:0; border:1px solid var(--border); border-radius:18px; background:rgba(255,255,255,.88); box-shadow:0 10px 26px rgba(15,23,42,.055); transition:transform .16s,border-color .16s,box-shadow .16s; }
.service-card:hover{ border-color:rgba(14,165,233,.4); transform:translateY(-2px); box-shadow:0 16px 34px rgba(15,23,42,.09); }
.service-card--main{ border-top:4px solid var(--primary); }
.service-card__open{ display:flex; width:100%; height:100%; gap:13px; padding:17px; border:0; border-radius:inherit; background:transparent; color:inherit; font:inherit; text-align:left; cursor:pointer; }
.service-card--main .service-card__open{ flex-direction:column; padding:20px; }
.service-card__icon{ display:grid; width:48px; height:48px; flex:0 0 48px; place-items:center; border:1px solid #dbeef8; border-radius:14px; background:linear-gradient(145deg,#eaf7fe,#fff); font-size:23px; }
.service-card--main .service-card__icon{ width:54px; height:54px; font-size:27px; }
.service-card__copy{ display:flex; min-width:0; height:100%; flex-direction:column; }
.service-card__title{ margin-bottom:5px; font-size:18px; font-weight:900; line-height:1.25; }
.service-card--main .service-card__title{ font-size:21px; }
.service-card__description{ color:var(--muted); font-size:14px; line-height:1.5; }
.service-card__preview{ display:grid; gap:5px; margin:13px 0; color:#334155; font-size:13px; }
.service-card__preview span::first-letter{ color:var(--primary-2); }
.service-card__link{ margin-top:auto; padding-top:12px; color:var(--primary-2); font-size:13px; font-weight:900; }
.service-card__link b{ display:inline-block; margin-left:3px; transition:transform .15s; }
.service-card:hover .service-card__link b{ transform:translateX(3px); }
.services-cta{ display:flex; align-items:center; justify-content:space-between; gap:18px; margin-top:24px; padding:22px; border-radius:20px; background:linear-gradient(135deg,#0b3f5d,#075985); color:#fff; }
.services-cta h2{ margin-bottom:5px; color:#fff; }
.services-cta p{ margin:0; color:#dbeafe; }
.services-cta > div:last-child{ display:flex; flex:0 0 auto; flex-wrap:wrap; gap:8px; }
.services-cta .guzik--obrys{ background:rgba(255,255,255,.1); border-color:rgba(255,255,255,.35); color:#fff; }
.modal__okno #modal-desc{ font-size:16px; }
.modal__okno #modal-lista{ display:grid; gap:8px; margin:16px 0 0; padding:0; list-style:none; }
.modal__okno #modal-lista li{ padding:10px 12px; border:1px solid var(--border); border-radius:11px; background:rgba(248,250,252,.86); }
.modal__okno #modal-lista li::before{ content:"✓"; margin-right:8px; color:var(--primary-2); font-weight:900; }

@media(max-width:900px){
  .services-grid--main{ grid-template-columns:1fr; }
  .services-grid--more{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .service-card--main .service-card__open{ flex-direction:row; }
}
@media(max-width:620px){
  .services-hero{ padding:20px 16px; }
  .services-hero h1{ font-size:32px; }
  .services-badges{ align-items:stretch; flex-direction:column; }
  .services-grid--more{ grid-template-columns:1fr; }
  .services-cta{ align-items:flex-start; flex-direction:column; padding:18px 16px; }
  .services-cta > div:last-child,.services-cta .guzik{ width:100%; }
  .services-cta .guzik{ text-align:center; }
}

/* ===== Publiczny ekran Panelu klienta ===== */
#konto-mount:has(.client-landing){ display:block; min-height:0; padding:0; }
.client-landing{ width:100%; max-width:1040px; margin:0 auto; }
.client-hero{ display:grid; grid-template-columns:minmax(0,1.12fr) minmax(330px,.88fr); gap:30px; align-items:center; padding:clamp(24px,5vw,54px); border:1px solid rgba(14,165,233,.17); border-radius:24px; background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(230,246,255,.83)); box-shadow:0 18px 46px rgba(15,23,42,.07); }
.client-eyebrow{ margin:0 0 8px; color:var(--primary-2); font-size:12px; font-weight:900; letter-spacing:.14em; }
.client-hero h1{ margin-bottom:12px; font-size:clamp(34px,5vw,54px); }
.client-lead{ max-width:640px; margin-bottom:20px; color:var(--muted); font-size:18px; }
.client-actions{ display:flex; flex-wrap:wrap; gap:9px; }
.client-actions .guzik{ min-width:132px; padding:11px 17px; }
.client-status{ display:flex; max-width:610px; gap:8px; margin:18px 0 0; padding:10px 12px; border:1px solid #dbeafe; border-radius:12px; background:rgba(255,255,255,.72); color:#64748b; font-size:13px; }
.client-preview{ overflow:hidden; padding:16px; border:1px solid rgba(255,255,255,.7); border-radius:22px; background:#fff; box-shadow:0 24px 58px rgba(7,89,133,.16); transform:rotate(1deg); }
.client-preview__head{ display:flex; align-items:center; gap:10px; padding-bottom:14px; border-bottom:1px solid var(--border); }
.client-preview__head img{ width:40px; height:40px; }
.client-preview__head div{ display:flex; min-width:0; flex:1; flex-direction:column; }
.client-preview__head small{ color:var(--muted); }
.client-preview__head > span{ color:#94a3b8; letter-spacing:2px; }
.client-preview__grid{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; padding-top:14px; }
.client-preview__grid > div{ display:flex; min-height:92px; flex-direction:column; justify-content:space-between; padding:13px; border:1px solid var(--border); border-radius:14px; background:#f8fafc; }
.client-preview__grid > div:first-child{ grid-row:span 2; }
.client-preview__grid > div span{ font-size:24px; }
.client-preview__grid > div b{ font-size:13px; }
.client-preview__grid .is-primary{ border-color:#bae6fd; background:linear-gradient(145deg,#e0f2fe,#f0f9ff); color:#075985; }
.client-benefits{ padding:26px 8px 4px; }
.client-benefits > h2{ max-width:650px; margin:0 auto 18px; text-align:center; }
.client-benefits > div{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.client-benefits article{ padding:18px; border:1px solid var(--border); border-radius:18px; background:rgba(255,255,255,.86); }
.client-benefits article > span{ display:grid; width:42px; height:42px; place-items:center; margin-bottom:11px; border-radius:13px; background:#eef8fe; font-size:21px; }
.client-benefits h3{ margin-bottom:5px; }
.client-benefits p{ margin:0; color:var(--muted); font-size:14px; }

@media(max-width:820px){
  .client-hero{ grid-template-columns:1fr; }
  .client-preview{ max-width:560px; transform:none; }
}
@media(max-width:560px){
  #konto-mount:has(.client-landing){ padding:0!important; }
  .client-hero{ gap:22px; padding:22px 16px; border-radius:19px; }
  .client-hero h1{ font-size:36px; }
  .client-lead{ font-size:16px; }
  .client-actions,.client-actions .guzik{ width:100%; }
  .client-actions .guzik{ text-align:center; }
  .client-preview{ padding:12px; }
  .client-benefits{ padding:22px 0 2px; }
  .client-benefits > h2{ text-align:left; }
  .client-benefits > div{ grid-template-columns:1fr; }
}

/* Mobilna treść: pełna szerokość bez nakładających się marginesów. */
@media (max-width:640px){
  :root{ --gutter:8px; }
  body{ padding-bottom:72px; }
  .miejsce-tresci{ padding-block:2px 18px; }
  .kontener{ max-height:none; padding-inline:8px; }
  .ekran{ width:100%; margin-top:0; gap:8px; }
  .panel-glowny,.okno-stale{ width:100%; min-width:0; }
  .okno-stale{ border-radius:16px; }
  .okno-zawartosc,
  .okno-zawartosc.pojaw{
    width:100%;
    max-width:none;
    max-height:none;
    margin:0;
    padding:10px 8px 22px;
    gap:12px;
  }
  .okno-zawartosc > .okno-zawartosc{
    width:100%;
    max-width:none;
    max-height:none;
    padding:0;
  }
  .okno-scroll{ width:100%; padding-right:0; padding-bottom:20px; }

  .services-hero{ margin-bottom:18px; padding:17px 12px; border-radius:18px; }
  .services-hero h1{ font-size:clamp(28px,8.6vw,34px); line-height:1.08; overflow-wrap:break-word; }
  .services-hero > p:not(.services-hero__eyebrow){ font-size:16px; line-height:1.55; }
  .services-badges{ margin-top:14px; }
  .services-catalog{ gap:20px; }
  .service-card{ border-radius:16px; }
  .service-card--main .service-card__open{ padding:16px 14px; gap:11px; }
  .service-card--main .service-card__icon{ width:48px; height:48px; flex-basis:48px; font-size:24px; }
  .service-card--main .service-card__title{ font-size:20px; }
  .service-card__preview{ margin:10px 0; }
  .services-local{ padding:16px 14px; }

  .contact-new{ width:100%; max-width:none; gap:14px; }
  .contact-new__head h1{ font-size:32px; line-height:1.08; }
  .contact-new__head > p{ font-size:16px; line-height:1.55; }
  .contact-choice{ padding:16px 14px; border-radius:17px; }
  .contact-choice h2{ font-size:22px; }
  .contact-choice ul{ margin-bottom:16px; padding-left:20px; }
  .contact-direct{ padding:16px 14px; border-radius:17px; }

  .mobile-contact-bar{
    right:6px;
    bottom:max(6px,env(safe-area-inset-bottom));
    left:6px;
    gap:6px;
    padding:6px;
    border-radius:15px;
  }
  .mobile-contact-bar a{ min-height:44px; padding:8px; font-size:15px; }

  .stopka{
    width:100%;
    margin:0 auto;
    padding:14px 8px 24px;
  }
  .stopka small{
    display:block;
    overflow-wrap:anywhere;
  }
}

/* Tablety: bez drugiego zwężenia treści wewnątrz panelu. */
@media (min-width:641px) and (max-width:1100px){
  .okno-zawartosc,
  .okno-zawartosc.pojaw{
    width:100%;
    max-width:none;
    margin:0;
    padding:clamp(16px,2.2vw,22px);
  }
  .okno-zawartosc > .okno-zawartosc{
    width:100%;
    max-width:none;
    max-height:none;
    margin:0;
    padding:0;
  }
}

@media (max-width:380px){
  .services-hero h1,.contact-new__head h1{ font-size:28px; }
  .service-card--main .service-card__open{ padding:14px 12px; }
  .mobile-contact-bar{ grid-template-columns:.8fr 1.2fr; }
}

@media (max-width:320px){
  .services-hero h1,
  .contact-new__head h1{
    font-size:25px;
    line-height:1.1;
    overflow-wrap:normal;
    word-break:normal;
    hyphens:auto;
  }
  .services-hero__eyebrow{
    font-size:11px;
    letter-spacing:.09em;
  }
  .mobile-contact-bar a{ font-size:14px; }
}

@media (max-width:290px){
  .services-hero h1,
  .contact-new__head h1{
    font-size:23px;
    hyphens:none;
  }
}
\n/* Indexerbara, lokala servicesidor pa sidan Tjanster. */\n.services-local{margin-top:28px;padding:24px;border:1px solid var(--border);border-radius:20px;background:rgba(255,255,255,.86)}\n.services-local__head{max-width:720px;margin-bottom:16px}\n.services-local__head p{margin:0 0 7px;color:var(--primary-2);font-size:12px;font-weight:900;letter-spacing:.11em}\n.services-local__head h2{margin:0 0 6px;font-size:clamp(24px,3vw,32px)}\n.services-local__head span{color:var(--muted);line-height:1.5}\n.services-local__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}\n.services-local__grid a{display:block;min-height:132px;padding:18px;border:1px solid var(--border);border-radius:16px;background:#fff;color:var(--text);text-decoration:none;box-shadow:0 8px 18px rgba(15,23,42,.04);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}\n.services-local__grid a:hover{border-color:#83d7fb;box-shadow:0 14px 26px rgba(7,137,202,.11);transform:translateY(-2px)}\n.services-local__grid b{display:block;margin-bottom:8px;font-size:17px}\n.services-local__grid span{display:block;color:var(--muted);font-size:14px;line-height:1.5}\n@media (max-width:760px){.services-local{padding:18px}.services-local__grid{grid-template-columns:1fr}.services-local__grid a{min-height:0}}\n
