/* home.css — strona główna Łodzi Wikingów (układ 2026-12).
 * Ładowany po main.css: main.css daje fonty, pokaz zdjęć, okna cookies, galerię
 * (w-lightbox), kalendarz terminów i karuzelę opinii; tu jest cały układ strony. */

:root {
  --lw-navy: #0c3552;
  --lw-navy-2: #12476d;
  --lw-sea: #1668a3;
  --lw-sea-dark: #0f5385;
  --lw-sky: #eaf3f9;
  --lw-sand: #f6f1e7;
  --lw-ink: #17324a;
  --lw-muted: #566b7d;
  --lw-line: #d7e3ec;
  --lw-white: #fff;
  --lw-radius: 14px;
  --lw-radius-sm: 10px;
  --lw-shadow: 0 18px 40px -22px rgba(12, 53, 82, 0.45);
  --lw-shadow-sm: 0 6px 18px -10px rgba(12, 53, 82, 0.35);
  --lw-serif: 'Merriweather', Georgia, 'Times New Roman', serif;
  --lw-sans: 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --lw-header-h: 76px;
}

/* ---------- podstawy ---------- */
html { scroll-padding-top: calc(var(--lw-header-h) + 12px); }
body.lw-body {
  margin: 0;
  font-family: var(--lw-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--lw-ink);
  background: var(--lw-white);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
.lw-body img { max-width: 100%; height: auto; display: block; }
.lw-body a { color: var(--lw-sea); }
.lw-body p { margin: 0 0 1em; }
.lw-body h1, .lw-body h2, .lw-body h3 { margin: 0; }
.lw-body ul { margin: 0; padding: 0; }
.lw-body :focus-visible { outline: 3px solid #f2b53a; outline-offset: 3px; }
.lw-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.lw-container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.lw-container--narrow { width: min(880px, 100% - 40px); }
.lw-section { position: relative; z-index: 1; padding: clamp(64px, 9vw, 112px) 0; background: var(--lw-white); }
.lw-section__head { text-align: center; max-width: 720px; margin: 0 auto clamp(32px, 5vw, 56px); }
.lw-section__sub { color: var(--lw-muted); font-size: 1.05rem; margin: 14px 0 0; }

.lw-eyebrow {
  font-family: var(--lw-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lw-sea);
  margin: 0 0 12px !important;
}
.lw-eyebrow--light { color: #cfe6f6; }
.lw-h2 {
  font-family: var(--lw-serif);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  line-height: 1.22;
  color: var(--lw-navy);
  letter-spacing: -0.01em;
}
.lw-h3 {
  font-family: var(--lw-serif);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.35;
  color: var(--lw-navy);
  margin-bottom: 14px !important;
}
.lw-lead { font-size: 1.1rem; color: #2c4a63; }

/* ---------- przyciski ---------- */
.lw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--lw-sans);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none !important;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.lw-btn:hover { transform: translateY(-1px); }
.lw-btn--primary { background: var(--lw-sea); color: #fff !important; box-shadow: var(--lw-shadow-sm); }
.lw-btn--primary:hover { background: var(--lw-sea-dark); }
.lw-btn--light { background: rgba(255, 255, 255, 0.95); color: var(--lw-navy) !important; }
.lw-btn--light:hover { background: #fff; }
.lw-btn--outline { border-color: var(--lw-sea); color: var(--lw-sea) !important; background: transparent; }
.lw-btn--outline:hover { background: var(--lw-sea); color: #fff !important; }
.lw-btn--small { min-height: 42px; padding: 0 18px; font-size: 0.92rem; }
.lw-btn--block { width: 100%; }

.lw-card { background: var(--lw-white); border-radius: var(--lw-radius); box-shadow: var(--lw-shadow); }

/* ---------- nagłówek ---------- */
.skip-link { z-index: 1000; }
.lw-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--lw-header-h);
  transition: background-color .3s ease, box-shadow .3s ease, transform .35s ease;
}
.lw-header__inner { width: min(1240px, 100% - 32px); height: 100%; margin-inline: auto; display: flex; align-items: center; gap: 24px; }
.lw-logo img { height: 52px; width: auto; filter: brightness(0) invert(1); transition: filter .3s ease; }
.lw-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.lw-nav__link {
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 10px 14px;
  border-radius: 999px;
  transition: background-color .2s ease, color .2s ease;
}
.lw-nav__link:hover { background: rgba(255, 255, 255, 0.16); }
.lw-nav__phone { color: #fff !important; text-decoration: none !important; font-weight: 700; padding: 10px 14px; white-space: nowrap; }
.lw-nav__cta { margin-left: 6px; min-height: 44px; }
.lw-burger { display: none; }

.lw-header.is-solid { background: rgba(255, 255, 255, 0.97); box-shadow: 0 6px 24px -14px rgba(12, 53, 82, .5); backdrop-filter: blur(8px); }
.lw-header.is-solid .lw-logo img { filter: none; }
.lw-header.is-solid .lw-nav__link, .lw-header.is-solid .lw-nav__phone { color: var(--lw-navy) !important; }
.lw-header.is-solid .lw-nav__link:hover { background: var(--lw-sky); }
.lw-header.is-hidden { transform: translateY(-100%); }

.lw-callbar { display: none; }

/* ---------- sekcja główna (pokaz zdjęć z main.css) ---------- */
.lw-hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  isolation: isolate;
}
.lw-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(6, 28, 44, .55) 0%, rgba(6, 28, 44, 0) 26%, rgba(6, 28, 44, 0) 45%, rgba(6, 28, 44, .72) 100%);
  pointer-events: none;
}
.lw-hero .slider { z-index: -1; }
.lw-hero__content { position: relative; z-index: 1; width: min(1180px, 100% - 40px); margin: 0 auto; padding: 0 0 clamp(110px, 16vh, 170px); }
.lw-hero__title {
  font-family: var(--lw-serif);
  font-weight: 700;
  font-size: clamp(2.3rem, 5.4vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  max-width: 14ch;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .25);
}
.lw-hero__lead { font-size: clamp(1.02rem, 1.6vw, 1.25rem); max-width: 46ch; margin: 18px 0 28px; color: #eef6fb; text-shadow: 0 1px 12px rgba(0, 0, 0, .3); }
.lw-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.lw-hero__scroll { position: absolute; z-index: 1; left: 50%; bottom: 96px; width: 28px; height: 44px; margin-left: -14px; border: 2px solid rgba(255, 255, 255, .8); border-radius: 16px; }
.lw-hero__scroll span { position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: lw-scroll 1.8s ease-in-out infinite; }
@keyframes lw-scroll { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- odległości (pasek na krawędzi pokazu) ---------- */
.lw-facts { position: relative; z-index: 2; margin-top: -64px; padding: 0 20px; }
.lw-facts__list {
  list-style: none;
  width: min(1100px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-radius: var(--lw-radius);
  box-shadow: var(--lw-shadow);
  overflow: hidden;
}
.lw-fact { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; align-items: center; padding: 24px 22px; }
.lw-fact + .lw-fact { border-left: 1px solid var(--lw-line); }
.lw-fact img { grid-row: span 2; width: 40px; height: 40px; }
.lw-fact__value { font-family: var(--lw-serif); font-weight: 700; font-size: 1.5rem; color: var(--lw-navy); line-height: 1.1; }
.lw-fact__label { font-size: .9rem; color: var(--lw-muted); line-height: 1.35; }

/* ---------- o domkach ---------- */
.lw-intro__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.lw-intro__text .lw-h2 { margin-bottom: 22px; }
.lw-intro__text .lw-h3 { margin-top: 28px !important; }
.lw-intro__text p { color: #2f4d66; }
.lw-intro__media { position: relative; padding: 0 0 18% 0; }
.lw-intro__img { border-radius: var(--lw-radius); box-shadow: var(--lw-shadow); object-fit: cover; }
.lw-intro__img--main { width: 88%; aspect-ratio: 3 / 2; }
.lw-intro__img--small { position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 1; border: 6px solid #fff; }

/* ---------- domki ---------- */
.lw-cottages { background: var(--lw-sky); }
.lw-cottages__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: start; }
.lw-cottage { background: #fff; border-radius: var(--lw-radius); box-shadow: var(--lw-shadow); overflow: hidden; display: flex; flex-direction: column; }
.lw-cottage__head { padding: 26px 26px 18px; }
.lw-cottage__title { font-family: var(--lw-serif); font-size: 1.35rem; color: var(--lw-navy); }
.lw-cottage__meta { color: var(--lw-muted); font-size: .92rem; margin: 6px 0 16px !important; }
.lw-switch { display: inline-flex; padding: 4px; background: var(--lw-sky); border-radius: 999px; }
.lw-switch__btn {
  border: 0;
  background: transparent;
  font: 600 .92rem/1 var(--lw-sans);
  color: var(--lw-muted);
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.lw-switch__btn[aria-selected='true'] { background: #fff; color: var(--lw-navy); box-shadow: 0 2px 8px -3px rgba(12, 53, 82, .35); }
.lw-cottage__panel[hidden] { display: none; }
.lw-cottage__media { position: relative; display: block; overflow: hidden; }
.lw-cottage__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s ease; }
.lw-cottage__media:hover img { transform: scale(1.04); }
.lw-cottage__photos {
  position: absolute;
  right: 12px;
  bottom: 14px;
  background: rgba(12, 53, 82, .82);
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.lw-cottage__photos::before { content: '▢▢ '; letter-spacing: -2px; font-size: .7rem; opacity: .8; }
.lw-cottage__body { padding: 20px 26px 4px; }
.lw-cottage__text { color: #2f4d66; font-size: .98rem; }
.lw-cottage__beds { list-style: none; display: grid; gap: 8px; font-size: .95rem; }
.lw-cottage__beds li { position: relative; padding-left: 26px; }
.lw-cottage__beds li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 12px; height: 7px; border-left: 2px solid var(--lw-sea); border-bottom: 2px solid var(--lw-sea); transform: rotate(-45deg); }
.lw-cottage__foot { margin-top: auto; padding: 22px 26px 26px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--lw-line); }
.lw-cottage__price { margin: 0 !important; font-family: var(--lw-serif); font-weight: 700; font-size: 1.45rem; color: var(--lw-navy); }
.lw-cottage__price span { font-family: var(--lw-sans); font-weight: 600; font-size: .85rem; color: var(--lw-muted); }

.lw-amenities { margin-top: 44px; background: #fff; border-radius: var(--lw-radius); padding: 30px clamp(22px, 4vw, 40px); box-shadow: var(--lw-shadow-sm); }
.lw-amenities__list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 28px; font-size: .95rem; }
.lw-amenities__list li, .lw-check li { position: relative; padding-left: 28px; }
.lw-amenities__list li::before, .lw-check li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .3em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--lw-sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23005aa0' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- galeria ---------- */
.lw-gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.lw-gallery__item { display: block; overflow: hidden; border-radius: var(--lw-radius-sm); }
.lw-gallery__item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s ease, filter .3s ease; }
.lw-gallery__item:hover img { transform: scale(1.05); filter: brightness(1.05); }
.lw-gallery__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.lw-gallery__item:nth-child(1) img { height: 100%; aspect-ratio: auto; }

/* ---------- opinie (karuzela z main.css) ---------- */
.lw-reviews { background: var(--lw-sand); }
.lw-reviews .reviews { margin-top: 0; }

/* ---------- cennik nad pokazem zdjęć ---------- */
.lw-prices {
  position: relative;
  z-index: 6;
  padding: clamp(72px, 10vw, 120px) 0;
  background: linear-gradient(180deg, rgba(8, 36, 56, .78), rgba(8, 36, 56, .66));
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: #fff;
}
.lw-section__head--light .lw-h2 { color: #fff; }
.lw-prices__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 26px; align-items: start; }
.lw-prices__table-card { padding: 10px 10px 18px; color: var(--lw-ink); }
.lw-prices__table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.lw-prices__table th, .lw-prices__table td { padding: 14px 16px; text-align: right; border-bottom: 1px solid var(--lw-line); white-space: nowrap; }
.lw-prices__table thead th { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--lw-muted); font-weight: 700; border-bottom: 2px solid var(--lw-line); }
.lw-prices__table th:first-child { text-align: left; }
.lw-prices__table tbody th { font-weight: 600; color: var(--lw-navy); }
.lw-prices__table td { font-family: var(--lw-serif); font-weight: 700; color: var(--lw-navy); font-size: 1.08rem; }
.lw-prices__table tbody tr:hover { background: #f5f9fc; }
.lw-prices__table tr.is-peak th, .lw-prices__table tr.is-peak td { background: var(--lw-sky); }
.lw-prices__note { color: var(--lw-muted); font-size: .88rem; margin: 14px 16px 0 !important; }
.lw-prices__info { padding: 30px; color: var(--lw-ink); }
.lw-check { list-style: none; display: grid; gap: 12px; font-size: .95rem; margin-bottom: 24px !important; color: #2f4d66; }

/* ---------- atrakcje ---------- */
.lw-attractions { background: var(--lw-white); }
.lw-distances { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 40px !important; }
.lw-distances li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 12px; background: var(--lw-sky); border-radius: 999px; font-size: .95rem; }
.lw-distances img { width: 28px; height: 28px; }
.lw-distances strong { color: var(--lw-navy); }
.lw-attractions__grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 22px; }
.lw-attr img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--lw-radius-sm); margin-bottom: 14px; }
.lw-attr__title { font-family: var(--lw-serif); font-size: 1.08rem; color: var(--lw-navy); margin-bottom: 6px !important; }
.lw-attr p { font-size: .93rem; line-height: 1.6; color: var(--lw-muted); margin: 0; }
.lw-attractions__more { text-align: center; margin: 40px 0 0 !important; font-weight: 600; }

/* ---------- kontakt ---------- */
.lw-contact { background: var(--lw-sand); }
.lw-contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.lw-contact__info .lw-h2 { margin-bottom: 16px; }
.lw-contact__list { list-style: none; display: grid; gap: 10px; margin: 26px 0 30px !important; }
.lw-contact__row { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: var(--lw-radius-sm); padding: 6px 8px 6px 6px; box-shadow: var(--lw-shadow-sm); }
.lw-contact__link { flex: 1; display: flex; align-items: center; gap: 14px; padding: 10px; color: var(--lw-ink) !important; text-decoration: none !important; font-weight: 600; }
.lw-contact__link .contact-fa-icon { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--lw-sky); color: var(--lw-sea); }
.lw-contact__label { display: block; font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lw-muted); }
.lw-contact__row .contact-copy-btn { position: static; flex: none; }
.lw-quote { margin: 0; padding: 22px 26px; border-left: 3px solid var(--lw-sea); background: rgba(255, 255, 255, .6); border-radius: 0 var(--lw-radius-sm) var(--lw-radius-sm) 0; }
.lw-quote blockquote { margin: 0; }
.lw-quote p { font-family: var(--lw-serif); font-style: italic; font-size: 1.05rem; line-height: 1.6; color: var(--lw-navy); margin: 0 0 8px; }
.lw-quote figcaption { font-size: .88rem; color: var(--lw-muted); }

.lw-form-card { padding: clamp(24px, 4vw, 40px); }
.lw-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin: 20px 0 22px; }
.lw-field { display: flex; flex-direction: column; gap: 6px; }
.lw-field--wide { grid-column: 1 / -1; }
.lw-field label { font-size: .9rem; font-weight: 600; color: var(--lw-navy); }
.lw-field label span { font-weight: 400; color: var(--lw-muted); }
.lw-field input, .lw-field textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 50px;
  padding: 12px 14px;
  border: 1.5px solid var(--lw-line);
  border-radius: var(--lw-radius-sm);
  background: #fbfdfe;
  font: 400 1rem/1.4 var(--lw-sans);
  color: var(--lw-ink);
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.lw-field textarea { min-height: 120px; resize: vertical; }
.lw-field input:focus, .lw-field textarea:focus { outline: none; border-color: var(--lw-sea); background: #fff; box-shadow: 0 0 0 4px rgba(22, 104, 163, .14); }
.lw-field input[aria-invalid='true'] { border-color: #c0392b; }
.lw-form__status { min-height: 1.4em; margin: 12px 0 0 !important; font-size: .92rem; color: var(--lw-muted); }
.lw-form__status.is-error { color: #b3261e; }

/* ---------- pytania ---------- */
.lw-faq { background: var(--lw-white); }
.lw-faq__list { display: grid; gap: 12px; }
.lw-faq__item { background: var(--lw-sky); border-radius: var(--lw-radius-sm); padding: 0 22px; transition: background-color .2s ease; }
.lw-faq__item[open] { background: #fff; box-shadow: var(--lw-shadow-sm); outline: 1px solid var(--lw-line); }
.lw-faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 36px 20px 0;
  position: relative;
  font-family: var(--lw-serif);
  font-weight: 700;
  font-size: 1.04rem;
  color: var(--lw-navy);
}
.lw-faq__item summary::-webkit-details-marker { display: none; }
.lw-faq__item summary::after { content: ''; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--lw-sea); border-bottom: 2px solid var(--lw-sea); transform: rotate(45deg); transition: transform .25s ease; }
.lw-faq__item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.lw-faq__item p { margin: 0 0 20px !important; color: #2f4d66; }
.lw-faq__more { text-align: center; margin: 32px 0 0 !important; color: var(--lw-muted); font-size: .95rem; }

/* ---------- mapa i stopka ---------- */
.lw-map { position: relative; z-index: 1; background: var(--lw-sky); }
.lw-map .map-consent-placeholder { min-height: 360px; }
.lw-footer { position: relative; z-index: 1; background: var(--lw-navy); color: #cfe0ec; padding: 64px 0 28px; font-size: .95rem; }
.lw-footer a { color: #fff !important; text-decoration: none; }
.lw-footer a:hover { text-decoration: underline; }
.lw-footer__grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 40px; }
.lw-footer__logo { height: 56px; width: auto !important; filter: brightness(0) invert(1); margin-bottom: 18px; }
.lw-footer__title { font-family: var(--lw-sans); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #8fb6d3; margin: 0 0 14px !important; }
.lw-footer__title ~ .lw-footer__title { margin-top: 26px !important; }
.lw-footer__list { list-style: none; display: grid; gap: 8px; }
.lw-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 44px; padding-top: 22px; font-size: .85rem; }
.lw-footer__bottom p { margin: 0; }
.lw-footer .cookies-links { margin: 0; padding: 0; background: none; }

/* ---------- reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .lw-reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
  .js .lw-reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- tablet ---------- */
@media (max-width: 1080px) {
  .lw-nav__phone { display: none; }
  .lw-cottages__grid { grid-template-columns: 1fr 1fr; }
  .lw-attractions__grid { grid-template-columns: repeat(3, 1fr); }
  .lw-amenities__list { grid-template-columns: 1fr 1fr; }
  .lw-prices__grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  :root { --lw-header-h: 66px; }
  .lw-logo img { height: 44px; }
  .lw-burger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    margin-left: auto;
    width: 46px;
    height: 46px;
    padding: 0 11px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    cursor: pointer;
  }
  .lw-burger span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
  .lw-header.is-solid .lw-burger, .lw-header.is-open .lw-burger { background: var(--lw-sky); }
  .lw-header.is-solid .lw-burger span, .lw-header.is-open .lw-burger span { background: var(--lw-navy); }
  .lw-header.is-open .lw-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .lw-header.is-open .lw-burger span:nth-child(2) { opacity: 0; }
  .lw-header.is-open .lw-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .lw-nav {
    position: fixed;
    inset: var(--lw-header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 20px 22px;
    background: #fff;
    box-shadow: 0 20px 30px -20px rgba(12, 53, 82, .45);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  }
  .lw-header.is-open { background: #fff; }
  .lw-header.is-open .lw-logo img { filter: none; }
  .lw-header.is-open .lw-nav { opacity: 1; transform: none; visibility: visible; transition: opacity .25s ease, transform .25s ease; }
  .lw-nav__link, .lw-nav__phone { color: var(--lw-navy) !important; font-size: 1.08rem; padding: 14px 10px; border-radius: var(--lw-radius-sm); }
  .lw-nav__link:hover { background: var(--lw-sky); }
  .lw-nav__phone { display: block; }
  .lw-nav__cta { margin: 10px 0 0; }

  .lw-intro__grid, .lw-contact__grid { grid-template-columns: 1fr; }
  .lw-intro__media { max-width: 560px; }
  .lw-facts__list { grid-template-columns: 1fr 1fr; }
  .lw-fact:nth-child(3) { border-left: 0; }
  .lw-fact:nth-child(n + 3) { border-top: 1px solid var(--lw-line); }
  .lw-gallery__grid { grid-template-columns: repeat(3, 1fr); }
  .lw-footer__grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- telefon ---------- */
@media (max-width: 640px) {
  body.lw-body { font-size: 16px; padding-bottom: 60px; }
  .lw-callbar {
    display: flex;
    position: fixed;
    inset: auto 0 0 0;
    z-index: 40;
    height: 56px;
    align-items: center;
    justify-content: center;
    background: var(--lw-sea);
    color: #fff !important;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 -6px 18px -10px rgba(0, 0, 0, .4);
  }
  .lw-callbar::before { content: '☎'; margin-right: 10px; }
  .lw-hero__content { padding-bottom: 120px; }
  .lw-hero__actions .lw-btn { flex: 1 1 100%; }
  .lw-hero__scroll { display: none; }
  .lw-facts { margin-top: -48px; }
  .lw-fact { padding: 18px 16px; grid-template-columns: 32px 1fr; column-gap: 10px; }
  .lw-fact img { width: 32px; height: 32px; }
  .lw-fact__value { font-size: 1.25rem; }
  .lw-fact__label { font-size: .82rem; }
  .lw-intro__img--small { width: 48%; }
  .lw-cottages__grid { grid-template-columns: 1fr; }
  .lw-cottage__head, .lw-cottage__body { padding-left: 20px; padding-right: 20px; }
  .lw-cottage__foot { padding: 18px 20px 22px; }
  .lw-amenities__list { grid-template-columns: 1fr; }
  .lw-gallery__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .lw-attractions__grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
    margin-inline: -20px;
    padding-inline: 20px;
    scroll-padding-inline: 20px;
  }
  .lw-attr { scroll-snap-align: start; }
  .lw-distances { justify-content: flex-start; }
  .lw-prices__table thead { display: none; }
  .lw-prices__table, .lw-prices__table tbody, .lw-prices__table tr, .lw-prices__table th, .lw-prices__table td { display: block; }
  .lw-prices__table tr { display: grid; grid-template-columns: repeat(3, 1fr); padding: 12px 8px; border-bottom: 1px solid var(--lw-line); }
  .lw-prices__table tbody th { grid-column: 1 / -1; text-align: left; border: 0; padding: 0 6px 6px; }
  .lw-prices__table td { border: 0; padding: 0 6px; text-align: left; font-size: 1.02rem; }
  .lw-prices__table td::before { content: attr(data-label); display: block; font-family: var(--lw-sans); font-weight: 600; font-size: .72rem; color: var(--lw-muted); text-transform: uppercase; letter-spacing: .06em; }
  .lw-prices__info { padding: 24px 20px; }
  .lw-form__grid { grid-template-columns: 1fr; }
  .lw-footer__grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- dopracowanie ---------- */
.lw-cottage__price, .lw-cottage__foot .lw-btn { white-space: nowrap; }
.lw-contact__row .contact-copy-btn { width: 40px; height: 40px; min-height: 0; padding: 0; align-self: center; display: grid; place-items: center; border-radius: 50%; }
.lw-gallery__item[hidden] { display: none; }
@media (max-width: 640px) {
  .lw-cottage__price { font-size: 1.3rem; }
  .lw-cottage__foot { flex-wrap: wrap; }
}

/* ---------- obłe kształty Łodzi Wikingów (jak w poprzednim wyglądzie) ---------- */
:root {
  --lw-radius: 28px;
  --lw-radius-sm: 20px;
  --lw-corner: 2.2rem;
}
.lw-header.is-solid, .lw-header.is-open { border-radius: 0 0 var(--lw-corner) var(--lw-corner); }
.lw-facts__list { border-radius: var(--lw-radius); }
.lw-intro__img { border-radius: var(--lw-radius); }
.lw-intro__img--small { border-radius: var(--lw-radius-sm); }
.lw-cottage__media { margin: 0 14px; border-radius: var(--lw-radius-sm); }
.lw-gallery__item { border-radius: var(--lw-radius-sm); }
.lw-attr img { border-radius: var(--lw-radius-sm); }
.lw-prices__table-card, .lw-prices__info, .lw-amenities, .lw-form-card { border-radius: var(--lw-radius); }
.lw-prices__table tr.is-peak th:first-child { border-radius: 14px 0 0 14px; }
.lw-prices__table tr.is-peak td:last-child { border-radius: 0 14px 14px 0; }
.lw-contact__row { border-radius: var(--lw-radius-sm); }
.lw-quote { border-radius: 0 var(--lw-radius-sm) var(--lw-radius-sm) 0; }
.lw-field input, .lw-field textarea { border-radius: 16px; }
.lw-faq__item { border-radius: var(--lw-radius-sm); }
.lw-map { border-radius: var(--lw-corner) var(--lw-corner) 0 0; overflow: hidden; margin-top: calc(-1 * var(--lw-corner)); }
.lw-footer { border-radius: var(--lw-corner) var(--lw-corner) 0 0; margin-top: calc(-1 * var(--lw-corner)); }
.lw-prices { border-radius: var(--lw-corner); }
@media (max-width: 900px) {
  .lw-nav { border-radius: 0 0 var(--lw-corner) var(--lw-corner); }
  .lw-header.is-open { border-radius: 0; }
}
@media (max-width: 640px) {
  :root { --lw-radius: 24px; --lw-radius-sm: 18px; --lw-corner: 1.6rem; }
  .lw-cottage__media { margin: 0 10px; }
}

/* ---------- kolory marki (logo i dotychczasowa strona) ---------- */
:root {
  --lw-navy: #154055;        /* --logo-blue-7: ciemne tła (stopka) */
  --lw-heading: #326da0;     /* --logo-text-h1: nagłówki */
  --lw-sea: #005aa0;         /* niebieski z logo: przyciski, linki */
  --lw-sea-dark: #004a85;
  --lw-turquoise: #02a1d6;   /* jasny niebieski z logo: akcenty */
  --lw-sky: #eaf2f7;         /* --logo-blue-6 */
  --lw-ice: #bfd9e6;         /* --logo-blue-5: jasne tła */
  --lw-ink: #1d3a4f;
}
.lw-h2, .lw-h3, .lw-cottage__title, .lw-attr__title, .lw-faq__item summary, .lw-fact__value, .lw-cottage__price, .lw-prices__table tbody th, .lw-prices__table td { color: var(--lw-heading); }
.lw-section__head--light .lw-h2 { color: #fff; }
.lw-eyebrow { color: var(--lw-turquoise); }
.lw-eyebrow--light { color: #bfe9f7; }
.lw-header.is-solid, .lw-header.is-open { background: rgba(191, 217, 230, 0.97); }
.lw-header.is-solid .lw-nav__link:hover { background: rgba(255, 255, 255, .55); }
.lw-cottages { background: var(--lw-ice); }
.lw-switch { background: var(--lw-sky); }
.lw-faq { background: var(--lw-ice); }
.lw-faq__item { background: #fff; }
.lw-faq__item[open] { outline-color: transparent; }
.lw-map { background: var(--lw-ice); }
.lw-contact__link .contact-fa-icon { background: var(--lw-ice); color: var(--lw-sea); }
.lw-prices { background: linear-gradient(180deg, rgba(21, 64, 85, .72), rgba(21, 64, 85, .6)); }
.lw-prices__table tr.is-peak th, .lw-prices__table tr.is-peak td { background: var(--lw-sky); }
.lw-quote { border-left-color: var(--lw-turquoise); }
.lw-btn--light { color: var(--lw-sea) !important; }
.lw-cottage__photos { background: rgba(0, 90, 160, .85); }
.lw-callbar { background: var(--lw-sea); }
@media (max-width: 900px) {
  .lw-header.is-open, .lw-nav { background: #fff; }
  .lw-header.is-solid .lw-burger, .lw-header.is-open .lw-burger { background: rgba(255, 255, 255, .6); }
}
.lw-contact { background: var(--lw-sky); }
.lw-quote { background: #fff; }

/* ---------- telefon: dopracowanie (zrzuty 04.12) ---------- */
.lw-fact { align-content: center; }
.lw-footer .lw-footer__logo { height: 56px !important; width: auto !important; max-width: none; }
.lw-footer .cookies-links { justify-content: flex-start; color: #8fb6d3; }
.lw-map .map-consent-placeholder {
  min-height: 0;
  padding: clamp(56px, 8vw, 96px) 24px calc(clamp(56px, 8vw, 96px) + var(--lw-corner));
  background: var(--lw-sky);
  color: var(--lw-ink);
}
.lw-map .map-consent-title { font-family: var(--lw-serif); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2rem); color: var(--lw-heading); }
.lw-map .map-consent-text { color: var(--lw-muted); font-family: var(--lw-sans); }
.lw-map .map-consent-button { background: var(--lw-sea); border: 0; border-radius: 999px; padding: 14px 24px; font-size: 1rem; box-shadow: var(--lw-shadow-sm); }
.lw-map .map-consent-button:hover { background: var(--lw-sea-dark); }
@media (max-width: 640px) {
  .lw-fact { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 18px 16px; }
  .lw-fact img { width: 30px; height: 30px; margin-bottom: 4px; }
  .lw-fact__label { font-size: .84rem; }
  .lw-prices__table-card { padding: 6px 4px 14px; }
  .lw-prices__table tr { padding: 12px 10px; gap: 2px 8px; border-radius: 16px; }
  .lw-prices__table tbody th { font-size: 1.02rem; padding: 0 4px 4px; }
  .lw-prices__table td { padding: 0 4px; font-size: 1.05rem; }
  .lw-prices__table td::before { font-size: .66rem; letter-spacing: .05em; margin-bottom: 1px; }
  .lw-prices__table tr.is-peak { background: var(--lw-sky); border-bottom-color: transparent; }
  .lw-prices__table tr.is-peak th, .lw-prices__table tr.is-peak td { background: none; border-radius: 0; }
  .lw-prices__table tr.is-peak th::after { content: 'szczyt sezonu'; margin-left: 8px; font: 700 .66rem/1 var(--lw-sans); letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--lw-turquoise); padding: 4px 8px; border-radius: 999px; vertical-align: 2px; }
  .lw-footer__bottom { flex-direction: column; }
}

/* ---------- ruch przy przewijaniu (premium, dyskretny) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .lw-hero__content { will-change: transform, opacity; }
  [data-parallax] { will-change: transform; }
  .js .lw-reveal { transition-duration: .9s, .9s; transition-delay: var(--lw-delay, 0s); }
}

/* ---------- nagłówek: zawsze miejsce między menu a paskiem odległości ---------- */
.lw-hero { padding-top: calc(var(--lw-header-h) + 28px); box-sizing: border-box; }
.lw-hero__content { padding-bottom: calc(64px + clamp(44px, 7vh, 96px)); }
.lw-hero__scroll { bottom: calc(64px + 22px); }
@media (max-height: 819px), (max-width: 1099px) { .lw-hero__scroll { display: none; } }
@media (max-width: 640px) { .lw-hero__content { padding-bottom: calc(48px + 40px); } }
/* cennik bez wyróżnionego terminu */
.lw-prices__table tr.is-peak th, .lw-prices__table tr.is-peak td, .lw-prices__table tr.is-peak { background: none; }

/* ---------- za stopką ten sam kolor (bez pokazu zdjęć przy „odbiciu” strony) ---------- */
html:has(body.lw-body) { background-color: #154055; }
body.lw-body:not(.hero-in-view) .slider { visibility: hidden; }
@media (max-width: 640px) { .lw-footer { padding-bottom: 84px; } }
@media (max-width: 640px) { body.lw-body { padding-bottom: 0; } }

/* Cennik to „okno” na pokaz zdjęć: proste krawędzie, żeby przyciemnienie pokrywało całe zdjęcie. */
.lw-prices { border-radius: 0; }

/* Cennik: jednolite przyciemnienie bez rozmycia tła (rozmycie bywa rysowane częściowo na telefonach). */
.lw-prices { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(21, 64, 85, .7); }

/* Pasek odległości: tylko górna część (na zdjęciu nagłówka) jest przezroczysta.
   Reszta sekcji ma tło strony, inaczej spod karty prześwituje przypięty pokaz zdjęć bez przyciemnienia. */
.lw-facts { background: linear-gradient(to bottom, transparent 64px, var(--lw-white) 64px); }
@media (max-width: 640px) { .lw-facts { background: linear-gradient(to bottom, transparent 48px, var(--lw-white) 48px); } }

/* Przyciemnienie należy do pokazu zdjęć (warstwa przypięta do ekranu), nie do sekcji nagłówka:
   gdy strona „odbija” przy przewijaniu albo zdjęcie widać przez cennik, zawsze jest przyciemnione. */
.lw-hero::after { content: none; }
.lw-hero .slider::before {
  background: linear-gradient(180deg, rgba(6, 28, 44, .55) 0%, rgba(6, 28, 44, 0) 26%, rgba(6, 28, 44, 0) 45%, rgba(6, 28, 44, .72) 100%);
}
.lw-prices { background: rgba(21, 64, 85, .6); }

/* ---------- karty domków: równa wysokość, przycisk galerii, pełny opis ---------- */
.lw-cottages__grid { align-items: stretch; }
.lw-cottages__grid:has(.lw-cottage__panel:not([hidden]) .lw-more[open]) { align-items: start; }
.lw-cottage__panel:not([hidden]) { flex: 1 0 auto; display: flex; flex-direction: column; }
.lw-cottage__body { flex: 1 0 auto; padding-bottom: 22px; }
.lw-cottage__photos { display: none; }
.lw-cottage__gallery-btn {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--lw-navy);
  font-weight: 700;
  font-size: .92rem;
  line-height: 1;
  box-shadow: 0 6px 18px rgba(6, 28, 44, .22);
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease;
}
.lw-cottage__media:hover .lw-cottage__gallery-btn,
.lw-cottage__media:focus-visible .lw-cottage__gallery-btn { background: #005aa0; color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 90, 160, .35); }
.lw-more { margin-top: 18px; border-top: 1px solid var(--lw-line); padding-top: 14px; }
.lw-more summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #005aa0;
  font-weight: 700;
  font-size: .95rem;
}
.lw-more summary::-webkit-details-marker { display: none; }
.lw-more summary::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .25s ease;
}
.lw-more[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.lw-more summary:hover { color: #02a1d6; }
.lw-more summary:focus-visible { outline: 2px solid #02a1d6; outline-offset: 4px; border-radius: 6px; }
.lw-more__close, .lw-more[open] .lw-more__open { display: none; }
.lw-more[open] .lw-more__close { display: inline; }
.lw-more__body { padding-top: 10px; color: #2f4d66; font-size: .96rem; line-height: 1.65; }
.lw-more__body p { margin: 0 0 12px; }
.lw-more__body strong { color: var(--lw-navy); font-weight: 700; }
.lw-more[open] .lw-more__body { animation: lwMoreIn .35s ease; }
@keyframes lwMoreIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lw-more[open] .lw-more__body { animation: none; } }
.lw-cottage__body { display: flex; flex-direction: column; }
.lw-cottage__body .lw-more { margin-top: auto; }
.lw-cottage .lw-cottage__beds { margin: 0 0 18px !important; }

/* ---------- przyciski „żagiel”: asymetryczne rogi, przy najechaniu zamieniają się miejscami;
   delikatne przeszycie tylko na głównych (niebieskich) przyciskach ---------- */
.lw-btn { border-radius: 14px 28px 14px 28px; transition: border-radius .45s ease, background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease; }
.lw-btn:hover { border-radius: 28px 14px 28px 14px; }
.lw-btn--primary { outline: 1px dashed rgba(255, 255, 255, .38); outline-offset: -5px; }
.lw-btn--primary:focus-visible { outline: 2px solid #02a1d6; outline-offset: 3px; }
.lw-btn--small { border-radius: 11px 22px 11px 22px; }
.lw-btn--small:hover { border-radius: 22px 11px 22px 11px; }
.lw-switch { border-radius: 12px 22px 12px 22px; }
.lw-switch__btn { border-radius: 9px 18px 9px 18px; }
.lw-cottage__gallery-btn { border-radius: 11px 22px 11px 22px; transition: border-radius .45s ease, transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease; }
.lw-cottage__media:hover .lw-cottage__gallery-btn { border-radius: 22px 11px 22px 11px; }
@media (prefers-reduced-motion: reduce) { .lw-btn, .lw-cottage__gallery-btn { transition: none; } }

/* Tło sekcji nagłówka pod pokazem zdjęć: kontrast tekstu (także dla czytników i audytów) i zapas, gdy zdjęcie się nie wczyta. */
.lw-hero { background-color: #0b2a3e; }

/* ---------- hero: tylko przyciski (nagłówek H1 ukryty wizualnie) ---------- */
.lw-hero__actions { margin-top: 0; }

/* ---------- sekcja o domkach i Rowach: dwa wiersze, zdjęcia odsłaniane spokojnie ---------- */
.lw-intro__row { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.lw-intro__row + .lw-intro__row { margin-top: clamp(72px, 10vw, 136px); }
.lw-intro__row--flip { grid-template-columns: 1.05fr 1fr; }
.lw-intro__row--flip .lw-intro__media { order: -1; }
.lw-intro__media { position: relative; padding: 0 0 18% 0; }
.lw-intro__row--flip .lw-intro__media { padding-bottom: 22%; }
.lw-photo { margin: 0; overflow: hidden; border-radius: var(--lw-radius); box-shadow: var(--lw-shadow); background: #eaf2f7; }
.lw-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lw-photo--main { width: 88%; aspect-ratio: 3 / 2; }
.lw-photo--small { position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 1; border: 6px solid #fff; border-radius: var(--lw-radius-sm); }
.lw-photo--tall { aspect-ratio: 4 / 5; width: 36%; }
.lw-intro__row--flip .lw-photo--main { margin-left: auto; }
.lw-intro__row--flip .lw-photo--small { right: auto; left: 0; }
.lw-photo.lw-photo-anim { clip-path: inset(16% 0 0 0 round var(--lw-radius)); opacity: 0; }
.lw-photo.lw-photo-anim img { transform: scale(1.1); }
.lw-photo.lw-photo-anim.is-shown { clip-path: inset(0 0 0 0 round var(--lw-radius)); opacity: 1; transition: clip-path 1.2s cubic-bezier(.22, .8, .2, 1), opacity .7s ease; }
.lw-photo.lw-photo-anim.is-shown img { transform: none; transition: transform 1.8s cubic-bezier(.22, .8, .2, 1); }
.lw-photo--small.lw-photo-anim.is-shown, .lw-photo--small.lw-photo-anim.is-shown img { transition-delay: .2s; }
.lw-photo--small.lw-photo-anim { clip-path: inset(16% 0 0 0 round var(--lw-radius-sm)); }
.lw-photo--small.lw-photo-anim.is-shown { clip-path: inset(0 0 0 0 round var(--lw-radius-sm)); }
@media (max-width: 900px) {
  .lw-intro__row, .lw-intro__row--flip { grid-template-columns: 1fr; }
  .lw-intro__row--flip .lw-intro__media { order: 0; }
  .lw-intro__media { max-width: 560px; }
}
@media (max-width: 640px) {
  .lw-photo--small { width: 48%; }
  .lw-photo--tall { width: 40%; }
}
/* Hero bez tekstu: lżejsze przyciemnienie — ciemniej tylko pod menu i przy przyciskach. */
.lw-hero .slider::before {
  background: linear-gradient(180deg, rgba(6, 28, 44, .42) 0%, rgba(6, 28, 44, 0) 22%, rgba(6, 28, 44, 0) 58%, rgba(6, 28, 44, .5) 100%);
}
/* Cennik: większe daty terminów. */
.lw-prices__table tbody th { font-size: 1.14rem; font-weight: 700; }
@media (max-width: 640px) { .lw-prices__table tbody th { font-size: 1.2rem; padding-bottom: 8px; } }

/* Hero: jedna krótka linijka nad przyciskami. */
.lw-hero__tag {
  margin: 0 0 16px;
  color: #fff;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(6, 28, 44, .55);
}
@media (max-width: 640px) { .lw-hero__tag { font-size: .82rem; letter-spacing: .14em; margin-bottom: 14px; text-align: center; } }

/* Pokaz zdjęć bez „przygasania”: nowe zdjęcie wchodzi na stare, a stare znika dopiero,
   gdy nowe jest w pełni widoczne — tło nigdy nie prześwituje. Pierwsze zdjęcie jest
   widoczne od razu po wejściu na stronę (ujemne opóźnienie). */
/* Osiem zdjęć po 6 s: cykl 48 s. Wejście 1,8 s, widoczne do 7,8 s, zejście do 9,6 s. */
.lw-hero .slider > div { animation-name: lwHeroFade; animation-duration: 48s; }
.lw-hero .slider > div:nth-child(1) { animation-delay: -1.8s; }
.lw-hero .slider > div:nth-child(2) { animation-delay: 4.2s; }
.lw-hero .slider > div:nth-child(3) { animation-delay: 10.2s; }
.lw-hero .slider > div:nth-child(4) { animation-delay: 16.2s; }
.lw-hero .slider > div:nth-child(5) { animation-delay: 22.2s; }
.lw-hero .slider > div:nth-child(6) { animation-delay: 28.2s; }
.lw-hero .slider > div:nth-child(7) { animation-delay: 34.2s; }
.lw-hero .slider > div:nth-child(8) { animation-delay: 40.2s; }
@keyframes lwHeroFade {
  0% { opacity: 0; transform: scale(1); }
  3.75% { opacity: 1; transform: scale(1.02); }
  16.25% { opacity: 1; transform: scale(1.08); }
  20% { opacity: 0; transform: scale(1.09); }
  100% { opacity: 0; transform: scale(1.09); }
}
@media (prefers-reduced-motion: reduce) {
  .lw-hero .slider > div { animation: none; opacity: 0; }
  .lw-hero .slider > div:first-child { opacity: 1; }
}

/* Pokaz zdjęć: jasne pliki (stare były ściemnione o połowę już w samym zdjęciu);
   o przyciemnieniu decyduje tylko nakładka .slider::before. */
.lw-hero .slide-2 { background-image: url("../images/hero-001-2000.webp"); }
.lw-hero .slide-3 { background-image: url("../images/hero-003-2000.webp"); }
.lw-hero .slide-5 { background-image: url("../images/hero-073-2000.webp"); }
.lw-hero .slide-altana, .lw-hero .slide-salon, .lw-hero .slide-domki, .lw-hero .slide-hustawki { background-position: 50%; background-size: cover; background-repeat: no-repeat; }
.lw-hero .slide-altana { background-image: url("../images/hero-008-2000.webp"); }
.lw-hero .slide-salon { background-image: url("../images/hero-023-2000.webp"); }
.lw-hero .slide-domki { background-image: url("../images/hero-010-2000.webp"); }
.lw-hero .slide-hustawki { background-image: url("../images/hero-002-2000.webp"); }
@media (max-aspect-ratio: 16/25) and (min-width: 600px) {
  .lw-hero .slide-2 { background-image: url("../images/hero-001-m1100.webp"); }
  .lw-hero .slide-3 { background-image: url("../images/hero-003-m1100.webp"); }
  .lw-hero .slide-5 { background-image: url("../images/hero-073-m1100.webp"); }
  .lw-hero .slide-altana { background-image: url("../images/hero-008-m1100.webp"); }
  .lw-hero .slide-salon { background-image: url("../images/hero-023-m1100.webp"); }
  .lw-hero .slide-domki { background-image: url("../images/hero-010-m1100.webp"); }
  .lw-hero .slide-hustawki { background-image: url("../images/hero-002-m1100.webp"); }
}
@media (max-aspect-ratio: 16/25) and (max-width: 599px) {
  .lw-hero .slide-2 { background-image: url("../images/hero-001-m800.webp"); }
  .lw-hero .slide-3 { background-image: url("../images/hero-003-m800.webp"); }
  .lw-hero .slide-5 { background-image: url("../images/hero-073-m800.webp"); }
  .lw-hero .slide-altana { background-image: url("../images/hero-008-m800.webp"); }
  .lw-hero .slide-salon { background-image: url("../images/hero-023-m800.webp"); }
  .lw-hero .slide-domki { background-image: url("../images/hero-010-m800.webp"); }
  .lw-hero .slide-hustawki { background-image: url("../images/hero-002-m800.webp"); }
}
/* Jasne zdjęcia: ciemniejszy tylko dół (napis i przyciski), góra pod menu bez zmian. */
.lw-hero .slider::before {
  background: linear-gradient(180deg, rgba(6, 28, 44, .42) 0%, rgba(6, 28, 44, 0) 22%, rgba(6, 28, 44, 0) 52%, rgba(6, 28, 44, .62) 100%);
}
/* Telefon: drugi przycisk półprzezroczysty z białą ramką — nie zlewa się z granatowym paskiem „Zadzwoń”. */
@media (max-width: 640px) {
  .lw-hero .lw-hero__content { padding-bottom: calc(48px + 64px); }
  .lw-hero .lw-btn--primary {
    background: rgba(6, 28, 44, .38);
    border: 1.5px solid rgba(255, 255, 255, .9);
    outline: 0;
    color: #fff !important;
    box-shadow: none;
  }
  .lw-hero .lw-hero__actions { gap: 12px; }
}
/* Menu nad zdjęciem: „Zarezerwuj domek” biały (niebieski zlewałby się z niebem); po przewinięciu wraca do niebieskiego. */
@media (min-width: 901px) {
  .lw-header:not(.is-solid) .lw-nav__cta { background: #fff; color: #005aa0 !important; outline-color: rgba(0, 90, 160, .35); }
  .lw-header:not(.is-solid) .lw-nav__cta:hover { background: #eaf2f7; }
}
/* Kontrast menu i napisu nad jasnymi zdjęciami (zmierzony ≥ 5:1 na każdym slajdzie):
   ciemniejszy pas pod menu i przy dolnym napisie, środek zdjęcia jasny. */
.lw-hero .slider::before {
  background: linear-gradient(180deg, rgba(6, 28, 44, .66) 0%, rgba(6, 28, 44, .5) 9%, rgba(6, 28, 44, 0) 22%, rgba(6, 28, 44, 0) 44%, rgba(6, 28, 44, .55) 64%, rgba(6, 28, 44, .74) 100%);
}
.lw-header:not(.is-solid) .lw-nav__link, .lw-header:not(.is-solid) .lw-nav__phone { text-shadow: 0 1px 8px rgba(6, 28, 44, .45); }

/* Liczby (odległości) w całości pod pierwszą sekcją, bez nachodzenia na zdjęcie. */
.lw-facts { margin-top: 0; padding: 40px 20px 0; background: var(--lw-white); }
@media (max-width: 640px) { .lw-facts { margin-top: 0; padding: 28px 16px 0; background: var(--lw-white); } }

/* Atrakcje na telefonie: karuzela przewija się tylko w bok; ruch w pionie przewija stronę. */
@media (max-width: 640px) {
  .lw-attractions__grid { overflow-y: hidden; overscroll-behavior-x: contain; touch-action: pan-x pan-y; }
}

/* Pasek liczb wyśrodkowany (reguła zerująca marginesy list przesuwała go w lewo). */
.lw-facts .lw-facts__list { margin-inline: auto; }

/* Przycisk menu w kształcie „szytego żagla”, jak pozostałe przyciski; po otwarciu żagiel się odwraca. */
.lw-burger { border-radius: 11px 22px 11px 22px; transition: border-radius .45s ease, background-color .25s ease; }
.lw-header.is-open .lw-burger { border-radius: 22px 11px 22px 11px; }

/* Liczby pod sekcją „o domkach”: karta na granicy sekcji — górna połowa na białym tle, dolna na tle sekcji domków. */
.lw-facts { padding: 0 20px; background: linear-gradient(to bottom, var(--lw-white) 50%, var(--lw-ice) 50%); }
@media (max-width: 640px) { .lw-facts { padding: 0 16px; background: linear-gradient(to bottom, var(--lw-white) 50%, var(--lw-ice) 50%); } }

/* ---------- karty domków: odwracanie zamiast rozwijania ----------
   Przód wyznacza wysokość karty (karty w rzędzie są równe), odwrocie ma tę samą
   wysokość, a pełny opis przewija się w środku. Tekst odwrocia jest w kodzie strony (SEO). */
.lw-cottage { background: none; box-shadow: none; overflow: visible; perspective: 1800px; }
.lw-cottage__flip { position: relative; flex: 1 0 auto; display: flex; transition: transform .7s cubic-bezier(.2, .7, .2, 1); transform-style: preserve-3d; }
.lw-cottage.is-flipped .lw-cottage__flip { transform: rotateY(180deg); }
.lw-cottage__front, .lw-cottage__back {
  background: #fff; border-radius: var(--lw-radius); box-shadow: var(--lw-shadow);
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.lw-cottage__front { position: relative; flex: 1 0 100%; display: flex; flex-direction: column; overflow: hidden; }
.lw-cottage__back {
  position: absolute; inset: 0; transform: rotateY(180deg);
  display: flex; flex-direction: column; overflow: hidden;
}
.lw-back__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 26px 0; }
.lw-back__title { margin: 0 !important; font-family: var(--lw-serif); font-weight: 700; font-size: 1.25rem; color: var(--lw-heading, var(--lw-navy)); }
.lw-switch--back { margin: 14px 26px 0; align-self: flex-start; }
.lw-switch--back .lw-switch__btn[aria-pressed='true'] { background: #fff; color: var(--lw-navy); box-shadow: 0 2px 8px -3px rgba(12, 53, 82, .35); }
.lw-back__body {
  flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: auto;
  margin: 14px 0 0; padding: 4px 26px 18px; color: #2f4d66; font-size: .96rem; line-height: 1.65;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 28px), transparent);
          mask-image: linear-gradient(to bottom, #000 calc(100% - 28px), transparent);
  scrollbar-width: thin; scrollbar-color: rgba(0, 90, 160, .35) transparent;
}
.lw-back__body:focus-visible { outline: 2px solid #02a1d6; outline-offset: -4px; border-radius: 10px; }
.lw-back__body p { margin: 0 0 12px; }
.lw-back__body strong { color: var(--lw-navy); font-weight: 700; }
.lw-cottage__back .lw-cottage__foot { margin-top: 0; }
.lw-flip-open, .lw-flip-close {
  display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-weight: 700; font-size: .95rem; color: #005aa0;
}
.lw-flip-open { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--lw-line); width: 100%; }
.lw-flip-open::after { content: '↻'; font-size: 1.05rem; transition: transform .45s ease; }
.lw-flip-open:hover::after { transform: rotate(180deg); }
.lw-flip-open:hover, .lw-flip-close:hover { color: #02a1d6; }
.lw-flip-open:focus-visible, .lw-flip-close:focus-visible { outline: 2px solid #02a1d6; outline-offset: 4px; border-radius: 6px; }
.lw-flip-close { white-space: nowrap; }
@media (max-width: 640px) {
  .lw-back__head { padding: 20px 20px 0; }
  .lw-switch--back { margin-inline: 20px; }
  .lw-back__body { padding-inline: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .lw-cottage__flip { transition: none; transform: none !important; }
  .lw-cottage__back { transform: none; opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s; }
  .lw-cottage.is-flipped .lw-cottage__back { opacity: 1; visibility: visible; }
  .lw-cottage.is-flipped .lw-cottage__front { visibility: hidden; }
}

/* Pasek menu: każda zmieniająca się właściwość ma przejście o tym samym czasie.
   Wcześniej rozmycie tła, zaokrąglenie rogów, kolor kresek przycisku menu i numeru telefonu
   zmieniały się w jednej klatce, a tło płynnie — stąd „przeskok” przy zmianie koloru. */
.lw-header {
  -webkit-backdrop-filter: blur(0px); backdrop-filter: blur(0px);
  transition: background-color .3s ease, box-shadow .3s ease, border-radius .3s ease,
    -webkit-backdrop-filter .3s ease, backdrop-filter .3s ease, transform .35s ease;
}
.lw-header.is-solid { -webkit-backdrop-filter: blur(8px); }
.lw-nav__link, .lw-nav__phone { transition: background-color .3s ease, color .3s ease, text-shadow .3s ease; }
.lw-burger span { transition: transform .25s ease, opacity .2s ease, background-color .3s ease; }
/* Otwarte menu na białym tle: bez cienia pod tekstem (cień jest tylko do czytania na zdjęciu). */
.lw-header.is-open .lw-nav__link, .lw-header.is-open .lw-nav__phone { text-shadow: none; }

/* Galeria (lightbox): ruch w poziomie należy do galerii (przeciąganie zdjęć), w pionie do przeglądarki;
   bez zaznaczania i „odbijania” tła przy geście. */
.w-lightbox-content { touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.w-lightbox-backdrop { overscroll-behavior: contain; }
.w-lightbox-view { will-change: transform, opacity; }
.w-lightbox-image { -webkit-user-drag: none; }

/* Pokaz zdjęć ma stałą wysokość największego ekranu (lvh): gdy telefon chowa/pokazuje pasek
   adresu, zdjęcie nie przelicza kadru i nie „skacze”. */
.lw-hero .slider { height: 100vh; height: 100lvh; min-height: 100lvh; max-height: none; }

/* Karty domków: zamiast „od X zł” link do cennika z datami (cena zależy od terminu). */
.lw-cottage__prices { font-weight: 700; font-size: .98rem; color: var(--lw-heading, var(--lw-navy)) !important; text-decoration: none !important; white-space: nowrap; }
.lw-cottage__prices span { display: inline-block; transition: transform .25s ease; }
.lw-cottage__prices:hover { color: #02a1d6 !important; }
.lw-cottage__prices:hover span { transform: translateX(3px); }

/* Tło paska po przewinięciu jako osobna warstwa, która tylko zmienia przezroczystość.
   Przejście opacity liczy karta graficzna, więc nie zacina się, gdy telefon jest zajęty przewijaniem
   i pokazem zdjęć. Rozmycia tła nie ma: tło jest prawie nieprzezroczyste, a animowany filtr
   na przyklejonym pasku w Chrome na Androidzie migał i przeskakiwał. */
.lw-header { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; will-change: transform; }
.lw-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(191, 217, 230, 0.97);
  box-shadow: 0 6px 24px -14px rgba(12, 53, 82, .5);
  border-radius: 0 0 var(--lw-corner) var(--lw-corner);
  opacity: 0; transition: opacity .3s ease; will-change: opacity;
}
.lw-header.is-solid::before { opacity: 1; }
.lw-header.is-solid:not(.is-open) { background: transparent; box-shadow: none; }
.lw-header.is-open::before { opacity: 0; }

/* Kolor paska i logo idą za palcem: przez pierwsze 120 px przewijania tło i logo przechodzą
   płynnie (animacja związana z położeniem strony, liczona poza głównym wątkiem), zamiast przełączać się
   w jednej chwili. Przeglądarki bez tej funkcji zostają przy przejściu po klasie is-solid. */
@keyframes lw-header-bg { from { opacity: 0; } to { opacity: 1; } }
@keyframes lw-header-fade { from { opacity: 1; } to { opacity: 0; } }
@supports (animation-timeline: scroll()) {
  .lw-header::before { transition: none; animation: lw-header-bg linear both; animation-timeline: scroll(root block); animation-range: 0px 120px; }
  /* Logo: kolorowe pod spodem, nad nim biała sylwetka tego samego logo, która płynnie znika
     (przenikanie zamiast filtra, który w połowie drogi dawał szare logo). */
  .lw-logo { position: relative; display: inline-flex; }
  .lw-header .lw-logo img { transition: none; filter: none; }
  .lw-logo::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; background: #fff;
    -webkit-mask: url(../images/logo-wiking.webp) center / contain no-repeat; mask: url(../images/logo-wiking.webp) center / contain no-repeat;
    animation: lw-header-fade linear both; animation-timeline: scroll(root block); animation-range: 0px 120px;
  }
  .lw-header.is-open::before { animation: none; opacity: 0; }
  .lw-header.is-open .lw-logo::after { animation: none; opacity: 0; }
}
