/* ============================================================
   Rysia Skarpa — style (statyczna wizytówka HTML/CSS/JS)
   Paleta i typografia spójne z wersją Next.js (patrz tailwind.config.ts)
   ============================================================ */

:root {
  --forest-dark: #17231a;
  --forest: #2c4230;
  --forest-mid: #3d5c42;
  --forest-light: #6b8a6e;
  --cream: #f3ecdd;
  --cream-warm: #ece0c8;
  --paper: #faf6ec;
  --charcoal: #241f19;
  --rust: #bd5b2c;
  --rust-light: #dd8a51;

  --sage-pale: #e6eadd;
  --sage: #b9c4a9;
  --sage-deep: #6f7d5c;

  --font-display: "PT Serif", "Times New Roman", Times, serif;
  --font-body: "PT Serif", "Times New Roman", Times, serif;

  --container-w: 1180px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}
/* zoom: niestandardowa właściwość, na mobilnym Safari (iOS) potrafi rozjechać
   layout i psuć IntersectionObserver (animacje .reveal się nie odpalają) —
   dlatego włączamy ją tylko na większych ekranach (desktop). */
@media (min-width: 901px) {
  html { zoom: 1.1; }
}
html, body {
  /* overflow-x na obu — samo body nie wystarcza na iOS Safari: to html jest
     faktycznym elementem przewijanym, więc "rusza się na boki" mimo overflow
     na body. Blokujemy przesuwanie w bok na obu poziomach. */
  overflow-x: hidden;
}
body {
  width: 100%;
  max-width: 100%;
  position: relative;
}
#o-obiekcie, #apartament-parter, #apartamenty-pietro, #galeria, #okolica, #lokalizacja, #rezerwacja {
  scroll-margin-top: 84px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.5;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 32px;
}

em { font-style: italic; color: var(--rust); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
}
h2 { font-size: clamp(28px, 3.4vw, 40px); }
h3 { font-size: clamp(18px, 2vw, 22px); }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 14px;
  color: var(--rust);
  margin: 0 0 12px;
}
.eyebrow-light { color: var(--rust-light); }

.lead {
  font-size: 18.5px;
  line-height: 1.65;
  color: #4a4238;
  max-width: 54ch;
  margin: 14px 0 0;
}
.lead.light { color: rgba(243,236,221,0.75); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 27px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.25s ease, box-shadow .25s ease, border-color .25s ease;
  font-family: var(--font-body);
}
.btn-primary {
  background: var(--rust);
  color: var(--paper);
  box-shadow: 0 10px 24px -10px rgba(189,91,44,0.6);
}
.btn-primary:hover { background: var(--rust-light); transform: translateY(-2px); }
.btn-ghost {
  border: 1px solid rgba(250,246,236,0.4);
  color: var(--paper);
}
.btn-ghost:hover { border-color: var(--paper); background: rgba(250,246,236,0.08); }
.btn-forest { background: var(--forest); color: var(--paper); }
.btn-forest:hover { background: var(--forest-mid); }
.btn-whatsapp { background: #25D366; color: var(--forest-dark); }
.btn-whatsapp:hover { filter: brightness(0.95); }
.btn-outline-light {
  border: 1px solid rgba(250,246,236,0.25);
  color: var(--paper);
  background: transparent;
}
.btn-outline-light:hover { border-color: var(--paper); background: rgba(250,246,236,0.1); }
.btn-block { width: 100%; justify-content: center; }

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.navbar.scrolled {
  background: rgba(23,35,26,0.92);
  backdrop-filter: blur(6px);
  padding: 12px 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.navbar-inner {
  width: 100%;
  margin: 0;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 768px) {
  .navbar-inner { padding: 0 32px; }
}
.logo {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 600;
  color: var(--paper);
}
.nav-cta { padding: 16px 32px; font-size: 17px; font-weight: 700; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--forest-dark);
}
/* 100vh na mobilnych przeglądarkach (Safari/Chrome) liczy się razem z paskiem
   adresu, który chowa się/pojawia przy scrollu — stąd "rozjeżdżanie się" w
   pionie. 100svh to stała, mniejsza wysokość widoku, niezależna od paska. */
@supports (min-height: 100svh) {
  .hero { min-height: 100svh; }
}
.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to bottom, rgba(10,16,11,0.65), rgba(10,16,11,0.45) 40%, rgba(8,13,9,0.85));
  pointer-events: none;
}
.hero-glow {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.12);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container-w);
  margin-left: clamp(24px, 8vw, 160px);
  margin-right: auto;
  padding: 140px 32px 120px;
  width: 100%;
}
.hero-kicker {
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 18px;
  color: var(--rust-light);
  margin: 0 0 24px;
}
.hero-title {
  font-size: clamp(50px, 8vw, 94px);
  color: var(--paper);
  max-width: 14ch;
  margin-bottom: 26px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.45), 0 1px 4px rgba(0,0,0,0.5);
}
.hero-sub {
  font-size: 24px;
  color: rgba(243,236,221,0.92);
  max-width: 46ch;
  line-height: 1.6;
  margin: 0 0 40px;
  text-shadow: 0 2px 14px rgba(0,0,0,0.4);
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ============ SEKCJE / ZEBRA ============ */
.section { padding: 96px 0; }

.zebra-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.zebra.reverse .zebra-grid > *:first-child { order: 2; }

.photo-placeholder {
  min-height: 300px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  color: rgba(250,246,236,0.75);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 24px;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 14px),
    linear-gradient(140deg, var(--forest-mid), var(--forest-dark));
}

