/* ==========================================================
   Strona jak na screenie: tekst na tle zdjęć, BEZ ramek
   W plikach: assets/bg-hero.jpg, bg-mid.jpg, bg-bot.jpg
   POPRAWKI: menu sticky, logo nie nachodzi, lepsze kontrasty
   ========================================================== */

:root{
  --pink:#fe9bcb;
  --ink:#4c4c4c;
  --muted:rgba(76,76,76,.68);
  --white:rgba(255,255,255,.92);
  --wrap:1120px;
  --focus:2px dashed rgba(254,155,203,.95);

  --page-bg: #fff;                 /* kolor „mostka” */
  --section-fade: clamp(60px, 7vw, 140px);
  --cookiebar-h: 0px;            /* wysokość banera cookies (ustawia JS) */
  
}


*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background:#fff;
}

.wrap{
  width:min(var(--wrap), calc(100% - 2rem));
  margin:0 auto;
}

a{ color:inherit; }
a:hover{ text-decoration:underline; text-underline-offset: 4px; }

.skip{
  position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip:focus{
  left:1rem; top:1rem; width:auto; height:auto;
  padding:.6rem .9rem;
  background: rgba(255,255,255,.92);
  border-radius: 12px;
  outline: var(--focus);
  z-index:9999;
}
.sr{ position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }

/* ---------- HERO ---------- */
.hero{
  position:relative;
  min-height: 78vh;
  background: url("assets/bg-hero.jpg") center/cover no-repeat;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.25) 45%, rgba(255,255,255,0) 72%);
  pointer-events:none;
}

/* POPRAWKA: Header sticky z tłem i cieniem */
.top{
  position: sticky;
  top:0;
  left:0; 
  right:0;
  z-index:100;
  padding: 1.05rem 0;
  background: rgba(0,0,0,.15);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

/* Opcjonalnie: ciemniejsze tło po przewinięciu */
.top.scrolled{
  background: rgba(0,0,0,.65);
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
}

.top__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
}

/* POPRAWKA: Logo mniejsze i bardziej kontrastowe */
.brand__logo{
  width: min(220px, 55vw);
  height: auto;
  border-radius: 0;
  opacity: 1;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.6)) drop-shadow(0 4px 16px rgba(0,0,0,.4));
  transition: transform 0.2s ease;
}
.brand:hover .brand__logo{
  transform: scale(1.02);
}

