/* ==========================================================================
   Noclegi Rzeszów – Nowa Wieś k. Rzeszowa
   Statyczny HTML/CSS/JS – arkusz stylów
   ========================================================================== */

/* ---- Fonty lokalne (Google Fonts pobrane do /assets/fonts/) ---- */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/poppins-300-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/poppins-300-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0300-0329;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0300-0329;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0300-0329;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0300-0329;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0300-0329;
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/roboto-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/roboto-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0300-0329;
}

/* ---- Tokeny projektowe ---- */
:root {
  --green: #82a62b;
  --green-dark: #7aa218;
  --green-darker: #5c7a17;
  --lime: #b6d118;
  --text: #404040;
  --text-strong: #1a1a1a;
  --gray: #686e73;
  --gray-light: #a6a6a6;
  --bg-soft: #f3f3f3;
  --bg-soft-2: #eeeeee;
  --border: #dde3e7;
  --white: #fff;
  --header-gradient: linear-gradient(190deg, rgba(194, 203, 210, 0.33) 0%, #ffffff 100%);
  --section-gradient: linear-gradient(180deg, rgba(194, 203, 210, 0.33) 0%, #ffffff 100%);
  --booking-green: #8aba62;
  --font-heading: "Poppins", Arial, sans-serif;
  --font-body: "Roboto", Arial, sans-serif;
  --container: 1200px;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(20, 30, 10, 0.08);
  --header-h: 96px;
  --header-h-scrolled: 72px;
}

/* ---- Reset / bazowe ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding-bottom: 0;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
  color: var(--text-strong);
  margin: 0 0 14px;
  line-height: 1.3;
  font-weight: 500;
}
p { margin: 0 0 16px; line-height: 1.6; }
h1 { font-size: clamp(24px, 3.5vw, 32px); }
h2 { font-size: 23px; }
h3 { font-size: 20px; }
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
main { display: block; overflow: hidden; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  background: var(--green);
  color: #fff;
  padding: 10px 16px;
  border-radius: 4px;
  z-index: 2000;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 8px; }

/* ---- Sekcje ogólne ---- */
.section { padding: 64px 0; }
.section--soft { background: var(--section-gradient); }
.section-title {
  text-align: center;
  margin-bottom: 36px;
}
.section-title h2 { margin-bottom: 10px; }
.section-title .divider {
  width: 60px;
  height: 3px;
  background: var(--green);
  margin: 0 auto;
  border-radius: 3px;
}

/* ==========================================================================
   Nagłówek / nawigacja
   ========================================================================== */
.site-header {
  background: var(--header-gradient);
  border-bottom: 1px solid var(--border);
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
}
.logo img { width: 301px; height: auto; }
.header-info {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: var(--gray);
  text-align: right;
}
.header-info .label { display: block; color: var(--gray); font-weight: 600; }
.header-info .phones a { color: var(--green); }
.header-info .phones a:hover,
.header-info .phones a:focus { color: var(--green-dark); }
.header-info .route { color: var(--gray); }
.header-info .map-link { color: var(--green); }
.header-info .map-link:hover,
.header-info .map-link:focus { color: var(--green-dark); }

.main-nav {
  background: var(--header-gradient);
  border-top: 1px solid var(--border);
}
.main-nav .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.nav-menu a {
  display: block;
  margin: 0;
  padding: 18px 22px;
  border-radius: 4px;
  color: #000;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-menu a:hover,
.nav-menu a:focus {
  background: rgba(130, 166, 43, 0.14);
  color: var(--green-dark);
}
.nav-menu a[aria-current="page"] {
  background: var(--green);
  color: #fff;
}
.nav-menu a[aria-current="page"]:hover,
.nav-menu a[aria-current="page"]:focus {
  background: var(--green-dark);
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
}
.menu-toggle span {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 3px;
  background: var(--text-strong);
  border-radius: 3px;
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}
.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

.mobile-panel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 5, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 1900;
}
.mobile-panel-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 86vw);
  background: #fff;
  z-index: 1950;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.25);
  padding: 20px 24px 28px;
  overflow-y: auto;
}
.mobile-panel.is-open { transform: translateX(0); }
.mobile-panel-close {
  align-self: flex-end;
  width: 40px;
  height: 40px;
  border: 0;
  background: var(--bg-soft-2);
  border-radius: 50%;
  position: relative;
  cursor: pointer;
}
.mobile-panel-close::before,
.mobile-panel-close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  background: var(--text-strong);
  transform-origin: center;
}
.mobile-panel-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.mobile-panel-close::after { transform: translate(-50%, -50%) rotate(-45deg); }