/* ============ KARUZELA ZDJĘĆ APARTAMENTU (w sekcji zebra) ============ */
.zebra-carousel {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  background: var(--forest-dark);
}
.zebra-carousel-track { position: absolute; inset: 0; }
.zebra-carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.zebra-carousel-slide.is-active { opacity: 1; }

.zebra-carousel .carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 34px;
  height: 34px;
  font-size: 17px;
  background: rgba(250,246,236,0.9);
}
.zebra-carousel .carousel-arrow:hover { background: var(--paper); }
.zebra-carousel .zc-prev { left: 12px; }
.zebra-carousel .zc-next { right: 12px; }

.zebra-carousel-dots {
  position: absolute;
  left: 0; right: 0; bottom: 12px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.zc-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  background: rgba(250,246,236,0.45);
  transition: background 0.2s ease, transform 0.2s ease;
}
.zc-dot.is-active { background: var(--paper); transform: scale(1.2); }

@media (max-width: 700px) {
  .zebra-carousel .carousel-arrow { display: flex; }
}

.room-capacity {
  margin: 22px 0 10px;
  font-size: 14.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--forest);
}
.room-beds {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 17px;
  color: rgba(36,31,25,0.75);
}
.room-beds li { padding: 3px 0; }
.room-beds li::before { content: "— "; }

/* ============ APARTAMENTY NA PIĘTRZE — DWIE OSOBNE KOLUMNY ============ */
.upper-apartments-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.upper-apartment h3 {
  font-family: var(--font-display);
  font-size: 26px;
  margin: 0 0 16px;
  color: var(--charcoal);
}
.apartment-meta {
  margin: 16px 0 0;
  font-size: 17px;
  color: rgba(36,31,25,0.75);
}
.apartment-meta strong {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--forest);
  font-weight: 700;
}

/* ============ GALERIA ZDJĘĆ (KARUZELA, JEDNO DUŻE ZDJĘCIE) ============ */
.gallery-section { background: var(--paper); }

.gallery-carousel {
  position: relative;
  margin-top: 36px;
  aspect-ratio: 16 / 10;
  max-height: 72vh;
  border-radius: 24px;
  overflow: hidden;
  background: var(--forest-dark);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.35);
}
.gallery-carousel-track { position: absolute; inset: 0; }
.gallery-carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.gallery-carousel-slide.is-active { opacity: 1; }

