/* Home page composition. Shared subpage styles stay in main.css. */
.home {
  --home-width: 1520px;
  --home-gutter: max(0px, calc((100vw - var(--home-width)) / 2));
  --section-space: clamp(64px, 6vw, 104px);
}
.home .wrap { max-width: var(--home-width); padding-inline: 32px; }
.home .nav { max-width: calc(var(--home-width) - 32px); }
.home .topbar__inner { max-width: var(--home-width); padding-inline: 32px; font-size: 14px; }
.home .topbar__status { font-size: 12px; letter-spacing: .04em; }
.home .topbar__sezon, .home .topbar__where { color: #d0e0d5; }
.home .nav__links a { font-size: 15px; }
.home a:focus-visible, .home button:focus-visible, .home [tabindex="0"]:focus-visible {
  outline: 3px solid #1478ad; outline-offset: 5px;
}
.home .hero {
  isolation: isolate;
  padding-top: calc(var(--strefa-gora) + 40px);
  background:
    radial-gradient(circle at 7% 30%, rgba(255,255,255,.9) 0 2.5%, transparent 2.7%),
    radial-gradient(circle at 42% 18%, rgba(255,199,44,.18) 0 5%, transparent 12%),
    radial-gradient(circle at 79% 38%, rgba(47,168,224,.13) 0 8%, transparent 20%),
    linear-gradient(180deg, #cceafb 0%, #e9f6f2 46%, var(--cream) 76%);
}
.home .hero__grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  padding-bottom: 100px;
  min-height: 590px;
}
.home .hero__copy { position: relative; z-index: 2; max-width: 710px; }
.home .hero__title {
  font-size: clamp(3rem, 4.15vw, 4.75rem);
  line-height: 1.07; letter-spacing: -.025em; margin-bottom: 26px;
}
.home .hero__title .mark { padding-inline: 0; }
.home .hero__lead { max-width: 54ch; font-size: 18px; line-height: 1.7; }
.home .hero__badge { font-size: 14px; margin-bottom: 26px; box-shadow: none; }
.home .hero__badge b { background: var(--forest); font-size: 12px; height: auto; padding: 4px 10px; }
.home .hero__ctas { margin-bottom: 28px; gap: 12px; }
.home .hero__ctas .btn { min-height: 58px; padding-inline: 28px; }
.home .hero__facts { gap: 8px 16px; }
.home .hero__fact { background: transparent; padding: 0; font-size: 14px; gap: 8px; }
.home .hero__fact i { width: 28px; height: 28px; }
.home .pisane--wiecej { margin-top: 22px; color: #bf4a2e; font-size: 25px; }
.home .hero__foto { pointer-events: none; animation: none; }
.home .pisane--przygoda { display: none; }
.home .hero__dol { padding-top: 8px; padding-bottom: 62px; }
.home .hero__pasek { position: relative; z-index: 2; padding: 0 22px 0 0; gap: 14px; }
.home .polar { padding: 9px 9px 16px; border-radius: 15px; box-shadow: 0 12px 30px #173e2414; animation: none; }
.home .polar + .polar { margin-left: 0; }
.home .polar--1 { transform: rotate(-3deg); }
.home .polar--2 { transform: rotate(1.5deg) translateY(-12px); }
.home .polar--3 { transform: rotate(-1.5deg); }
.home .polar--4 { transform: rotate(2.5deg) translateY(-8px); }
.home .polar:hover { transform: translateY(-8px); }
.home .polar img { aspect-ratio: 4 / 3; border-radius: 9px; }
.home .polar .polar__podpis {
  display: block; position: static; max-width: none; width: auto;
  white-space: normal; padding: 12px 2px 0; background: transparent;
  box-shadow: none; transform: none; text-align: center;
  font-size: clamp(17px, 1.25vw, 21px); line-height: 1.15;
}
.home .hero__krzaki--a {
  --szer: clamp(260px, calc(var(--home-gutter) + 230px), 850px);
  width: var(--szer); left: calc(-1 * var(--home-gutter) - 90px);
  bottom: -50px; opacity: .96; pointer-events: none;
}
.home .hero__tabliczka {
  --szer-tab: clamp(250px, calc(var(--home-gutter) + 240px), 830px);
  width: var(--szer-tab);
  right: calc(-1 * var(--home-gutter) - 44px);
  bottom: -65px; z-index: 4; pointer-events: none;
  filter: drop-shadow(0 12px 16px #183e241a);
}
.home .hero__grass { height: 58px; color: var(--forest); z-index: 3; }
.home .pol {
  background:
    radial-gradient(circle at 8% 14%, rgba(159,232,112,.13) 0 1.5%, transparent 1.7%),
    radial-gradient(circle at 92% 76%, rgba(255,199,44,.11) 0 9%, transparent 23%),
    linear-gradient(135deg, #0b321f 0%, var(--forest) 52%, #155331 100%);
  color: #fff;
  padding: 54px 0;
}
.home .pol__head { margin-bottom: 34px; align-items: end; }
.home .home-eyebrow {
  font-size: 14px; font-weight: 800; line-height: 1.5;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; color: var(--leaf-dk);
}
.home .pol .home-eyebrow { color: #c7e5b8; }
.home .pol__title, .home .sez__title, .home .home-offers h2, .home .kont__title {
  font-size: clamp(2rem, 3vw, 3.1rem); line-height: 1.1; letter-spacing: -.02em;
}
.home .pol__title { color: #fff; }
.home .pol__link { color: var(--sun); min-height: 44px; font-size: 16px; }
.home .pol__slider { padding: 8px 32px 20px max(32px, calc(var(--home-gutter) + 32px)); }
.home .pol__tor { position: relative; gap: 22px; }
.home .kafel { flex-basis: clamp(260px, 23vw, 352px); align-items: stretch; text-align: left; border-radius: 20px; padding: 8px 8px 24px; box-shadow: none; }
.home .kafel:hover { transform: translateY(-5px); box-shadow: 0 10px 22px #0002; }
.home .kafel__foto { margin-bottom: 28px; }
.home .kafel__foto img { aspect-ratio: 4 / 3; }
.home .kafel__ikona { left: 30px; transform: none; }
.home .kafel__nazwa { padding: 0 16px; font-size: 23px; line-height: 1.15; margin-bottom: 8px; }
.home .kafel__haslo { padding: 0 16px; font-size: 16px; line-height: 1.55; }
.home .slider-actions { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 16px; }
.home .slider-actions > p { color: #d0e0d5; font-size: 16px; }
.home .slider-actions__buttons { display: flex; gap: 8px; flex-shrink: 0; }
.home .slider-actions button { min-width: 44px; min-height: 44px; padding: 8px 14px; border: 1px solid #ffffff55; border-radius: 999px; font-size: 14px; font-weight: 700; }
.home .slider-actions button[data-slide] { font-size: 23px; padding: 0; }
.home .slider-actions button:hover { background: #fff; color: var(--forest); }
.home .sez {
  padding: var(--section-space) 0;
  background:
    radial-gradient(circle at 88% 18%, rgba(255,199,44,.22) 0 5%, transparent 16%),
    radial-gradient(circle at 7% 80%, rgba(0,146,63,.09) 0 7%, transparent 19%),
    linear-gradient(180deg, #fffaf0 0%, #fdf5e7 100%);
}
.home .sez__head { max-width: 690px; margin-bottom: 32px; }
.home .sez__lead, .home .kont__lead { font-size: 18px; line-height: 1.65; }
.home .sez__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.home .sez__karta { padding: 28px; border: 1px solid #0f3a2414; border-radius: 24px; text-align: left; box-shadow: none; }
.home .sez__ikona { position: static; transform: none; width: 50px; height: 50px; margin-bottom: 24px; box-shadow: none; }
.home .sez__okres { font-size: 14px; letter-spacing: .025em; }
.home .sez__godz { font-size: clamp(30px, 3vw, 44px); line-height: 1.15; }
.home .sez__dni { font-size: 16px; }
.home .sez__karta--lato { background: var(--sun); color: var(--forest); }
.home .sez__karta--lato .sez__okres, .home .sez__karta--lato .sez__godz, .home .sez__karta--lato .sez__dni { color: var(--forest); }
.home .sez__karta--jesien { background: #fff; }
.home .sez__uwaga { background: transparent; padding: 20px 0 0; margin-top: 12px; font-size: 16px; border-radius: 0; }
.home .home-offers {
  padding: var(--section-space) 0;
  background:
    radial-gradient(circle, rgba(15,58,36,.075) 1.5px, transparent 1.7px) 0 0 / 28px 28px,
    linear-gradient(145deg, #f6fbf6 0%, #eef7f0 100%);
}
.home .home-offers__head { margin-bottom: 32px; max-width: 740px; }
.home .home-offers h2 { color: var(--forest); }
.home .bands { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.home .band { border-radius: 28px; background: #fff; color: var(--forest); border: 1px solid #0f3a2414; box-shadow: 0 18px 46px rgba(15,58,36,.09); }
.home .band__media, .home .band--flip .band__media { position: relative; inset: auto; aspect-ratio: 16 / 9; }
.home .band__media img { transition: transform .6s var(--ease-out); }
.home .band:hover .band__media img { transform: scale(1.025); }
.home .band__inner { display: block; padding: 0; }
.home .band__text, .home .band--flip .band__text { display: flex; min-height: 0; padding: clamp(24px, 2.5vw, 38px); }
.home .band__num { font-family: var(--font); font-size: 14px; font-weight: 800; line-height: 1.5; color: var(--acc); opacity: 1; margin-bottom: 12px; }
.home .band__name { font-size: clamp(28px, 2.5vw, 38px); color: var(--forest); }
.home .band__desc { font-size: 17px; color: var(--ink-2); opacity: 1; max-width: 54ch; }
.home .band__btn { background: var(--forest); color: #fff; font-size: 16px; padding: 14px 24px; margin-top: 6px; }
.home .kont {
  background:
    radial-gradient(circle at 92% 12%, rgba(47,168,224,.15) 0 5%, transparent 16%),
    radial-gradient(circle at 9% 76%, rgba(255,199,44,.15) 0 5%, transparent 17%),
    linear-gradient(135deg, #eaf5f1 0%, #f1f8f3 48%, #e8f3ed 100%);
  padding: var(--section-space) 0;
}
.home .kont__head { max-width: 750px; margin-bottom: 36px; }
.home .kont__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 28px; }
.home .kont__form { padding: clamp(24px, 3vw, 42px); box-shadow: none; border: 1px solid #0f3a2414; }
.home .kform { gap: 18px; }
.home .kform__title { margin-bottom: 4px; }
.home .kform__pole > span { font-size: 14px; }
.home .kform__pole input, .home .kform__pole select, .home .kform__pole textarea { font-size: 16px; background: #f8faf7; border-radius: 12px; }
.home .kform__zgoda span { font-size: 14px; }
.home .kform__status:empty { display: none; }
.home .kont__dane { gap: 0; padding: 8px 20px; }
.home .kbox { padding: 22px 0; background: transparent; box-shadow: none; border-radius: 0; border-bottom: 1px solid #0f3a241c; }
.home .kbox:last-child { border: 0; }
.home .kbox__label { font-size: 13px; color: var(--ink-2); margin-bottom: 8px; }
.home .kbox__tel { font-size: clamp(28px, 3vw, 42px); line-height: 1.3; }
.home .kbox__note { font-size: 16px; color: var(--ink-2); }
.home .kont__mapa { aspect-ratio: 24 / 7; min-height: 270px; box-shadow: none; margin-top: 36px; }
.home .site-footer { background: #edf4ed !important; }
.home .fcta { box-shadow: 0 20px 50px rgba(15,58,36,.13); border-radius: 28px; }
.home .fcta__lead { font-size: 17px; }
.home .fcta__sun, .home .fdeco { display: none; }
.home .fbrand__desc, .home .fgrid__col > a { font-size: 16px; }
/* Content remains readable even if script loading or observation fails. */
.home .reveal { opacity: 1; transform: none; }
@media (min-width: 1081px) {
  .home .hero__foto {
    position: absolute; right: calc(-1 * var(--home-gutter));
    top: calc(-1 * (var(--strefa-gora) + 40px)); bottom: -4px;
    width: calc(50% + var(--home-gutter) + 40px); padding: 0;
  }
  .home .hero__zdj { position: absolute; inset: 0; mask-image: linear-gradient(#000 75%, transparent 100%); -webkit-mask-image: linear-gradient(#000 75%, transparent 100%); }
  .home .hero__zdj img { aspect-ratio: auto; object-position: 67% 36%; mask-image: linear-gradient(90deg, transparent, #000 32%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 32%); }
}
@media (min-width: 2200px) {
  .home .hero__grid { min-height: 660px; padding-bottom: 120px; }
  .home .hero__dol { padding-top: 10px; padding-bottom: 70px; }
  .home .hero__tabliczka { bottom: -75px; }
}
@media (max-width: 1200px) and (min-width: 1081px) {
  .home .hero__title { font-size: 3rem; }
  .home .hero__lead { font-size: 17px; }
}
@media (max-width: 1080px) {
  .home .hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 20px; min-height: 0; padding-bottom: 60px; }
  .home .hero__title { font-size: clamp(2.4rem, 4.5vw, 3rem); }
  .home .hero__lead { font-size: 17px; }
  .home .hero__foto { width: 100%; padding: 0; }
  .home .hero__zdj img { aspect-ratio: 3 / 4; object-position: 64% 40%; mask-image: none; -webkit-mask-image: none; border-radius: 160px 160px 90px 90px; }
  .home .hero__badge { font-size: 13px; border-radius: 18px; align-items: flex-start; }
  .home .hero__tabliczka { width: 260px; }
  .home .hero__pasek { padding-right: 22px; }
  .home .sez__karta { padding: 22px; }
}
@media (max-width: 899px) {
  .home .hero__pasek { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 0; }
  .home .hero__tabliczka { position: absolute; right: -30px; bottom: -64px; width: 220px; margin: 0; }
  .home .hero__dol { padding-bottom: 132px; }
  .home .polar .polar__podpis { font-size: 17px; }
  .home .kont__grid { grid-template-columns: minmax(0, 1fr); }
  .home .kont__dane { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; padding: 0; }
  .home .kbox:first-child { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .home .wrap { padding-inline: 20px; }
  .home .topbar__inner { padding-inline: 20px; }
  .home .hero { padding-top: calc(var(--strefa-gora) + 22px); }
  .home .hero__grid { display: flex; flex-direction: column; align-items: stretch; gap: 24px; padding-bottom: 28px; }
  .home .hero__copy { max-width: none; }
  .home .hero__title { font-size: clamp(2.05rem, 8.7vw, 3.5rem); margin-bottom: 20px; }
  .home .hero__lead { font-size: 17px; margin-bottom: 22px; }
  .home .hero__badge { align-self: flex-start; font-size: 13px; margin-bottom: 22px; padding: 7px 12px; gap: 8px; }
  .home .hero__ctas { flex-direction: row; gap: 10px; margin-bottom: 22px; }
  .home .hero__ctas .btn { flex: 1 1 auto; width: auto; min-height: 52px; padding-inline: 18px; font-size: 15px; }
  .home .hero__facts { gap: 12px 14px; }
  .home .hero__fact { font-size: 13px; }
  .home .pisane--wiecej { font-size: 23px; margin-top: 18px; }
  .home .hero__foto { width: 100%; max-width: 560px; align-self: center; }
  .home .hero__zdj img { aspect-ratio: 16 / 10; border-radius: 26px; object-position: 64% 37%; }
  .home .hero__pasek { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .home .polar { padding: 6px 6px 10px; border-radius: 12px; }
  .home .polar--2, .home .polar--4 { transform: rotate(2deg); }
  .home .polar .polar__podpis { font-size: 18px; padding-top: 8px; }
  .home .hero__dol { padding-top: 12px; padding-bottom: 136px; }
  .home .hero__tabliczka { right: -24px; width: 230px; bottom: -65px; }
  .home .hero__grass { height: 40px; }
  .home .pol { padding-block: 36px; }
  .home .pol__head { gap: 14px; margin-bottom: 22px; }
  .home .home-eyebrow { font-size: 12px; letter-spacing: .06em; }
  .home .pol__title, .home .sez__title, .home .home-offers h2, .home .kont__title { font-size: clamp(1.9rem, 7vw, 2.6rem); }
  .home .pol__slider { padding-inline: 20px; }
  .home .kafel { flex-basis: min(78vw, 320px); }
  .home .slider-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
  .home .slider-actions__buttons { align-self: flex-end; }
  .home .slider-actions > p { font-size: 14px; }
  .home .sez__grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .home .sez__karta { position: relative; padding: 24px; }
  .home .sez__ikona { position: absolute; top: 24px; right: 24px; left: auto; width: 42px; height: 42px; margin: 0; }
  .home .sez__okres { max-width: calc(100% - 56px); font-size: 13px; }
  .home .sez__godz { font-size: 36px; }
  .home .sez__lead, .home .kont__lead { font-size: 17px; }
  .home .bands { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .home .band__media { aspect-ratio: 16 / 10; }
  .home .band__desc { font-size: 16px; }
  .home .band__btn { width: auto; }
  .home .kont__dane { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .home .kont__mapa { min-height: 280px; aspect-ratio: 4 / 3; border-radius: 20px; }
  .home .fcta { padding: 28px 24px; }
}
@media (max-width: 380px) {
  .home .hero__badge { font-size: 12px; }
  .home .hero__badge b { font-size: 11px; }
  .home .hero__ctas .btn { padding-inline: 14px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .home *, .home *::before, .home *::after { scroll-behavior: auto !important; }
}

/* Korekta dolnej kompozycji hero: ciasne polaroidy i zielen schowana w fali. */
@media (min-width: 900px) {
  .home .hero__dol {
    padding-bottom: 46px;
  }

  .home .hero__pasek {
    width: min(87%, 1280px);
    margin-inline: auto;
    padding: 0;
    gap: 0;
  }

  .home .polar {
    flex-basis: 0;
  }

  .home .polar + .polar {
    margin-left: clamp(-54px, -3vw, -32px);
  }

  .home .polar--1 { transform: rotate(-3.2deg); z-index: 1; }
  .home .polar--2 { transform: rotate(1.8deg) translateY(-8px); z-index: 2; }
  .home .polar--3 { transform: rotate(-1.8deg); z-index: 3; }
  .home .polar--4 { transform: rotate(2.6deg) translateY(-6px); z-index: 4; }

  .home .hero__krzaki--a {
    bottom: -108px;
  }

  .home .hero__tabliczka {
    --szer-tab: clamp(215px, calc(var(--home-gutter) * .64 + 225px), 590px);
    right: calc(-1 * var(--home-gutter) - 26px);
    bottom: -112px;
  }

  .home .hero__grass {
    height: clamp(76px, 5.3vw, 104px);
    margin-top: -22px;
  }
}

@media (min-width: 1500px) {
  .home .hero__pasek {
    width: min(108%, 1580px);
    transform: none;
  }

  .home .polar + .polar {
    margin-left: clamp(-66px, -3.2vw, -46px);
  }
}