.mobile-menu {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
}
.mobile-menu a {
  padding: 16px 4px;
  border-bottom: 1px solid var(--bg-soft-2);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 500;
  color: var(--text-strong);
}
.mobile-menu a[aria-current="page"] { color: var(--green); font-weight: 700; }

.mobile-panel-actions {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.btn-call {
  display: block;
  text-align: center;
  background: var(--green);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 17px;
  padding: 15px 18px;
  border-radius: var(--radius);
  transition: background 0.2s ease;
}
.btn-call:hover, .btn-call:focus { background: var(--green-dark); }
.btn-call--alt { background: var(--text-strong); }
.btn-call--alt:hover, .btn-call--alt:focus { background: #000; }

.mobile-panel-address {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--bg-soft-2);
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
}

body.menu-open { overflow: hidden; }

/* ==========================================================================
   Slider (strona główna)
   ========================================================================== */
.hero-slider-section {
  background: #2b2926 url("../img/tlo-wzor.webp") repeat;
  padding: 0;
}
.hero-slider {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  height: 400px;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.7s ease;
  display: flex;
  align-items: center;
}
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide .container { position: relative; z-index: 1; max-width: none; padding: 0 56px; }
.hero-slide .slide-caption {
  color: #fff;
  font-family: var(--font-body);
  font-size: clamp(18px, 1.9vw, 26px);
  font-weight: 700;
  max-width: 780px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  margin: 0;
}
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 31px;
  height: 31px;
  border: 0;
  background: transparent;
  color: rgba(238, 238, 238, 0.9);
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}
.hero-nav:hover, .hero-nav:focus { color: #fff; }
.hero-nav--prev { left: 14px; }
.hero-nav--next { right: 14px; }
.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.hero-dots button.is-active { background: #fff; }

/* ---- Baner boxów (3 kolumny pod sliderem) ---- */
.banner-row {
  padding: 44px 0 20px;
}
.banner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.banner-item {
  text-align: center;
}
.banner-media {
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: var(--radius);
}
.banner-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.banner-media--icon {
  max-width: 230px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 0;
}
.banner-media--icon img {
  aspect-ratio: 230 / 73;
  object-fit: contain;
}
.banner-item:hover .banner-media img { transform: scale(1.06); }
.banner-item h3 {
  font-family: var(--font-heading);
  font-size: 23px;
  font-weight: 400;
  line-height: 1.35;
  margin-top: 8px;
  margin-bottom: 16px;
}
.banner-item h3 span { font-weight: 500; color: var(--green); }
.banner-item p {
  margin: 0;
  color: #7a7a7a;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
}

/* ---- Sekcja "Witaj u nas" / "Nasze pokoje" (CTA split) ---- */
.cta-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding: 30px 0 60px;
}
.cta-box {
  display: flex;
  flex-direction: column;
}
.cta-box__image {
  height: 200px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  transition: background-size 0.4s ease;
}
.cta-box:hover .cta-box__image { background-size: 112% auto; }
.cta-box__content {
  background: #fbfbfb;
  padding: 35px;
  text-align: center;
  flex: 1;
}
.cta-box h2 { color: #000; margin-bottom: 14px; font-size: 23px; font-weight: 600; text-transform: uppercase; }
.cta-box p { margin: 0; color: #000; font-weight: 400; line-height: 1.5; }
.cta-box strong { color: var(--green-dark); }

/* ==========================================================================
   Pasek "Zarezerwuj już teraz"
   ========================================================================== */
.booking-bar {
  background: var(--booking-green);
  color: #fff;
  padding: 26px 0;
  text-align: center;
}
.booking-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 40px;
}
.booking-bar h2 {
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 22px;
  margin: 0;
  letter-spacing: 1px;
}
.booking-bar .phones {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.booking-bar .phones a {
  font-family: var(--font-heading);
  font-size: 27px;
  font-weight: 600;
  color: #fff;
  padding: 0 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.5);
}
.booking-bar .phones a:first-child { border-left: 0; padding-left: 0; }
.booking-bar .phones a:hover,
.booking-bar .phones a:focus { color: var(--text-strong); }

/* ==========================================================================
   Stopka
   ========================================================================== */
.site-footer {
  background: var(--bg-soft);
}
.footer-main {
  padding: 40px 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}
.footer-brand img { width: 110px; margin-bottom: 18px; }
.footer-brand ul li {
  padding: 0;
  color: #808080;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 12px;
}
.footer-brand ul li a { color: var(--green-dark); }
.footer-brand ul li a:hover, .footer-brand ul li a:focus { color: var(--green); }
.footer-nav-title { display: none; }
.footer-nav {
  display: flex;
  justify-content: flex-end;
  padding-top: 8px;
}
.footer-nav ul { display: flex; flex-direction: row; flex-wrap: wrap; gap: 0; }
.footer-nav li { display: flex; align-items: center; }
.footer-nav li + li::before {
  content: "|";
  color: var(--border);
  margin: 0 10px;
}
.footer-nav a {
  font-size: 14px;
  color: var(--text);
}
.footer-nav a:hover, .footer-nav a:focus { color: var(--green-dark); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--gray-light);
}
.footer-bottom a { color: var(--gray-light); }
.footer-bottom a:hover, .footer-bottom a:focus { color: var(--green-dark); }

/* ==========================================================================
   Przyklejony pasek mobilny
   ========================================================================== */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1500;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.12);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
}
.mobile-sticky-bar .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.mobile-sticky-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 10px;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
}
.mobile-sticky-bar .call { background: var(--green); color: #fff; }
.mobile-sticky-bar .map { background: var(--bg-soft-2); color: var(--text-strong); }
.mobile-sticky-bar svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ==========================================================================
   Baner nagłówkowy podstron (O nas / Pokoje / Kontakt)
   ========================================================================== */
.page-banner {
  background: #2b2926 url("../img/tlo-wzor.webp") repeat;
  border-top: 5px solid #000;
  border-bottom: 5px solid #000;
  padding: 6px 24px 16px;
}
.page-banner .container {
  display: flex;
  justify-content: center;
}
.page-banner img {
  width: 708px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 708 / 124;
  object-fit: cover;
  box-shadow: 0 16px 22px -10px rgba(0, 0, 0, 0.6);
}
.page-lead {
  background: var(--section-gradient);
  padding: 34px 0 12px;
  text-align: center;
}
.page-lead .lead-text {
  margin: 0;
  font-size: 22px;
  font-weight: 400;
  color: var(--text-strong);
}
.page-lead .lead-text strong { font-weight: 700; }

/* ---- Nagłówek sekcji z zieloną strzałką (O nas / Pokoje / Kontakt) ---- */
.section-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 22px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 18px;
}
.section-heading::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid var(--green);
  flex-shrink: 0;
}

