

:root {
  --navy: #17323D;
  --navy-dark: #0E2229;
  --sand: #F4EEE2;
  --sand-2: #E9DFC9;
  --green: #5F7A52;
  --green-dark: #3E5236;
  --amber: #C08A2E;
  --ink: #1E2B29;
  --line: #D8CDB4;
  --white: #FFFFFF;
  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;
  --radius: 12px;
  --wrap: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 10px;}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
}

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

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  font-size: 20px;
  line-height: 1;
  vertical-align: middle;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 16px;
  line-height: 1.2;
}

h1 { font-size: 40px; }
h2 { font-size: 28px; }
h3 { font-size: 18px; }

p { margin: 0 0 14px; }

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity 0.15s ease;
}
.btn:hover { opacity: 0.85; }
.btn-primary { background: var(--navy); color: var(--sand); }
.btn-accent { background: var(--amber); color: #3A2705; }
.btn-ghost { border-color: rgba(244,238,226,0.6); color: var(--sand); }
.btn-small { padding: 9px 16px; font-size: 13px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--sand);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 20px;
}
.logo img { height: 36px; }
.main-nav {
  display: flex;
  gap: 24px;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.main-nav a:hover { color: var(--navy); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--navy);
}

.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,34,41,0.55) 0%, rgba(14,34,41,0.75) 100%);
}
.hero-content {
  position: relative;
  max-width: 560px;
  padding-top: 60px;
  padding-bottom: 60px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--sand-2);
  border: 1px solid rgba(244,238,226,0.45);
  border-radius: 20px;
  padding: 6px 14px;
  margin-bottom: 22px;
  text-decoration: none;
  transition: background 0.15s ease;
}
.badge:hover { background: rgba(244,238,226,0.12); }
.badge .material-symbols-outlined { font-size: 15px; }
.hero-content h1 { color: var(--sand); font-size: 38px; margin-bottom: 16px; }
.hero-content p { color: var(--sand-2); font-size: 15px; max-width: 460px; margin-bottom: 26px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.stats {
  background: var(--sand);
  border-bottom: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stat {
  padding: 26px 20px;
  text-align: center;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: none; }
.stat-num { font-family: var(--font-display); font-size: 24px; color: var(--navy); font-weight: 600; }
.stat-label { font-size: 13px; color: var(--ink); opacity: 0.75; margin-top: 4px; }

.section { padding: 68px 0; }
.section.alt { background: var(--sand-2); }

.two-col {
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: 40px;
  align-items: center;
}

#lokalizacja .two-col { grid-template-columns: 1fr 1fr; }
.col-img img, .col-map iframe { border-radius: var(--radius); width: 100%; }

.about-carousel {
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
}
.about-carousel-track {
  display: flex;
  transition: transform 0.8s ease;
}
.about-carousel-track img {
  width: 100%;
  flex: 0 0 100%;
  height: 380px;
  object-fit: cover;
}
@media (prefers-reduced-motion: reduce) {
  .about-carousel-track { transition: none; }
}

.feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.feature-chips span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--green-dark);
  background: var(--sand-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 6px 12px;
}
.feature-chips .material-symbols-outlined { font-size: 16px; }

#ogrod .card { display: flex; flex-direction: column; }
#ogrod .card-body { display: flex; flex-direction: column; flex: 1; }
#ogrod .feature-chips { margin-top: auto; padding-top: 4px; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.card img { height: 180px; width: 100%; object-fit: cover; }
.card-body { padding: 18px; }
.card-meta { font-size: 13px; color: var(--ink); opacity: 0.7; margin-bottom: 12px; }
.card-link { font-size: 13px; font-weight: 500; color: var(--navy); text-decoration: none; }
.card-link:hover { text-decoration: underline; }

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 24px;
}
.amenity {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 12px;
  text-align: center;
  font-size: 13px;
}
.amenity .material-symbols-outlined {
  display: block;
  margin: 0 auto 10px;
  font-size: 26px;
  color: var(--green-dark);
}

.location-list { list-style: none; margin: 0; padding: 0; }
.location-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.location-list li:last-child { border-bottom: none; }
.location-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  text-decoration: none;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
.location-list li a:hover {
  color: var(--amber);
  text-decoration-color: var(--amber);
}
.location-list .material-symbols-outlined { color: var(--amber); font-size: 20px; }

.site-footer { background: var(--navy-dark); color: var(--sand-2); padding-top: 40px; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(244,238,226,0.15);
}
.footer-brand a { text-decoration: none; color: inherit; display: block; transition: opacity 0.15s ease; }
.footer-brand a:hover { opacity: 0.8; }
.footer-title { font-family: var(--font-display); font-size: 20px; color: var(--sand); margin-bottom: 8px; }
.footer-brand p { margin: 0; font-size: 13px; }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact a {
  color: var(--sand-2);
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact a:hover { color: var(--sand); }
.footer-bottom {
  padding: 18px 24px;
  font-size: 12px;
  opacity: 0.7;
}

.btn { font-family: inherit; }
.btn-ghost-dark { border-color: var(--navy); color: var(--navy); background: none; }

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(14,34,41,0.6);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
  touch-action: none;
}
.modal-overlay.is-open { display: flex; }
.modal {
  background: var(--sand);
  border-radius: var(--radius);
  padding: 24px;
  max-width: 440px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  touch-action: pan-y;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}
