/* public/assets/css/city-hero.css — hero podstrony miasta wg wzoru (osoba na blobie po lewej, nazwa miasta + narzędzia po prawej).
   Grafika: hero-art.css. Logika (zmieniacz miast, filtry, wyszukiwarka) bez zmian – tylko układ i wygląd. */
.cy-hero{position:relative;z-index:5;overflow-x:clip;padding:1rem 0 3.2rem;background:radial-gradient(40% 60% at 100% 0%,rgba(255,200,166,.65),transparent 70%),radial-gradient(35% 45% at 0% 60%,rgba(255,214,184,.55),transparent 70%),linear-gradient(180deg,#fff2e6 0%,#fff6ef 55%,#fff9f5 100%)}
.cy-hero::before{content:"";position:absolute;right:4%;top:14%;width:3.2rem;height:3.6rem;border-radius:50% 50% 50% 50%/60% 60% 40% 40%;background:linear-gradient(160deg,#ffd3b0,#ffb27a);opacity:.75;pointer-events:none}
.cy-hero::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2.6rem;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23fafcfd' d='M0 80V46C240 8 420 6 640 30c250 28 430 40 800-14v64z'/%3E%3C/svg%3E") center bottom/100% 100% no-repeat}
.cy-hero-inner{position:relative;z-index:1;max-width:80rem;margin:0 auto;padding:0 1rem;display:grid;grid-template-columns:minmax(0,1fr);gap:1rem}
.cy-art-col{display:none}
.cy-copy{min-width:0;text-align:center}
.cy-copy h1.cy-h1--long{font-size:clamp(2.1rem,9.5vw,3rem)!important}
.cy-copy h1{font-size:clamp(2.4rem,11vw,3.4rem)!important;line-height:1.02!important;letter-spacing:-.035em!important;color:#0f1b3d!important;text-wrap:balance;overflow-wrap:anywhere}
.cy-copy #hero-city-box label{border:1px solid #f1e2d4;border-radius:.95rem;box-shadow:0 10px 24px rgba(242,106,27,.1)}
.cy-sub{margin:.2rem auto 0;max-width:38rem}
.cy-sub p{font-size:clamp(1.05rem,2.6vw,1.45rem)!important;line-height:1.3!important;font-weight:800!important;color:#0f1b3d!important}
.cy-tools{margin-top:1.4rem;max-width:44rem;margin-left:auto;margin-right:auto}
.cy-tools #filter-pills{flex-wrap:nowrap!important;gap:.35rem!important;justify-content:flex-start!important;overflow-x:auto!important;margin-left:0!important;margin-right:0!important;padding-left:.1rem!important;padding-right:.1rem!important;scrollbar-width:none;padding-bottom:.3rem}
.cy-tools #filter-pills::-webkit-scrollbar{display:none}
.cy-tools .filter-btn{border-radius:.9rem!important;border-color:#eadfd4!important;font-size:.78rem!important;padding:.5rem .68rem!important;box-shadow:0 2px 6px rgba(15,27,61,.04)}
.cy-tools .filter-btn.active{background:#0f1b3d!important;border-color:#0f1b3d!important;color:#fff!important;box-shadow:0 8px 16px rgba(15,27,61,.25)}
@media (min-width:640px){
  .cy-hero{padding:1.2rem 0 3.4rem}
  .cy-hero-inner{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);align-items:center;gap:.5rem}
  .cy-art-col{display:block}
  .cy-art-col .ha-art{max-width:15rem;margin:0 auto}
  .cy-copy h1{font-size:clamp(2.4rem,6.6vw,3.6rem)!important}
}
@media (min-width:1024px){
  .cy-hero{padding:1.5rem 0 4rem}
  .cy-hero-inner{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:1rem}
  .cy-art-col .ha-art{max-width:30rem}
  .cy-copy h1{font-size:clamp(3rem,4.7vw,4.7rem)!important}
  .cy-copy h1.cy-h1--long{font-size:clamp(2.6rem,3.8vw,3.8rem)!important}
    .cy-tools #filter-pills{justify-content:safe center!important}
}
/* przejście do listy firm: bez twardej krawędzi */
#kategorie{position:relative}

/* body miasta był półprzezroczysty (bg-slate-50/70) – przy tle html ze stopką (gradient biel/granat) musi być kryjący; selektor z atrybutem przebija klasę Tailwinda */
body[class*="bg-slate-50"]{background-color:#fafcfd}

/* pole wyszukiwania w hero miast (komponent .hm-search ze wspólnego hero-art.css) */
.cy-city .cy-search{max-width:38.75rem;margin:0 auto 1rem}
.cy-city .cy-search input{font-size:1rem}
.cy-clear{display:inline-flex;align-items:center;justify-content:center;flex:none;width:2rem;height:2rem;border:0;background:transparent;color:#94a3b8;cursor:pointer;border-radius:999px}
.cy-clear.hidden{display:none}
.cy-clear:hover{color:#475569}
.cy-clear:focus-visible{outline:3px solid rgba(242,106,27,.5);outline-offset:1px}
.cy-clear svg{width:1.25rem;height:1.25rem}
@media (max-width:639px){.cy-city .cy-search{padding-left:.8rem}.cy-city .hm-go{padding:.8rem 1rem}}
/* mniejszy odstęp hero → lista firm (tylko strony miast): dół hero + górny padding listy */
.cy-city.cy-hero{padding-bottom:.9rem}
.cy-city.cy-hero::after{height:1.4rem}
.cy-city ~ #kategorie{padding-top:.5rem}
@media (max-width:639px){.cy-city.cy-hero{padding-bottom:.8rem}.cy-city ~ #kategorie{padding-top:.4rem}}
@media (min-width:1024px){.cy-city.cy-hero{padding-bottom:1rem}}

/* telefon (≤639 px): grafika hero NAD nazwą miasta (jak blog/asystent); kolejność DOM: .cy-art-col przed .cy-copy; niska, żeby H1 i pole wyszukiwania były w pierwszym ekranie */
@media (max-width:639px){
  .cy-city .cy-art-col{display:block}
  .cy-city .cy-art-col .ha-art{width:min(76vw,19.5rem);max-width:none;aspect-ratio:1/.8;margin:.1rem auto 0}
  .cy-city.cy-hero{padding-top:.3rem}
  .cy-city .cy-hero-inner{gap:.4rem}
  .cy-city .cy-copy h1{font-size:clamp(2.1rem,10vw,2.8rem)!important}
  .cy-city .cy-copy h1.cy-h1--long{font-size:clamp(1.9rem,8.6vw,2.4rem)!important}
}
