/* =========================================================
   Gorczańska Oaza — pensjonat dla psów w Ochotnicy Dolnej
   Arkusz stylów strony publicznej
   ========================================================= */

:root {
  /* Kolory */
  --forest-dark: #23331f;
  --forest: #3c5a3d;
  --forest-light: #6d8f6b;
  --moss: #9bb894;
  --cream: #faf7f0;
  --cream-2: #f1ece0;
  --cream-3: #e6dfcd;
  --terracotta: #c0692f;
  --terracotta-dark: #9c5220;
  --ink: #26261f;
  --ink-soft: #5b5f52;
  --line: rgba(35, 51, 31, 0.12);
  --white: #ffffff;

  /* Cienie */
  --shadow-xs: 0 1px 2px rgba(35, 51, 31, 0.06);
  --shadow-sm: 0 4px 16px rgba(35, 51, 31, 0.07);
  --shadow: 0 14px 40px rgba(35, 51, 31, 0.10);
  --shadow-lg: 0 28px 70px rgba(35, 51, 31, 0.16);

  /* Kształty i rytm */
  --radius-lg: 26px;
  --radius: 18px;
  --radius-sm: 11px;
  --sekcja-y: clamp(64px, 9vw, 116px);
  --przejscie: 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.06rem);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "Fraunces", "Georgia", serif;
  font-weight: 600;
  color: var(--forest-dark);
  line-height: 1.14;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.3rem, 1.5rem + 3.4vw, 4rem); }
h2 { font-size: clamp(1.7rem, 1.25rem + 1.9vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.1em; color: var(--ink-soft); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--terracotta-dark); text-decoration: none; transition: color var(--przejscie); }
a:hover { color: var(--terracotta); }

img { max-width: 100%; display: block; }

:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--forest-dark);
  color: #fff;
  padding: 12px 20px;
  z-index: 300;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; color: #fff; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 32px);
}
.container.waski { max-width: 800px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta-dark);
  font-weight: 600;
  margin-bottom: 0.9em;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
  opacity: 0.55;
}
.eyebrow.center::before { display: none; }

/* ---------- Przyciski ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.97rem;
  font-family: inherit;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform var(--przejscie), background var(--przejscie), color var(--przejscie),
              border-color var(--przejscie), box-shadow var(--przejscie);
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(192, 105, 47, 0.28);
}
.btn-primary:hover {
  background: var(--terracotta-dark);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(192, 105, 47, 0.34);
}

.btn-outline {
  border-color: var(--forest);
  color: var(--forest);
  background: transparent;
}
.btn-outline:hover { background: var(--forest); color: var(--white); }

.btn-light { background: var(--white); color: var(--forest-dark); box-shadow: var(--shadow-sm); }
.btn-light:hover { background: var(--cream-2); color: var(--forest-dark); }

.btn-small { padding: 10px 20px; font-size: 0.88rem; }
.btn-blok { width: 100%; }

/* ---------- Nagłówek strony ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 240, 0.86);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--przejscie), box-shadow var(--przejscie), background var(--przejscie);
}
.site-header.przewiniety {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(35, 51, 31, 0.06);
}

.nav {
  max-width: 1140px;
  margin: 0 auto;
  padding: 14px clamp(20px, 4vw, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.16rem;
  font-weight: 600;
  color: var(--forest-dark);
  letter-spacing: -0.01em;
}
.brand:hover { color: var(--forest-dark); }
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, var(--forest) 0%, var(--forest-dark) 100%);
  color: var(--cream);
  flex: none;
  box-shadow: var(--shadow-sm);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text small {
  font-family: "Inter", sans-serif;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--forest-dark);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 9px 14px;
  border-radius: 999px;
  position: relative;
  transition: background var(--przejscie), color var(--przejscie);
}
.nav-links a:not(.btn):hover { background: rgba(60, 90, 61, 0.09); color: var(--forest-dark); }
.nav-links a.active:not(.btn) { color: var(--forest); font-weight: 600; }
.nav-links a.active:not(.btn)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--terracotta);
  transform: translateX(-50%);
}
.nav-links .btn-tel { margin-left: 10px; padding: 11px 20px; color: var(--white); }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--white);
  cursor: pointer;
  padding: 0;
  place-items: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--forest-dark);
  transition: transform var(--przejscie), opacity var(--przejscie);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Sekcja powitalna (hero) ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--forest-dark);
  display: grid;
  align-items: center;
  min-height: clamp(560px, 84vh, 840px);
}

/* Zdjęcie w tle jest zwykłym <img>, a nie tłem CSS — dzięki temu
   przeglądarka wczytuje je z priorytetem, a my sterujemy kadrem
   (object-position) osobno dla każdej podstrony. */
