/*
Theme Name: Wypoczynek Ruś
Theme URI: https://wypoczynek-rus.pl
Description: Motyw dla domków letniskowych nad jeziorem Ruś na Mazurach
Version: 1.7
Author: Kacper Zelman
Text Domain: wypoczynek-rus
*/

/* ==========================================
   RESET & BASE
   ========================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --forest:    #243B25;
  --forest-mid:#3D5E3F;
  --forest-lt: #5A7D5C;
  --lake:      #4A7BAA;
  --lake-lt:   #6FA0C8;
  --cream:     #F3EAD8;
  --cream-dk:  #E8D9BE;
  --amber:     #C8894A;
  --amber-lt:  #DFA96E;
  --bark:      #7A4F2E;
  --dark:      #1A1A1A;
  --text:      #2E2E2E;
  --text-lt:   #5A5A5A;
  --white:     #FDFAF6;
  --section-pad: clamp(4rem, 8vw, 8rem);
  --radius:    4px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Jost', 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  line-height: 1.15;
  font-weight: 600;
  color: var(--forest);
}

.section-label {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-lt);
  max-width: 52ch;
  line-height: 1.8;
}

/* ==========================================
   HEADER / NAV
   ========================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.site-header.scrolled {
  background: rgba(255, 253, 246, 0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.site-logo {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1;
}

.site-logo .logo-main {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--white);
  transition: color 0.4s;
  letter-spacing: 0.01em;
}

.site-logo .logo-sub {
  font-family: 'Jost', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: color 0.4s;
}

.site-header.scrolled .logo-main { color: var(--forest); }
.site-header.scrolled .logo-sub  { color: var(--text-lt); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.site-nav a {
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color 0.3s;
  position: relative;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--amber);
  transition: width 0.3s ease;
}

.site-nav a:hover::after { width: 100%; }
.site-nav a:hover { color: var(--white); }

.site-header.scrolled .site-nav a { color: var(--text); }
.site-header.scrolled .site-nav a:hover { color: var(--forest); }

.nav-cta {
  background: var(--amber) !important;
  color: var(--white) !important;
  padding: 0.6rem 1.4rem !important;
  border-radius: 2px;
  transition: background 0.3s !important;
}

.nav-cta:hover { background: var(--bark) !important; }
.nav-cta::after { display: none !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: background 0.4s, transform 0.3s;
}

.site-header.scrolled .hamburger span { background: var(--dark); }

/* ==========================================
   HERO SLIDER
   ========================================== */

.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* --- Slider track --- */
.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.9s ease;
  filter: brightness(0.68);
}

.hero-slide.active {
  opacity: 1;
}

/* --- Arrows --- */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.3s;
  backdrop-filter: blur(4px);
}

.slider-arrow:hover {
  background: rgba(200,137,74,0.7);
  transform: translateY(-50%) scale(1.08);
}

.slider-prev { left: 1.5rem; }
.slider-next { right: 1.5rem; }

/* --- Thumbnail strip --- */
.slider-thumbs {
  position: absolute;
  bottom: 4.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
  padding: 6px;
  background: rgba(0,0,0,0.3);
  border-radius: 6px;
  backdrop-filter: blur(6px);
}

.slider-thumb {
  width: 72px;
  height: 48px;
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  padding: 0;
  background: none;
  transition: border-color 0.3s, transform 0.2s, opacity 0.3s;
  opacity: 0.55;
  flex-shrink: 0;
}

.slider-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slider-thumb.active {
  border-color: var(--amber);
  opacity: 1;
  transform: scale(1.06);
}

.slider-thumb:hover:not(.active) {
  opacity: 0.85;
  border-color: rgba(255,255,255,0.5);
}

/* --- Zoom button --- */
.slider-zoom-btn {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  z-index: 10;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.85);
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 0.9rem;
  border-radius: 3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  backdrop-filter: blur(4px);
  transition: background 0.3s, color 0.3s;
  margin-top: 74px; /* below header */
}