.nav{
  display:flex;
  align-items:center;
  gap: 1.4rem;
  font-weight:600;
  font-size: 0.95rem;
  color: rgba(255,255,255,.95);
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.nav a{
  text-decoration:none;
  opacity:.90;
  transition: opacity 0.2s ease, transform 0.2s ease;
  padding: 0.3rem 0;
}
.nav a:hover{ 
  opacity:1; 
  text-decoration:none;
  border-bottom: 2px solid var(--pink);
  transform: translateY(-1px);
}
.nav a:focus-visible{ 
  outline: var(--focus); 
  outline-offset: 4px; 
  border-radius: 10px; 
}

.navbtn{
  display:none;
  background:transparent;
  border:0;
  padding:.45rem;
  border-radius:12px;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.navbtn:hover{
  transform: scale(1.05);
}
.navbtn span{
  display:block;
  width:26px; height:2px;
  background: rgba(255,255,255,.92);
  margin:6px 0;
  border-radius:2px;
  transition: all 0.3s ease;
}
.navbtn:focus-visible{ outline:var(--focus); outline-offset:4px; }

/* POPRAWKA: Więcej miejsca pod header, lepsze marginesy */
.hero__inner{
  position:relative;
  z-index:1;
  padding: 8.5rem 0 3rem;
}

/* POPRAWKA: Większy kontrast dla tytułu */
.hero__title{
  margin:0 0 1.2rem;
  font-family:"Roboto Slab", serif;
  font-weight:700;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  letter-spacing:-.02em;
  line-height: 1.15;
  color: rgba(255,255,255,.98);
  text-shadow: 0 3px 12px rgba(0,0,0,.6), 0 6px 24px rgba(0,0,0,.4);
  max-width: 100%;
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__lead{
  margin:0 0 1.8rem;
  max-width: 100%;
  color: rgba(255,255,255,.92);
  text-shadow: 0 2px 8px rgba(0,0,0,.4), 0 4px 16px rgba(0,0,0,.3);
  font-size: 1.08rem;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* POPRAWKA: Lepszy przycisk CTA */
.cta{
  display:inline-block;
  padding: 1.15rem 2rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #fe9bcb 0%, #ff8bbf 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration:none;
  box-shadow: 0 8px 24px rgba(254,155,203,.35), 0 4px 12px rgba(0,0,0,.2);
  transition: all 0.3s ease;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}
.cta:hover{ 
  background: linear-gradient(135deg, #ffb7de 0%, #ffa5d5 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(254,155,203,.45), 0 6px 16px rgba(0,0,0,.25);
}
.cta:active{
  transform: translateY(0);
}

.hero__fade{
  position:absolute;
  left:0; right:0; bottom:-1px;
  height: 220px;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.62) 55%, rgba(255,255,255,.92));
}

/* POPRAWKA: Szerokość dla hero */
.hero .wrap{
  width: calc(100% - 4vw);
  max-width: 1200px;
}

/* ---------- MID ---------- */
.mid{
  position:relative;
  overflow:hidden; /* ważne, żeby fade nie "wystawał" */
  background: url("assets/bg-mid.jpg") center/cover no-repeat;
  padding: 3.5rem 0 3rem;
}
.mid::before{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.78) 65%, rgba(255,255,255,.70));
  pointer-events:none;
  z-index:0;
}
/* FADE na dole MID */
.mid::after{
  content:"";
  position:absolute; left:0; right:0; bottom:-1px;
  height: var(--section-fade);
  background: linear-gradient(
    180deg,
    rgba(var(--fade-rgb), 0) 0%,
    rgba(var(--fade-rgb), .65) 55%,
    rgba(var(--fade-rgb), 1) 100%
  );
  pointer-events:none;
  z-index:1;
}
.mid > .wrap{ position:relative; z-index:2; }

.grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items:start;
}

/* POPRAWKA: Lepsze nagłówki */
h2{
  margin:0 0 1.2rem;
  font-family:"Roboto Slab", serif;
  font-weight:700;
  font-size: 2.2rem;
  line-height: 1.2;
  color: rgba(76,76,76,.95);
}
h3{
  margin:0 0 1.2rem;
  font-weight:600;
  font-size: 1.35rem;
  line-height: 1.4;
  color: rgba(76,76,76,.90);
}
p{ 
  margin:0 0 1rem; 
  color: rgba(76,76,76,.88);
  line-height: 1.7;
}
.muted{ color: var(--muted); }
.accent{ 
  color: var(--pink); 
  font-weight:800;
}

.ticks{
  margin: 1.2rem 0 0;
  padding:0;
  list-style:none;
  display:grid;
  gap: 1rem;
  color: rgba(76,76,76,.90);
}
.ticks li{
  position:relative;
  padding-left: 1.6rem;
  line-height: 1.6;
}
.ticks li::before{
  content:"✓";
  position:absolute; left:0; top:0;
  color: var(--pink);
  font-weight:900;
  font-size: 1.2rem;
}

/* ---------- BOTTOM ---------- */
.bot{
  position:relative;
  overflow:hidden;
  background: url("assets/bg-bot.jpg") center/cover no-repeat;
  padding: 3rem 0 3.5rem;
}
.bot::before{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.72) 55%, rgba(255,255,255,.65));
  pointer-events:none;
  z-index:0;
}
/* FADE na górze BOT */
.bot::after{
  content:"";
  position:absolute; left:0; right:0; top:-1px;
  height: var(--section-fade);
  background: linear-gradient(
    180deg,
    rgba(var(--fade-rgb), 1) 0%,
    rgba(var(--fade-rgb), .65) 45%,
    rgba(var(--fade-rgb), 0) 100%
  );
  pointer-events:none;
  z-index:1;
}
.bot > .wrap{ position:relative; z-index:2; }
.ticks--small{ gap: .85rem; }
.ticks--small li{ padding-left: 1.4rem; }