.hero-foto {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
  transform: scale(1.07);
}

/* Bez JS zdjęcie po prostu jest — widoczne i nieruchome.
   Z JS chowamy je do czasu wczytania i dopiero wtedy puszczamy
   powolny najazd. To dlatego zdjęcie nie „przeskakuje” w połowie
   animacji, kiedy dojdzie z serwera. */
.js .hero-foto { opacity: 0; transition: opacity 1s ease-out; }
.js .hero-foto.zaladowane {
  opacity: 1;
  animation: powolny-zoom 24s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
@keyframes powolny-zoom {
  from { transform: scale(1.07); }
  to   { transform: scale(1); }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(72% 58% at 50% 52%, rgba(23, 33, 20, 0.58) 0%, rgba(23, 33, 20, 0.12) 78%, transparent 100%),
    linear-gradient(180deg, rgba(23, 33, 20, 0.58) 0%, rgba(23, 33, 20, 0.16) 34%, rgba(23, 33, 20, 0.34) 68%, rgba(23, 33, 20, 0.78) 100%);
}

.hero-inner {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(96px, 13vw, 150px) clamp(20px, 4vw, 32px) clamp(104px, 13vw, 150px);
  text-align: center;
  color: #fff;
}
.hero-inner .eyebrow { color: #f0dcbc; }
.hero-inner .eyebrow::before { background: #f0dcbc; }
.hero-inner h1 { color: #fff; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35); }
.hero-inner p.lead {
  font-size: clamp(1.05rem, 1rem + 0.5vw, 1.28rem);
  color: rgba(255, 255, 255, 0.92);
  max-width: 620px;
  margin: 0 auto 34px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}
.hero.hero-small { min-height: clamp(440px, 62vh, 640px); }
/* Zdjęcia pionowe potrzebują wyższego kadru — w niskim pasku zostałaby
   z nich sama trawa albo same łapy. */
.hero.hero-pion { min-height: clamp(540px, 84vh, 820px); }
.hero.hero-small .hero-inner { padding-top: clamp(76px, 10vw, 118px); padding-bottom: clamp(84px, 10vw, 118px); }
.hero.hero-small h1 { font-size: clamp(1.95rem, 1.35rem + 2.5vw, 3.05rem); }

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero .btn-outline { border-color: rgba(255, 255, 255, 0.75); color: #fff; }
.hero .btn-outline:hover { background: #fff; color: var(--forest-dark); }

/* pasek zaufania pod hero */
.hero-fakty {
  position: relative;
  z-index: 2;
  margin-top: -46px;
}
.hero-fakty .siatka {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-fakty .fakt {
  background: var(--white);
  padding: 24px 22px;
  text-align: center;
}
.hero-fakty .fakt strong {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.6rem;
  color: var(--forest);
  line-height: 1.1;
}
.hero-fakty .fakt span {
  font-size: 0.85rem;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

/* ---------- Sekcje ---------- */

section { padding: var(--sekcja-y) 0; }
.section-alt { background: var(--cream-2); }
.section-forest { background: var(--forest-dark); }
.section-forest h2, .section-forest h3 { color: var(--cream); }
.section-forest p { color: rgba(230, 223, 205, 0.85); }

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(38px, 5vw, 58px);
  text-align: center;
}
.section-head .eyebrow::before { display: none; }
.section-head p { font-size: 1.06rem; }

/* ---------- Karty ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow-xs);
  transition: transform var(--przejscie), box-shadow var(--przejscie), border-color var(--przejscie);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(60, 90, 61, 0.25);
}
.card .card-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  background: var(--cream-2);
  margin-bottom: 14px;
}
.card p { flex-grow: 1; }
.card .btn { align-self: flex-start; margin-top: 16px; }

/* ---------- Wyróżniki ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
  gap: 20px;
}
.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform var(--przejscie), box-shadow var(--przejscie);
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.feature .feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: rgba(60, 90, 61, 0.09);
  font-size: 1.35rem;
  margin-bottom: 14px;
}
.feature h3 { font-size: 1.06rem; margin-bottom: 7px; }
.feature p { margin: 0; font-size: 0.95rem; }

/* ---------- Blok ze zdjęciem i tekstem ---------- */

.owner-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 66px);
  align-items: center;
}
.owner-block .photo { margin: 0; }

.photo,
.photo-placeholder {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cream-3);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.photo-placeholder {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  border: 2px dashed rgba(60, 90, 61, 0.3);
  box-shadow: none;
}
.photo-placeholder span {
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-align: center;
  padding: 0 18px;
}

/* ---------- Galeria ---------- */

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
}
.photo-grid .photo { cursor: zoom-in; }
.photo-grid .photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(35, 51, 31, 0.28), transparent 55%);
  opacity: 0;
  transition: opacity var(--przejscie);
}
.photo-grid .photo:hover::after { opacity: 1; }
.photo-grid .photo:hover img { transform: scale(1.06); }
.photo-grid .photo[hidden] { display: none; }

/* Filmy w galerii — kafelek pokazuje pierwszą klatkę i znak „odtwórz” */
.photo video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  background: var(--forest-dark);
  pointer-events: none;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.photo-grid .photo-film { cursor: pointer; }
.photo-grid .photo-film:hover video { transform: scale(1.06); }
.film-ikona {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 62px;
  height: 62px;
  margin: -31px 0 0 -31px;
  border-radius: 50%;
  background: rgba(250, 247, 240, 0.92);
  box-shadow: var(--shadow);
  transition: transform var(--przejscie), background var(--przejscie);
}
.film-ikona::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -11px 0 0 -6px;
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent var(--terracotta);
}
.photo-film:hover .film-ikona { transform: scale(1.1); background: #fff; }

.galeria-filtry {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: -12px 0 30px;
}
.galeria-filtry button {
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--forest-dark);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 20px;
  cursor: pointer;
  transition: background var(--przejscie), color var(--przejscie), border-color var(--przejscie);
}
.galeria-filtry button:hover { border-color: var(--forest-light); }
.galeria-filtry button.aktywny { background: var(--forest); border-color: var(--forest); color: var(--cream); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(20, 26, 18, 0.94);
  display: grid;
  place-items: center;
  padding: 24px;
  animation: pojaw 0.2s ease-out;
}
.lightbox[hidden],
.lightbox img[hidden],
.lightbox video[hidden] { display: none; }
.lightbox img,
.lightbox video {
  max-width: min(1100px, 94vw);
  max-height: 86vh;
  width: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: none;
  cursor: pointer;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 1.9rem;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background var(--przejscie);
}
.lightbox-close:hover,
.lightbox-nav:hover { background: rgba(255, 255, 255, 0.26); }
.lightbox-close { top: 22px; right: 22px; font-size: 1.6rem; }
.lightbox-nav.prev { left: 20px; }
.lightbox-nav.next { right: 20px; }
@keyframes pojaw { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Odznaki ---------- */

.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px 7px 7px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--forest-dark);
}
.badge-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--cream);
  display: grid;
  place-items: center;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ---------- Baner z wezwaniem do kontaktu ---------- */