.slider-zoom-btn:hover {
  background: rgba(200,137,74,0.8);
  color: white;
  border-color: transparent;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(24,40,24,0.55) 0%,
    rgba(20,35,20,0.35) 50%,
    rgba(74,123,170,0.25) 100%
  );
  pointer-events: none; /* przepuszcza kliknięcia do slajdów */
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 clamp(1.5rem, 7vw, 7rem);
  max-width: 900px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--amber-lt);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.4s ease forwards;
}

.hero-label::before {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--amber-lt);
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 6.5rem);
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 1.5rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s 0.6s ease forwards;
}

.hero h1 em {
  font-style: italic;
  color: var(--cream);
}

.hero-desc {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(255,255,255,0.82);
  max-width: 46ch;
  margin-bottom: 2.5rem;
  line-height: 1.8;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.85s ease forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 1.05s ease forwards;
}

.btn-primary {
  display: inline-block;
  background: var(--amber);
  color: var(--white);
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1rem 2.2rem;
  border-radius: 2px;
  transition: background 0.3s, transform 0.2s;
}

.btn-primary:hover {
  background: var(--bark);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.5);
  color: var(--white);
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1rem 2.2rem;
  border-radius: 2px;
  transition: border-color 0.3s, background 0.3s;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: 'Jost', sans-serif;
  animation: fadeIn 1s 1.5s ease forwards;
  opacity: 0;
}

.hero-scroll-line {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.4);
  animation: scrollPulse 2s 2s ease-in-out infinite;
}

/* ==========================================
   STATS BAR
   ========================================== */

.stats-bar {
  background: var(--forest);
  padding: 2.5rem clamp(1.5rem, 5vw, 5rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat-item {
  text-align: center;
  padding: 1rem;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--amber-lt);
  line-height: 1;
  display: block;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  font-family: 'Jost', sans-serif;
}

/* ==========================================
   O NAS
   ========================================== */

.about {
  padding: var(--section-pad) clamp(1.5rem, 5vw, 5rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.about-images {
  position: relative;
  height: 540px;
}

.about-img-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 75%;
  height: 80%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0,0,0,0.18);
}

.about-img-secondary {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 55%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0,0,0,0.2);
  border: 6px solid var(--white);
}

.about-badge {
  position: absolute;
  bottom: 22%;
  left: -1rem;
  background: var(--amber);
  color: var(--white);
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  z-index: 2;
}

.about-badge strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.about-badge span {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.85;
}

.about-content { padding-top: 1rem; }

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.feature-icon {
  width: 38px;
  height: 38px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.feature-text {
  font-size: 0.88rem;
  color: var(--text-lt);
  line-height: 1.5;
}

.feature-text strong {
  display: block;
  color: var(--forest);
  font-weight: 500;
  font-size: 0.92rem;
  margin-bottom: 0.15rem;
}

/* ==========================================
   OFERTA
   ========================================== */

.offer {
  background: var(--cream);
  padding: var(--section-pad) clamp(1.5rem, 5vw, 5rem);
}

.offer-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1300px;
  margin: 0 auto;
}

.cabin-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.07);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.cabin-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.13);
}

/* --- Mini-slider w kartach domków --- */
.cabin-slider {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: var(--cream-dk);
}

.cabin-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.cabin-slide.active { opacity: 1; }

.cabin-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}

.cabin-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  transition: background 0.3s, transform 0.3s;
  cursor: pointer;
}

.cabin-dot.active {
  background: var(--amber);
  transform: scale(1.3);
}

.cabin-prev,
.cabin-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.3);
  border: none;
  color: white;
  font-size: 1.4rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s, background 0.3s;
  line-height: 1;
  padding: 0;
}

.cabin-slider:hover .cabin-prev,
.cabin-slider:hover .cabin-next { opacity: 1; }

.cabin-prev:hover,
.cabin-next:hover { background: rgba(200,137,74,0.85); }

.cabin-prev { left: 8px; }
.cabin-next { right: 8px; }

/* stara klasa .cabin-img - zachowana dla kompatybilności */
.cabin-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.cabin-body {
  padding: 1.8rem;
}