.quote-block{ margin-top: .5rem; }
.quote{
  margin:0 0 .4rem;
  font-family:"Dancing Script", cursive;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  line-height: 1.4;
  color: rgba(76,76,76,.88);
}
.quote__accent{ color: var(--pink); font-weight:700; }
.who{ font-family: Inter, system-ui, sans-serif; font-weight:700; }
.who2{ margin:0 0 1.3rem; }

.contact{ margin-top: 1.5rem; }
.contact h2{ font-size: 1.85rem; margin-bottom: 1.1rem; }

.contact__list{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap: 1rem;
}
.contact__list li{
  display:flex;
  gap: 1rem;
  align-items:flex-start;
  padding: 0.5rem 0;
}
.ico{
  width: 34px; height: 34px;
  display:grid;
  place-items:center;
  border-radius: 10px;
  background: rgba(254,155,203,.22);
  flex: 0 0 34px;
  font-size: 1.1rem;
}
.lbl{ 
  font-size: .9rem; 
  color: rgba(76,76,76,.65);
  font-weight: 600;
  margin-bottom: 0.15rem;
}
.val{ 
  font-size: 1rem;
  color: rgba(76,76,76,.90);
}
.val a{ 
  text-decoration: none;
  transition: color 0.2s ease;
}
.val a:hover{
  color: var(--pink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.foot{
  margin-top: 1.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(76,76,76,.15);
  font-size: .9rem;
  color: rgba(76,76,76,.60);
}
.footlink{
  color: rgba(76,76,76,.75);
  transition: color 0.2s ease;
}
.footlink:hover{
  color: var(--pink);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .grid{ 
    grid-template-columns: 1fr; 
    gap: 2rem; 
  }
  .grid--bot{ grid-template-columns: 1fr; }
  .hero__title{ max-width: 100%; }
  .hero__inner{ padding: 7rem 0 2.5rem; }
}

@media (max-width: 760px){
  /* POPRAWKA: Animacja menu mobile */
  .navbtn{ display:block; }
  .nav{
    position:fixed;
    right: 1rem;
    top: 80px;
    width: min(90vw, 220px);
    flex-direction: column;
    align-items: stretch;
    gap: .3rem;
    padding: .8rem;
    border-radius: 16px;
    background: rgba(20,20,20,.92);
    backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px rgba(0,0,0,.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
  }
  .nav.is-open{ 
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav a{ 
    padding: .7rem .8rem; 
    border-radius: 10px;
    border-bottom: none !important;
  }
  .nav a:hover{
    background: rgba(254,155,203,.15);
    transform: translateX(4px);
  }
  
  .hero__inner{ padding: 6rem 0 2rem; }
  .hero__title{ font-size: clamp(1.8rem, 6vw, 2.4rem); }
  h2{ font-size: 1.85rem; }
  .contact h2{ font-size: 1.6rem; }
}

@media (max-width: 480px){
  .hero .wrap{ width: calc(100% - 2rem); }
  .brand__logo{ width: min(280px, 70vw); }
  .cta{ padding: 1rem 1.5rem; font-size: 1rem; }
  .grid{ gap: 1.5rem; }
}

/* ==========================================================
   POLICY PAGE (RODO + cookies)
   ========================================================== */
body.policy{
  background: #fff;
  color: #333;
}
.policyTop{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(30,30,30,.55);
  backdrop-filter: blur(12px);
  padding: .85rem 0;
}
.policyTop__inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 1rem;
}
.policyNav{
  display:flex;
  gap: 1.0rem;
  align-items:center;
  color: rgba(255,255,255,.92);
  font-weight: 600;
}
.policyNav a{
  color: inherit;
  text-decoration: none;
  opacity: .92;
}
.policyNav a:hover{ opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.policyNav a.is-active{
  opacity: 1;
  color: #fff;
  border-bottom: 2px solid var(--pink);
  padding-bottom: .2rem;
}
.policyMain{
  padding: 2.2rem 0 3.2rem;
}
.policyWrap{
  max-width: 980px;
}
.policyMain h1{
  font-family: "Roboto Slab", serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 2.4vw, 2.4rem);
  margin: 0 0 .75rem;
}
.policyLead{
  color: rgba(0,0,0,.65);
  margin: 0 0 1.6rem;
}
.policySection{
  margin: 1.35rem 0;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.policySection h2{
  margin: 0 0 .6rem;
  font-size: 1.35rem;
  color: rgba(0,0,0,.82);
}
.policySection h3{
  margin: .9rem 0 .35rem;
  font-size: 1.08rem;
}
.policySection p, .policySection li{
  color: rgba(0,0,0,.78);
}
.policySection ul{
  margin: .6rem 0 0;
}
.policyFoot{
  margin-top: 1.6rem;
  color: rgba(0,0,0,.55);
  font-size: .92rem;
}
.maplink{
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 760px){
  .policyNav{ flex-wrap: wrap; justify-content: flex-end; }
}

/* ==========================================================
   DODATKOWE USPRAWNIENIA
   ========================================================== */

/* Smooth scroll dla całej strony */
html {
  scroll-padding-top: 80px;
}

/* Efekt ładowania strony */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

body {
  animation: fadeIn 0.5s ease-out;
}

/* Lepsze focus states dla dostępności */
*:focus-visible {
  outline: var(--focus);
  outline-offset: 3px;
}

/* Animacja dla sekcji przy scrollu (opcjonalnie) */
.mid, .bot {
  animation: fadeIn 0.6s ease-out;
}

/* Poprawa czytelności na małych ekranach */
@media (max-width: 360px) {
  body {
    font-size: 15px;
  }
  .hero__title {
    font-size: 1.6rem;
  }
}

/* ==========================================================
   COOKIE BAR (zgoda cookies)
   ========================================================== */
body.has-cookiebar{
  padding-bottom: var(--cookiebar-h);
}

.cookiebar{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(76,76,76,.18);
  transform: translateY(110%);
  opacity: 0;
  transition: transform .35s ease, opacity .35s ease;
}
.cookiebar.is-open{
  transform: translateY(0);
  opacity: 1;
}
.cookiebar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 1rem;
  padding: .9rem 0;
}
.cookiebar__text{
  font-size: .95rem;
  color: rgba(76,76,76,.84);
  line-height: 1.55;
}
.cookiebar__text strong{
  color: rgba(76,76,76,.95);
}
.cookiebar__link{
  color: rgba(76,76,76,.92);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
}
.cookiebar__link:hover{
  color: var(--pink);
}
.cookiebar__actions{
  display:flex;
  gap: .65rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cookiebar__btn{
  border: 0;
  border-radius: 12px;
  padding: .7rem 1.05rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.cookiebar__btn--ghost{
  background: rgba(76,76,76,.08);
  color: rgba(76,76,76,.88);
}
.cookiebar__btn--ghost:hover{
  background: rgba(76,76,76,.12);
  transform: translateY(-1px);
}
.cookiebar__btn--ok{
  background: linear-gradient(135deg, #fe9bcb 0%, #ff8bbf 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(254,155,203,.30);
}
.cookiebar__btn--ok:hover{
  box-shadow: 0 10px 26px rgba(254,155,203,.38);
  transform: translateY(-1px);
}
.cookiebar__btn:focus-visible{
  outline: var(--focus);
  outline-offset: 3px;
}

@media (max-width: 760px){
  .cookiebar__inner{
    flex-direction: column;
    align-items: stretch;
    gap: .85rem;
  }
  .cookiebar__actions{
    justify-content: flex-start;
  }
  .cookiebar__btn{
    width: 100%;
    text-align: center;
  }
}