.modal h2 { font-size: 21px; margin-bottom: 14px; }
.modal form label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 10px;
}
.modal input, .modal select {
  width: 100%;
  margin-top: 4px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  background: #fff;
  color: var(--ink);
}
.modal .form-row { display: flex; gap: 12px; min-width: 0; }
.modal .form-row label { flex: 1 1 0; min-width: 0; }
.modal .form-row input { min-width: 0; width: 100%; box-sizing: border-box; }
.modal input[type="date"] {
  display: block;
  min-height: 34px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.modal .checkbox-row { display: flex; align-items: center; gap: 8px; }
.modal .checkbox-row input { width: auto; margin-top: 0; }
.modal-actions { display: flex; gap: 10px; margin-top: 8px; }
.modal-actions .btn { flex: 1; justify-content: center; }

.modal-call-box { background: var(--sand-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin-bottom: 12px; }
.modal-call-box p { margin: 0 0 8px; font-size: 13px; }
.modal-divider { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: var(--ink); opacity: .6; font-size: 12px; }
.modal-divider span { flex: 1; height: 1px; background: var(--line); }

@media (max-width: 480px), (max-height: 700px) {
  .modal { padding: 16px; max-height: 96vh; }
  .modal-close { top: 8px; right: 10px; font-size: 22px; }
  .modal h2 { font-size: 18px; margin-bottom: 10px; }
  .modal-call-box { padding: 8px 12px; margin-bottom: 8px; }
  .modal-call-box p { margin-bottom: 6px; font-size: 12px; }
  .modal-divider { margin-bottom: 8px; }
  .modal .btn { padding: 9px 16px; }
  .modal form label { margin-bottom: 6px; font-size: 12px; }
  .modal input, .modal select { padding: 7px 9px; }
  .modal .checkbox-row { margin-bottom: 4px; font-size: 13px; }
}

.mobile-book-btn { display: none; }
@media (max-width: 640px) {
  body { padding-bottom: 76px; }
  .mobile-book-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 150;
    background: var(--navy);
    color: var(--sand);
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-family: inherit;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 6px 18px rgba(14,34,41,0.35);
  }
}

.page-header {
  background: var(--navy);
  padding: 46px 0 38px;
}
.page-header .eyebrow { color: var(--sand-2); }
.page-header h1 { color: var(--sand); margin-bottom: 6px; }
.page-header p { color: var(--sand-2); font-size: 14px; margin: 0; }

.rooms-list {
  padding: 48px 0 64px;
}
.room-accordion {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
}
.room-accordion summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 22px;
}
.room-accordion summary::-webkit-details-marker { display: none; }
.room-summary-main {
  display: flex;
  align-items: center;
  gap: 14px;
}
.room-summary-main h2 {
  font-size: 17px;
  margin: 0;
  flex: 1;
}
.room-accordion .feature-chips { margin-top: 0; }
.room-count {
  font-size: 12px;
  color: var(--ink);
  opacity: 0.6;
  white-space: nowrap;
}
.chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.room-accordion[open] .chevron { transform: rotate(-135deg); }
.room-body {
  padding: 0 22px 24px;
}
.room-body p {
  font-size: 14px;
  color: var(--ink);
  opacity: 0.85;
  max-width: 760px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
  margin-top: 12px;
}
.gallery-item {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 8px;
  background: var(--sand-2);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.gallery-item:hover img { transform: scale(1.06); }

@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
  h1 { font-size: 32px; }
  #lokalizacja .two-col { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .gallery { grid-template-columns: repeat(auto-fill, minmax(105px, 1fr)); }
  .room-accordion summary { padding: 14px 16px; }
  .room-body { padding: 0 16px 20px; }
  .main-nav { display: none; }
  .btn-small { display: none; }
  .nav-toggle { display: flex; }
  .cards-grid { grid-template-columns: 1fr; }
  .amenities-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-left: none; border-top: 1px solid var(--line); }
  .stat:first-child { border-top: none; }
  .hero-content h1 { font-size: 28px; }
  .footer-inner { flex-direction: column; }
  .logo img { height: 34px; }

  .main-nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--sand);
    border-bottom: 1px solid var(--line);
    padding: 16px 24px;
    gap: 14px;
  }
}
.btn-full { width: 100%; justify-content: center; }
.btn-full-top { margin-top: 6px; }
.map-frame { border: 0; }

.error-page { padding: 90px 0; text-align: center; }
.error-code { font-family: var(--font-display); font-size: 96px; font-weight: 600; color: var(--amber); line-height: 1; margin-bottom: 12px; }
.error-title { font-size: 26px; margin-bottom: 12px; }
.error-text { max-width: 480px; margin: 0 auto 28px; color: var(--ink); opacity: 0.8; }
.error-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 640px) {
  .error-page { padding: 60px 0; }
  .error-code { font-size: 64px; }
  .error-title { font-size: 21px; }
}