/* ==========================================================================
   Sekcje tekst + zdjęcie (O nas: Komfort i spokój / Idealne miejsce)
   ========================================================================== */
.split-block {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 36px;
  align-items: start;
  padding: 30px 0;
}
.split-block--reverse .split-block-media { order: 2; }
.split-block--reverse .split-block-text { order: 1; }
.split-block-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  max-height: 280px;
  object-fit: cover;
}
.split-block-text h2 { margin-bottom: 14px; }
.split-block-text p { color: var(--text); font-size: 15px; }

/* ==========================================================================
   Układ z boczną kolumną (O nas / Pokoje / Kontakt): treść + sidebar
   ========================================================================== */
.page-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
  padding: 6px 0 60px;
}
.page-main { min-width: 0; }
.page-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.promo-box {
  background: #2b2926;
  color: #fff;
  border-radius: var(--radius);
  padding: 28px 26px;
  text-align: left;
}
.promo-box h2 {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.promo-box .promo-divider {
  border: 0;
  border-top: 1px dotted rgba(255, 255, 255, 0.3);
  margin: 0 0 20px;
}
.promo-box .promo-price {
  font-size: 36px;
  font-weight: 700;
  color: var(--lime);
  display: block;
  margin-bottom: 12px;
}
.promo-box .promo-price .unit { font-size: 0.5em; font-weight: 600; }
.promo-box .promo-note {
  font-weight: 400;
  color: #fff;
  font-size: 15px;
  line-height: 1.4;
}
.promo-box .promo-note strong { color: var(--lime); font-weight: 700; }
.promo-box .promo-cta {
  margin-top: 18px;
  font-size: 13px;
  color: #b8b36a;
  font-weight: 500;
  line-height: 1.5;
}

.address-box {
  background: var(--bg-soft-2);
  border-radius: var(--radius);
  padding: 26px;
  text-align: left;
}
.address-box h2 {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 16px;
}
.address-box h2 strong { font-weight: 700; }
.address-box ul { display: flex; flex-direction: column; gap: 8px; }
.address-box li { font-size: 15px; color: var(--text); }
.address-box .address-email {
  display: block;
  margin-top: 16px;
  font-weight: 700;
  color: var(--green-dark);
}
.address-box .address-email:hover,
.address-box .address-email:focus { color: var(--green); }

/* ==========================================================================
   Galeria (O nas)
   ========================================================================== */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin-bottom: 30px;
}
.gallery-filters button {
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #54595f;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  padding: 4px 2px 8px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.gallery-filters button:hover,
.gallery-filters button:focus {
  color: var(--green-dark);
}
.gallery-filters button.is-active {
  color: var(--green-dark);
  border-bottom-color: var(--green-dark);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery-item {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: var(--bg-soft-2);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.gallery-item:hover img,
.gallery-item:focus img { transform: scale(1.08); }
.gallery-item.is-hidden { display: none; }
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0));
  opacity: 0;
  transition: opacity 0.25s ease;
}
.gallery-item:hover::after,
.gallery-item:focus::after { opacity: 1; }