.gallery-carousel-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  margin: 0;
  padding: 22px 28px;
  font-size: 19px;
  font-weight: 600;
  color: var(--paper);
  background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
}

.gallery-carousel-counter {
  position: absolute;
  top: 18px; right: 20px;
  z-index: 2;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--paper);
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(4px);
}

.gallery-carousel .carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  width: 44px;
  height: 44px;
  font-size: 20px;
  background: rgba(0,0,0,0.32);
  border: 1px solid rgba(250,246,236,0.35);
  color: var(--paper);
  backdrop-filter: blur(4px);
}
.gallery-carousel .carousel-arrow:hover { background: rgba(0,0,0,0.5); }
.gallery-carousel .gallery-prev { left: 16px; }
.gallery-carousel .gallery-next { right: 16px; }

.gallery-carousel-dots {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 7px;
}

@media (max-width: 700px) {
  .gallery-carousel { aspect-ratio: 4 / 5; max-height: none; }
  .gallery-carousel .carousel-arrow { display: flex; }
  .gallery-carousel-caption { font-size: 16px; padding: 16px 18px; }
}

.carousel-arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(44,66,48,0.25);
  background: var(--paper);
  color: var(--forest-dark);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.carousel-arrow:hover { background: var(--cream-warm); border-color: var(--rust-light); }

@media (max-width: 700px) {
  .carousel-arrow { display: none; }
}

/* ============ ATRAKCJE ============ */
.attractions-section {
  background: var(--forest-dark);
  color: var(--paper);
}
.attractions-section h2.light { color: var(--paper); }

.highlight-grid {
  margin: 44px 0 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.highlight-card {
  position: relative;
  border: 1px solid rgba(250,246,236,0.1);
  background: rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 24px;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.highlight-card:hover { border-color: rgba(250,246,236,0.25); background: rgba(255,255,255,0.08); }
.highlight-card-top {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.highlight-icon { font-size: 32px; }
.highlight-season {
  position: absolute;
  top: 24px;
  right: 24px;
  border: 1px solid rgba(250,246,236,0.15);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(243,236,221,0.55);
}
.highlight-name {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.3;
}
.highlight-dist { margin: 0; font-size: 15px; color: rgba(243,236,221,0.65); }

.highlight-card-cta {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-color: rgba(189,91,44,0.3);
  background: rgba(189,91,44,0.1);
}
.highlight-card-cta:hover { border-color: var(--rust-light); background: rgba(189,91,44,0.15); }
.highlight-cta-label {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--rust-light);
}

.attractions-full { overflow: hidden; }
.attractions-columns {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.attractions-columns h3 {
  font-size: 14.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--rust-light);
  margin-bottom: 16px;
}
.attractions-list { list-style: none; margin: 0; padding: 0; }
.attractions-list li {
  border-bottom: 1px solid rgba(250,246,236,0.1);
  padding: 14px 0;
  font-size: 16px;
}
.attractions-list li:first-child { padding-top: 0; }
.a-name { margin: 0; font-weight: 600; color: rgba(243,236,221,0.9); }
.a-dist, .a-note { margin: 4px 0 0; color: rgba(243,236,221,0.55); }

.attractions-gastronomia {
  margin-top: 76px;
  padding-top: 52px;
  border-top: 1px solid rgba(250,246,236,0.1);
}
.gastronomia-title {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--paper);
}
.restaurant-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.restaurant-grid-more { margin-top: 16px; }
.restaurant-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(250,246,236,0.1);
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  padding: 16px 20px;
}
.r-name { margin: 0; font-weight: 600; color: rgba(243,236,221,0.9); }
.r-dist { margin: 0; font-size: 14px; color: rgba(243,236,221,0.55); white-space: nowrap; }
.btn-small {
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 14px;
}

