:root {
  --cream: #f2efe9;
  --olive: #3e4a34;
  --gold: #b08d57;
  --gold-light: #d4b07a;
  --gold-glow: rgba(212, 176, 122, 0.35);
  --text: #2c2a26;
  --muted: #6a645a;
  --white: #ffffff;
  --sidebar-width: 220px;
  --shadow: 0 12px 40px rgba(44, 42, 38, 0.08);
}

/* Custom Premium Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--cream);
}
::-webkit-scrollbar-thumb {
  background: rgba(176, 141, 87, 0.35);
  border-radius: 4px;
  border: 2px solid var(--cream);
  transition: background 0.3s ease;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* Custom Text Selection */
::selection {
  background: var(--olive);
  color: var(--gold-light);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Raleway", system-ui, sans-serif;
  font-weight: 300;
  color: var(--text);
  background-color: var(--cream);
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
  background-image: 
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E"),
    radial-gradient(rgba(62, 74, 52, 0.04) 0.8px, transparent 0.8px);
  background-size: 180px 180px, 28px 28px;
  background-blend-mode: overlay;
  line-height: 1.7;
  opacity: 0;
  transition: opacity 0.45s ease;
}

body.is-loaded {
  opacity: 1;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, .eyebrow, .booking__title, .page-header h1, .teaser-card h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

[data-animate-text] {
  letter-spacing: 0.04em;
  line-height: 1.15;
}

[data-animate-text] .word {
  display: inline-block;
  white-space: nowrap;
}

.letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(12px);
  filter: blur(4px);
  transition: filter 0.5s ease;
}

.is-active .letter {
  animation: letterIn 0.7s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.accent-band {
  background: var(--olive);
  padding: clamp(1.1rem, 2.5vw, 1.6rem) clamp(1.5rem, 4vw, 3.5rem);
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.accent-band::before {
  content: "";
  width: 36px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
  background-size: 200% 100%;
  flex-shrink: 0;
  animation: accentLineGrow 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards, goldShimmer 4s ease-in-out 1.2s infinite;
}

.accent-band p {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--gold-light);
  font-size: clamp(0.82rem, 1.5vw, 0.95rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  text-shadow: 0 0 24px var(--gold-glow);
  animation: goldPulse 3.5s ease-in-out 1.6s infinite;
}

.page-home .accent-band p .letter {
  animation-duration: 0.55s;
}

@keyframes accentLineGrow {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 36px;
    opacity: 1;
  }
}

@keyframes goldShimmer {
  0%, 100% {
    background-position: 0% 50%;
    box-shadow: 0 0 6px var(--gold-glow);
  }
  50% {
    background-position: 100% 50%;
    box-shadow: 0 0 14px rgba(212, 176, 122, 0.5);
  }
}

@keyframes goldPulse {
  0%, 100% {
    opacity: 0.88;
    text-shadow: 0 0 16px var(--gold-glow);
  }
  50% {
    opacity: 1;
    text-shadow: 0 0 28px rgba(212, 176, 122, 0.55);
  }
}

@keyframes letterIn {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: var(--sidebar-width) 1fr;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  background: var(--cream);
  border-right: 1px solid rgba(62, 74, 52, 0.08);
  padding: 2rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  z-index: 20;
}

.sidebar__logo img {
  width: 150px;
  height: auto;
  margin: 0 auto;
  display: block;
  background: transparent;
}

.sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem 0.7rem 1rem;
  border-radius: 10px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a7d68;
  transition: color 0.35s ease, background 0.35s ease, padding-left 0.35s ease, text-shadow 0.35s ease;
  overflow: hidden;
}

.nav-link::before {
  display: none !important; /* Hide old static line */
}

.nav-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(212, 176, 122, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.nav-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  transition: transform 0.35s ease, stroke 0.35s ease;
  z-index: 2; /* Keep above indicator pill */
}

.nav-link:hover {
  color: var(--gold-light);
  padding-left: 1.15rem;
  text-shadow: 0 0 18px var(--gold-glow);
}

.nav-link:hover::before {
  display: none !important;
}

.nav-link:hover::after {
  opacity: 1;
}

.nav-link:hover svg {
  transform: scale(1.08);
}

.nav-link.is-active {
  color: var(--gold-light);
  background: transparent !important; /* Managed by sliding indicator pill */
  padding-left: 1.15rem;
  font-weight: 600;
  text-shadow: 0 0 20px var(--gold-glow);
}

.nav-link.is-active::before {
  display: none !important;
}

.nav-link.is-active::after {
  opacity: 1;
}

/* Sliding Navigation Indicators */
.sidebar__nav {
  position: relative !important;
}

.sidebar__nav-indicator-line {
  position: absolute;
  left: 0;
  width: 3px;
  height: 24px;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  border-radius: 2px;
  box-shadow: 0 0 10px var(--gold-glow);
  opacity: 0;
  pointer-events: none;
  z-index: 3;
  transition: top 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
}

.sidebar__nav-indicator-pill {
  position: absolute;
  left: 0;
  right: 0;
  background: rgba(176, 141, 87, 0.12) !important;
  border-radius: 10px;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition: top 0.4s cubic-bezier(0.25, 1, 0.5, 1), height 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
}

.main {
  min-width: 0;
}

.grid-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  height: 540px;
}

.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  height: 100%;
  background: var(--cream);
}

.page-home .hero__mist {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 70% at 92% 55%, rgba(176, 141, 87, 0.18), transparent 68%),
    radial-gradient(ellipse 70% 55% at 12% 85%, rgba(176, 141, 87, 0.14), transparent 70%),
    radial-gradient(ellipse 55% 45% at 85% 20%, rgba(255, 255, 255, 0.35), transparent 65%);
  animation: morningMist 16s ease-in-out infinite alternate;
}

.hero__visual {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  pointer-events: none;
}

.hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(242, 239, 233, 0.97) 0%, rgba(242, 239, 233, 0.75) 38%, rgba(242, 239, 233, 0.15) 72%),
    linear-gradient(90deg, rgba(242, 239, 233, 0.92) 0%, rgba(242, 239, 233, 0.45) 42%, transparent 72%);
}

.hero__visual img {
  position: relative;
  z-index: 0;
  width: min(88%, 560px);
  max-height: 88%;
  object-fit: contain;
  object-position: center right;
  opacity: 0.75;
  filter: saturate(0.88) contrast(0.96);
}

.page-home .hero__visual img {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: bottom right;
  opacity: 1;
  filter: none;
  animation: heroAwaken 2.4s ease-out forwards, heroBreath 20s ease-in-out 2.4s infinite alternate;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 560px;
  padding: clamp(2rem, 4vw, 3rem);
}

.eyebrow {
  color: var(--gold);
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.hero h1 {
  color: var(--olive);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  margin-bottom: 0.35rem;
}

.hero__subtitle {
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin-bottom: 1rem;
}

.page-header__script,
.booking__script {
  font-family: "Pinyon Script", cursive;
  font-size: 1.8rem;
  color: var(--gold);
  line-height: 1.2;
  margin-bottom: 0.5rem;
  text-transform: none;
  letter-spacing: 0;
}

.page-home .home-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.15fr);
  align-items: stretch;
  height: clamp(500px, 64vh, 600px);
}

.page-home .hero__visual {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  inset: auto;
  height: 100%;
  padding: clamp(0.5rem, 1.5vw, 1rem) clamp(0.5rem, 2vw, 1.5rem) 0 0;
  align-items: flex-end;
  justify-content: flex-end;
}

.page-home .hero__visual::after {
  background: linear-gradient(
    90deg,
    var(--cream) 0%,
    rgba(242, 239, 233, 0.98) 22%,
    rgba(242, 239, 233, 0.8) 46%,
    rgba(242, 239, 233, 0.35) 72%,
    transparent 94%
  ) !important;
}

.home-hero {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  flex-shrink: 0;
}

.home-hero__content {
  position: relative;
  z-index: 3;
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3.5rem);
  max-width: 520px;
}

.hero__script {
  font-family: "Pinyon Script", cursive;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--gold);
  line-height: 1.1;
  margin-bottom: 0.75rem;
  text-transform: none;
  letter-spacing: 0;
}

.home-hero h1 {
  color: var(--olive);
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 0.25rem;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.btn--outline {
  background: transparent !important;
  color: var(--olive) !important;
  border: 1.5px solid rgba(62, 74, 52, 0.25) !important;
}

.btn--outline:hover {
  background: var(--olive) !important;
  color: var(--white) !important;
  border-color: var(--olive) !important;
}

.home-teasers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-top: 1px solid rgba(62, 74, 52, 0.08);
}

.teaser-card {
  background: var(--white);
  border: 1px solid rgba(62, 74, 52, 0.08);
  border-radius: 14px;
  padding: 1.75rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.teaser-card:hover {
  border-color: rgba(176, 141, 87, 0.35);
  box-shadow: var(--shadow);
}

.teaser-card__label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.teaser-card h2 {
  color: var(--olive);
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
}

.teaser-card p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.area-page {
  padding: 0 clamp(1.5rem, 4vw, 3.5rem) clamp(2rem, 4vw, 3rem);
}
.area-page__block {
  position: relative;
  background: #FAF8F5; /* Warm cream */
  border: 1px solid rgba(176, 141, 87, 0.22);
  border-radius: 12px;
  padding: 2.25rem 2rem;
  box-shadow: 
    0 10px 30px rgba(62, 74, 52, 0.03),
    0 1px 3px rgba(62, 74, 52, 0.01);
  margin-bottom: 2rem;
  max-width: 800px;
  overflow: hidden;
}

.area-page__block::before,
.area-page__block::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--gold-light);
  border-style: solid;
  pointer-events: none;
}

.area-page__block::before {
  top: 10px;
  left: 10px;
  border-width: 1.5px 0 0 1.5px;
}

.area-page__block::after {
  bottom: 10px;
  right: 10px;
  border-width: 0 1.5px 1.5px 0;
}

