/* Strona "Dlaczego YS?" – dopełnienie style-1.css */
.v1 .menu>li>a[aria-current=page]{background:#ffe6f0;color:#d42a72}

.why-hero{position:relative;overflow:hidden;padding:70px 0 100px;text-align:center;background:radial-gradient(circle at 10% 20%,#d3f5f6 0 150px,transparent 152px),radial-gradient(circle at 92% 75%,#ffe0ed 0 190px,transparent 192px),radial-gradient(circle at 60% 0,#fff2c9 0 80px,transparent 82px),#f6fdfd}
.why-hero h1{position:relative;z-index:1;max-width:16ch;margin-inline:auto;font:600 clamp(34px,6vw,72px)/1.1 Fredoka,sans-serif;color:var(--aqua-d)}
.why-hero h1 strong{display:inline-block;color:var(--pink);text-shadow:0 4px 0 #ffe08a;transform:rotate(-2deg)}
.why-hero i{position:absolute;font-style:normal;animation:float 5s ease-in-out infinite}
.why-hero .s1{top:18%;left:7%;font-size:44px;color:var(--sun)}
.why-hero .s2{top:55%;right:9%;font-size:54px;color:var(--pink);animation-delay:-2s}
.why-hero .s3{bottom:16%;left:18%;font-size:30px;color:var(--aqua);animation-delay:-3.5s}
.why-hero .s4{top:14%;right:22%;font-size:28px;color:var(--aqua);animation-delay:-1s}

.why{counter-reset:why}
.why-sec{position:relative;padding:80px 0;counter-increment:why}
.why-sec:nth-of-type(odd){--bg:#effbfb;background:var(--bg)}
.why-sec:nth-of-type(even){--bg:#fff;background:var(--bg)}
.why-sec::before{content:"";position:absolute;left:0;right:0;bottom:calc(100% - 1px);height:50px;background:var(--bg);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V22Q150 0 300 22T600 22T900 22T1200 22V40Z'/%3E%3C/svg%3E") 0 100%/100% 100% no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V22Q150 0 300 22T600 22T900 22T1200 22V40Z'/%3E%3C/svg%3E") 0 100%/100% 100% no-repeat}
.why-row{display:grid;grid-template-columns:7fr 5fr;gap:clamp(28px,5vw,80px);align-items:center}
.why-row.flip{grid-template-columns:5fr 7fr}
.why-row.flip .why-photo{order:2}
.why-row>*{min-width:0}

.why-photo{position:relative}
.why-photo::before{content:"";position:absolute;inset:-16px 26px 26px -16px;background:#ffd9e8;border-radius:46% 54% 40% 60%/55% 40% 60% 45%;animation:blob 9s ease-in-out infinite alternate}
.why-sec:nth-of-type(even) .why-photo::before{background:#d3f5f6}
.why-row.flip .why-photo::before{inset:-16px -16px 26px 26px}
.why-photo .shot{position:relative;border-radius:34px;border:8px solid #fff;box-shadow:0 30px 60px -25px rgba(0,0,0,.45);transform:rotate(-1.2deg);transition:transform .5s}
.why-row.flip .why-photo .shot{transform:rotate(1.2deg)}
.why-photo .shot:hover{transform:rotate(0) scale(1.02)}
.why-photo .shot img{width:100%;aspect-ratio:4/3;object-fit:cover}
.why-photo.tall .shot img{aspect-ratio:4/4.6}
.shot::after{border-radius:26px;background:rgba(255,92,157,.45)}

.why-card{position:relative;padding:clamp(28px,4vw,48px);border-radius:36px;background:#fff;box-shadow:0 22px 50px -28px rgba(8,127,135,.55)}
.why-sec:nth-of-type(even) .why-card{background:#f6fdfd}
.why-card::before{content:"0" counter(why);position:absolute;top:-26px;left:28px;display:grid;place-items:center;width:58px;height:58px;border-radius:38% 62% 55% 45%;background:var(--pink);color:#fff;font:600 22px Fredoka,sans-serif;box-shadow:0 10px 20px -8px rgba(255,92,157,.8)}
.why-card h2{font-size:clamp(24px,3vw,36px);line-height:1.2;margin-bottom:18px;font-weight:600;color:var(--aqua-d)}
.why-card h2 strong{background:linear-gradient(transparent 68%,#ffe08a 0)}
.why-card p{margin-bottom:14px}
.why-card p:last-child{margin-bottom:0}
.why-card .lead{font-weight:800;color:#d42a72}

.why-end{padding-bottom:100px}

@media(max-width:900px){
  .why-row,.why-row.flip{grid-template-columns:minmax(0,1fr)}
  .why-row.flip .why-photo{order:0}
  .why-photo{width:min(520px,100%);margin-inline:auto}
  .why-sec{padding:64px 0}
  .why-hero{padding:48px 0 80px}
}
@media(prefers-reduced-motion:reduce){.why-hero i,.why-photo::before{animation:none}}

/* fala stopki nachodzi na tło ostatniej sekcji (bez białego paska) */
.footer{margin-top:0}