.cabin-tag {
  display: inline-block;
  background: var(--cream);
  color: var(--forest-mid);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.cabin-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  color: var(--forest);
  margin-bottom: 0.75rem;
}

.cabin-desc {
  font-size: 0.88rem;
  color: var(--text-lt);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.cabin-amenities {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--cream-dk);
}

.cabin-amenities li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-lt);
}

.cabin-amenities li::before {
  content: '✓';
  color: var(--forest-lt);
  font-weight: 700;
  font-size: 0.75rem;
}

.cabin-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cabin-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--amber);
  font-weight: 600;
}

.cabin-price span {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  color: var(--text-lt);
  font-weight: 400;
}

.btn-sm {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--forest);
  border: 1px solid var(--forest-lt);
  padding: 0.55rem 1.2rem;
  border-radius: 2px;
  transition: all 0.3s;
}

.btn-sm:hover {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
}

/* ==========================================
   UDOGODNIENIA
   ========================================== */

.amenities {
  padding: var(--section-pad) clamp(1.5rem, 5vw, 5rem);
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 7vw, 8rem);
  align-items: center;
}

.amenities-visual {
  position: relative;
}

.amenities-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius);
}

.amenities-tag {
  position: absolute;
  top: 2rem;
  right: -1.5rem;
  background: var(--forest);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  font-family: 'Jost', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.amenities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.amenity-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem;
  background: var(--cream);
  border-radius: var(--radius);
  transition: background 0.3s;
}

.amenity-item:hover { background: var(--cream-dk); }

.amenity-icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.amenity-text strong {
  display: block;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--forest);
  margin-bottom: 0.2rem;
}

.amenity-text span {
  font-size: 0.8rem;
  color: var(--text-lt);
}

/* ==========================================
   GALERIA
   ========================================== */

.gallery {
  background: var(--forest);
  padding: var(--section-pad) clamp(1.5rem, 5vw, 5rem);
}

.gallery-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.gallery-header .section-title {
  color: var(--cream);
}

.gallery-header .section-label {
  color: var(--amber-lt);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 240px);
  gap: 12px;
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
}

.gallery-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item:nth-child(4) {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.07); }

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(36,59,37,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.gallery-item:hover .gallery-item-overlay {
  background: rgba(36,59,37,0.35);
}

.gallery-zoom {
  color: white;
  font-size: 1.5rem;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.3s, transform 0.3s;
}

.gallery-item:hover .gallery-zoom {
  opacity: 1;
  transform: scale(1);
}

/* ==========================================
   OKOLICA
   ========================================== */

.location {
  padding: var(--section-pad) clamp(1.5rem, 5vw, 5rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
}

.location-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
  height: 480px;
}

.location-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.location-points {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2.5rem;
}

.location-point {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.1rem 1.3rem;
  border: 1px solid var(--cream-dk);
  border-radius: var(--radius);
  transition: border-color 0.3s, background 0.3s;
}

.location-point:hover {
  border-color: var(--forest-lt);
  background: var(--cream);
}

.location-point-icon {
  width: 42px;
  height: 42px;
  background: var(--forest);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.location-point-info strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--forest);
}

.location-point-info span {
  font-size: 0.82rem;
  color: var(--text-lt);
}

/* ==========================================
   KONTAKT
   ========================================== */

.contact {
  background: var(--cream);
  padding: var(--section-pad) clamp(1.5rem, 5vw, 5rem);
}

.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(3rem, 7vw, 8rem);
  align-items: start;
}

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2.5rem;
}

.contact-info-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--forest);
  color: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-lt);
  margin-bottom: 0.4rem;
  font-family: 'Jost', sans-serif;
}

.contact-detail a,
.contact-detail p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  color: var(--forest);
  font-weight: 600;
  transition: color 0.3s;
}

.contact-detail a:hover { color: var(--amber); }

.contact-form-wrap {
  background: var(--white);
  padding: 3rem;
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0,0,0,0.07);
}

.contact-form-wrap h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.contact-form-wrap p {
  font-size: 0.9rem;
  color: var(--text-lt);
  margin-bottom: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-lt);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--cream-dk);
  border-radius: var(--radius);
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--forest-lt);
  box-shadow: 0 0 0 3px rgba(90,125,92,0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  padding: 1rem;
  background: var(--forest);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
}