.area-page__block h2 {
  color: var(--olive);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.area-page__block p {
  color: var(--muted);
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.area-page__block--dark {
  background: var(--olive);
  color: var(--white);
  border: 1px solid rgba(212, 176, 122, 0.25);
  box-shadow: 
    0 12px 40px rgba(62, 74, 52, 0.15),
    0 0 0 5px rgba(176, 141, 87, 0.08);
  max-width: 800px;
}

.area-page__block--dark h2 {
  color: var(--gold-light);
}

.area-page__block--dark p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 65ch;
}

.booking-section--page,
.contact--page {
  padding-top: 0;
}

.contact--page {
  border-top: none;
  background: transparent;
}

.leaf-icon {
  color: var(--gold);
  width: 22px;
  margin-bottom: 1rem;
}

.leaf-icon svg,
.leaf-icon--small svg {
  fill: currentColor;
}

.hero__text {
  color: var(--muted);
  max-width: 34ch;
  margin-bottom: 1.5rem;
  font-size: 0.98rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.60rem !important;
  border-radius: 6px !important;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, border-color 0.3s ease !important;
}

.btn:hover {
  transform: translateY(-2.5px) !important;
  box-shadow: 0 10px 24px rgba(62, 74, 52, 0.15) !important;
}

.btn--primary {
  background: var(--olive) !important;
  color: var(--white) !important;
}

.btn--primary:hover {
  background: var(--gold) !important;
  border-color: var(--gold) !important;
}

.side-stack {
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  border-left: 1px solid rgba(62, 74, 52, 0.08);
  height: 100%;
}

.photo-card {
  overflow: hidden;
  min-height: 0;
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.info-card {
  position: relative;
  background: var(--cream);
  padding: 2rem 1.75rem;
  border-top: 1px solid rgba(62, 74, 52, 0.08);
  border-bottom: 1px solid rgba(62, 74, 52, 0.08);
}

.info-card::after {
  content: "";
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 70px;
  height: 70px;
  background: radial-gradient(circle, rgba(176, 141, 87, 0.12), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.info-card h2 {
  color: var(--olive);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.info-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.text-link {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: letter-spacing 0.25s ease, opacity 0.25s ease;
}

.text-link:hover {
  letter-spacing: 0.1em;
  opacity: 0.85;
}

.text-link--light {
  color: #d4b07a;
}

.area-intro,
.volcanoes {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
  background: var(--olive);
  color: var(--white);
  padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3.5rem);
}

.area-intro__icon,
.volcanoes__icon {
  color: var(--gold);
  width: 72px;
  padding-top: 0.25rem;
}

.area-intro__icon svg,
.volcanoes__icon svg {
  width: 100%;
  height: auto;
}

.area-intro h2,
.volcanoes h2 {
  color: var(--gold);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  margin-bottom: 0.75rem;
}

.eyebrow--light {
  color: #d4b07a;
  margin-bottom: 0.5rem;
}

.area-intro p,
.volcanoes p {
  max-width: 65ch;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
}

.attractions {
  padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3.5rem);
}

.attractions__header {
  margin-bottom: 2rem;
}

.attractions__header h2 {
  color: var(--olive);
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 0.5rem;
}

.attractions__header p {
  color: var(--muted);
  max-width: 50ch;
}

.attractions__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.attraction-card {
  position: relative;
  background: #FAF8F5; /* Warm cream */
  border: 1px solid rgba(176, 141, 87, 0.22);
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: 
    0 8px 24px rgba(62, 74, 52, 0.02),
    0 1px 3px rgba(62, 74, 52, 0.01);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

/* Corner brass brackets on hover */
.attraction-card::before,
.attraction-card::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: var(--gold-light);
  border-style: solid;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
}

.attraction-card::before {
  top: 8px;
  left: 8px;
  border-width: 1.5px 0 0 1.5px;
}

.attraction-card::after {
  bottom: 8px;
  right: 8px;
  border-width: 0 1.5px 1.5px 0;
}

.attraction-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 
    0 12px 30px rgba(62, 74, 52, 0.05),
    0 0 0 3px rgba(176, 141, 87, 0.06);
}

.attraction-card:hover::before,
.attraction-card:hover::after {
  opacity: 1;
  transform: scale(1);
}

.attraction-card h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--olive);
  font-size: 1.25rem;
  margin-bottom: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.attraction-card__dist {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: inline-block;
  border-bottom: 1px solid rgba(176, 141, 87, 0.3);
  padding-bottom: 0.15rem;
  font-weight: 500;
}

.attraction-card p:last-child {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.booking-section {
  padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3.5rem);
  background: var(--cream);
  border-top: 1px solid rgba(62, 74, 52, 0.08);
}

.booking-section__intro {
  margin-bottom: 1.75rem;
}

.booking-section__intro h2 {
  color: var(--olive);
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 0.5rem;
}

.booking-section__intro p {
  color: var(--muted);
  max-width: 55ch;
}

.booking-form {
  position: relative;
  background: #FAF8F5; /* Warm cream */
  border: 1px solid rgba(176, 141, 87, 0.25);
  border-radius: 14px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: 
    0 12px 36px rgba(62, 74, 52, 0.04),
    0 1px 3px rgba(62, 74, 52, 0.01);
  max-width: 720px;
  overflow: hidden;
}

/* Corner brass brackets on booking card */
.booking-form::before,
.booking-form::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--gold-light);
  border-style: solid;
  pointer-events: none;
}

.booking-form::before {
  top: 10px;
  left: 10px;
  border-width: 1.5px 0 0 1.5px;
}

.booking-form::after {
  bottom: 10px;
  right: 10px;
  border-width: 0 1.5px 1.5px 0;
}

.booking-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.booking-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.booking-form__field--full {
  margin-bottom: 1.5rem;
}

.booking-form__field span {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--olive);
  font-weight: 600;
}

.booking-form__field input,
.booking-form__field select,
.booking-form__field textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(176, 141, 87, 0.25) !important;
  border-radius: 8px !important;
  background-color: var(--cream) !important;
  color: var(--text) !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease !important;
}

.booking-form__field select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b08d57' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
  background-size: 1.1rem !important;
  padding-right: 2.5rem !important;
  cursor: pointer;
}

.booking-form__field input:focus,
.booking-form__field select:focus,
.booking-form__field textarea:focus {
  outline: none;
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px rgba(212, 176, 122, 0.2) !important;
  background-color: var(--white) !important;
}

.btn--whatsapp,
.btn--small.btn--whatsapp {
  background: var(--olive);
  color: var(--white);
}

