/* Strefy i atrakcje: siatka „bento" — strefa zabaw jako największa karta,
   kawiarnia szeroka na dole. Zdjęcia z Magnific wchodzą w .strefa__foto
   (data-foto = docelowa ścieżka); do tego czasu kolorowe tło z ikoną. */
.strefy { max-width: 1920px; margin: 0 auto; padding: clamp(3rem, 6vw, 6rem) clamp(.75rem, 1.5vw, 1.5rem); }
.strefy__glowa { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 4rem; align-items: end; padding: 0 clamp(.5rem, 3vw, 3rem) clamp(2rem, 4vw, 3.5rem); }
.nadtytul { grid-column: 1 / -1; font-family: var(--font-naglowek); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--pom-2); }
.strefy h2 { font-size: clamp(2.4rem, 5vw, 5.2rem); font-weight: 800; line-height: .95; }
.strefy h2 span { color: var(--nieb); }
.strefy__lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); color: var(--tusz-2); max-width: 36rem; }

.strefy__siatka {
  display: grid; gap: clamp(.75rem, 1.2vw, 1.25rem);
  grid-template-columns: repeat(4, 1fr);
  grid-template-areas: "a a b c" "a a d c" "e e e e";
}
.strefa--pom { grid-area: a; } .strefa--nieb { grid-area: b; } .strefa--roz { grid-area: c; }
.strefa--lim { grid-area: d; } .strefa--tur { grid-area: e; }