.form-submit:hover { background: var(--forest-mid); }
.form-submit:disabled { opacity: .75; cursor: wait; }

/* Pole-pułapka na boty — niewidoczne dla ludzi */
.form-hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.6;
}
.form-status:empty { display: none; }
.form-status.is-ok { color: var(--forest-mid); }
.form-status.is-error { color: #b3261e; }
.form-status a { color: inherit; font-weight: 600; }

.cabin-desc p + p { margin-top: .6rem; }

/* ==========================================
   FOOTER
   ========================================== */

.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  padding: 5rem clamp(1.5rem, 5vw, 5rem) 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand .logo-main {
  color: var(--cream);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  display: block;
  margin-bottom: 0.25rem;
}

.footer-brand .logo-sub {
  color: rgba(255,255,255,0.4);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 1.2rem;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.8;
  max-width: 34ch;
}

.footer-col h4 {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.3rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-links li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.3s;
}

.footer-links li a:hover { color: var(--amber-lt); }

.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
}

.footer-bottom a {
  color: var(--amber-lt);
  transition: opacity 0.3s;
}

/* ==========================================
   LIGHTBOX
   ========================================== */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.lightbox.active { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.lightbox-close:hover { opacity: 1; }

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: none;
  color: white;
  font-size: 3rem;
  line-height: 1;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s, background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-prev:hover,
.lightbox-next:hover { opacity: 1; background: rgba(255,255,255,0.22); }
.lightbox-prev.hidden,
.lightbox-next.hidden { display: none; }

.lightbox-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  font-family: var(--font-body);
  letter-spacing: 0.05em;
}

/* ==========================================
   ANIMATIONS
   ========================================== */

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.4; }
  50% { transform: scaleY(0.6); opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   MOBILE NAV
   ========================================== */

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--forest);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  color: var(--cream);
  font-weight: 600;
  transition: color 0.3s;
}

.mobile-nav a:hover { color: var(--amber-lt); }

.mobile-nav-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 2rem;
  cursor: pointer;
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 1024px) {
  .about { grid-template-columns: 1fr; }
  .about-images { height: 400px; order: -1; }
  .offer-grid { grid-template-columns: 1fr 1fr; }
  .amenities { grid-template-columns: 1fr; }
  .location { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .site-nav { display: none; }
  .hamburger { display: flex; }
  .offer-grid { grid-template-columns: 1fr; }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .gallery-item:nth-child(4) { grid-column: span 1; }
  .about-images { height: 320px; }
  .about-badge { display: none; }
  .amenities-tag { display: none; }
  .amenities-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2,1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.1); }
}

/* ==========================================
   PODSTRONY (Okolica i inne)
   ========================================== */

.page-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  padding: 8rem clamp(1.5rem, 5vw, 5rem) clamp(2.5rem, 6vw, 4.5rem);
  background-color: var(--forest);
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 32, 21, 0.85) 0%, rgba(20, 32, 21, 0.35) 55%, rgba(20, 32, 21, 0.45) 100%);
}

.page-hero-content {
  position: relative;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 600;
  line-height: 1.05;
  margin-top: 0.75rem;
  color: var(--white);
}

.page-hero-lead {
  max-width: 640px;
  margin-top: 1rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.breadcrumbs a:hover { color: var(--amber-lt); }

.page-main {
  padding: var(--section-pad) clamp(1.5rem, 5vw, 5rem) 0;
}

.page-content {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text);
}
.page-content > * + * { margin-top: 1.25rem; }
.page-content h2,
.page-content h3 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--forest);
  line-height: 1.2;
  margin-top: 2.5rem;
}
.page-content h2 { font-size: 2rem; }
.page-content h3 { font-size: 1.5rem; }
.page-content a { color: var(--lake); text-decoration: underline; text-underline-offset: 3px; }
.page-content ul,
.page-content ol { padding-left: 1.4rem; }
.page-content img { border-radius: var(--radius); height: auto; }
.page-content figure { margin: 2rem 0; }
.page-content figcaption { font-size: 0.85rem; color: var(--text-lt); margin-top: 0.5rem; text-align: center; }
.page-content blockquote {
  border-left: 3px solid var(--amber);
  padding-left: 1.25rem;
  font-style: italic;
  color: var(--text-lt);
}
.page-content .wp-block-embed__wrapper { position: relative; aspect-ratio: 16 / 9; }
.page-content .wp-block-embed__wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--radius);
}