.btn--small {
  margin-top: 1rem;
  padding: 0.65rem 1rem;
  font-size: 0.7rem;
  width: 100%;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem clamp(1.5rem, 4vw, 3.5rem);
  background: var(--cream);
  border-top: 1px solid rgba(62, 74, 52, 0.08);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.feature {
  text-align: center;
}

.feature__icon {
  width: 28px;
  margin: 0 auto 0.65rem;
  color: var(--gold);
}

.feature__icon svg {
  width: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.feature p {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--olive);
  font-weight: 500;
}

.booking {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-self: end;
}

.booking__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.booking__icon svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.booking__title {
  color: var(--olive);
  font-size: 0.82rem;
  margin-bottom: 0.15rem;
}


@keyframes morningMist {
  0% {
    opacity: 0.55;
    transform: translateX(-2%) translateY(1%);
  }
  100% {
    opacity: 0.9;
    transform: translateX(3%) translateY(-1%);
  }
}

@keyframes heroAwaken {
  0% {
    opacity: 0;
    transform: scale(0.97) translateY(12px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes heroBreath {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.025);
  }
}

.menu-toggle,
.overlay {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .letter {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .page-home .hero__mist,
  .page-home .hero__visual img,
  .accent-band p,
  .accent-band::before,
  .page-home .home-hero__content .eyebrow,
  .page-home .hero__script,
  .page-home .hero__text,
  .page-home .home-hero__actions,
  .page-home .home-bottom,
  .page-home .home-booking,
  .page-home .home-chips li,
  .booking__script--home {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

.sidebar__logo a {
  display: block;
}

.page-header {
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3.5rem) 2rem;
  border-bottom: 1px solid rgba(62, 74, 52, 0.08);
}

.page-header h1 {
  color: var(--olive);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 0.75rem;
  line-height: 1.1;
}

.page-header__text {
  color: var(--muted);
  max-width: 52ch;
  font-size: 1rem;
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.room-card {
  background: var(--white);
  border: 1px solid rgba(62, 74, 52, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.room-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.room-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.room-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
  padding: 1.5rem;
}

.room-card__placeholder-label {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
}

.room-card__placeholder-note {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.room-card--boho .room-card__placeholder {
  background: linear-gradient(145deg, #c4a882 0%, #8b6f4e 50%, #6b5340 100%);
}

.room-card--wiejski .room-card__placeholder {
  background: linear-gradient(145deg, #7a8f6a 0%, #4f6342 50%, #3e4a34 100%);
}

.room-card--morski .room-card__placeholder {
  background: linear-gradient(145deg, #7ba3b8 0%, #4a7289 50%, #2e5066 100%);
}

.room-card--czerwony .room-card__placeholder {
  background: linear-gradient(145deg, #b85c5c 0%, #8b3a3a 50%, #6b2d2d 100%);
}

.room-card__body {
  padding: 1.5rem 1.75rem 1.75rem;
}

.room-card__body h2 {
  color: var(--olive);
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}

.room-card__body p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.room-card__tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.room-card__actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1.1rem;
}

.room-card__tags li {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--olive);
  background: rgba(62, 74, 52, 0.07);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
}

.rooms-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 0 clamp(1.5rem, 4vw, 3rem) clamp(2rem, 4vw, 3rem);
  padding: clamp(2rem, 4vw, 2.5rem);
  background: var(--olive);
  color: var(--white);
  border-radius: 16px;
}

.rooms-cta h2 {
  color: var(--gold);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  margin-bottom: 0.35rem;
}

.rooms-cta__script {
  font-family: "Caveat", cursive;
  font-size: 1.4rem;
  color: #d4b07a;
  margin-bottom: 0.5rem;
}

.rooms-cta__content p:last-child {
  color: rgba(255, 255, 255, 0.88);
  max-width: 40ch;
  font-size: 0.92rem;
}

.contact {
  padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3.5rem);
  border-top: 1px solid rgba(62, 74, 52, 0.08);
  background: var(--white);
}

.contact__header {
  margin-bottom: 2rem;
}

.contact__header h2 {
  color: var(--olive);
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.contact__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
}

.contact__item {
  position: relative;
  background: #FAF8F5; /* Warm cream */
  border: 1px solid rgba(176, 141, 87, 0.22);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 
    0 8px 24px rgba(62, 74, 52, 0.02),
    0 1px 3px rgba(62, 74, 52, 0.01);
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

/* Corner brass brackets on hover for contact cards */
.contact__item::before,
.contact__item::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: var(--gold-light);
  border-style: solid;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
}

.contact__item::before {
  top: 8px;
  left: 8px;
  border-width: 1.5px 0 0 1.5px;
}

.contact__item::after {
  bottom: 8px;
  right: 8px;
  border-width: 0 1.5px 1.5px 0;
}

.contact__item:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: 
    0 12px 30px rgba(62, 74, 52, 0.05),
    0 0 0 3px rgba(176, 141, 87, 0.06);
}

.contact__item:hover::before,
.contact__item:hover::after {
  opacity: 1;
  transform: scale(1);
}

.contact__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(176, 141, 87, 0.08);
  color: var(--olive);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact__icon svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact__label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.2rem;
  font-weight: 600;
}

.contact__item a {
  color: var(--olive);
  font-weight: 500;
  transition: color 0.2s ease;
}

.contact__item a:hover {
  color: var(--gold-light);
}

.contact__item p {
  color: var(--text);
  font-size: 0.95rem;
  margin: 0;
}

@media (max-width: 1024px) {
  .grid-top {
    grid-template-columns: 1fr;
    height: auto;
  }

  .hero {
    height: 460px;
  }

  .side-stack {
    height: auto;
    min-height: 420px;
  }

  .hero__visual {
    justify-content: center;
    padding-bottom: 7rem;
  }

  .hero__visual img {
    width: min(80%, 520px);
    object-position: center;
  }

  .side-stack {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    border-left: 0;
    border-top: 1px solid rgba(62, 74, 52, 0.08);
  }

  .photo-card {
    min-height: 220px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .booking {
    justify-self: start;
    flex-wrap: wrap;
  }

  .rooms-grid {
    grid-template-columns: 1fr;
  }

  .contact__grid,
  .attractions__grid,
  .booking-form__grid,
  .home-teasers {
    grid-template-columns: 1fr;
  }

  .home-bottom {
    grid-template-columns: 1fr;
  }

  .home-booking {
    align-items: center;
    text-align: center;
    border-top: 1px solid rgba(62, 74, 52, 0.06);
  }

  .page-home .home-hero {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }

  .page-home .home-hero__content {
    grid-column: 1;
    grid-row: 2;
    max-width: none;
    padding-bottom: 1.5rem;
  }

  .page-home .hero__visual {
    grid-column: 1;
    grid-row: 1;
    height: clamp(280px, 42vw, 380px);
    padding: 1rem 1rem 0;
    justify-content: center;
  }

  .page-home .hero__visual::after {
    background: linear-gradient(
      0deg,
      var(--cream) 0%,
      rgba(242, 239, 233, 0.7) 30%,
      transparent 65%
    );
  }
}

@media (max-width: 768px) {
  :root {
    --sidebar-width: 0;
  }

  .layout {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 30;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(62, 74, 52, 0.15);
    border-radius: 10px;
    background: var(--cream);
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--olive);
    transition: transform 0.2s, opacity 0.2s;
  }

  .overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(44, 42, 38, 0.35);
    z-index: 25;
  }

  .overlay[hidden] {
    display: none;
  }

  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: min(280px, 85vw);
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    box-shadow: var(--shadow);
    z-index: 28; /* PONAD nakładką (overlay z-index:25), żeby dotyk trafiał w linki menu, a nie w overlay */
  }

  .sidebar.is-open {
    transform: translateX(0);
  }

  .hero {
    height: 420px;
  }

  .hero__visual img {
    width: min(85%, 380px);
  }

  .side-stack {
    grid-template-columns: 1fr;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
  }

  .feature__icon {
    margin: 0;
  }

}

.home-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-bottom: 1px solid rgba(62, 74, 52, 0.08);
}

.home-features .feature {
  background: var(--white);
  border: 1px solid rgba(62, 74, 52, 0.08);
  border-radius: 12px;
  padding: 1.5rem 1rem;
}

.map-embed {
  margin-top: 2rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(62, 74, 52, 0.1);
  box-shadow: var(--shadow);
  width: 100%;
}

.map-embed {
  cursor: pointer;
}

.map-embed iframe {
  width: 100%;
  height: clamp(280px, 40vw, 400px);
  border: 0;
  display: block;
  pointer-events: none; /* Disable scroll zoom hijacking by default */
  transition: opacity 0.3s ease;
}

.map-embed.is-active iframe {
  pointer-events: auto !important;
}

.site-footer--compact {
  margin-top: auto;
  padding-bottom: 2rem;
}

.main {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main--home {
  min-height: 0;
}

.home-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  border-top: 1px solid rgba(62, 74, 52, 0.06);
}

.home-intro {
  padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 3.5rem);
  background: var(--white);
}

.home-booking {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: clamp(1.75rem, 4vw, 2.5rem) clamp(2rem, 5vw, 4rem);
  background: var(--cream);
  min-width: min(100%, 320px);
}

.booking__script--home {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 0;
  text-align: center;
  width: 100%;
  animation: scriptGlow 4.5s ease-in-out infinite;
}

.home-booking .btn {
  align-self: center;
}

@keyframes scriptGlow {
  0%, 100% {
    text-shadow: 0 0 10px rgba(176, 141, 87, 0.15);
    transform: translateY(0) scale(1);
  }
  50% {
    text-shadow: 0 0 26px rgba(212, 176, 122, 0.5), 0 0 40px rgba(176, 141, 87, 0.15);
    transform: translateY(-2px) scale(1.02);
  }
}

.home-intro p {
  color: var(--muted);
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
}

.home-intro p:last-child {
  margin-bottom: 0;
}

.home-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  margin-top: 1.25rem;
}

.home-chips li {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--olive);
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(176, 141, 87, 0.35);
  border-radius: 999px;
  background: var(--white);
}

.page-home .home-hero__content .eyebrow {
  animation: homeFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.page-home .hero__script {
  animation: homeFadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both;
}

.page-home .hero__text {
  animation: homeFadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.7s both;
}

.page-home .home-hero__actions {
  animation: homeFadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.95s both;
}

.page-home .home-bottom {
  animation: homeFadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) 1.15s both;
}

.page-home .home-booking {
  animation: homeFadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) 1.35s both;
}

.page-home .home-chips li {
  animation: homeFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page-home .home-chips li:nth-child(1) { animation-delay: 1.35s; }
.page-home .home-chips li:nth-child(2) { animation-delay: 1.5s; }
.page-home .home-chips li:nth-child(3) { animation-delay: 1.65s; }


@keyframes homeFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-cta {
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 3.5rem);
  text-align: center;
  border-top: 1px solid rgba(62, 74, 52, 0.08);
}

.page-cta p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.gallery-empty {
  padding: clamp(3rem, 8vw, 5rem) clamp(1.5rem, 4vw, 3rem);
  text-align: center;
}

.gallery-empty__label {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--olive);
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.gallery-empty p {
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 1024px) {
  .home-features {
    grid-template-columns: 1fr;
  }
}

.why-us {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid rgba(62, 74, 52, 0.08);
}

.why-us__image {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(62, 74, 52, 0.08);
  box-shadow: var(--shadow);
}

.why-us__image img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  background: var(--white);
  padding: 1rem;
}

.why-us h2 {
  color: var(--olive);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  margin-bottom: 1rem;
}

.why-us p {
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.why-us__list {
  list-style: none;
  margin-top: 1rem;
}

.why-us__list li {
  padding: 0.4rem 0;
  padding-left: 1.2rem;
  position: relative;
  color: var(--text);
  font-size: 0.92rem;
}

.why-us__list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.7rem;
}

.reviews {
  padding: clamp(2rem, 4vw, 3rem);
  background: var(--white);
  border-top: 1px solid rgba(62, 74, 52, 0.08);
}

.reviews__header {
  text-align: center;
  margin-bottom: 2rem;
}

.reviews__header h2 {
  color: var(--olive);
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 0.5rem;
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.review-card {
  background: var(--cream);
  border: 1px solid rgba(62, 74, 52, 0.08);
  border-radius: 14px;
  padding: 1.75rem;
}

.review-card__stars {
  color: var(--gold);
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.review-card p {
  color: var(--muted);
  font-style: italic;
  font-size: 0.92rem;
  margin-bottom: 1rem;
  line-height: 1.65;
}

.review-card cite {
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--olive);
  font-weight: 500;
}

.pricing {
  padding: 0 clamp(1.5rem, 4vw, 3.5rem) 2rem;
  max-width: 720px;
}

.pricing h2 {
  color: var(--olive);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(62, 74, 52, 0.08);
  margin-bottom: 1rem;
}

.pricing-table th,
.pricing-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(62, 74, 52, 0.06);
  font-size: 0.9rem;
}

.pricing-table th {
  background: var(--olive);
  color: var(--gold-light);
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

.pricing-table tr:last-child td {
  border-bottom: 0;
}

.pricing-note {
  color: var(--muted);
  font-size: 0.85rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.gallery-item {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(62, 74, 52, 0.08);
  background: var(--white);
}

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-item figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.attraction-card__img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.attraction-card--with-img {
  padding: 0;
  overflow: hidden;
}

.attraction-card--with-img .attraction-card__body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.social-links a {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.5rem 0.9rem;
  border: 1px solid rgba(176, 141, 87, 0.35);
  border-radius: 999px;
  transition: background 0.25s ease, color 0.25s ease;
}

.social-links a:hover {
  background: rgba(176, 141, 87, 0.12);
  color: var(--olive);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(44, 42, 38, 0.88);
  display: grid;
  place-items: center;
  padding: 2rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(92vw, 1000px);
  max-height: 82vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  transition: opacity 0.3s ease;
}

.lightbox.is-loading img {
  opacity: 0;
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border: none;
  background: var(--cream);
  color: var(--olive);
  font-size: 1.5rem;
  border-radius: 50%;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .why-us,
  .reviews__grid {
    grid-template-columns: 1fr;
  }

  .gallery-item--wide {
    grid-column: span 1;
  }
}

/* ===== Galeria — karuzele per pokój (premium) ===== */
#room-carousels {
  padding: clamp(1.5rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  gap: clamp(3.5rem, 7vw, 6rem);
}

.room-gallery__head {
  text-align: center;
  margin-bottom: 1.6rem;
}

.room-gallery__index {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 0.95rem;
  letter-spacing: 0.35em;
  color: var(--gold);
  opacity: 0.7;
  margin-bottom: 0.3rem;
}

.room-gallery__head .eyebrow {
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
}

.room-gallery__head h2 {
  color: var(--olive);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin: 0.2rem 0 0.35rem;
}

/* botaniczny akcent pod tytułem */
.room-gallery__head h2::after {
  content: "❦";
  display: block;
  color: var(--gold);
  font-size: 1.1rem;
  margin-top: 0.5rem;
  opacity: 0.85;
}

.room-gallery__desc {
  color: var(--muted);
  font-size: 0.98rem;
  font-style: italic;
  max-width: 50ch;
  margin: 0 auto;
}

.room-gallery__tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
}

.room-gallery__tags li {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--olive);
  background: rgba(62, 74, 52, 0.07);
  border: 1px solid rgba(62, 74, 52, 0.1);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
}