.cta-banner {
  max-width: 1140px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 78px) clamp(24px, 5vw, 60px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 130% at 12% 0%, rgba(109, 143, 107, 0.35) 0%, transparent 60%),
    linear-gradient(140deg, var(--forest) 0%, var(--forest-dark) 100%);
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 40px solid rgba(255, 255, 255, 0.05);
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255, 255, 255, 0.88); max-width: 560px; margin: 0 auto 28px; }

/* ---------- FAQ ---------- */

.faq { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 24px;
  transition: box-shadow var(--przejscie), border-color var(--przejscie);
}
.faq details[open] { box-shadow: var(--shadow-sm); border-color: rgba(60, 90, 61, 0.24); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 34px 18px 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--forest-dark);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Inter", sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--terracotta);
  transition: transform var(--przejscie);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding-bottom: 20px; margin: 0; }

/* ---------- Formularze ---------- */

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 40px);
  box-shadow: var(--shadow-sm);
}

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.contact-detail:last-child { border-bottom: none; padding-bottom: 0; }
.contact-detail .icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--cream-2);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  flex: none;
}
.contact-detail strong { display: block; color: var(--forest-dark); font-size: 0.95rem; }

.contact-form { display: flex; flex-direction: column; gap: 17px; margin-top: 22px; }
.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--forest-dark);
  margin-bottom: 7px;
}
.contact-form input,
.contact-form select,
.contact-form textarea,
.pole-formularza {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: var(--cream);
  font-size: 1rem;
  font-family: inherit;
  color: var(--ink);
  transition: border-color var(--przejscie), box-shadow var(--przejscie), background var(--przejscie);
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--forest-light);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(109, 143, 107, 0.16);
}
.contact-form input[aria-invalid="true"] { border-color: #c0392b; }
.form-note { font-size: 0.85rem; color: var(--ink-soft); margin: 0; }
.hp-pole { position: absolute; left: -9999px; opacity: 0; height: 0; }

/* podsumowanie rezerwacji */
.booking-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}
.stat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  font-weight: 600;
}
.stat-value {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.5rem;
  color: var(--forest-dark);
  line-height: 1.2;
  margin-top: 4px;
}
.stat-value.price { color: var(--terracotta-dark); }