.page-cards {
  max-width: 1200px;
  margin: var(--section-pad) auto 0;
}
.page-cards .section-title { text-align: center; margin-bottom: 2.5rem; }

.page-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.page-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.page-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12); }

.page-card-img {
  display: block;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--forest-mid), var(--lake));
  background-size: cover;
  background-position: center;
}

.page-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.4rem 1.5rem 1.6rem;
}
.page-card-body strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--forest);
  line-height: 1.2;
}
.page-card-body span { font-size: 0.9rem; color: var(--text-lt); line-height: 1.65; }
.page-card-body em {
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-top: 0.25rem;
}

.page-cta {
  max-width: 1200px;
  margin: var(--section-pad) auto 0;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 5vw, 4rem);
  background: var(--forest);
  color: var(--white);
  border-radius: var(--radius);
  text-align: center;
}
.page-cta h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--white);
}
.page-cta p { margin: 1rem auto 0; max-width: 560px; color: rgba(255, 255, 255, 0.8); }
.page-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.page-main + .site-footer,
.page-main ~ .site-footer { margin-top: var(--section-pad); }

/* Link „Poznaj okolicę” w sekcji Okolica na stronie głównej */
.location-more {
  display: inline-block;
  margin-top: 2rem;
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.location-more:hover { color: var(--bark); }

@media (max-width: 768px) {
  .page-hero { min-height: 42vh; padding-top: 7rem; }
  .page-content { font-size: 1rem; }
}

/* Pasek administratora WordPressa (tylko dla zalogowanych) nie zasłania menu */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

/* ==========================================
   POPRAWKI WYGLĄDU
   ========================================== */

/* Logo: podpis nie nachodzi na litery z ogonkami (y, ą) */
.site-logo { gap: 0.35rem; }

/* Domki: cena i „Zapytaj” zawsze na dole karty, równo we wszystkich kartach */
.cabin-card { display: flex; flex-direction: column; }
.cabin-body { flex: 1; display: flex; flex-direction: column; }
.cabin-footer { margin-top: auto; }

/* Galeria: siatka dopasowuje się do liczby zdjęć — bez pustych miejsc */
.gallery-grid { grid-template-rows: none; grid-auto-rows: 240px; }
.gallery-item:nth-child(4n+7):last-child { grid-column: span 2; }
.gallery-item:nth-child(4n+5):nth-last-child(2),
.gallery-item:nth-child(4n+6):last-child { grid-column: span 2; }
.gallery-item:nth-child(4n+5):last-child { grid-column: span 4; }

/* Ikony w kontakcie (SVG zamiast emoji, które bywały niewidoczne) */
.contact-icon svg { width: 20px; height: 20px; }

@media (max-width: 768px) {
  .gallery-grid { grid-auto-rows: 160px; }
  .gallery-item:nth-child(n+5) { grid-column: span 1; }
  .gallery-item:nth-child(2n+4):last-child { grid-column: span 2; }
}

/* Na telefonie pasek WordPressa przewija się razem ze stroną */
@media (max-width: 600px) {
  .admin-bar .site-header { top: 0; }
}

/* Okolica: ikony miejsc na jasnym tle (kolorowe emoji były słabo widoczne na zieleni) */
.location-point-icon {
  background: var(--cream);
  box-shadow: inset 0 0 0 1px var(--cream-dk);
  font-size: 1.15rem;
}

/* Okolica: mapa jedzie razem z listą przy przewijaniu — bez pustego miejsca pod nią */
@media (min-width: 1025px) {
  .location-map {
    position: sticky;
    top: 110px;
    align-self: start;
  }
}
