/* Termotrop: tablet (700–1099 px) i laptop (od 1100 px). 14.11.2026.
   Telefon (do 699 px) tego pliku nie pobiera do renderowania (media w <link>),
   więc wygląd na telefonie zostaje bez zmian.
   Zasada: tablet = układ telefonu w szerszej, wygodnej kolumnie (680 px) z kartami obok siebie,
   laptop = pełny układ strony 1180 px, sekcje w dwóch kolumnach, menu w nagłówku. */

/* ───────────── wspólne dla tabletu i laptopa ───────────── */
html body{max-width:none!important}
:root{--k:680px;--g:32px}
html body .x-wrap,
html body .xf3 .x-wrap,
html body footer .x-wrap{max-width:calc(var(--k) + 2*var(--g));margin-inline:auto;padding-inline:var(--g)!important;box-sizing:border-box}
html body .sekcja .wrap{max-width:calc(var(--k) + 2*var(--g))!important;margin-inline:auto;padding-inline:var(--g)!important;box-sizing:border-box}
html body .sekcja .tresc,html body .sekcja .tresc--pr{max-width:none!important}
html body .sekcja .srodek{max-width:none!important}

/* nagłówek */
html body .xw4 .cap{max-width:calc(var(--k) + 2*var(--g) - 20px);margin-inline:auto}
html body .xs .xm{left:50%;right:auto;width:min(100%,calc(var(--k) + 2*var(--g)));transform:translateX(-50%);padding-inline:var(--g);padding-bottom:28px;box-sizing:border-box;height:auto!important;min-height:0!important;border:1px solid #222;border-top:0;border-radius:0 0 18px 18px;box-shadow:0 30px 60px rgba(0,0,0,.6)}

/* hero strony głównej i podstron dronowych na tablecie: zdjęcie na całą szerokość, tekst w kolumnie */
html body .hA[data-v="2"] .ph,html body .sA .ph1 .ph{height:600px!important}
html body .hA[data-v="2"] h1,html body .sA .ph1 h1{left:max(var(--g),calc(50% - var(--k)/2))!important;right:max(var(--g),calc(50% - var(--k)/2))!important;font-size:44px!important;line-height:1.08!important}
html body .hA .in,html body .sA .in{max-width:var(--k);margin-inline:auto;padding-inline:0!important;box-sizing:content-box}
html body .hA .in,html body .sA .ph1 .in{margin-top:-120px!important}
html body .lead2{font-size:18px!important}
html body .hA .cb,html body .sA .cb{max-width:420px}

html body .okr{max-width:calc(var(--k) + 2*var(--g));margin:0 auto!important;padding:22px var(--g) 0!important;box-sizing:border-box}

/* nagłówek poradników */
html body .gw3 .ph{height:440px!important}
html body .gw3 .ph img{height:100%!important;top:0!important}
html body .gw3 .ph .x-wrap{padding-top:40px}
html body .gw3 h1,html body .gw3 .tresc__h1{font-size:42px!important;line-height:1.1!important}

/* sekcje: oddech */
html body .x-sek{padding-block:72px!important}
html body .x-sek>.alt{padding-block:0!important}
html body .x-h2,html body .spd h2,html body .sekcja h2.h2{font-size:36px!important;line-height:1.12!important;max-width:22ch!important}
html body .odp,html body .tx p,html body .tresc__p{max-width:68ch}

/* fakty pod hero */
html body .xf3{padding:44px 0 20px!important}

/* pies czy kot: obok siebie */
html body .pA[data-v="3"] .two{grid-template-columns:1fr 1fr!important;gap:16px!important}
html body .pA[data-v="3"] .two a{min-height:260px}
html body .pA[data-v="3"] .im::after{background:linear-gradient(180deg,rgba(0,0,0,.88) 30%,rgba(0,0,0,.35) 75%,rgba(0,0,0,.7))!important}
html body .pA[data-v="3"] .two p,html body .pA[data-v="3"] .two span{max-width:none!important;margin-right:18px!important}

/* porównanie zdjęć i lista dlaczego */
html body .d-sl .vnum{grid-template-columns:1fr 1fr;gap:26px 32px}
html body .cmp{aspect-ratio:16/10}

/* sprzęt */
html body .spd>.hd,html body .spd>.odp,html body .spd>figure,html body .spd>.card{max-width:var(--k);margin-inline:auto!important;box-sizing:border-box}
html body .spd .hd h2{margin:0!important}
html body .spd>.odp{margin-top:14px!important}
html body .spd .card{display:grid;grid-template-columns:1fr 1fr;column-gap:32px;padding:26px 28px 8px}
html body .spd .card .mdl{grid-column:1/-1}

/* co zrobić: lista ikon w dwóch kolumnach */
html body .c-ico .icl{display:grid;grid-template-columns:1fr 1fr;column-gap:28px}
html body .gcr{grid-template-columns:1fr 1fr 1fr}
html body .gcr a{grid-template-columns:1fr;padding:8px 8px 14px;gap:10px}
html body .gcr img{width:100%;height:120px}
html body .gcr .ar{display:none}

/* kafelki etapów w poradnikach (strzałki są ukryte, więc zwykła siatka) */
html body .b3{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;align-items:stretch!important}
html body .b3.b3--4{grid-template-columns:repeat(2,minmax(0,1fr))!important}

/* FAQ i stopka */
html body .faq{max-width:none}
html body .cob .e-ctr{max-width:var(--k);margin-inline:auto}
html body section.cob[data-alt] .alt .e-ctr h2{font-size:36px!important}
html body .ffb .cols{grid-template-columns:repeat(2,minmax(0,1fr))}

html body .cb{max-width:440px}
html body .e-ctr .cb{max-width:460px}
html body .ffb .ffb-wm2{max-width:calc(var(--k) + 2*var(--g));margin-inline:auto!important;padding-inline:var(--g);box-sizing:border-box}
html body .tresc__h2.hc{text-align:left!important;margin-left:0!important}

/* menu laptopa ukryte na tablecie */
.dnav{display:none!important}

/* ───────────── laptop ───────────── */
@media (min-width:1100px){
  :root{--k:1180px;--g:40px}

  /* nagłówek: logo z nazwą, menu, telefon */
  html body .xs{background:rgba(0,0,0,.92);backdrop-filter:blur(10px);border-bottom:1px solid #1C1C1C}
  html body .xw4{background:none!important}
  html body .xw4 .cap{max-width:calc(var(--k) + 2*var(--g));padding:12px var(--g)!important;box-sizing:border-box;display:flex!important;align-items:center;gap:28px;background:none!important;box-shadow:none!important;border-radius:0!important}
  html body .xw4 .lg{display:flex;align-items:center;gap:10px;text-decoration:none}
  html body .xw4 .lg::after{content:"Termotrop";font-weight:800;font-size:21px;letter-spacing:-.02em;color:#fff}
  html body .xw4 .hcall{margin-left:auto;order:3}
  html body .xh__menu,html body .xs .xm{display:none!important}
  .dnav{display:flex!important;align-items:center;gap:4px;order:2;margin-left:12px}
  .dnav>a,.dnav .dd>button{display:block;padding:10px 14px;border-radius:10px;font:600 15.5px/1 Manrope,sans-serif;color:#E2E2E2;text-decoration:none;background:none;border:0;cursor:pointer}
  .dnav>a:hover,.dnav .dd>button:hover,.dnav .dd:focus-within>button{color:#fff;background:#151515}
  .dnav>a[aria-current]{color:var(--a)}
  .dnav .dd{position:relative}
  .dnav .dd>button::after{content:"";display:inline-block;width:7px;height:7px;margin:0 0 3px 9px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg)}
  .dnav .ddm{position:absolute;top:100%;left:0;min-width:260px;padding:8px;margin-top:6px;background:#0E0E0E;border:1px solid #242424;border-radius:14px;box-shadow:0 18px 40px rgba(0,0,0,.6);display:none}
  .dnav .ddm::before{content:"";position:absolute;left:0;right:0;top:-10px;height:10px}
  .dnav .dd:hover .ddm,.dnav .dd:focus-within .ddm{display:block}
  .dnav .ddm a{display:block;padding:11px 14px;border-radius:9px;color:#E2E2E2;text-decoration:none;font-size:15.5px;font-weight:600}
  .dnav .ddm a:hover{background:#181818;color:#fff}

  /* hero strony głównej: tekst z lewej, zdjęcie z prawej */
  html body .hA[data-v="2"]{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);grid-template-rows:1fr auto 1fr;column-gap:64px;max-width:calc(var(--k) + 2*var(--g));margin-inline:auto;padding:48px var(--g) 64px;min-height:min(760px,calc(100vh - 72px));box-sizing:border-box;align-items:center}
  html body .hA[data-v="2"] .ph,html body .hA[data-v="2"] .ph picture{display:contents}
  html body .hA[data-v="2"] .ph::after{display:none}
  html body .hA[data-v="2"] .ph img{position:relative!important;inset:auto;grid-column:2;grid-row:1/4;width:100%!important;height:min(640px,calc(100vh - 170px))!important;min-height:520px;object-fit:cover;object-position:50% 55%!important;border-radius:26px;box-shadow:0 30px 80px rgba(0,0,0,.6),inset 0 0 0 1px #222}
  html body .hA[data-v="2"] h1{position:static!important;grid-column:1;grid-row:1;align-self:end;font-size:58px!important;line-height:1.04!important;letter-spacing:-.035em;margin:0 0 26px!important}
  html body .hA[data-v="2"] h1 span{display:inline!important}
  html body .hA[data-v="2"] .in{grid-column:1;grid-row:2/4;align-self:start;margin:0!important;padding:0!important;max-width:540px}
  html body .hA .lead2{font-size:19px!important;line-height:1.6!important;margin-bottom:30px}

  /* hero podstron dronowych: tytuł i tekst z lewej, zdjęcie ze skosem z prawej */
  html body .sA[data-alt]>.alt:not([data-a="0"]),html body .sA>.alt{padding-top:0!important}
  html body .sA .ph1{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);grid-template-rows:1fr auto auto 1fr;column-gap:64px;max-width:calc(var(--k) + 2*var(--g));margin-inline:auto;padding:28px var(--g) 64px;min-height:min(700px,calc(100vh - 120px));box-sizing:border-box}
  html body .sA .ph1 .ph{grid-column:1/3;grid-row:1/5;display:grid;grid-template-columns:subgrid;grid-template-rows:subgrid;height:auto!important;margin:0!important;overflow:visible!important;position:relative}
  html body .sA .ph1 .ph::before,html body .sA .ph1 .ph::after{display:none!important}
  html body .sA .ph1 .ph .sp{position:relative!important;inset:auto!important;grid-column:2;grid-row:1/5;height:min(600px,calc(100vh - 190px));min-height:480px;border-radius:26px;overflow:hidden;clip-path:none!important}
  html body .sA .ph1 .ph .sp img{position:absolute!important;inset:0;width:100%;height:100%;object-fit:cover}
  html body .sA .ph1 .ph .sp.b img{clip-path:polygon(62% 0,100% 0,100% 100%,8% 100%)}
  html body .sA .ph1 .ph .ln{position:relative!important;inset:auto!important;grid-column:2;grid-row:1/5;height:min(600px,calc(100vh - 190px));min-height:480px}
  html body .sA .ph1 .ph .mk-c,html body .sA .ph1 .ph .mk-t{position:relative!important;grid-column:2;grid-row:1/5;align-self:start;justify-self:start}
  html body .sA .ph1 .ph .mk-c{top:calc(min(600px,calc(100vh - 190px))*.514)!important;margin-top:-19px!important}
  html body .sA .ph1 .ph .mk-t{top:calc(min(600px,calc(100vh - 190px))*.514 + 6px)!important}
  html body .sA .phs .l1,html body .sA .phs .l2{position:relative!important;grid-column:2;grid-row:1/5;align-self:start;top:18px!important;left:auto!important;right:auto!important}
  html body .sA .phs .l1{justify-self:start;margin-left:18px}
  html body .sA .phs .l2{justify-self:end;margin-right:18px}
  html body .sA .ph1 h1{position:static!important;grid-column:1;grid-row:2;align-self:end;font-size:52px!important;line-height:1.06!important;margin:0 0 24px!important;text-shadow:none!important}
  html body .sA .ph1 .in{grid-column:1;grid-row:3;align-self:start;margin:0!important;padding:0!important;max-width:540px}

  /* nagłówek poradników: tytuł i wstęp z lewej, zdjęcie z prawej */
  html body .gw3{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);column-gap:64px;max-width:calc(var(--k) + 2*var(--g));margin-inline:auto;padding:24px var(--g) 0;box-sizing:border-box;align-items:start}
  html body .gw3 .ph{display:contents}
  html body .gw3 .ph::after{display:none}
  html body .gw3 .ph>img{position:relative!important;grid-column:2;grid-row:1/3;align-self:start;margin-top:30px;width:100%!important;height:420px!important;object-fit:cover;border-radius:24px;inset:auto!important}
  html body .gw3 .ph .x-wrap{grid-column:1;grid-row:1;padding:0!important;max-width:none}
  html body .gw3>.x-wrap{grid-column:1;grid-row:2;padding:0!important;max-width:none}
  html body .gw3 .aib{position:relative!important;inset:auto!important;grid-column:2!important;grid-row:1/3!important;align-self:start!important;justify-self:end!important;margin:426px 8px 0 0!important;display:block!important;width:auto!important;transform:translateY(-100%)!important}
  html body .gw3 h1,html body .gw3 .tresc__h1{font-size:50px!important}

  /* polityka prywatności: kolumna do czytania */
  html body .pol .x-wrap{max-width:calc(820px + 2*var(--g))!important}

  /* treść poradników: wszystkie sekcje w jednej kolumnie do czytania, wyśrodkowanej */
  html body main:has(.sekcja--wstep) section:not(.sekcja--wstep) .x-wrap{max-width:calc(820px + 2*var(--g))!important}
  /* treść poradników: wygodna kolumna do czytania */
  html body .sekcja .tresc--pr{max-width:820px!important;margin-inline:auto!important}
  html body .sekcja .srodek{max-width:820px!important;margin-inline:auto!important}

  /* sekcje strony głównej i dronowych w dwóch kolumnach */
  html body .x-h2,html body .spd h2,html body .sekcja h2.h2{font-size:42px!important;max-width:20ch!important}

  /* fakty: trzy obok siebie */
  html body .xf3 .fd ul{grid-template-columns:repeat(3,minmax(0,1fr));gap:40px!important;padding-top:28px!important;border-top:1px solid #1E1E1E}
  html body .xf3{padding:20px 0 40px!important}

  /* jak szukamy: nagłówek z lewej, kroki z prawej */
  html body .jsn .x-wrap{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);column-gap:80px;align-items:start}
  html body .jsn .x-h2{position:sticky;top:110px}
  html body .jsn .jp{margin-top:0!important}
  html body .jsn .jp p{font-size:16.5px!important}

  /* pies czy kot */
  html body .pA[data-v="3"] .two a{min-height:300px}

  /* dlaczego dron: tekst i punkty z lewej, suwak z prawej */
  html body .d-sl{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"h c" "o c" "v c" ". p";grid-template-rows:auto auto 1fr auto;column-gap:72px;align-items:start}
  html body .d-sl>.x-h2{grid-area:h}
  html body .d-sl>.odp{grid-area:o;margin-top:14px!important}
  html body .d-sl>.cmp{grid-area:c;margin-top:0!important;aspect-ratio:4/5}
  html body .d-sl>.cap2{grid-area:p;margin-top:14px}
  html body .d-sl>.vnum{grid-area:v;grid-template-columns:1fr!important;margin-top:34px!important}

  /* cena: opis z lewej, karta z kwotą z prawej */
  html body .cena .nl .x-wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.85fr);grid-template-rows:repeat(5,auto) 1fr;column-gap:96px;align-items:start;position:relative}
  html body .cena .nl .x-wrap::before{content:""!important;display:block!important;position:static!important;grid-column:2;grid-row:1/7;align-self:stretch;height:auto!important;width:auto!important;margin:-40px 0 -40px -44px!important;background:#121212!important;border:1px solid #262626;border-radius:24px}
  html body .cena .nl .x-wrap>*{position:relative;z-index:1;grid-column:2;margin-right:44px!important;text-align:left!important}
  html body .cena .nl .x-wrap>.x-h2{grid-column:1;grid-row:1;margin-right:0!important}
  html body .cena .nl .x-wrap>.odp{grid-column:1;grid-row:2/7;margin:14px 0 0!important}
  html body .cena .nl .x-wrap>.kw2{grid-row:1;font-size:30px!important;margin-top:0!important;padding-top:6px}
  html body .cena .nl .x-wrap>ul.ok{grid-row:2;margin-top:18px!important}
  html body .cena .nl .x-wrap>.cb{grid-row:3;margin-top:24px!important}
  html body .cena .nl .x-wrap>.cena-l{grid-row:4;margin-top:16px!important}

  /* rozwijane listy, „czym się zajmujemy”: nagłówek z lewej, treść z prawej */
  html body .x-wrap:has(>.pacc2){display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);column-gap:80px;align-items:start}
  html body .x-wrap:has(>.pacc2)>.pacc2{grid-column:2;grid-row:1/span 3;margin-top:0!important}
  html body .x-wrap:has(>.pacc2)>*:not(.pacc2){grid-column:1}
  html body .x-wrap:has(>.sz) .sz,html body #kiedy-najlepiej .x-wrap .sz{display:grid!important;grid-template-columns:1fr 1fr!important;gap:16px!important}
  html body .x-wrap:has(>.sz) .sz>*{margin:0!important}

  /* co zrobić: nagłówek, trzy kroki obok siebie, poradniki */
  html body .c-ico>.x-h2,html body .c-ico>.odp{max-width:780px!important}
  html body .c-ico .sub{margin-top:36px!important}
  html body .c-ico .icl{grid-template-columns:repeat(3,minmax(0,1fr))!important;column-gap:20px!important;margin-top:8px!important}
  html body .c-ico .icl li{grid-template-columns:1fr!important;align-items:start!important;gap:14px!important;padding:24px!important;background:#0F0F0F;border:1px solid #1E1E1E!important;border-radius:18px}
  html body .c-ico .x-note{margin-top:22px!important}
  html body .gcr{grid-template-columns:repeat(3,minmax(0,1fr))}
  html body .gcr img{height:180px}

  /* sprzęt: zdjęcie z lewej, parametry z prawej */
  html body .spd{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);column-gap:56px;max-width:calc(var(--k) + 2*var(--g));margin-inline:auto;padding-inline:var(--g)!important;box-sizing:border-box;align-items:center}
  html body .spd>*{max-width:none!important;margin-inline:0!important}
  html body .spd>.hd,html body .spd>.odp{grid-column:1/-1;text-align:left!important;justify-self:start;width:100%}
  html body .spd .hd h2{text-align:left!important;margin:0!important}
  html body .spd>figure{grid-column:1}
  html body .spd>.card{grid-column:2;grid-template-columns:1fr}

  /* dojazd, czym się zajmujemy, pytania: nagłówek z lewej, treść z prawej (jak „Jak szukamy”) */
  html body #gdzie-dojezdzamy .wrap,html body #kto .wrap,html body #termotrop .wrap,html body #pytania .wrap{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);column-gap:80px;align-items:start;max-width:calc(var(--k) + 2*var(--g))!important}
  html body #gdzie-dojezdzamy .srodek,html body #pytania .srodek{grid-column:1;max-width:none!important;margin:0!important;position:sticky;top:110px;text-align:left!important}
  html body #gdzie-dojezdzamy .srodek *,html body #pytania .srodek *{text-align:left!important;margin-left:0!important}
  html body #gdzie-dojezdzamy .rozwijane,html body #pytania .faq{grid-column:2;grid-row:1/span 2;max-width:none!important;margin:0!important;width:100%}
  html body #gdzie-dojezdzamy .obszar__dopisek{grid-column:2;max-width:none!important;margin:18px 0 0!important;text-align:left!important}
  html body #pytania .faq{grid-template-columns:1fr!important}
  html body #kto .tresc,html body #termotrop .tresc{display:contents}
  html body #kto h2,html body #termotrop h2{grid-column:1;text-align:left!important;margin:0!important;max-width:none!important}
  html body #kto .fk,html body #termotrop .fk{grid-column:2;margin:0!important}

  /* w poradnikach pytania i „czym się zajmujemy” zostają w kolumnie do czytania */
  html body main:has(.sekcja--wstep) #pytania .wrap{display:block!important}
  html body main:has(.sekcja--wstep) #pytania .faq{max-width:none!important;width:auto}
  html body main:has(.sekcja--wstep) .tresc__h2.hc{text-align:left!important;margin-left:0!important}
  html body .b3.b3--4{grid-template-columns:repeat(4,minmax(0,1fr))!important}

  /* przyciski z numerem nie rozciągają się na całą szerokość */

  /* zamknięcie i stopka */
  html body section.cob[data-alt] .alt .e-ctr{padding:80px var(--g) 90px!important}
  html body section.cob[data-alt] .alt .e-ctr h2{font-size:46px!important}
  html body .ffb .x-wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);column-gap:80px}
  html body .ffb .x-wrap>*{grid-column:1}
  html body .ffb .x-wrap>.cols{grid-column:2;grid-row:1/span 4}
}
