/* The home page's first two sections, the owner's choices of 2026-11-19 (prototypes outside the repository, in
   ../prototypy/hero-zaufanie-2026-11-19/, rounds 6-25): a navy field with waving lines (home-hero.js) behind the
   headline, at its foot a glass strip of the four trust figures, and under it a headline and a paragraph beside the
   photograph of devices. Both sections keep the `.hero.pl` classes, so the headline's type and the photograph's
   fades are the rules in site.css and wordpress.css. */
.pl.hw{position:relative;display:flow-root;margin:0;padding:44px 0 0;overflow:hidden;isolation:isolate;background:var(--navy)}
.hw-canvas{position:absolute;inset:0;width:100%;height:100%;display:block;-webkit-mask-image:linear-gradient(90deg,rgba(0,0,0,.1) 0,rgba(0,0,0,.35) 100%);mask-image:linear-gradient(90deg,rgba(0,0,0,.1) 0,rgba(0,0,0,.35) 100%)}
.hw-copy{position:relative;z-index:3;margin-left:max(20px,calc((100vw - 1240px)/2));margin-right:20px}
.hw-copy .eyebrow{margin:0;color:rgba(255,255,255,.7)}
.hw-copy h1{max-width:none;margin:16px 0 0;color:#fff;font-size:clamp(2.1rem,3.5vw,3.3rem)}
.hw-copy h1 em{color:var(--cyan)}
.hw-copy .lead{max-width:470px;margin:20px 0 0;color:rgba(255,255,255,.72)}

/* The strip: glass over the lines, which run on behind it. */
.hw-strip{position:relative;z-index:3;margin-top:44px;background:rgba(255,255,255,.05);border-top:1px solid rgba(255,255,255,.14);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.hw-strip .wrap{display:grid;grid-template-columns:1fr 1fr}
.hw-item{display:flex;align-items:center;gap:14px;padding:14px;border-left:1px solid rgba(255,255,255,.12)}
.hw-item:nth-child(even){padding-left:0;border-left:0}
.hw-item:nth-child(n+4){border-top:1px solid rgba(255,255,255,.12)}
/* The figure is the trust cards' badge (.tq-item b) turned round: white, its figure in the field's navy. */
.hw-item b{width:48px;height:48px;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;flex:0 0 auto;color:var(--navy);background:#fff;border:1px solid #fff;border-radius:13px 13px 4px;box-shadow:0 6px 18px rgba(0,0,0,.25);font-size:14px;font-weight:900;line-height:1;letter-spacing:.01em;white-space:nowrap}
.hw-item b:after{width:7px;height:7px;position:absolute;right:4px;top:4px;content:"";background:var(--cyan);border:1.5px solid #fff;border-radius:50%}
.hw-item b .trust-unit{margin-top:3px;color:var(--navy);font-size:9.5px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.hw-item strong{color:#fff;font-size:14px;font-weight:800;line-height:1.3;text-wrap:balance}
/* The search of devices is the strip's first badge (the owner's „Znaczek”, 2026-11-19): the trust figures' badge
   with a magnifier, and where their label stands a field on the glass, a line under it. A row of its own until
   the strip is wide enough for all five. */
.hw-search{min-width:0;display:flex;align-items:center;grid-column:1/-1;gap:14px;margin:0;padding:14px 0;border-bottom:1px solid rgba(255,255,255,.12)}
.hw-search-badge{width:48px;height:48px;position:relative;display:flex;align-items:center;justify-content:center;flex:0 0 auto;color:var(--navy);background:#fff;border-radius:13px 13px 4px;box-shadow:0 6px 18px rgba(0,0,0,.25);cursor:text}
.hw-search-badge:after{width:7px;height:7px;position:absolute;right:4px;top:4px;content:"";background:var(--cyan);border:1.5px solid #fff;border-radius:50%}
.hw-search-badge svg{width:21px;height:21px;display:block;fill:none;stroke:currentColor;stroke-width:2.3;stroke-linecap:round}
.hw-search-field{min-width:0;height:38px;display:flex;align-items:center;flex:1;gap:10px;color:#fff;border-bottom:1.5px solid rgba(255,255,255,.55);transition:border-color 150ms ease-out}
.hw-search-field:focus-within{border-bottom-color:var(--cyan)}
.hw-search input{min-width:0;height:100%;flex:1;margin:0;padding:0;-webkit-appearance:none;appearance:none;color:inherit;background:none;border:0;border-radius:0;box-shadow:none;outline:0;font:inherit;font-size:16px;font-weight:700}
.hw-search #hero-query::placeholder{color:rgba(255,255,255,.85);opacity:1}
.hw-search button{width:34px;height:34px;min-height:0;flex:0 0 auto;margin:0;padding:0;color:var(--cyan);background:none;border:0;border-radius:9px;font:inherit;font-size:20px;font-weight:800;line-height:1;cursor:pointer;transition:background-color 150ms ease-out,transform 160ms var(--ease-out)}
.hw-search button:active{transform:scale(.97)}
.hw-search button:focus-visible{outline:2px solid var(--cyan);outline-offset:2px}
@media(hover:hover){.hw-search button:hover{background:rgba(255,255,255,.1)}}


@media(min-width:861px){
  .pl.hw{padding-top:22px}
  .hw-canvas{-webkit-mask-image:linear-gradient(90deg,rgba(0,0,0,.08) 0,rgba(0,0,0,.08) 30%,#000 62%);mask-image:linear-gradient(90deg,rgba(0,0,0,.08) 0,rgba(0,0,0,.08) 30%,#000 62%)}
  .hw-copy{width:min(40vw,560px);margin-right:0}
}
/* On a desktop the strip is one row, 57 px high, and nothing in it is centred: the badge stands 12 px over the
   strip's top line, so that the line runs 8 px over the top of its figure and of the label beside it. Below 1200 px the
   search is a row over the four, and the last label is one line, its column as wide as its words. */
@media(min-width:1061px){
  .hw-strip{margin-top:42px}
  .hw-strip .wrap{grid-template-columns:1fr 1fr 1fr max-content}
  .hw-search{padding-bottom:26px}
  .hw-item,.hw-item:nth-child(even){height:57px;padding:0 24px;border-left:1px solid rgba(255,255,255,.12)}
  .hw-item:nth-child(n+4){border-top:0}
  .hw-item:nth-child(2){padding-left:0;border-left:0}
  .hw-item:last-child{padding-right:0}
  .hw-item b{align-self:flex-start;transform:translateY(-12px)}
  .hw-item strong{align-self:flex-start;font-size:15px;transform:translateY(4px)}
}
@media(min-width:1150px) and (max-width:1199px){.hw-item strong{white-space:nowrap}}
/* From 1200 px the strip is one row on six equal columns (the owner's „Moduł”): the search takes two, each figure
   one, its label in two lines. The search's badge stands over the line as the figures' do. */
@media(min-width:1200px){
  .hw-strip .wrap{grid-template-columns:repeat(6,minmax(0,1fr))}
  .hw-search{height:57px;align-items:flex-start;grid-column:span 2;padding:0 20px 0 0;border-bottom:0}
  .hw-search-badge{transform:translateY(-12px)}
  .hw-search-field{margin-top:2px}
  .hw-search input{font-size:15px}
  .hw-item,.hw-item:nth-child(even),.hw-item:nth-child(2){gap:12px;padding:0 0 0 16px;border-left:1px solid rgba(255,255,255,.12)}
  .hw-item strong{font-size:14px;line-height:1.25}
  /* The last label takes three lines of the column in English and German, which the strip holds only set smaller. */
  :lang(en) .hw-item:last-child strong,:lang(de) .hw-item:last-child strong,:lang(uk) .hw-item:last-child strong{font-size:13px;line-height:1.2;transform:translateY(3px)}
}

/* Under the field: two sentences and a paragraph beside the photograph the first section had until 2026-11-19. */
.pl-about .pl-grid{min-height:400px;padding-block:48px}
.pl-about .pl-photo{bottom:0}
.pl-about h2{max-width:none;margin:0 0 20px;color:var(--navy);font-size:clamp(1.55rem,2.15vw,2rem);line-height:1.14;letter-spacing:-.04em}
.pl-about h2 em{color:var(--blue);font-style:normal}
.pl-about p{max-width:560px;margin:0;color:var(--muted);font-size:16px;line-height:1.7}
@media(min-width:1061px){.pl-about h2{white-space:nowrap}}
@media(max-width:1060px){.pl-about .pl-grid{min-height:0;padding-block:32px 0}}

/* Najczęściej zamawiane urządzenia: the lead runs the width of the page, the link to the catalogue under it on the right. */
.pp-head .about-lead{max-width:none}
@media(min-width:761px){
  .pp-head{flex-wrap:wrap;gap:14px 40px}
  .pp-head>div{flex:1 1 100%}
  .pp-head .pp-more{margin-left:auto}
}