/* ==========================================================================
   Pokoje – sekcje (Pokoje / Aneksy kuchenne / Łazienki)
   ========================================================================== */
.room-feature {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  padding: 34px 0;
  align-items: start;
}
.room-feature--reverse .room-feature-media { order: 2; }
.room-feature--reverse .room-feature-text { order: 1; }
.room-feature-media img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.room-feature-text h2 { margin-bottom: 14px; }
.room-feature-text p { font-size: 15px; }
.equipment-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
  margin: 22px 0 30px;
}
.equipment-list ul {
  display: flex;
  flex-direction: column;
}
.equipment-list li {
  padding: 8px 0 8px 26px;
  position: relative;
  font-size: 15px;
  color: var(--text);
  border-bottom: 1px dashed var(--border);
}
.equipment-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 15px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}
.room-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.room-thumbs button {
  width: 110px;
  height: 90px;
  flex-shrink: 0;
  border: 0;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-soft-2);
}
.room-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.room-thumbs button:hover img,
.room-thumbs button:focus img { transform: scale(1.08); }

/* ==========================================================================
   Kontakt
   ========================================================================== */
.location-lead {
  margin: 0 0 20px;
  text-align: left;
  font-size: 15px;
  color: var(--text);
}
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map-wrap iframe {
  width: 100%;
  height: 440px;
  border: 0;
  display: block;
}
.map-link-large {
  text-align: left;
  margin: 12px 0 0;
}
.map-link-large a {
  color: var(--green-dark);
  font-weight: 600;
  font-size: 14px;
}
.page-main > section {
  padding: 26px 0;
}
.page-main > section:first-child { padding-top: 26px; }
.map-link-large a:hover,
.map-link-large a:focus { color: var(--green); }
.directions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 24px 0 40px;
}
.direction-card {
  background: var(--bg-soft-2);
  border-radius: var(--radius);
  padding: 24px 26px;
}
.direction-card h3 {
  color: var(--text-strong);
  margin-bottom: 12px;
  font-weight: 700;
  font-size: 18px;
}
.direction-card li {
  padding: 10px 0 10px 26px;
  position: relative;
  font-size: 15px;
  border-bottom: 1px dashed var(--border);
}
.direction-card li:last-child { border-bottom: 0; }
.direction-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