.booking-note {
  background: rgba(192, 105, 47, 0.08);
  border-left: 3px solid var(--terracotta);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 15px 18px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 18px 0;
}

.komunikat {
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 22px;
  font-size: 0.96rem;
  border: 1px solid;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.komunikat strong { display: block; margin-bottom: 2px; }
.komunikat.ok { background: rgba(60, 90, 61, 0.08); border-color: rgba(60, 90, 61, 0.3); color: var(--forest-dark); }
.komunikat.blad { background: rgba(192, 57, 43, 0.07); border-color: rgba(192, 57, 43, 0.32); color: #8e2c20; }
.komunikat ul { margin: 6px 0 0; padding-left: 20px; }

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Stopka ---------- */

.site-footer {
  background: var(--forest-dark);
  color: rgba(230, 223, 205, 0.78);
  padding: clamp(50px, 7vw, 78px) 0 30px;
  font-size: 0.94rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(230, 223, 205, 0.14);
}
.site-footer h4 {
  color: var(--cream);
  font-size: 1.08rem;
  margin-bottom: 14px;
}
.site-footer p { color: rgba(230, 223, 205, 0.72); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.site-footer a { color: rgba(230, 223, 205, 0.86); }
.site-footer a:hover { color: #fff; }
.site-footer .badge {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(230, 223, 205, 0.18);
  color: var(--cream);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.84rem;
  color: rgba(230, 223, 205, 0.55);
}
.footer-bottom a { color: rgba(230, 223, 205, 0.55); }

/* ---------- Telefon w rogu (telefony komórkowe) ---------- */

.tel-fab {
  display: none;
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--terracotta);
  color: #fff;
  place-items: center;
  box-shadow: 0 10px 26px rgba(192, 105, 47, 0.44);
}
.tel-fab:hover { color: #fff; background: var(--terracotta-dark); }

/* ---------- Pojawianie się przy przewijaniu ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease-out, transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal.widoczny { opacity: 1; transform: none; }

/* ---------- Kalendarz (Flatpickr) w barwach strony ---------- */

.flatpickr-calendar { font-family: "Inter", sans-serif; box-shadow: var(--shadow) !important; border-radius: var(--radius) !important; }
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange { background: var(--forest) !important; border-color: var(--forest) !important; }
.flatpickr-day.inRange { background: rgba(109, 143, 107, 0.22) !important; border-color: transparent !important; box-shadow: -5px 0 0 rgba(109, 143, 107, 0.22), 5px 0 0 rgba(109, 143, 107, 0.22) !important; }
.flatpickr-day.today { border-color: var(--terracotta) !important; }
.flatpickr-day.flatpickr-disabled { text-decoration: line-through; color: rgba(57, 57, 57, 0.28) !important; }
.flatpickr-months .flatpickr-month { color: var(--forest-dark); }

/* ---------- Wersje na mniejsze ekrany ---------- */

@media (max-width: 900px) {
  .owner-block,
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
  .nav-toggle { display: grid; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 12px 18px 20px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 14px; border-radius: var(--radius-sm); }
  .nav-links a.active:not(.btn)::after { display: none; }
  .nav-links .btn-tel { margin: 8px 0 0; }
  .brand-text small { display: none; }
  .tel-fab { display: grid; }
  .hero-fakty { margin-top: -30px; }
  .booking-summary { grid-template-columns: 1fr; gap: 14px; }
  .lightbox-nav { width: 44px; height: 44px; }
  .lightbox-nav.prev { left: 8px; }
  .lightbox-nav.next { right: 8px; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .photo-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
  .btn { width: 100%; }
  .hero-cta { flex-direction: column; }
  .nav-links .btn-tel { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  /* żadnego najazdu na zdjęciu — zostaje nieruchome i ostro wykadrowane */
  .hero-foto, .js .hero-foto.zaladowane { transform: none !important; }
}

@media print {
  .site-header, .tel-fab, .lightbox, .site-footer .badge-row { display: none !important; }
  body { background: #fff; }
}