.room-gallery__cta {
  text-align: center;
  margin-top: 1.5rem;
}

/* Galeria — placeholder „wkrótce" */
.gallery-soon {
  text-align: center;
  padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 4vw, 3rem) clamp(4rem, 9vw, 7rem);
}

.gallery-soon__mark {
  color: var(--gold);
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
}

.gallery-soon__label {
  font-family: "Cormorant Garamond", Georgia, serif;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--olive);
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.gallery-soon__text {
  color: var(--muted);
  font-style: italic;
  max-width: 44ch;
  margin: 0 auto;
}

.gallery-soon__text a {
  color: var(--gold);
  border-bottom: 1px solid rgba(176, 141, 87, 0.4);
}

.gallery-soon__text a:hover { color: var(--olive); }

.carousel {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid rgba(62, 74, 52, 0.1);
  box-shadow: 0 18px 44px -22px rgba(44, 42, 38, 0.3);
}

.carousel__viewport {
  overflow: hidden;
  touch-action: pan-y;
}

.carousel__track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel__slide {
  flex: 0 0 100%;
  margin: 0;
  position: relative;
  height: clamp(320px, 56vh, 600px);
  background: var(--cream);
}

/* zdjęcie w całości — jasny letterbox zlewa się z tłem strony */
.carousel__slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: clamp(0.75rem, 2.5vw, 2rem);
  display: block;
  cursor: zoom-in;
}

.carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: 1px solid rgba(62, 74, 52, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: var(--olive);
  font-size: 1.6rem;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(44, 42, 38, 0.15);
  transition: background 0.25s ease, transform 0.25s ease;
  z-index: 3;
}

.carousel__nav:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.07);
}

.carousel__nav--prev { left: clamp(0.6rem, 2vw, 1.1rem); }
.carousel__nav--next { right: clamp(0.6rem, 2vw, 1.1rem); }

.carousel__counter {
  position: absolute;
  bottom: 0.9rem;
  left: 1.1rem;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--olive);
  background: rgba(255, 255, 255, 0.85);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  z-index: 3;
}

.carousel__zoom {
  position: absolute;
  top: 0.9rem;
  right: 1.1rem;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(62, 74, 52, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: var(--olive);
  font-size: 1.05rem;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(44, 42, 38, 0.12);
  transition: background 0.25s ease, color 0.25s ease;
  z-index: 3;
}

.carousel__zoom:hover { background: var(--gold-light); }

/* Pasek miniatur pod sceną */
.carousel__thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.85rem 0.15rem 0.25rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(176, 141, 87, 0.5) transparent;
}
.carousel__thumbs::-webkit-scrollbar { height: 6px; }
.carousel__thumbs::-webkit-scrollbar-thumb { background: rgba(176, 141, 87, 0.45); border-radius: 999px; }

.carousel__thumb {
  flex: 0 0 auto;
  width: 90px;
  height: 64px;
  padding: 0;
  border: none;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.5;
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition: opacity 0.25s ease, outline-color 0.25s ease;
}

.carousel__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel__thumb:hover { opacity: 0.85; }
.carousel__thumb.is-active { opacity: 1; outline-color: var(--gold); }

@media (max-width: 600px) {
  .carousel__nav { width: 40px; height: 40px; font-size: 1.4rem; }
  .carousel__thumb { width: 70px; height: 50px; }
}

/* ===== Podświetlana karuzela „spotlight" (zielone tło, złota oprawa) ===== */
.spotlight {
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(176, 141, 87, 0.12), transparent 55%),
    var(--olive);
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem) clamp(3rem, 6vw, 4.5rem);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.spotlight__head .eyebrow { color: var(--gold-light); font-size: 0.7rem; letter-spacing: 0.28em; }
.spotlight__head h2 { color: #fff; font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin: 0.3rem 0 0; }
.spotlight__head h2::after { content: "❦"; display: block; color: var(--gold); font-size: 1rem; margin-top: 0.4rem; opacity: 0.85; }

.spotlight__stage { position: relative; max-width: 800px; margin: 1.75rem auto 0; }

.spotlight__glow {
  position: absolute;
  inset: -10% -6%;
  background: radial-gradient(circle at 50% 48%, var(--gold-glow), transparent 62%);
  filter: blur(12px);
  pointer-events: none;
}

.spotlight__frame {
  position: relative;
  height: clamp(280px, 42vw, 470px);
  border: 2px solid var(--gold);
  border-radius: 14px;
  overflow: hidden;
  background: #2b2a26;
  box-shadow:
    0 0 0 6px rgba(176, 141, 87, 0.14),
    0 26px 60px -18px rgba(0, 0, 0, 0.55);
}

.spotlight__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.spotlight__img.is-active { opacity: 1; }

.spotlight__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 1px solid rgba(212, 176, 122, 0.6);
  background: rgba(35, 36, 31, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--gold-light);
  font-size: 1.6rem;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.25s ease, transform 0.25s ease;
  z-index: 2;
}
.spotlight__nav:hover { background: var(--gold); color: var(--olive); transform: translateY(-50%) scale(1.08); }
.spotlight__nav--prev { left: clamp(0.6rem, 2vw, 1.1rem); }
.spotlight__nav--next { right: clamp(0.6rem, 2vw, 1.1rem); }

.spotlight__dots { display: flex; gap: 0.5rem; justify-content: center; margin-top: 1.3rem; }
.spotlight__dot {
  width: 8px; height: 8px; padding: 0; border: none;
  border-radius: 999px;
  background: rgba(212, 176, 122, 0.4);
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease;
}
.spotlight__dot:hover { background: rgba(212, 176, 122, 0.7); }
.spotlight__dot.is-active { background: var(--gold-light); width: 24px; }

@media (max-width: 600px) {
  .spotlight__nav { width: 40px; height: 40px; font-size: 1.4rem; }
}

/* Klikalny pasek nazw pokoi (strona Pokoje) */
.accent-band--nav a {
  color: var(--gold-light);
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.accent-band--nav a:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.6);
}
.room-gallery { scroll-margin-top: 1.5rem; }

/* ===== Lightbox — nawigacja ===== */
.lightbox__figure {
  margin: 0;
  display: grid;
  place-items: center;
  gap: 0.9rem;
}

.lightbox__caption {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: none;
  background: rgba(242, 239, 233, 0.92);
  color: var(--olive);
  font-size: 2rem;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox__nav:hover {
  background: var(--white);
}

.lightbox__nav--prev { left: clamp(0.75rem, 3vw, 2rem); }
.lightbox__nav--next { right: clamp(0.75rem, 3vw, 2rem); }

@media (max-width: 900px) {
  .gallery-grid {
    columns: 2;
    column-gap: 0.75rem;
  }

  .gallery-item {
    margin-bottom: 0.75rem;
  }
}

@media (max-width: 560px) {
  .gallery-grid {
    columns: 1;
  }

  .lightbox__nav {
    width: 42px;
    height: 42px;
    font-size: 1.6rem;
  }
}

/* ============================================================
   ROZBUDOWA: sekcje home, ruchomy pasek-galeria, pełna stopka,
   galeria edytorska, strona O nas
   ============================================================ */

/* Wspólny nagłówek sekcji */
.section-head {
  text-align: center;
  max-width: 58ch;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 3.75rem) clamp(1.5rem, 4vw, 3rem) 0.5rem;
}
.section-head .eyebrow { color: var(--gold); font-size: 0.7rem; letter-spacing: 0.28em; }
.section-head h2 { color: var(--olive); font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin: 0.3rem 0 0.4rem; }
.section-head h2::after {
  content: "" !important;
  display: block !important;
  width: 80px !important;
  height: 8px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 8'%3E%3Cpath d='M0,4 L35,4 L40,0 L45,4 L80,4' fill='none' stroke='%23b08d57' stroke-width='1'/%3E%3Cpolygon points='40,1 43,4 40,7 37,4' fill='%23b08d57'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  margin: 0.65rem auto 0 !important;
  opacity: 0.85 !important;
}
.section-head p { color: var(--muted); font-style: italic; }

/* Polecane pokoje na home (reużywa .rooms-grid/.room-card) */
.home-rooms.rooms-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.room-card { display: flex; flex-direction: column; }
.room-card__body { display: flex; flex-direction: column; flex: 1; }
.room-card__link {
  margin-top: auto;
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); display: inline-flex; align-items: center; gap: 0.4rem;
}
.room-card__link:hover { color: var(--olive); }

/* Korzyści (reużywa .home-features) */
.feature__icon { width: 42px; height: 42px; margin: 0 auto 0.8rem; color: var(--gold); }
.feature__icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.home-features .feature { text-align: center; }
.home-features .feature h3 { color: var(--olive); font-size: 1rem; margin-bottom: 0.35rem; }
.home-features .feature p { color: var(--muted); font-size: 0.85rem; line-height: 1.6; }

/* Akcent lokalizacji na home */
.home-spotlight {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch; border-top: 1px solid rgba(62, 74, 52, 0.08);
}
.home-spotlight__media { min-height: 300px; overflow: hidden; }
.home-spotlight__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-spotlight__body {
  padding: clamp(2rem, 4vw, 3.25rem);
  display: flex; flex-direction: column; justify-content: center;
  background: var(--olive); color: var(--white);
}
.home-spotlight__body .eyebrow { color: var(--gold-light); }
.home-spotlight__body h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0.3rem 0 0.8rem; }
.home-spotlight__body p { color: rgba(255, 255, 255, 0.82); margin-bottom: 1.3rem; }