.strefa {
  --kol: var(--pom); --tlo: #FFE9D4;
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--r-xl); overflow: hidden; background: var(--kol); color: #fff;
  transition: transform .4s var(--ease);
}
.strefa:hover { transform: translateY(-6px) rotate(-.4deg); }
.strefa--nieb { --kol: var(--nieb); --tlo: #DCEEFD; }
.strefa--roz  { --kol: var(--roz);  --tlo: #FFE0EC; }
.strefa--lim  { --kol: var(--lim);  --tlo: #F1FAD3; color: var(--tusz); }
.strefa--tur  { --kol: var(--tur);  --tlo: #D6F6FB; flex-direction: row; }

.strefa__foto {
  position: relative; flex: 1; min-height: 220px;
  background: var(--tlo) center / cover no-repeat;
  display: grid; place-items: center; overflow: hidden;
  /* Malowana dolna krawędź zamiast prostej linii. */
  clip-path: ellipse(120% 100% at 50% 0%);
}
.strefa__foto::before { content: ''; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 42% 58% 63% 37% / 45% 40% 60% 55%; background: var(--kol); opacity: .22; }
.strefa__foto svg { position: relative; width: clamp(64px, 7vw, 120px); fill: none; stroke: var(--kol); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; filter: saturate(1.2) brightness(.85); }
.strefa__foto.ma-foto svg, .strefa__foto.ma-foto::before { display: none; }
.strefa--pom .strefa__foto { min-height: 420px; }

.strefa__tresc { position: relative; padding: clamp(1.2rem, 2vw, 2rem); }
.strefa__nr { position: absolute; right: clamp(1.2rem, 2vw, 2rem); top: clamp(.8rem, 1.6vw, 1.6rem); font-family: var(--font-naglowek); font-weight: 800; font-size: 2.6rem; line-height: 1; opacity: .35; }
.strefa h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.2rem); font-weight: 800; margin-bottom: .5rem; padding-right: 3.5rem; }
.strefa--pom h3 { font-size: clamp(2rem, 1.4rem + 2vw, 3.2rem); }
.strefa p { font-weight: 600; opacity: .95; max-width: 34rem; }
.strefa__tag { display: inline-block; margin-top: 1rem; padding: .3rem .9rem; border-radius: 999px; background: rgba(255,255,255,.25); font-family: var(--font-naglowek); font-weight: 700; font-size: .95rem; }
.strefa--lim .strefa__tag { background: rgba(30,35,64,.12); }

.strefa--tur .strefa__foto { flex: 1.3; min-height: 260px; clip-path: ellipse(100% 120% at 0% 50%); }
.strefa--tur .strefa__tresc { flex: 1; align-self: center; }

@media (max-width: 1100px) {
  .strefy__glowa { grid-template-columns: 1fr; }
  .strefy__siatka { grid-template-columns: 1fr 1fr; grid-template-areas: "a a" "b c" "d c" "e e"; }
}
@media (max-width: 640px) {
  .strefy__siatka { grid-template-columns: 1fr; grid-template-areas: "a" "b" "c" "d" "e"; }
  .strefa--pom .strefa__foto { min-height: 260px; }
  .strefa--tur { flex-direction: column; }
  .strefa--tur .strefa__foto { clip-path: ellipse(120% 100% at 50% 0%); }
}
/* Kadry pod konkretne zdjęcia — twarze nie mogą wypadać poza kartę. */
.strefa--nieb .strefa__foto { background-position: 50% 25%; }
.strefa--roz .strefa__foto { background-position: 80% 50%; }
/* Kawiarnia: ciemny brąz (kawa) — odróżnia strefę dla dorosłych od dziecięcych.
   Zdjęcie od tekstu oddziela malowana fala (maska SVG na prawej krawędzi). */
.strefa--tur { --kol: #4A2E22; --tlo: #E9DCCF; }
.strefa--tur .strefa__tag { background: rgba(255,255,255,.16); }
.strefa--tur .strefa__foto {
  flex: 1.25; min-height: 360px; background-position: 45% 50%; clip-path: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 400' preserveAspectRatio='none'%3E%3Cpath d='M0 0H86C99 60 99 130 90 200S80 320 93 360 99 390 96 400H0Z'/%3E%3C/svg%3E") right / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 400' preserveAspectRatio='none'%3E%3Cpath d='M0 0H86C99 60 99 130 90 200S80 320 93 360 99 390 96 400H0Z'/%3E%3C/svg%3E") right / 100% 100% no-repeat;
}
/* Dolny rząd: kawiarnia na 3 kolumny + blok „dowiedz się więcej”. */
.strefy__siatka { grid-template-areas: "a a b c" "a a d c" "e e e f"; }
.strefa--wiecej {
  grid-area: f; background: var(--zol); color: var(--tusz);
  padding: clamp(1.4rem, 2.2vw, 2.2rem); justify-content: flex-end; isolation: isolate;
}
.strefa--wiecej::before { content: ''; position: absolute; z-index: -1; width: 80%; aspect-ratio: 1; right: -25%; top: -25%;
  border-radius: 42% 58% 63% 37% / 45% 40% 60% 55%; background: var(--pom); opacity: .25; transition: transform .6s var(--ease); }
.strefa--wiecej:hover::before { transform: scale(1.3) rotate(20deg); }
.wiecej__liczba { font-family: var(--font-naglowek); font-weight: 800; font-size: clamp(3rem, 2rem + 3vw, 5rem); line-height: .9; color: var(--pom-2); margin-bottom: auto; }
.wiecej__liczba small { font-size: .45em; }
.strefa--wiecej h3 { padding-right: 0; }
.strefa--wiecej p { font-weight: 600; opacity: .8; }
.wiecej__btn { margin-top: 1.2rem; display: inline-flex; align-items: center; justify-content: space-between; gap: .6rem;
  background: var(--tusz); color: #fff; padding: .85rem 1.2rem; border-radius: 14px; font-family: var(--font-naglowek); font-weight: 700; text-transform: uppercase; font-size: .95rem; }
.wiecej__btn i { font-style: normal; transition: transform .3s var(--ease); }
.strefa--wiecej:hover .wiecej__btn i { transform: translateX(5px); }
@media (max-width: 1100px) { .strefy__siatka { grid-template-areas: "a a" "b c" "d c" "e e" "f f"; } }
@media (max-width: 640px) {
  .strefy__siatka { grid-template-areas: "a" "b" "c" "d" "e" "f"; }
  .strefa--tur .strefa__foto { min-height: 240px; flex: none;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0H400V75C350 95 300 95 250 80S150 60 100 80 30 95 0 85Z'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0H400V75C350 95 300 95 250 80S150 60 100 80 30 95 0 85Z'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat; }
}
/* Kawiarnia: przycisk do menu (podstrona Kawiarnia). */
.strefa__btn { display: inline-flex; align-items: center; gap: .45rem; margin: 1rem 0 0 .5rem; padding: .45rem 1.1rem; border-radius: 999px;
  background: #fff; color: #4A2E22; font-family: var(--font-naglowek); font-weight: 800; font-size: .95rem; text-decoration: none; transition: transform .2s; }
.strefa__btn i { font-style: normal; transition: transform .2s; }
.strefa__btn:hover i { transform: translateX(4px); }
.strefa__btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
