/* =========================================
   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,body{ 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{max-width:var(--maxw); margin-inline:auto; padding-inline:var(--gutter);max-height: 98%;}

/* --- 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 .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:min(1180px, 94vw);
  margin:8px auto 4px;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 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-direction:column;  */
  gap:10px;
  padding-bottom: 60px;
}
.pasek-usluga{
  display:inline-flex; grid-template-columns:48px 1fr; gap:12px; align-items:flex-start;
  /* padding:12px 14px; border-radius:14px;  */
  padding:6px 10px;
  border-radius:10px;
  border-color: rgba(200,210,225,.55);
  border:1px solid #edf1f6;
  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:#f9fcff; border-color:#e6f2fb; 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);
  opacity: 0; pointer-events: none; transition: opacity .22s ease;
}
.modal[hidden]{ display: none !important; }
.modal.open{ opacity: 1; pointer-events: auto; }

.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:auto;
}
.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){
  .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 {
  min-width: 98%;
  margin-left: -5%;
  margin-top: -4%;
}
.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: rgba(255,255,255,.96);
    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;
  }
  .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; }

  /* blokada przewijania tła
     UWAGA: nie zabijamy menu — ono jest fixed i dalej się scrolluje */
  body.menu-open, body.lang-open{
    overflow:hidden;
    touch-action: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. */


   /* ===== MAPA – Dlaczego my ===== */
.why__map{
  margin-top: 14px;
  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));
  box-shadow: 0 10px 24px rgba(15,23,42,.06);
}

.why__map h2{
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 850;
  letter-spacing: -.2px;
}

.why__map p{
  margin: 0 0 12px;
}

.why__mapFrame{
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #f3f4f6;
  border: 1px solid rgba(230,234,240,.85);
  box-shadow: 0 12px 28px rgba(15,23,42,.08);
  /* responsywna wysokość bez JS */
  aspect-ratio: 16 / 9;
}

.why__mapFrame iframe{
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

/* Mobile: trochę wyższa mapa i mniejsze paddingi */
@media (max-width: 640px){
  .why__map{ padding: 12px; }
  .why__mapFrame{ aspect-ratio: 4 / 3; }

}