/* ===== Ruchomy pasek-galeria (dół home) ===== */
.gallery-strip { padding: 0 0 clamp(2rem, 5vw, 3.5rem); overflow: hidden; }
.gallery-strip__mask {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
  overflow: hidden;
}
.gallery-strip__track {
  display: flex; gap: 1rem; width: max-content;
  animation: stripScroll 55s linear infinite;
}
.gallery-strip:hover .gallery-strip__track { animation-play-state: paused; }
.gallery-strip__item {
  flex: 0 0 auto;
  width: clamp(160px, 22vw, 230px);
  height: clamp(108px, 15vw, 150px);
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 8px 22px rgba(44, 42, 38, 0.1);
}
.gallery-strip__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes stripScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .gallery-strip__track { animation: none; }
}

/* ===== Pełna stopka ===== */
.site-footer--full { margin-top: auto; background: var(--olive); color: rgba(255, 255, 255, 0.8); }
.footer__inner {
  display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 2rem;
  padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3rem) 1.5rem;
}
.footer__brand-name { font-family: "Cormorant Garamond", Georgia, serif; color: #fff; font-size: 1.3rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.6rem; }
.footer__tagline { font-style: italic; font-size: 0.9rem; max-width: 34ch; }
.footer__col h4 { color: var(--gold-light); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 0.9rem; }
.footer__links, .footer__contact { list-style: none; display: grid; gap: 0.55rem; }
.footer__links a, .footer__contact a { color: rgba(255, 255, 255, 0.8); font-size: 0.9rem; }
.footer__links a:hover, .footer__contact a:hover { color: #fff; }
.footer__contact { font-size: 0.9rem; }
.footer__cta { margin-top: 1.1rem; }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; justify-content: space-between;
  padding: 1rem clamp(1.5rem, 4vw, 3rem);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem; color: rgba(255, 255, 255, 0.6);
}

/* ===== Galeria edytorska (strona Galeria) ===== */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
  padding: clamp(1.5rem, 4vw, 3rem);
}
.photo-grid__item {
  margin: 0;
  cursor: zoom-in;
  position: relative;
}
.photo-grid__item img {
  display: block;
}
.gallery-note { text-align: center; color: var(--muted); font-style: italic; font-size: 0.9rem; padding: 0 clamp(1.5rem, 4vw, 3rem) 1.5rem; }
.gallery-note a { color: var(--gold); border-bottom: 1px solid rgba(176, 141, 87, 0.4); }
.gallery-note a:hover { color: var(--olive); }

/* ===== Responsywność dodatków ===== */
@media (max-width: 1024px) {
  .home-rooms.rooms-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-features { grid-template-columns: 1fr 1fr; }
  .home-spotlight { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .home-rooms.rooms-grid { grid-template-columns: 1fr; }
  .home-features { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom { justify-content: flex-start; }
  .gallery-strip__item { width: 150px; height: 100px; }
  .photo-grid { gap: 0.6rem; }
}

/* ===== SPA Layout & Section Transitions ===== */
.page-section {
  display: none;
}

.page-section.is-active {
  display: block;
}

/* Base active fade keyframe for background/outer container */
.page-section.is-active {
  animation: fadeInContainer 0.35s ease-out forwards;
}

.page-section.is-leaving {
  display: block;
  animation: fadeOutSection 0.3s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* Staggered entry animations for page child elements */
.is-active .page-header {
  opacity: 0;
  animation: fadeInSection 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.08s forwards;
}

.is-active .accent-band {
  opacity: 0;
  animation: fadeInSection 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.14s forwards;
}

.is-active .area-page__block:nth-child(1) {
  opacity: 0;
  animation: fadeInSection 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.18s forwards;
}

.is-active .area-page__block:nth-child(2) {
  opacity: 0;
  animation: fadeInSection 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.26s forwards;
}

.is-active .area-page__block:nth-child(3) {
  opacity: 0;
  animation: fadeInSection 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.34s forwards;
}

.is-active .attractions__grid {
  opacity: 0;
  animation: fadeInSection 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.18s forwards;
}

.is-active .photo-grid {
  opacity: 0;
  animation: fadeInSection 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.18s forwards;
}

.is-active .booking-section {
  opacity: 0;
  animation: fadeInSection 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.18s forwards;
}

.is-active .pricing {
  opacity: 0;
  animation: fadeInSection 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.26s forwards;
}

.is-active .contact__grid {
  opacity: 0;
  animation: fadeInSection 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.18s forwards;
}

.is-active .map-embed {
  opacity: 0;
  animation: fadeInSection 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.34s forwards;
}

.is-active .contact__social {
  opacity: 0;
  animation: fadeInSection 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.26s forwards;
}

.is-active .room-gallery {
  opacity: 0;
  animation: fadeInSection 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.18s forwards;
}

@keyframes fadeInContainer {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInSection {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOutSection {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-12px);
  }
}

/* Page Title Gold Line Ornament Animation */
.header-divider {
  position: relative;
  width: 100%;
  max-width: 200px;
  height: 4px;
  margin: 0.5rem 0 1.25rem;
  overflow: hidden;
}

.page-header .header-divider {
  margin-bottom: 1.5rem;
}

.header-divider--left {
  margin-left: 0;
}

.gold-line-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.gold-line-svg path {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
}

.is-active .gold-line-svg path {
  animation: drawLine 1.4s cubic-bezier(0.25, 1, 0.5, 1) 0.3s forwards;
}

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

/* Illustrated Hero Visual Breath loop */
.page-home .hero__visual {
  animation: visualFloat 16s ease-in-out infinite alternate;
}

@keyframes visualFloat {
  0% {
    transform: translateY(0) rotate(0.1deg);
  }
  50% {
    transform: translateY(-6px) rotate(-0.15deg);
  }
  100% {
    transform: translateY(4px) rotate(0.15deg);
  }
}

/* Fixed 16:9 viewport setup on desktop */
@media (min-width: 1025px) {
  .layout {
    height: 100vh;
    overflow: hidden;
  }
  
  .main {
    height: 100vh;
    overflow-y: auto;
    scroll-behavior: smooth;
  }

  #gosciniec {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    justify-content: space-between;
  }

  .home-hero {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.15fr);
    align-items: center;
    min-height: 0;
    height: auto !important;
    overflow: hidden;
  }

  .home-hero__content {
    align-self: center !important;
    padding-bottom: 2rem !important;
  }

  .hero__visual {
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding-bottom: 0 !important;
  }

  .hero__visual img {
    max-height: 95% !important;
    object-fit: contain;
    object-position: bottom right;
  }
  
  /* Smooth mouse moves */
  .hero__visual img,
  .home-hero__content {
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease;
  }
}

/* Sidebar Footer & Copyright Styling */
.sidebar {
  justify-content: space-between;
}

.sidebar__top {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar__footer {
  margin-top: auto;
  border-top: 1px solid rgba(62, 74, 52, 0.08);
  padding-top: 1.25rem;
}

.sidebar__copyright {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-align: center;
  font-weight: 400;
  margin: 0;
}

/* Active sidebar item enhancements */
.nav-link.is-active svg {
  color: var(--gold-light);
  transform: scale(1.12);
  filter: drop-shadow(0 0 5px var(--gold-glow));
}

/* ===== Compact Green Interiors Preview Band & Light shimmer scan ===== */
.interiors-preview {
  position: relative;
  background: var(--olive);
  color: var(--white);
  padding: 1.5rem clamp(1.5rem, 4vw, 3.5rem);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-columns: 320px 1fr;
  align-items: center;
  gap: 2rem;
  flex-shrink: 0;
  z-index: 5;
  overflow: hidden;
}

.interiors-preview::after {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
  transform: skewX(-25deg);
  pointer-events: none;
  z-index: 1;
}

.is-active.interiors-preview::after {
  animation: shimmerLight 8s ease-in-out infinite;
}

@keyframes shimmerLight {
  0% { left: -50%; }
  30% { left: 150%; }
  100% { left: 150%; }
}

.interiors-preview__info h3 {
  color: var(--white);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  line-height: 1.2;
  margin: 0.15rem 0 0.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.interiors-preview__info .eyebrow--light {
  color: var(--gold-light);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0;
}

.interiors-preview__text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  font-weight: 300;
}

.interiors-preview__info .btn {
  margin-top: 0.25rem;
}

.interiors-preview__thumbnails {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  z-index: 2;
}

.thumb-card {
  position: relative;
  height: 110px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(212, 176, 122, 0.2);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.thumb-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  filter: brightness(0.95);
  opacity: 1;
  z-index: 1;
}

.thumb-card img.is-new {
  opacity: 0;
  z-index: 2;
}

.thumb-card img.is-new.fade-in {
  opacity: 1;
}

.thumb-card span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(44, 42, 38, 0.9) 0%, rgba(44, 42, 38, 0.4) 60%, transparent 100%);
  color: var(--white);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.6rem 0.75rem 0.4rem;
  text-align: center;
  transition: color 0.3s ease;
  z-index: 3;
}

.thumb-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--gold-light);
  border-radius: 8px;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
  z-index: 3;
}

.thumb-card:hover {
  transform: translateY(-4px) !important;
  border-color: var(--gold-light) !important;
  box-shadow: 0 10px 24px rgba(26, 33, 21, 0.45) !important;
}

.thumb-card:hover::before {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 0 14px var(--gold-glow);
}

.thumb-card:hover img {
  transform: scale(1.08);
  filter: brightness(1.05);
}

.thumb-card:hover span {
  color: var(--gold-light);
}