/* ============ KONTAKT / LOKALIZACJA / REZERWACJA (split) ============ */
.split-section { background: var(--paper); }
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.split-col h2 { font-size: clamp(28px, 3.2vw, 38px); margin-top: 12px; }

.contact-list {
  list-style: none;
  margin: 22px 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 16.5px;
  line-height: 1.55;
}
.contact-list a:hover { color: var(--rust); }
.contact-icon {
  font-size: 19px;
  color: var(--rust);
  flex-shrink: 0;
  width: 34px; height: 34px;
  border: 1px solid var(--rust-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.contact-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

.map-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(44,66,48,0.12);
  min-height: 420px;
  background: var(--cream-warm);
}
.map-frame { width: 100%; height: 100%; min-height: 420px; display: block; }
.btn-navigate { position: absolute; bottom: 20px; right: 20px; box-shadow: 0 12px 28px -8px rgba(23,35,26,0.45); }

/* ============ FORMULARZ / KALENDARZ ============ */
.booking-form {
  background: var(--cream);
  border-radius: 18px;
  padding: 32px;
  border: 1px solid rgba(44,66,48,0.12);
  margin-top: 26px;
}
.form-row { margin-bottom: 18px; }
.form-row:last-of-type { margin-bottom: 0; }
.form-row.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.booking-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--forest);
}
.booking-form input, .booking-form textarea {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(44,66,48,0.25);
  background: var(--paper);
  color: var(--charcoal);
}
.booking-form input:focus, .booking-form textarea:focus {
  outline: none; border-color: var(--rust); background: #fff;
}
.form-note { font-size: 13.5px; color: #7a7264; margin-top: 12px; text-align: center; }
.form-error { color: var(--rust); font-size: 14.5px; font-weight: 600; margin: -6px 0 12px; }

/* ---- Nowy układ pól formularza (redesign v0.app, przeniesiony na markę) ---- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 22px;
  margin-bottom: 24px;
}
.form-grid .form-row { margin-bottom: 0; }
.form-grid .form-row.span-2 { grid-column: 1 / -1; }
.booking-form .field-label {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--forest);
}
.field-icon { width: 16px; height: 16px; flex-shrink: 0; color: var(--rust); }
.req { color: var(--rust); }
.opt { font-size: 11.5px; font-weight: 500; text-transform: none; letter-spacing: normal; color: #8a8172; }
.field-hint { margin: 6px 2px 0; font-size: 12.5px; color: #8a8172; }

.form-grid input, .form-grid textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16.5px;
  font-weight: 400;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(44,66,48,0.22);
  background: var(--paper);
  color: var(--charcoal);
}
.form-grid input:focus, .form-grid textarea:focus {
  outline: none; border-color: var(--rust); background: #fff;
}
.form-grid textarea { resize: none; }

.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.form-required-note { font-size: 14px; color: #8a8172; margin: 0; }
.form-required-note .req { margin-right: 2px; }

.btn-submit { display: inline-flex; align-items: center; gap: 10px; }
.btn-icon { width: 18px; height: 18px; flex-shrink: 0; }
.btn-icon-spin { animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.btn-outline-forest {
  border: 1px solid rgba(44,66,48,0.3);
  color: var(--forest);
  background: transparent;
}
.btn-outline-forest:hover { border-color: var(--forest); background: rgba(44,66,48,0.06); }

.booking-success {
  background: var(--cream);
  border: 1px solid rgba(44,66,48,0.12);
  border-radius: 18px;
  margin-top: 26px;
  padding: 56px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.booking-success[hidden] { display: none; }
.booking-success-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(189,91,44,0.12);
  color: var(--rust);
}
.booking-success-icon svg { width: 28px; height: 28px; }
.booking-success h3 { font-size: clamp(20px, 2.4vw, 26px); }
.booking-success p { margin: 0; max-width: 42ch; color: rgba(36,31,25,0.75); font-size: 16px; line-height: 1.6; }

.booking .booking-success { background: #f2f5ec; border-color: rgba(111,125,92,0.3); }
.booking .booking-form .field-label { color: var(--sage-deep); }
.booking .field-icon { color: var(--rust); }
.booking .booking-form .form-grid input, .booking .booking-form .form-grid textarea {
  background: var(--sage-pale);
  border-color: rgba(111,125,92,0.35);
  color: var(--charcoal);
}
.booking .booking-form .form-grid input:focus, .booking .booking-form .form-grid textarea:focus {
  background: #fff; border-color: var(--sage-deep);
}

.calendar-wrap {
  background: var(--cream);
  border: 1px solid rgba(44,66,48,0.12);
  border-radius: 18px;
  padding: 4px;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: stretch;
  margin-top: 26px;
}
.calendar-placeholder { padding: 50px 32px; text-align: center; margin: auto; }
.calendar-placeholder p { margin: 0 0 10px; line-height: 1.6; font-size: 16px; }
.calendar-placeholder code { background: var(--cream-warm); padding: 2px 7px; border-radius: 4px; font-size: 14.5px; }
.calendar-wrap iframe { width: 100%; border-radius: 14px; }

.legend { display: flex; justify-content: center; gap: 24px; margin-top: 18px; font-size: 15px; color: #4a4238; }
.legend-item { display: flex; align-items: center; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot-free { background: var(--forest-light); }
.dot-booked { background: var(--rust); }

/* ============ SEKCJA REZERWACJI — motyw sage green ============ */
.split-section.booking {
  background: var(--sage-pale);
}
/* Układ pionowy: najpierw kalendarz dostępności, potem formularz —
   logiczna kolejność (sprawdź termin -> wyślij zapytanie), zamiast
   dwóch kolumn obok siebie. */
.split-section.booking .split-grid {
  grid-template-columns: 1fr;
  max-width: 720px;
  margin: 0 auto;
  gap: 44px;
}
.booking .booking-form,
.booking .calendar-wrap {
  background: #f2f5ec;
  border-color: rgba(111, 125, 92, 0.3);
}
.booking .booking-form input,
.booking .booking-form textarea {
  background: var(--sage-pale);
  border-color: rgba(111, 125, 92, 0.35);
}
.booking .booking-form input:focus,
.booking .booking-form textarea:focus {
  background: #fff;
  border-color: var(--sage-deep);
}
.booking .booking-form label {
  color: var(--sage-deep);
}
.booking .calendar-placeholder code {
  background: var(--sage);
}
.booking .dot-free { background: var(--sage-deep); }

/* ============ STOPKA ============ */
.site-footer-mini {
  text-align: center;
  padding: 26px 0;
  font-size: 14px;
  color: #8a8272;
  background: var(--cream);
}
.footer-social {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 14px;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(36,31,25,0.15);
  color: #8a8272;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer-social a:hover {
  color: var(--rust-light);
  border-color: var(--rust-light);
}

/* ============ REVEAL ANIMATION ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .section { padding: 64px 0; }
  .zebra-grid, .split-grid { grid-template-columns: 1fr; gap: 36px; }
  .zebra.reverse .zebra-grid > *:first-child { order: 0; }
  .highlight-grid, .attractions-columns, .restaurant-grid { grid-template-columns: 1fr; }
  .upper-apartments-grid { grid-template-columns: 1fr; gap: 44px; }
  .form-row.two-col { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .nav-cta { padding: 13px 22px; font-size: 15px; }
  .logo { font-size: 18px; }

  /* Kalendarz Google na wąskim ekranie wygląda nienaturalnie wysoko przy
     stałej wysokości 500px — trochę go zmniejszamy, żeby proporcje były
     bardziej zbliżone do szerokości. */
  .calendar-wrap { min-height: 380px; }
  .calendar-wrap iframe { height: 380px; }
}