/* ==========================================================================
   Lightbox (galeria O nas + miniatury Pokoje)
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2100;
  background: rgba(10, 12, 8, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-figure {
  position: relative;
  max-width: min(1200px, 92vw);
  max-height: 86vh;
  text-align: center;
}
.lightbox-figure img {
  max-width: 100%;
  max-height: 86vh;
  border-radius: 4px;
  margin: 0 auto;
}
.lightbox-counter {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  margin-top: 12px;
  font-family: var(--font-heading);
  letter-spacing: 1px;
}
.lightbox-close {
  position: absolute;
  top: -46px;
  right: 0;
  width: 40px;
  height: 40px;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}
.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  z-index: 2101;
}
.lightbox-nav:hover, .lightbox-nav:focus { background: rgba(255, 255, 255, 0.3); }
.lightbox-nav--prev { left: 16px; }
.lightbox-nav--next { right: 16px; }

/* ==========================================================================
   Responsywność
   ========================================================================== */
@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .split-block,
  .room-feature { gap: 32px; }
  .hero-slider { height: 320px; }
}

@media (max-width: 899px) {
  .header-info { display: none; }
  .header-top { padding: 14px 0; }
  .logo img { width: 180px; }
  .nav-menu { display: none; }
  .menu-toggle { display: block; }
  .main-nav .container { padding: 6px 20px; }
  .hero-slider { height: 260px; }

  .banner-grid { grid-template-columns: 1fr; gap: 34px; max-width: 360px; margin: 0 auto; }
  .banner-media { max-width: 360px; margin-left: auto; margin-right: auto; }
  .banner-media--icon { max-width: 230px; }
  .cta-split { grid-template-columns: 1fr; }
  .split-block,
  .split-block--reverse { grid-template-columns: 1fr; }
  .split-block-media, .split-block--reverse .split-block-media { order: 1 !important; }
  .split-block-text, .split-block--reverse .split-block-text { order: 2 !important; }

  .room-feature, .room-feature--reverse { grid-template-columns: 1fr; }
  .room-feature-media, .room-feature--reverse .room-feature-media { order: 1 !important; }
  .room-feature-text, .room-feature--reverse .room-feature-text { order: 2 !important; }

  .page-layout { grid-template-columns: 1fr; }
  .page-sidebar { flex-direction: row; flex-wrap: wrap; }
  .page-sidebar > * { flex: 1 1 260px; }
  .directions { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 20px; }
  .footer-nav { justify-content: flex-start; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  body { padding-bottom: 76px; }
  .mobile-sticky-bar { display: block; }
}

@media (max-width: 599px) {
  .section { padding: 46px 0; }
  .hero-slider { height: 200px; }
  .hero-slide .slide-caption { max-width: 100%; font-size: 20px; }
  .hero-nav { width: 26px; height: 26px; font-size: 17px; }
  .hero-slide .container { padding: 0 20px; }
  .cta-box__image { height: 160px; }
  .booking-bar .container { flex-direction: column; gap: 10px; }
  .promo-box, .address-box { padding: 30px 22px; }
  .equipment-list { grid-template-columns: 1fr; }
  .booking-bar .phones { gap: 16px; flex-direction: column; }
  .lightbox-nav { width: 42px; height: 42px; font-size: 18px; }
  .lightbox-nav--prev { left: 6px; }
  .lightbox-nav--next { right: 6px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (min-width: 900px) {
  .mobile-panel,
  .mobile-panel-overlay { display: none; }
}