/* Staggered entrance animations */
.is-active .thumb-card {
  opacity: 0;
  transform: translateY(15px);
  animation: revealCard 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
.is-active .thumb-card:nth-child(1) { animation-delay: 0.35s; }
.is-active .thumb-card:nth-child(2) { animation-delay: 0.45s; }
.is-active .thumb-card:nth-child(3) { animation-delay: 0.55s; }
.is-active .thumb-card:nth-child(4) { animation-delay: 0.65s; }

@keyframes revealCard {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.is-active .photo-grid__item {
  opacity: 0;
  transform: scale(0.97) translateY(12px);
  animation: revealGalleryItem 0.7s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
.is-active .photo-grid__item:nth-child(1) { animation-delay: 0.1s; }
.is-active .photo-grid__item:nth-child(2) { animation-delay: 0.14s; }
.is-active .photo-grid__item:nth-child(3) { animation-delay: 0.18s; }
.is-active .photo-grid__item:nth-child(4) { animation-delay: 0.22s; }
.is-active .photo-grid__item:nth-child(5) { animation-delay: 0.26s; }
.is-active .photo-grid__item:nth-child(6) { animation-delay: 0.3s; }
.is-active .photo-grid__item:nth-child(7) { animation-delay: 0.34s; }
.is-active .photo-grid__item:nth-child(8) { animation-delay: 0.38s; }
.is-active .photo-grid__item:nth-child(9) { animation-delay: 0.42s; }
.is-active .photo-grid__item:nth-child(10) { animation-delay: 0.46s; }
.is-active .photo-grid__item:nth-child(11) { animation-delay: 0.5s; }
.is-active .photo-grid__item:nth-child(12) { animation-delay: 0.54s; }
.is-active .photo-grid__item:nth-child(13) { animation-delay: 0.58s; }
.is-active .photo-grid__item:nth-child(14) { animation-delay: 0.62s; }

@keyframes revealGalleryItem {
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Gallery Hover Image Tint Overlay */
.photo-grid__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(62, 74, 52, 0.35));
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.photo-grid__item:hover::after {
  opacity: 1;
}

/* Premium Form Focus States */
.booking-form__field input,
.booking-form__field select,
.booking-form__field textarea {
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.booking-form__field input:focus,
.booking-form__field select:focus,
.booking-form__field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 176, 122, 0.2);
  background-color: var(--white);
}

/* Accessibility: Reduced Motion overrides */
@media (prefers-reduced-motion: reduce) {
  .letter {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
  }
  .page-section,
  .page-section.is-active,
  .page-section.is-leaving {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .gold-line-svg path {
    stroke-dashoffset: 0 !important;
    animation: none !important;
  }
  .page-home .hero__visual {
    animation: none !important;
  }
  .thumb-card,
  .is-active .thumb-card,
  .photo-grid__item,
  .is-active .photo-grid__item {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .interiors-preview::after,
  .is-active.interiors-preview::after {
    animation: none !important;
    display: none !important;
  }
}

/* Responsiveness for Interiors Preview */
@media (max-width: 1024px) {
  .interiors-preview {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2.5rem clamp(1.5rem, 4vw, 3rem);
  }
  .interiors-preview__thumbnails {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
  .thumb-card {
    height: auto;
    aspect-ratio: 3 / 2;
  }
}

@media (max-width: 480px) {
  .interiors-preview__thumbnails {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }
  .thumb-card {
    height: auto;
    aspect-ratio: 3 / 2;
  }
}

/* ===== Rooms Section Layout & Styling ===== */
#pokoje {
  background: linear-gradient(180deg, #F2EFE9 0%, #EAE7DF 100%);
  padding-bottom: 3rem;
}

.room-gallery {
  padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3.5rem);
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  min-width: 0;
}

/* FIX overflow na mobile: #room-carousels jest flexem, więc karuzela jako
   element flex ma min-width:auto i nie kurczy się poniżej szerokości zdjęć,
   wypychając całą stronę poza ekran. Wymuszamy możliwość kurczenia. */
#room-carousels { width: 100%; min-width: 0; }
.room-gallery__layout,
.room-gallery__visual-panel,
.room-gallery .carousel,
.carousel,
.carousel__viewport,
.carousel__track {
  min-width: 0;
  max-width: 100%;
}

@media (min-width: 1025px) {
  .room-gallery__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    gap: 3rem;
    align-items: start;
  }
}

/* Warm Info Card */
.room-gallery__info-card {
  position: relative;
  background: #FAF8F5; /* Warm cream */
  border: 1px solid rgba(176, 141, 87, 0.22);
  border-radius: 12px;
  padding: 2.25rem 2rem;
  box-shadow: 
    0 10px 30px rgba(62, 74, 52, 0.03),
    0 1px 3px rgba(62, 74, 52, 0.01);
  overflow: hidden;
}

/* Corner brass bracket accents */
.room-gallery__info-card::before,
.room-gallery__info-card::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--gold-light);
  border-style: solid;
  pointer-events: none;
}

.room-gallery__info-card::before {
  top: 12px;
  left: 12px;
  border-width: 1.5px 0 0 1.5px;
}

.room-gallery__info-card::after {
  bottom: 12px;
  right: 12px;
  border-width: 0 1.5px 1.5px 0;
}

.room-gallery__index {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.4rem;
  color: rgba(62, 74, 52, 0.12);
  font-weight: 600;
  line-height: 1;
  pointer-events: none;
}

.room-gallery__subtitle {
  font-family: "Raleway", sans-serif;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.15rem;
}

.room-gallery__info-card h2 {
  color: var(--olive);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 500;
  margin: 0;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.room-gallery__desc {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

/* Feature pills list */
.room-gallery__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
}

.room-gallery__tags li {
  background: #FAF8F5; /* Warm cream */
  color: var(--olive);
  border: 1px solid rgba(176, 141, 87, 0.22);
  border-radius: 6px;
  padding: 0.35rem 0.75rem;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(62, 74, 52, 0.01);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.room-gallery__tags li:hover {
  transform: translateY(-1px);
  border-color: var(--gold);
  box-shadow: 0 4px 8px rgba(62, 74, 52, 0.04);
}

/* Room Carousel Framing */
.room-gallery .carousel {
  border: 2px solid var(--gold);
  border-radius: 12px;
  overflow: hidden;
  background: var(--cream);
  box-shadow: 
    0 0 0 5px rgba(176, 141, 87, 0.12),
    0 16px 40px rgba(62, 74, 52, 0.08);
  margin-bottom: 0.75rem;
  position: relative;
}

.room-gallery .carousel__nav {
  background: rgba(242, 239, 233, 0.85) !important;
  color: var(--olive) !important;
  border: 1px solid rgba(176, 141, 87, 0.35) !important;
  width: 38px;
  height: 38px;
  font-size: 1.4rem;
}

.room-gallery .carousel__nav:hover {
  background: var(--olive) !important;
  color: var(--white) !important;
  border-color: var(--olive) !important;
}

.room-gallery .carousel__counter {
  background: rgba(62, 74, 52, 0.82) !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.7rem;
}

.room-gallery .carousel__thumbs {
  margin-top: 0.75rem;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.2rem 0.1rem 0.4rem;
  scrollbar-width: thin;
}

.room-gallery .carousel__thumb {
  flex-shrink: 0;
  width: 60px;
  height: 44px;
  border-radius: 4px;
  overflow: hidden;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: border-color 0.25s ease, transform 0.25s ease;
  background: none;
  padding: 0;
}

.room-gallery .carousel__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.room-gallery .carousel__thumb:hover {
  transform: translateY(-1px);
}

.room-gallery .carousel__thumb.is-active {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(176, 141, 87, 0.2);
}

.room-gallery__cta {
  margin-top: 0.5rem;
}

.room-gallery__cta .btn {
  background: var(--olive);
  color: var(--white);
  border: 1.5px solid var(--olive);
  width: 100%;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 0.95rem 1.5rem;
}

.room-gallery__cta .btn:hover {
  background: var(--cream);
  color: var(--olive);
  border-color: var(--gold);
  box-shadow: 0 6px 18px rgba(62, 74, 52, 0.12);
}

/* Entrance animations for Pokoje page */
.is-active .room-gallery__visual-panel {
  opacity: 0;
  transform: translateY(12px);
  animation: revealVisualPanel 0.7s cubic-bezier(0.25, 1, 0.5, 1) 0.1s forwards;
}

.is-active .room-gallery__info-card {
  opacity: 0;
  transform: translateY(15px);
  animation: revealInfoCard 0.7s cubic-bezier(0.25, 1, 0.5, 1) 0.25s forwards;
}

@keyframes revealVisualPanel {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes revealInfoCard {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Reduced Motion Settings */
@media (prefers-reduced-motion: reduce) {
  .is-active .room-gallery__visual-panel,
  .is-active .room-gallery__info-card {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* Mobile Responsiveness for Rooms page */
@media (max-width: 1024px) {
  .room-gallery__layout {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
  }
  
  .room-gallery__info-card {
    padding: 1.75rem 1.5rem;
  }
  
  .room-gallery__index {
    top: 1rem;
    right: 1.25rem;
    font-size: 2rem;
  }
}

/* ============================================================
   ROLLOUT: VISUAL BENCHMARK STYLES ACROSS ALL PAGES
   ============================================================ */

/* 1. Gościniec / Home Card Refinements */
@media (min-width: 1025px) {
  .home-hero__content {
    background: #FAF8F5 !important; /* Warm cream card */
    border: 1px solid rgba(176, 141, 87, 0.22) !important;
    border-radius: 12px !important;
    padding: 2.75rem 2.5rem !important;
    box-shadow: 
      0 12px 36px rgba(62, 74, 52, 0.04),
      0 1px 3px rgba(62, 74, 52, 0.01) !important;
    margin-left: clamp(2rem, 5vw, 4rem) !important;
    max-width: 540px !important;
    position: relative !important;
  }
  
  /* Corner brass brackets for home content card */
  .home-hero__content::before,
  .home-hero__content::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    border-color: var(--gold-light);
    border-style: solid;
    pointer-events: none;
    z-index: 5;
  }
  
  .home-hero__content::before {
    top: 12px;
    left: 12px;
    border-width: 1.5px 0 0 1.5px;
  }
  
  .home-hero__content::after {
    bottom: 12px;
    right: 12px;
    border-width: 0 1.5px 1.5px 0;
  }
}

@media (max-width: 1024px) {
  .home-hero__content {
    background: #FAF8F5 !important;
    border: 1px solid rgba(176, 141, 87, 0.18) !important;
    border-radius: 12px !important;
    padding: 2.25rem 1.75rem !important;
    margin: 1.5rem clamp(1rem, 4vw, 2.5rem) !important;
    box-shadow: 0 8px 24px rgba(62, 74, 52, 0.03) !important;
    position: relative !important;
  }
  .home-hero__content::before,
  .home-hero__content::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    border-color: var(--gold-light);
    border-style: solid;
    pointer-events: none;
    z-index: 5;
  }
  .home-hero__content::before {
    top: 10px;
    left: 10px;
    border-width: 1.5px 0 0 1.5px;
  }
  .home-hero__content::after {
    bottom: 10px;
    right: 10px;
    border-width: 0 1.5px 1.5px 0;
  }
}

/* 2. O Nas & Okolica Editorial Layout */
@media (min-width: 769px) {
  .area-page {
    display: grid !important;
    grid-template-columns: repeat(12, 1fr) !important;
    gap: 2.5rem 2rem !important;
    max-width: 1100px !important;
    margin: 0 auto !important;
    align-items: start !important;
  }
  
  .area-page__block {
    grid-column: 1 / 8 !important;
    margin-bottom: 0 !important;
  }
  
  .area-page__block--dark {
    grid-column: 5 / 13 !important;
    margin-top: 3rem !important; /* staggered shift downward */
    margin-bottom: 0 !important;
  }
  
  .area-page__block:last-child {
    grid-column: 2 / 10 !important;
    margin-top: 1.5rem !important;
    margin-bottom: 0 !important;
  }
}

/* Botanical ornament decoration styling */
.card-ornament {
  color: var(--gold-light);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -0.25rem;
  margin-bottom: 1rem;
  opacity: 0.85;
}
.card-ornament .leaf-svg {
  width: 20px;
  height: 20px;
  transform: rotate(-15deg);
  transition: transform 0.4s ease, color 0.4s ease;
}
.area-page__block:hover .card-ornament .leaf-svg {
  transform: rotate(10deg) scale(1.1);
  color: var(--gold);
}
.area-page__block--dark .card-ornament {
  color: var(--gold-light);
}

/* 3. Map Frame Styling */
.map-embed {
  border: 2px solid var(--gold-light) !important;
  box-shadow: 
    0 0 0 5px rgba(176, 141, 87, 0.12),
    0 16px 40px rgba(62, 74, 52, 0.08) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
}
.map-embed:hover {
  border-color: var(--gold) !important;
  box-shadow: 
    0 0 0 6px rgba(176, 141, 87, 0.18),
    0 20px 48px rgba(62, 74, 52, 0.12) !important;
}

/* 4. Attractions Card Upgrades */
.attraction-card__header {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  margin-bottom: 0.5rem !important;
}
.attraction-card__icon {
  width: 36px !important;
  height: 36px !important;
  color: var(--gold) !important;
  display: grid !important;
  place-items: center !important;
  flex-shrink: 0 !important;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s ease !important;
}
.attraction-card__icon svg {
  width: 24px !important;
  height: 24px !important;
}
.attraction-card:hover .attraction-card__icon {
  transform: scale(1.18) rotate(5deg) !important;
  color: var(--gold-light) !important;
}
.attraction-card h3 {
  margin-bottom: 0 !important;
}
.attraction-card__dist {
  margin-bottom: 0.85rem !important;
  border-bottom: 1.5px solid var(--gold-light) !important;
  font-weight: 600 !important;
}
.attraction-card p:last-child {
  border-top: 1px dashed rgba(176, 141, 87, 0.22) !important;
  padding-top: 0.85rem !important;
  margin-top: 0.5rem !important;
}

/* 5. Gallery Frame Styling (matches Pokoje carousel design) */
.photo-grid__item {
  aspect-ratio: 1 / 1 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  border: 1.5px solid var(--gold-light) !important;
  background: var(--cream) !important;
  padding: 0 !important;
  box-shadow: 
    0 0 0 4px rgba(176, 141, 87, 0.06),
    0 8px 24px rgba(62, 74, 52, 0.04) !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease !important;
}
.photo-grid__item img {
  border-radius: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.photo-grid__item:hover {
  transform: translateY(-4px) !important;
  border-color: var(--gold) !important;
  box-shadow: 
    0 0 0 6px rgba(176, 141, 87, 0.12),
    0 16px 36px rgba(62, 74, 52, 0.08) !important;
}
.photo-grid__item:hover img {
  transform: scale(1.05) !important;
}
.photo-grid__item::after {
  display: none !important;
}

/* 6. Luxury Pricing Menu Layout (replacing old pricing table) */
.pricing-menu {
  background: #FAF8F5 !important;
  border: 1px solid rgba(176, 141, 87, 0.22) !important;
  border-radius: 16px !important;
  padding: clamp(2.5rem, 5vw, 4.25rem) clamp(1.75rem, 4vw, 3.25rem) !important;
  max-width: 680px !important;
  margin: 0 auto !important;
  position: relative !important;
  box-shadow: 
    0 0 0 6px rgba(176, 141, 87, 0.04),
    0 24px 64px rgba(62, 74, 52, 0.04) !important;
}

/* Elegant brass corner brackets for cennik card */
.pricing-menu::before,
.pricing-menu::after {
  content: "" !important;
  position: absolute !important;
  width: 16px !important;
  height: 16px !important;
  border-color: var(--gold-light) !important;
  border-style: solid !important;
  pointer-events: none !important;
  z-index: 2 !important;
}
.pricing-menu::before {
  top: 14px !important;
  left: 14px !important;
  border-width: 1.5px 0 0 1.5px !important;
}
.pricing-menu::after {
  bottom: 14px !important;
  right: 14px !important;
  border-width: 0 1.5px 1.5px 0 !important;
}

.pricing-menu__ornament {
  color: var(--gold-light) !important;
  display: flex !important;
  justify-content: center !important;
  margin-bottom: 0.75rem !important;
}

.pricing-menu__ornament .leaf-svg {
  width: 28px !important;
  height: 28px !important;
  transform: rotate(-15deg) !important;
  animation: floatLeaf 4s ease-in-out infinite !important;
}

@keyframes floatLeaf {
  0% { transform: translateY(0) rotate(-15deg); }
  50% { transform: translateY(-4px) rotate(-8deg); }
  100% { transform: translateY(0) rotate(-15deg); }
}

.pricing-menu h2 {
  text-align: center !important;
  color: var(--olive) !important;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem) !important;
  margin: 0 0 0.25rem 0 !important;
  letter-spacing: 0.04em !important;
}

.pricing-menu__subtitle {
  text-align: center !important;
  font-family: "Raleway", system-ui, sans-serif !important;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  color: var(--gold) !important;
  margin-top: 0 !important;
  margin-bottom: 2.75rem !important;
}

.pricing-menu__list {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.85rem !important;
}

.pricing-menu__item {
  display: grid !important;
  grid-template-columns: auto 1fr auto !important;
  grid-template-areas:
    "title dots price"
    "detail detail detail" !important;
  align-items: baseline !important;
  row-gap: 0.35rem !important;
}

.pricing-menu__title {
  grid-area: title !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 1.25rem !important;
  font-weight: 500 !important;
  color: var(--olive) !important;
  letter-spacing: 0.02em !important;
}

.pricing-menu__dots {
  grid-area: dots !important;
  border-bottom: 1px dotted rgba(176, 141, 87, 0.45) !important;
  margin: 0 0.85rem !important;
  align-self: stretch !important;
  position: relative !important;
  top: -4px !important;
}

.pricing-menu__price {
  grid-area: price !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 1.35rem !important;
  font-weight: 600 !important;
  color: var(--gold) !important;
  white-space: nowrap !important;
}

.pricing-menu__detail {
  grid-area: detail !important;
  font-family: "Raleway", system-ui, sans-serif !important;
  font-size: 0.82rem !important;
  color: var(--muted) !important;
  font-style: italic !important;
  line-height: 1.4 !important;
}

/* 7. Contact page social block & cards styling */
.contact__social {
  text-align: center !important;
  margin-top: 2rem !important;
  padding: 1.75rem !important;
  background: #FAF8F5 !important;
  border: 1px solid rgba(176, 141, 87, 0.2) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 24px rgba(62, 74, 52, 0.02) !important;
}
.contact__social p {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 1.15rem !important;
  color: var(--olive) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  margin-bottom: 1rem !important;
}
.contact__social .social-links {
  justify-content: center !important;
  margin-top: 0 !important;
}

/* 8. Card Staggered Entrance Reveal Animations */
.is-active .area-page__block,
.is-active .attraction-card,
.is-active .booking-form,
.is-active .pricing,
.is-active .contact__item,
.is-active .contact__social,
.is-active .map-embed {
  opacity: 0;
  transform: translateY(15px);
  animation: revealCard 0.65s cubic-bezier(0.25, 1, 0.5, 1) forwards !important;
}

/* Stagger delays */
.is-active .area-page__block:nth-child(1) { animation-delay: 0.15s !important; }
.is-active .area-page__block:nth-child(2) { animation-delay: 0.3s !important; }
.is-active .area-page__block:nth-child(3) { animation-delay: 0.45s !important; }

.is-active .attraction-card:nth-child(1) { animation-delay: 0.08s !important; }
.is-active .attraction-card:nth-child(2) { animation-delay: 0.12s !important; }
.is-active .attraction-card:nth-child(3) { animation-delay: 0.16s !important; }
.is-active .attraction-card:nth-child(4) { animation-delay: 0.2s !important; }
.is-active .attraction-card:nth-child(5) { animation-delay: 0.24s !important; }
.is-active .attraction-card:nth-child(6) { animation-delay: 0.28s !important; }
.is-active .attraction-card:nth-child(7) { animation-delay: 0.32s !important; }
.is-active .attraction-card:nth-child(8) { animation-delay: 0.36s !important; }

.is-active .booking-form { animation-delay: 0.15s !important; }
.is-active .pricing { animation-delay: 0.3s !important; }

.is-active .contact__item:nth-child(1) { animation-delay: 0.08s !important; }
.is-active .contact__item:nth-child(2) { animation-delay: 0.12s !important; }
.is-active .contact__item:nth-child(3) { animation-delay: 0.16s !important; }
.is-active .contact__item:nth-child(4) { animation-delay: 0.2s !important; }
.is-active .contact__item:nth-child(5) { animation-delay: 0.24s !important; }
.is-active .contact__item:nth-child(6) { animation-delay: 0.28s !important; }
.is-active .contact__social { animation-delay: 0.35s !important; }
.is-active .contact--page .map-embed { animation-delay: 0.4s !important; }

/* Extended Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .is-active .area-page__block,
  .is-active .attraction-card,
  .is-active .booking-form,
  .is-active .pricing,
  .is-active .contact__item,
  .is-active .contact__social,
  .is-active .map-embed,
  .home-hero__content {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* ============================================================
   TYPOGRAPHY STANDARDIZATION & FOOTER REDESIGN
   ============================================================ */

/* 1. Global Font Standardization to prevent fallback discrepancies */
p, li, input, select, textarea, option, .pricing-table td, .pricing-note {
  font-family: "Raleway", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

h1, h2, h3, h4, h5, h6, .eyebrow, .booking__title, .page-header h1, .teaser-card h2, .room-gallery__info-card h2, .sidebar__logo a, .nav-link {
  font-family: "Cormorant Garamond", Georgia, serif !important;
}

/* 2. Premium Redesigned Footer Styling */
.site-footer--full {
  background: var(--olive) !important;
  color: rgba(255, 255, 255, 0.75) !important;
  border-top: 1px solid var(--gold) !important;
  padding: 0 !important;
  margin-top: auto !important;
}

.footer__inner {
  display: grid !important;
  grid-template-columns: 1.5fr 1fr 1.2fr !important;
  gap: 3rem 2rem !important;
  padding: 4rem clamp(1.5rem, 4vw, 3.5rem) 3rem !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}

.footer__brand {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.25rem !important;
  align-items: flex-start !important;
}

.footer__brand-name {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  color: var(--white) !important;
  font-size: 1.4rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  margin: 0 !important;
  white-space: normal !important; /* może się zawijać — nie nachodzi na NAWIGACJA/KONTAKT przy wąskiej stopce */
  position: relative !important;
  padding-bottom: 0.75rem !important;
}

/* Elegant gold line under footer brand name */
.footer__brand-name::after {
  content: "" !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 60px !important;
  height: 1.5px !important;
  background: linear-gradient(90deg, var(--gold-light), transparent) !important;
}

.footer__tagline {
  font-family: "Raleway", system-ui, sans-serif !important;
  font-size: 0.85rem !important;
  font-style: normal !important; /* Make it clean and readable, not italic */
  line-height: 1.65 !important;
  color: rgba(255, 255, 255, 0.65) !important;
  max-width: 32ch !important;
  margin: 0 !important;
  font-weight: 300 !important;
}

.footer__col {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.5rem !important;
}

.footer__col h4 {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  color: var(--gold-light) !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  margin: 0 !important;
  position: relative !important;
  padding-bottom: 0.5rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  width: max-content !important;
  min-width: 100px !important;
}

.footer__links, 
.footer__contact {
  list-style: none !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.65rem !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer__links a {
  font-family: "Raleway", system-ui, sans-serif !important;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: rgba(255, 255, 255, 0.75) !important;
  transition: color 0.25s ease, padding-left 0.25s ease !important;
  display: inline-block !important;
}

.footer__links a:hover {
  color: var(--gold-light) !important;
  padding-left: 4px !important;
}

.footer__contact li {
  font-family: "Raleway", system-ui, sans-serif !important;
  font-size: 0.85rem !important;
  color: rgba(255, 255, 255, 0.7) !important;
  line-height: 1.5 !important;
}

.footer__contact a {
  color: rgba(255, 255, 255, 0.8) !important;
  transition: color 0.2s ease !important;
}

.footer__contact a:hover {
  color: var(--gold-light) !important;
}

.footer__cta {
  margin-top: 0.5rem !important;
  background: transparent !important;
  color: var(--gold-light) !important;
  border: 1.5px solid rgba(212, 176, 122, 0.4) !important;
  font-weight: 500 !important;
  padding: 0.75rem 1.25rem !important;
  font-size: 0.75rem !important;
  border-radius: 4px !important;
  transition: all 0.3s ease !important;
}

.footer__cta:hover {
  background: var(--gold-light) !important;
  color: var(--olive) !important;
  border-color: var(--gold-light) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(212, 176, 122, 0.15) !important;
}

.footer__bottom {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 1.5rem clamp(1.5rem, 4vw, 3.5rem) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  font-family: "Raleway", system-ui, sans-serif !important;
  font-size: 0.75rem !important;
  color: rgba(255, 255, 255, 0.45) !important;
  font-weight: 300 !important;
  letter-spacing: 0.05em !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  width: 100% !important;
  min-width: 0 !important;
}

.footer__bottom span {
  display: block !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow-wrap: anywhere !important;
}

/* Stopka (grid/flex) nie może wypychać layoutu na mobile */
.site-footer--full,
.footer__inner,
.footer__brand,
.footer__col {
  min-width: 0 !important;
  max-width: 100% !important;
}

@media (max-width: 768px) {
  .footer__inner {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
    padding: 3rem 1.5rem 2rem !important;
  }
  
  .footer__bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
    padding: 1.5rem !important;
  }

  /* Nazwa marki w stopce ma nowrap — na wąskim ekranie musi się zawijać */
  .footer__brand-name {
    white-space: normal !important;
  }
}

/* ============================================================
   INTERACTIVE WATER SCENE & DUCKS (GOŚCINIEC HERO)
   ============================================================ */

/* Container for water animation scene overlay */
.hero-water-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

/* 3D-angled Water ripples wrapper */
.water-ripple-wrap {
  position: absolute;
  width: 60px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Pulsating ripples */
.water-ripple {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(212, 176, 122, 0.4);
  border-radius: 50%;
  transform: rotateX(60deg) scale(0.1);
  opacity: 0;
  animation: ripplePulse 6s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
}

.water-ripple-wrap .water-ripple:nth-child(1) { animation-delay: 0s; }
.water-ripple-wrap .water-ripple:nth-child(2) { animation-delay: 2s; }
.water-ripple-wrap .water-ripple:nth-child(3) { animation-delay: 4s; }

@keyframes ripplePulse {
  0% {
    transform: rotateX(60deg) scale(0.1);
    opacity: 0.8;
  }
  100% {
    transform: rotateX(60deg) scale(1.6);
    opacity: 0;
  }
}

/* Interactive floating duck outline */
.interactive-duck {
  position: absolute;
  width: 24px;
  height: 24px;
  color: var(--gold-light);
  fill: currentColor;
  cursor: pointer;
  pointer-events: auto; /* enables clicks */
  transition: color 0.3s ease, transform 0.3s ease;
  z-index: 10;
  animation: duckFloat 4.5s ease-in-out infinite alternate;
}

.interactive-duck svg {
  width: 100%;
  height: 100%;
  display: block;
}

.interactive-duck--small {
  transform: scale(0.75);
  animation: duckFloat 5s ease-in-out -2s infinite alternate;
}

.interactive-duck:hover {
  color: var(--gold);
  transform: scale(1.1);
}

.interactive-duck--small:hover {
  color: var(--gold);
  transform: scale(0.85);
}

@keyframes duckFloat {
  0% {
    transform: translateY(0) rotate(-2deg);
  }
  100% {
    transform: translateY(-4px) rotate(3deg);
  }
}

/* Reduced Motion setting for water scene */
@media (prefers-reduced-motion: reduce) {
  .water-ripple,
  .interactive-duck {
    animation: none !important;
    transform: none !important;
  }
}



/* Duck interactive click quack animation */
.quack-bounce {
  animation: duckQuack 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

@keyframes duckQuack {
  0% { transform: translateY(-4px) rotate(3deg) scale(1.1); }
  25% { transform: translateY(-12px) rotate(-8deg) scale(1.25); }
  50% { transform: translateY(-2px) rotate(6deg) scale(1.15); }
  75% { transform: translateY(-6px) rotate(-2deg) scale(1.1); }
  100% { transform: translateY(-4px) rotate(3deg) scale(1.1); }
}

/* Premium Text Underline Slide-out Animation */
.gallery-note a,
.gallery-soon__text a,
.pricing-note a,
.main p a {
  color: var(--gold) !important;
  border-bottom: none !important;
  position: relative !important;
  display: inline-block !important;
  transition: color 0.3s ease !important;
}

.gallery-note a::after,
.gallery-soon__text a::after,
.pricing-note a::after,
.main p a::after {
  content: "" !important;
  position: absolute !important;
  bottom: 1px !important;
  left: 0 !important;
  width: 100% !important;
  height: 1px !important;
  background-color: rgba(176, 141, 87, 0.45) !important;
  transform: scaleX(1) !important;
  transform-origin: bottom left !important;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.3s ease !important;
}

.gallery-note a:hover,
.gallery-soon__text a:hover,
.pricing-note a:hover,
.main p a:hover {
  color: var(--olive) !important;
}

.gallery-note a:hover::after,
.gallery-soon__text a:hover::after,
.pricing-note a:hover::after,
.main p a:hover::after {
  background-color: var(--olive) !important;
  transform: scaleX(0) !important;
  transform-origin: bottom right !important;
}

/* ============================================================
   HERO ZE ZDJĘCIEM — pełnoszerokie tło na ~3/4 ekranu
   ============================================================ */
.page-home .home-hero--photo {
  display: flex;
  align-items: center;
  height: clamp(460px, 76vh, 820px);
  background: url("../assets/images/hero-photo.webp") center 82% / cover no-repeat;
}

/* gładkie wtopienie zdjęcia w kremowe tło po lewej — bez twardych krawędzi */
.home-hero--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, var(--cream) 0%, rgba(242, 239, 233, 0.96) 22%, rgba(242, 239, 233, 0.55) 44%, rgba(242, 239, 233, 0.12) 64%, transparent 80%),
    linear-gradient(to top, rgba(242, 239, 233, 0.4), transparent 32%);
  pointer-events: none;
}

.home-hero--photo .hero__mist,
.home-hero--photo .hero__visual { display: none; }

/* tekst wtopiony w gradient — bez kafelka, ramki, cienia i narożników */
.page-home .home-hero--photo .home-hero__content {
  position: relative;
  z-index: 3;
  grid-column: auto;
  grid-row: auto;
  align-self: center;
  max-width: 560px;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
.home-hero--photo .home-hero__content::before,
.home-hero--photo .home-hero__content::after { display: none !important; }

@media (max-width: 768px) {
  .page-home .home-hero--photo {
    height: clamp(420px, 68vh, 560px);
    background-image: url("../assets/images/hero-photo-sm.webp");
    background-position: center 85%;
  }
  .home-hero--photo::before {
    background:
      linear-gradient(90deg, rgba(242, 239, 233, 0.92) 0%, rgba(242, 239, 233, 0.62) 45%, rgba(242, 239, 233, 0.25) 80%),
      linear-gradient(to top, rgba(242, 239, 233, 0.65), transparent 45%);
  }
}

