/* =========================================================
   Къща за гости „Бащин дом" — Априлци
   Design tokens
   ========================================================= */
:root {
  /* Color */
  --pine:        #26332A;   /* deep forest, near-black base */
  --pine-soft:   #33452F;   /* lighter pine for panels */
  --stone:       #EDE6D6;   /* warm parchment background */
  --stone-dim:   #E2D9C4;   /* slightly deeper stone for panels */
  --wood:        #7A4E2B;   /* saddle wood brown */
  --wood-dark:   #4E3220;   /* dark walnut */
  --ember:       #C97A3D;   /* firelight amber accent */
  --ember-soft:  #E3A867;   /* lighter amber for highlights on dark backgrounds */
  --ember-deep:  #8B4A1F;   /* darker amber — accessible contrast on light backgrounds */
  --ink:         #23241F;   /* charcoal text */
  --ink-soft:    #52564C;   /* muted body text */
  --mist:        #F6F3EC;   /* card background on stone */
  --line:        rgba(35,36,31,0.14);

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  /* Layout */
  --max-w: 1180px;
  --gap: clamp(1rem, 2vw, 2rem);
  --radius: 3px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

a, button { -webkit-tap-highlight-color: transparent; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.5em;
  color: var(--pine);
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4.6rem); font-weight: 500; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 500; }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }

p { max-width: 62ch; color: var(--ink-soft); }
.center p { margin-left: auto; margin-right: auto; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.eyebrow-note {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ember-deep);
  font-size: 1.05rem;
  margin: 0 0 0.6em;
}
.section--pine .eyebrow-note,
.hero .eyebrow-note {
  color: var(--ember-soft);
}
.hero .eyebrow-note {
  text-shadow: 0 1px 6px rgba(0,0,0,0.65);
}

.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}
.section--pine {
  background: var(--pine);
  color: var(--stone);
}
.section--pine h2, .section--pine h3 { color: var(--stone); }
.section--pine p { color: rgba(237,230,214,0.78); }

.center { text-align: center; }
.lede { font-size: 1.15rem; }

/* =========================================================
   Mountain ridge divider — recurring motif that separates
   sections like a skyline against the Stara Planina range
   ========================================================= */
.ridge {
  display: block;
  width: 100%;
  height: clamp(40px, 6vw, 90px);
  line-height: 0;
}
.ridge svg { width: 100%; height: 100%; display: block; }
.ridge--flip { transform: scaleY(-1); }

/* =========================================================
   Header / nav
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(38, 51, 42, 0.94);
  border-bottom: 1px solid rgba(237,230,214,0.14);
  transition: box-shadow 0.35s ease;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.site-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(10,14,10,0.35);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  transition: height 0.3s ease;
}
.site-header.is-scrolled .container { height: 64px; }
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--stone);
}
.brand-mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  transform-origin: 50% 62%;
  transition: transform 0.45s cubic-bezier(.34,1.56,.64,1);
}
.site-header.is-scrolled .brand-mark { width: 34px; height: 34px; }
.brand:hover .brand-mark { transform: rotate(-10deg) scale(1.1); }
.brand:hover .brand-leaf-1 { animation: leafFlutter 0.9s ease-in-out; }
.brand:hover .brand-leaf-2 { animation: leafFlutter 0.9s ease-in-out 0.1s; }
.brand-text {
  font-family: var(--font-display);
  font-size: 1.28rem;
  line-height: 1.05;
}
.brand-text span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  color: var(--ember-soft);
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 1.6vw, 1.9rem);
}
@media (min-width: 721px) {
  .main-nav a {
    opacity: 0;
    transform: translateY(-8px);
    animation: navItemIn 0.55s ease forwards;
  }
  .main-nav a:nth-child(1) { animation-delay: 0.05s; }
  .main-nav a:nth-child(2) { animation-delay: 0.1s; }
  .main-nav a:nth-child(3) { animation-delay: 0.15s; }
  .main-nav a:nth-child(4) { animation-delay: 0.2s; }
  .main-nav a:nth-child(5) { animation-delay: 0.25s; }
  .main-nav a:nth-child(6) { animation-delay: 0.3s; }
}
@keyframes navItemIn { to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .main-nav a { animation: none; opacity: 1; transform: none; }
}
.main-nav a {
  text-decoration: none;
  color: rgba(237,230,214,0.86);
  font-size: 0.97rem;
  padding: 0.4em 0.1em;
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--ember);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--stone); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75em 1.4em;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.btn--ember {
  background: var(--ember);
  color: #241505;
}
.btn--ember:hover { background: var(--ember-soft); transform: translateY(-1px); }
.btn--outline {
  border-color: var(--line);
  color: var(--wood-dark);
  background: transparent;
}
.btn--outline:hover { border-color: var(--ember); color: var(--ember-deep); background: rgba(20,15,8,0.04); }
.hero .btn--outline,
.section--pine .btn--outline {
  border-color: rgba(237,230,214,0.5);
  color: var(--stone);
  background: transparent;
}
.hero .btn--outline:hover,
.section--pine .btn--outline:hover { border-color: var(--ember); color: var(--ember-soft); background: transparent; }
.btn--wood {
  background: var(--wood);
  color: var(--stone);
}
.btn--wood:hover { background: var(--wood-dark); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  width: 44px; height: 44px;
  cursor: pointer;
}
.nav-toggle .bar {
  width: 22px;
  height: 2px;
  background: var(--stone);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@keyframes leafFlutter {
  0% { transform: rotate(0deg); }
  30% { transform: rotate(-14deg); }
  60% { transform: rotate(10deg); }
  100% { transform: rotate(0deg); }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  background: linear-gradient(180deg, #1E2A20 0%, var(--pine) 62%, var(--pine) 100%);
  color: var(--stone);
  overflow: hidden;
  padding-top: clamp(3.5rem, 9vw, 6rem);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: clamp(1.6rem, 4vw, 2.4rem) clamp(1.6rem, 4vw, 2.4rem) clamp(2.6rem, 6vw, 3.8rem);
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  background: linear-gradient(135deg, rgba(15,20,15,0.6), rgba(15,20,15,0.42));
  border-left: 3px solid var(--ember);
  border-radius: 2px;
}
.hero h1 { color: var(--stone); text-shadow: 0 2px 10px rgba(0,0,0,0.6); }
.hero-lede {
  font-size: 1.2rem;
  color: rgba(237,230,214,0.92);
  max-width: 46ch;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.9rem;
}
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.4rem, 3vw, 2.6rem);
  margin-top: 3rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(237,230,214,0.3);
}
.hero-fact strong {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1.1;
  color: var(--ember-soft);
  text-shadow: 0 1px 6px rgba(0,0,0,0.65);
}
.hero-fact strong .count { font-size: inherit; color: inherit; }
.hero-fact strong .count { color: var(--ember-soft); }
.hero-fact span { font-size: 0.9rem; color: rgba(237,230,214,0.88); text-shadow: 0 1px 4px rgba(0,0,0,0.65); }

/* =========================================================
   Page hero (secondary pages, shorter)
   ========================================================= */
.page-hero {
  background: var(--pine);
  color: var(--stone);
  padding: clamp(3rem, 7vw, 4.5rem) 0 clamp(2.2rem, 5vw, 3rem);
}
.page-hero h1 { color: var(--stone); font-size: clamp(2.2rem, 4.4vw, 3.2rem); }
.page-hero p { color: rgba(237,230,214,0.78); }
.breadcrumb {
  font-size: 0.85rem;
  color: rgba(237,230,214,0.55);
  margin-bottom: 1rem;
}
.breadcrumb a { color: rgba(237,230,214,0.75); text-decoration: none; }
.breadcrumb a:hover { color: var(--ember-soft); }

/* =========================================================
   Feature grid (About / highlights)
   ========================================================= */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin-top: 2.6rem;
}
.feature {
  padding: 1.8rem 1.7rem;
  background: var(--mist);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ember);
}
.feature svg { width: 34px; height: 34px; color: var(--wood); margin-bottom: 0.9rem; }
.feature h3 { margin-bottom: 0.4em; color: var(--pine); }
.feature p { font-size: 0.96rem; margin: 0; color: var(--ink-soft); }
.feature, .tavern-card, .amenity {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.feature:hover, .tavern-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(20,15,8,0.16);
}
.amenity:hover { transform: translateY(-3px); border-color: var(--ember); }
.ledger-row { transition: background 0.25s ease; }
.ledger-row:hover { background: var(--stone-dim); }
.btn { transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease; }
.btn:active { transform: scale(0.96); }

/* Trust badges (Facebook recommend rate / Google rating) */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
  max-width: 640px;
  margin: 0 auto;
}
.trust-badge {
  background: var(--mist);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ember);
  padding: 1.8rem 1.6rem;
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.trust-badge:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(20,15,8,0.14); }
.trust-badge svg { width: 32px; height: 32px; color: var(--ember); margin-bottom: 0.7rem; }
.trust-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--pine);
  line-height: 1;
}
.trust-badge .stars { color: var(--ember-deep); font-size: 1.05rem; letter-spacing: 0.05em; display: inline-block; margin-left: 0.3em; }
.trust-badge .trust-label { font-size: 0.9rem; color: var(--ink-soft); display: block; margin-top: 0.5rem; }

/* Feature tile with a photo background instead of plain white */
.feature--photo {
  position: relative;
  overflow: hidden;
  color: var(--stone);
  border-top: none;
  padding: 0;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.feature--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.feature--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,15,8,0.15) 0%, rgba(15,11,6,0.68) 55%, rgba(15,11,6,0.93) 100%);
  z-index: 1;
}
.feature--photo .fp-content {
  position: relative;
  z-index: 2;
  padding: 1.8rem 1.7rem;
}
.feature--photo svg, .feature--photo h3, .feature--photo p {
  color: var(--stone);
  text-shadow: 0 1px 4px rgba(0,0,0,0.55);
}
.feature--photo svg { color: var(--ember-soft); }
.feature--photo p { color: rgba(237,230,214,0.9); }

/* Feature tile that crossfades between two photos (Две механи с камина) */
.feature--crossfade {
  position: relative;
  overflow: hidden;
  color: var(--stone);
  border-top: none;
  padding: 0;
  min-height: 220px;
  display: flex;
  align-items: flex-end;
}
.feature--crossfade img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.feature--crossfade .cf-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 1.8rem 1.7rem;
  background: linear-gradient(180deg, rgba(20,15,8,0.15) 0%, rgba(15,11,6,0.7) 45%, rgba(15,11,6,0.92) 100%);
}
.feature--crossfade svg { color: var(--ember-soft); }
.feature--crossfade h3 { color: var(--stone); text-shadow: 0 1px 4px rgba(0,0,0,0.5); }
.feature--crossfade p { color: rgba(237,230,214,0.9); margin: 0; text-shadow: 0 1px 4px rgba(0,0,0,0.5); }
.feature--crossfade .cf-a { animation: crossfadeA 7s ease-in-out infinite; }
.feature--crossfade .cf-b { animation: crossfadeB 7s ease-in-out infinite; }
a.feature--crossfade { text-decoration: none; }
@keyframes crossfadeA { 0%, 40% { opacity: 1; } 50%, 90% { opacity: 0; } 100% { opacity: 1; } }
@keyframes crossfadeB { 0%, 40% { opacity: 0; } 50%, 90% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .feature--crossfade .cf-a { animation: none; opacity: 1; }
  .feature--crossfade .cf-b { animation: none; opacity: 0; }
}

/* Full-width highlight tile (used for a single bonus feature, e.g. the chapel) */
.feature--full { grid-column: 1 / -1; }
@media (max-width: 900px) { .feature--full { grid-column: auto; } }

/* Tavern card with a real photo background instead of flat pine */
.tavern-card--photo {
  position: relative;
  overflow: hidden;
  border-left: none;
  padding: 0;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
}
.tavern-card--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.tavern-card--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,15,8,0.2) 0%, rgba(15,11,6,0.72) 50%, rgba(15,11,6,0.95) 100%);
  z-index: 1;
  border-left: 3px solid var(--ember);
}
.tavern-card--photo .tc-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 2.2rem;
}
.tavern-card--photo .glow { position: absolute; top: 1.6rem; right: 1.6rem; z-index: 2; }

/* Photo band that crossfades between two real interior photos */
.photo-band.crossfade img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-band.crossfade .cf-a { animation: crossfadeA 8s ease-in-out infinite; }
.photo-band.crossfade .cf-b { animation: crossfadeB 8s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .photo-band.crossfade .cf-a { animation: none; opacity: 1; }
  .photo-band.crossfade .cf-b { animation: none; opacity: 0; }
}

/* =========================================================
   Split section (image-esque panel + text)
   ========================================================= */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split--reverse .split-art { order: 2; }
.split-art {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border: 1px solid var(--line);
}
.split-art svg { width: 100%; height: 100%; }
.split-copy .eyebrow-note { margin-bottom: 0.3em; }

/* =========================================================
   Room ledger — list styling instead of identical cards,
   evokes a guesthouse register / booking chart
   ========================================================= */
.ledger {
  border-top: 1px solid var(--line);
  margin-top: 2.4rem;
}
.ledger-row {
  display: grid;
  grid-template-columns: 90px 1.5fr 1fr 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}
.ledger-row.head {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  padding-bottom: 0.7rem;
  text-transform: none;
}
.ledger-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--ember-deep);
}
.ledger-room h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.2em;
  color: var(--pine);
  font-weight: 600;
}
.ledger-room span { font-size: 0.88rem; color: var(--ink-soft); }
.ledger-meta { font-size: 0.94rem; color: var(--ink-soft); }
.ledger-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag {
  font-size: 0.76rem;
  padding: 0.28em 0.6em;
  border: 1px solid var(--line);
  color: var(--wood-dark);
  background: var(--stone-dim);
  white-space: nowrap;
}

/* =========================================================
   Rate cards — room prices and group pricing, echoes the
   .feature stat cards rather than a generic pricing-card kit
   ========================================================= */
.rate-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  margin-top: 2.4rem;
}
.rate-card {
  background: var(--mist);
  border: 1px solid var(--line);
  border-top: 3px solid var(--wood);
  padding: 1.7rem 1.4rem;
  text-align: center;
}
.rate-card .rc-guests {
  font-size: 0.78rem;
  color: var(--ink-soft);
}
.rate-card h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--pine);
  margin: 0.5em 0 0.45em;
  font-weight: 600;
}
.rate-card .rc-price {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.1rem;
  color: var(--ember-deep);
  line-height: 1;
  margin: 0;
}
.rate-card .rc-price small {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-left: 0.1em;
}
.rate-grid--plans { grid-template-columns: repeat(3, 1fr); }
.rate-card--plan { text-align: left; }
.rate-card--plan h3 { margin-top: 0; }
.rate-card--plan p { font-size: 0.9rem; margin: 0.7em 0 0; }
.rate-card--featured { border-top-color: var(--ember); }
.section--pine .rate-card {
  background: var(--pine-soft);
  border-color: rgba(237,230,214,0.14);
}
.section--pine .rate-card h3 { color: var(--stone); }
.section--pine .rate-card .rc-guests { color: rgba(237,230,214,0.65); }
.section--pine .rate-card .rc-price small { color: rgba(237,230,214,0.65); }
.section--pine .rate-card--plan p { color: rgba(237,230,214,0.82); }
@media (max-width: 900px) {
  .rate-grid, .rate-grid--plans { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .rate-grid, .rate-grid--plans { grid-template-columns: 1fr; }
}
.price-notes {
  list-style: none;
  margin: 2.2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 2.4rem;
}
.price-notes li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.price-notes svg { width: 21px; height: 21px; color: var(--ember); flex-shrink: 0; margin-top: 2px; }
.price-notes strong { color: var(--wood-dark); }
.section--pine .price-notes li { color: rgba(237,230,214,0.85); }
.section--pine .price-notes strong { color: var(--stone); }
.section--pine .price-notes svg { color: var(--ember-soft); }
@media (max-width: 700px) {
  .price-notes { grid-template-columns: 1fr; }
}

/* =========================================================
   Amenities — organic layout, varied sizes, not identical cards
   ========================================================= */
.amenity-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(150px, auto);
  grid-auto-flow: dense;
  gap: 8px;
  background: var(--stone);
  margin-top: 2.6rem;
}
.amenity {
  background: var(--mist);
  border: 2px solid var(--wood);
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.5rem;
}
.amenity svg { width: 30px; height: 30px; color: var(--ember); }
.amenity h4 { font-family: var(--font-display); font-size: 1.05rem; margin: 0; color: var(--pine); }
.amenity p { font-size: 0.88rem; margin: 0; }
.amenity--wide { grid-column: span 2; }
.amenity--tall { grid-row: span 2; }
a.amenity { text-decoration: none; color: inherit; transition: transform 0.35s ease, box-shadow 0.35s ease; }
a.amenity:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(20,15,8,0.2); border-color: var(--ember); }
.amenity--pine { background: var(--pine); }
.amenity--pine h4 { color: var(--stone); }
.amenity--pine p { color: rgba(237,230,214,0.72); }
.amenity--pine svg { color: var(--ember-soft); }

/* =========================================================
   Mehani (taverns) — fireside feel
   ========================================================= */
.tavern-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
  margin-top: 2.6rem;
}
.tavern-card {
  background: var(--pine-soft);
  padding: 2.2rem;
  position: relative;
  border-left: 3px solid var(--ember);
}
.tavern-card h3 { color: var(--stone); text-shadow: 0 1px 4px rgba(0,0,0,0.5); }
.tavern-card p { color: rgba(237,230,214,0.85); }
.tavern-card--photo h3, .tavern-card--photo p, .tavern-card--photo .tavern-capacity { text-shadow: 0 1px 4px rgba(0,0,0,0.55); }
.tavern-card .glow {
  position: absolute;
  top: 1.6rem; right: 1.6rem;
  width: 46px; height: 46px;
  color: var(--ember);
  opacity: 0.85;
}
.tavern-capacity {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.7rem;
  color: var(--ember-soft);
  margin: 0.6rem 0 0.9rem;
}

/* =========================================================
   Gallery
   ========================================================= */
.gallery-note {
  border: 1px dashed var(--line);
  background: var(--mist);
  padding: 1.1rem 1.4rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 2rem 0 2.6rem;
}
.gallery-note strong { color: var(--wood-dark); }
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.8rem;
}
.gallery-filter {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.7em 1.15em;
  min-height: 44px;
  border: 1px solid var(--line);
  background: var(--mist);
  color: var(--ink-soft);
  cursor: pointer;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.gallery-filter:hover { border-color: var(--ember); color: var(--wood-dark); }
.gallery-filter.is-active {
  background: var(--pine);
  border-color: var(--pine);
  color: var(--stone);
}
.gallery-item.is-filtered-out { display: none; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-flow: dense;
  gap: 0.6rem;
}
.gallery-item {
  aspect-ratio: 4/3;
  background: var(--mist);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--ink-soft);
  font-size: 0.82rem;
  text-align: center;
  padding: 1rem;
}
.gallery-item svg { width: 34px; height: 34px; color: var(--wood); opacity: 0.55; }
.gallery-item--wide { grid-column: span 2; grid-row: span 2; }
.gallery-item.photo-cover, .gallery-item.has-photo { padding: 0; overflow: hidden; }

/* =========================================================
   Location / map / contact
   ========================================================= */
.location-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: start;
}
.map-frame {
  border: 1px solid var(--line);
  overflow: hidden;
  aspect-ratio: 4/3.4;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.info-list {
  list-style: none;
  margin: 1.8rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.info-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
.info-list svg { width: 22px; height: 22px; color: var(--ember); flex-shrink: 0; margin-top: 2px; }
.info-list a { text-decoration: none; color: var(--ink); }
.info-list a:hover { color: var(--ember-deep); }
.info-list span { font-size: 0.85rem; color: var(--ink-soft); display: block; }

.contact-form {
  background: var(--mist);
  border: 1px solid var(--line);
  padding: clamp(1.8rem, 4vw, 2.6rem);
}
.form-row { margin-bottom: 1.2rem; }
.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--wood-dark);
  margin-bottom: 0.4rem;
}
.form-row input, .form-row textarea, .form-row select {
  width: 100%;
  padding: 0.75em 0.9em;
  border: 1px solid var(--line);
  background: var(--stone);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  border-radius: var(--radius);
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: 2px solid var(--ember);
  outline-offset: 1px;
}
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
.form-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 0.9rem; }
.form-note.is-success,
.form-note.is-error {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.85em 1em;
  border-left: 3px solid;
}
.form-note.is-success { color: #2F5D34; background: rgba(63,107,63,0.09); border-color: #3F6B3F; }
.form-note.is-error { color: #8C3624; background: rgba(166,67,46,0.09); border-color: #A6432E; }

/* =========================================================
   Real photography — cover frames, hero crossfade, lightbox
   ========================================================= */
.photo-cover {
  position: relative;
  overflow: hidden;
  background: var(--pine-soft);
}
.photo-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hero: a slow-cycling slideshow of real photos through the day (JS-driven, see .event-slideshow logic) */
.hero-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-scene .es-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 0;
  transition: opacity 1.8s ease;
}
.hero-scene .es-slide.is-active { opacity: 1; z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  .hero-scene .es-slide { transition: none; }
}
.hero-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,26,20,0.68) 0%, rgba(20,26,20,0.72) 45%, rgba(15,20,15,0.88) 75%, rgba(15,20,15,0.95) 100%);
}
.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 30%), rgba(227,168,103,0.22), transparent 70%);
}
.hero-glow.is-active { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .hero-glow { display: none; }
}

.split-art.photo-cover { aspect-ratio: 4/5; border: none; }

/* Full-bleed photo band used for the mehani feast image */
.photo-band {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  margin-top: 2.6rem;
}
.photo-band img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-band-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.4rem 1.6rem;
  background: linear-gradient(0deg, rgba(15,11,6,0.85), transparent);
  color: var(--stone);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* Amenity tile with a real photo background */
.amenity--photo { position: relative; padding: 0; overflow: hidden; }
.amenity--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.amenity--photo::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(20,15,8,0.18) 0%, rgba(15,11,6,0.72) 55%, rgba(15,11,6,0.94) 100%);
}
.amenity--photo h4, .amenity--photo p { position: relative; z-index: 2; color: var(--stone); text-shadow: 0 1px 4px rgba(0,0,0,0.55); }
.amenity--photo p { color: rgba(237,230,214,0.9); }
.amenity--photo .cf-a { animation: crossfadeA 7s ease-in-out infinite; }
.amenity--photo .cf-b { animation: crossfadeB 7s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .amenity--photo .cf-a { animation: none; opacity: 1; }
  .amenity--photo .cf-b { animation: none; opacity: 0; }
}

/* Gallery: real photos, clickable for lightbox */
.gallery-item.has-photo {
  position: relative;
  padding: 0;
  cursor: zoom-in;
  border: none;
}
.gallery-item.has-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.5s ease;
}
.gallery-item.has-photo:hover img { transform: scale(1.045); }
.gallery-item.has-photo .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0.7rem 0.9rem 0.6rem;
  background: linear-gradient(0deg, rgba(15,11,6,0.85), transparent);
  color: var(--stone);
  font-size: 0.82rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.gallery-item.has-photo:focus-visible { outline: 3px solid var(--ember); outline-offset: -3px; }

/* Teaser photo tiles used as plain links (e.g. homepage) */
a.gallery-item.photo-cover {
  padding: 0;
  text-decoration: none;
  display: block;
}
a.gallery-item.photo-cover img { transition: transform 0.5s ease; }
a.gallery-item.photo-cover:hover img { transform: scale(1.045); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15,12,8,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 5vw, 4rem);
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 84vh;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-cap {
  position: absolute;
  left: 0; right: 0; bottom: clamp(1rem, 4vw, 2.2rem);
  text-align: center;
  color: var(--stone);
  font-family: var(--font-display);
  font-style: italic;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(237,230,214,0.12);
  border: 1px solid rgba(237,230,214,0.3);
  color: var(--stone);
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(237,230,214,0.25); }
.lightbox-close { top: clamp(0.8rem, 3vw, 1.6rem); right: clamp(0.8rem, 3vw, 1.6rem); }
.lightbox-prev { left: clamp(0.6rem, 2vw, 1.4rem); top: 50%; transform: translateY(-50%); }
.lightbox-next { right: clamp(0.6rem, 2vw, 1.4rem); top: 50%; transform: translateY(-50%); }
.lightbox-close svg, .lightbox-prev svg, .lightbox-next svg { width: 20px; height: 20px; }

/* Room type filter tabs (Стаи) */
.room-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
}
.room-filter {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.7em 1.15em;
  min-height: 44px;
  border: 1px solid var(--line);
  background: var(--mist);
  color: var(--ink-soft);
  cursor: pointer;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.room-filter:hover { border-color: var(--ember); color: var(--wood-dark); }
.room-filter.is-active {
  background: var(--pine);
  border-color: var(--pine);
  color: var(--stone);
}
.ledger-row.is-hidden { display: none; }

/* =========================================================
   Splash / intro loader — wooden hanging sign with branches
   drawing themselves and leaves orbiting into place.
   Shown on every page load (each page has its own #splash).
   ========================================================= */
#splash {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(120% 120% at 50% 40%, #2E3F30 0%, #1E2A20 100%);
  transition: opacity 0.65s ease, visibility 0.65s ease;
  cursor: pointer;
}
#splash.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
#splash .splash-hint {
  position: absolute;
  bottom: clamp(1.6rem, 5vw, 3rem);
  left: 0; right: 0;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: rgba(237,230,214,0.45);
  opacity: 0;
  animation: splashHintIn 0.6s ease 1.3s forwards;
}
@keyframes splashHintIn { to { opacity: 1; } }

.splash-emblem {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(280px, 78vw, 440px);
}
.splash-branches {
  position: absolute;
  top: -13%;
  left: -18%;
  width: 136%;
  height: 126%;
  overflow: visible;
  z-index: 0;
  pointer-events: none;
}
.branch-path {
  fill: none;
  stroke: var(--ember-soft);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 520;
  stroke-dashoffset: 520;
  opacity: 0.85;
  animation: drawBranch 1.6s cubic-bezier(.2,.7,.3,1) forwards;
}
.branch-path.b2 { animation-delay: 0.15s; }
@keyframes drawBranch { to { stroke-dashoffset: 0; } }

.leaf-orbit {
  position: absolute;
  inset: -13% -18%;
  z-index: 2;
  pointer-events: none;
  animation: orbitSpin 2s cubic-bezier(.22,.9,.32,1) forwards;
}
@keyframes orbitSpin {
  from { transform: rotate(-50deg) scale(0.6); opacity: 0; }
  18% { opacity: 1; }
  100% { transform: rotate(300deg) scale(1); opacity: 1; }
}
.leaf-slot { position: absolute; top: 50%; left: 50%; width: 0; height: 0; }
.leaf-slot svg { position: absolute; width: 15px; height: 22px; color: var(--ember); }

/* The carved wooden sign itself */
.splash-sign {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(1.5rem, 4.5vw, 2.3rem) clamp(1.3rem, 5vw, 2.1rem) clamp(1.7rem, 4.5vw, 2.3rem);
  border-radius: 10px;
  background:
    repeating-linear-gradient(100deg, rgba(0,0,0,0.09) 0px, rgba(0,0,0,0.09) 1px, transparent 1px, transparent 7px),
    repeating-linear-gradient(100deg, rgba(255,255,255,0.04) 0px, rgba(255,255,255,0.04) 1px, transparent 1px, transparent 13px),
    linear-gradient(160deg, #8a5a34 0%, #6b4226 48%, #4e3220 100%);
  box-shadow: 0 30px 70px rgba(0,0,0,0.5), inset 0 0 0 3px rgba(0,0,0,0.28), inset 0 2px 3px rgba(255,255,255,0.12);
  text-align: center;
  opacity: 0;
  animation: signIn 0.7s cubic-bezier(.24,.9,.32,1) 0.85s forwards;
}
@keyframes signIn { from { opacity: 0; transform: scale(0.86) translateY(12px); } to { opacity: 1; transform: scale(1) translateY(0); } }

.sign-hook {
  position: absolute;
  top: -9px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #2b2b2b;
  box-shadow: inset 0 0 0 2px #7a7a7a, 0 2px 5px rgba(0,0,0,0.45);
}
.sign-hook.left { left: 20px; }
.sign-hook.right { right: 20px; }

.sign-icon {
  width: 44px; height: 44px;
  margin: 0 auto 0.7rem;
  opacity: 0;
  animation: markPop 0.55s cubic-bezier(.34,1.56,.64,1) 1.25s forwards;
}
@keyframes markPop { from { opacity: 0; transform: scale(0.5) rotate(-10deg); } to { opacity: 1; transform: scale(1) rotate(0deg); } }

.sign-eyebrow {
  font-family: var(--font-body);
  font-size: clamp(0.68rem, 1.6vw, 0.8rem);
  font-weight: 600;
  letter-spacing: 0.24em;
  color: rgba(243,238,227,0.8);
  text-shadow: 0 1px 0 rgba(0,0,0,0.4);
  margin: 0 0 0.45rem;
  opacity: 0;
  animation: signTextIn 0.6s ease 1.0s forwards;
}
.sign-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  font-size: clamp(1.55rem, 6vw, 2.35rem);
  letter-spacing: 0.01em;
  line-height: 1.05;
  color: #F3EEE3;
  text-shadow: 0 1px 0 rgba(255,255,255,0.2), 0 -1px 1px rgba(0,0,0,0.6), 0 4px 10px rgba(0,0,0,0.4);
  margin: 0;
  opacity: 0;
  animation: signTextIn 0.65s cubic-bezier(.24,.9,.32,1) 1.3s forwards;
}
@keyframes signTextIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  #splash { display: none !important; }
}

/* =========================================================
   Auto-advancing slideshow (Кетъринг, украса и преживявания)
   ========================================================= */
.event-slideshow {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--pine-soft);
}
.event-slideshow .es-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.1s ease;
  z-index: 0;
}
.event-slideshow .es-slide.is-active { opacity: 1; z-index: 1; }
.event-slideshow .es-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 1.3rem 1.4rem 1rem;
  background: linear-gradient(0deg, rgba(15,11,6,0.85), transparent);
  color: var(--stone);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.event-slideshow .es-caption.is-active { opacity: 1; }
.event-slideshow .es-dots {
  position: absolute;
  top: 1rem; right: 1rem;
  z-index: 3;
  display: flex;
  gap: 0.4rem;
}
.event-slideshow .es-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(243,238,227,0.4);
  border: 1px solid rgba(243,238,227,0.6);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, transform 0.25s ease;
}
.event-slideshow .es-dot.is-active { background: var(--ember); transform: scale(1.15); }
@media (prefers-reduced-motion: reduce) {
  .event-slideshow .es-slide { transition: none; }
}

/* Service tiles for catering / decor / adventures */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin-top: 1.8rem;
}
.service-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.service-item svg {
  width: 26px; height: 26px;
  color: var(--ember);
  flex-shrink: 0;
  margin-top: 3px;
}
.service-item h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--pine);
  margin: 0 0 0.3em;
}
.service-item p { margin: 0; font-size: 0.95rem; }

/* =========================================================
   Landmark cards — nearby attractions & eco-trails
   ========================================================= */
.landmark-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
  margin-top: 2.4rem;
}
.landmark-card {
  background: var(--mist);
  border: 1px solid var(--line);
  border-left: 3px solid var(--wood);
  padding: 1.7rem 1.7rem;
  display: flex;
  gap: 1.1rem;
}
.landmark-card svg { width: 28px; height: 28px; color: var(--ember); flex-shrink: 0; margin-top: 2px; }
.landmark-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--pine);
  margin: 0 0 0.35em;
}
.landmark-card .lc-fact {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ember-deep);
  margin-bottom: 0.4em;
}
.landmark-card p { margin: 0; font-size: 0.9rem; color: var(--ink-soft); }
@media (max-width: 760px) {
  .landmark-grid { grid-template-columns: 1fr; }
}
.landmark-card--full { grid-column: 1 / -1; }

/* Places near the house — photo cards (Забележителности) */
.place-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin-top: 2.4rem;
}
.place-card {
  background: var(--mist);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.place-photo { aspect-ratio: 4/3; overflow: hidden; background: var(--pine); }
.place-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.place-photo--art { display: flex; align-items: flex-end; background: linear-gradient(180deg, #3B5242 0%, var(--pine) 100%); }
.place-photo--art svg { display: block; width: 100%; height: auto; }
.place-body { padding: 1.4rem 1.5rem 1.6rem; }
.place-fact {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ember-deep);
  margin-bottom: 0.45em;
}
.place-card h3 { font-family: var(--font-display); font-size: 1.2rem; color: var(--pine); margin: 0 0 0.45em; }
.place-card p { margin: 0; font-size: 0.9rem; color: var(--ink-soft); }
@media (max-width: 960px) { .place-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .place-grid { grid-template-columns: 1fr; } }

/* Holiday availability notice — bar under the header (Начало) and boxes on other pages */
.notice-bar {
  background: var(--ember-deep);
  color: #FFF8EE;
  font-size: 0.92rem;
  line-height: 1.45;
}
.notice-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  text-align: center;
}
.notice-bar p { margin: 0; color: inherit; max-width: none; }
.notice-bar strong { color: #fff; }
.notice-bar a { color: #fff; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.notice-bar svg, .notice-box svg { width: 20px; height: 20px; flex-shrink: 0; }
.notice-box {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  background: var(--mist);
  border: 1px solid var(--line);
  border-left: 3px solid var(--ember);
  padding: 1rem 1.2rem;
  margin: 1.6rem 0 0;
  max-width: 640px;
}
.notice-box svg { color: var(--ember-deep); margin-top: 2px; }
.notice-box p { margin: 0; font-size: 0.94rem; color: var(--ink); max-width: none; }
.notice-box strong { color: var(--pine); }
.notice-box a { color: var(--ember-deep); font-weight: 600; }
.section--pine .notice-box { background: rgba(227,168,103,0.12); border-color: rgba(237,230,214,0.2); border-left-color: var(--ember-soft); }
.section--pine .notice-box svg { color: var(--ember-soft); }
.section--pine .notice-box p { color: var(--stone); }
.section--pine .notice-box strong { color: #fff; }
.section--pine .notice-box a { color: var(--ember-soft); }
@media (max-width: 600px) {
  .notice-bar .container { justify-content: flex-start; text-align: left; }
}

/* =========================================================
   Blog — index cards and article reading layout
   ========================================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
  margin-top: 2.4rem;
}
.blog-card {
  background: var(--mist);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(20,15,8,0.14); }
.blog-card .bc-photo { aspect-ratio: 16/10; overflow: hidden; }
.blog-card .bc-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.blog-card:hover .bc-photo img { transform: scale(1.04); }
.blog-card-body { padding: 1.6rem 1.7rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.blog-card .bc-tag { font-size: 0.76rem; font-weight: 600; color: var(--ember-deep); margin-bottom: 0.5em; }
.blog-card h3 { font-family: var(--font-display); font-size: 1.3rem; color: var(--pine); margin: 0 0 0.5em; }
.blog-card p { font-size: 0.92rem; color: var(--ink-soft); margin: 0 0 1em; flex: 1; }
.blog-card .bc-readmore { font-size: 0.86rem; font-weight: 600; color: var(--wood-dark); }
.blog-card:hover .bc-readmore { color: var(--ember-deep); }
@media (max-width: 760px) { .blog-grid { grid-template-columns: 1fr; } }

.article-meta { font-size: 0.85rem; color: var(--ink-soft); margin: -0.8rem 0 1.8rem; }
.article-body { max-width: 70ch; }
.article-body p { margin: 0 0 1.15em; }
.article-body h2 { margin-top: 2.4rem; margin-bottom: 0.5em; }
.article-body h2:first-child { margin-top: 0; }
.article-body ul, .article-body ol { margin: 0 0 1.15em; padding-left: 1.3em; }
.article-body li { margin-bottom: 0.4em; }
.article-body a { color: var(--ember-deep); }
.article-tip {
  border-left: 3px solid var(--ember);
  background: var(--mist);
  padding: 1.1rem 1.4rem;
  margin: 1.8rem 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.article-tip strong { color: var(--wood-dark); }
.article-figure { margin: 2rem 0; }
.article-figure img { width: 100%; height: auto; display: block; border: 1px solid var(--line); }
.article-figure figcaption {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-top: 0.6rem;
}
.photo-note { font-size: 0.85rem; color: var(--ink-soft); margin: 0.6rem 0 0; }

/* =========================================================
   Autumn leaves — homepage only. Leaves fall inside the side
   gutters outside .container, so they never cross text.
   ========================================================= */
.falling-leaves {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  overflow: hidden;
}
.leaf {
  position: absolute;
  top: -60px;
  left: var(--x);
  width: var(--size);
  height: var(--size);
  animation: leafFall var(--dur) linear var(--delay) infinite;
  will-change: transform;
}
.leaf svg {
  display: block;
  width: 100%;
  height: 100%;
  color: var(--c);
  opacity: 0.9;
  filter: drop-shadow(0 1px 1.5px rgba(40,25,10,0.25));
  animation: leafSway var(--sway-dur) ease-in-out var(--delay) infinite alternate;
}
@keyframes leafFall {
  from { transform: translateY(0); }
  to { transform: translateY(calc(100vh + 120px)); }
}
@keyframes leafSway {
  from { transform: translateX(calc(var(--sway) * -1)) rotate(-30deg) rotateY(0deg); }
  to { transform: translateX(var(--sway)) rotate(40deg) rotateY(160deg); }
}
@media (prefers-reduced-motion: reduce) {
  .falling-leaves { display: none; }
}

/* =========================================================
   Fire flicker accent (Механи page) — a small animated flame
   beside the heading, echoing the warmth of the fireplace
   ========================================================= */
.flame-decor {
  display: inline-flex;
  width: clamp(30px, 5vw, 40px);
  height: clamp(38px, 6.4vw, 50px);
  vertical-align: -0.35em;
  margin-right: 0.35rem;
}
.flame-decor svg {
  width: 100%;
  height: 100%;
  transform-origin: 50% 95%;
  animation: flameFlicker 2.6s ease-in-out infinite;
}
@keyframes flameFlicker {
  0%, 100% { transform: scale(1, 1) skewX(0deg); }
  22% { transform: scale(1.04, 0.95) skewX(-2.5deg); }
  46% { transform: scale(0.95, 1.06) skewX(2deg); }
  68% { transform: scale(1.03, 0.97) skewX(-1.5deg); }
  84% { transform: scale(0.97, 1.02) skewX(1deg); }
}
@media (prefers-reduced-motion: reduce) {
  .flame-decor svg { animation: none; }
}

/* Photo page-hero variant with a warm pulsing ember glow (Механи) */
.page-hero--fire {
  position: relative;
  overflow: hidden;
  background: var(--pine);
}
.page-hero--fire .ph-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero--fire .ph-photo img {
  width: 100%; height: 100%; object-fit: cover;
}
.page-hero--fire .ph-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,15,8,0.55) 0%, rgba(20,15,8,0.82) 70%, rgba(20,15,8,0.94) 100%);
}
.page-hero--fire .ph-glow {
  position: absolute;
  left: 8%;
  bottom: -20%;
  width: 60%;
  height: 70%;
  z-index: 1;
  background: radial-gradient(circle, rgba(201,122,61,0.38) 0%, rgba(201,122,61,0) 68%);
  animation: emberPulse 3.4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes emberPulse {
  0%, 100% { opacity: 0.65; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero--fire .ph-glow { animation: none; opacity: 0.8; }
}
.page-hero--fire .container { position: relative; z-index: 2; }
.page-hero--fire .breadcrumb a { color: rgba(237,230,214,0.75); }
.page-hero--fire .breadcrumb { color: rgba(237,230,214,0.55); }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* =========================================================
   Cookie consent banner
   ========================================================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 500;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem clamp(1.25rem, 4vw, 2.5rem);
  background: rgba(20,26,20,0.96);
  border-top: 1px solid rgba(237,230,214,0.16);
  transform: translateY(110%);
  transition: transform 0.4s ease;
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner p {
  margin: 0;
  max-width: 62ch;
  font-size: 0.88rem;
  color: rgba(237,230,214,0.85);
}
.cookie-banner a { color: var(--ember-soft); text-decoration: underline; }
.cookie-banner .btn { flex-shrink: 0; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--wood-dark);
  color: rgba(237,230,214,0.85);
  padding: 3rem 0 1.6rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--gap);
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(237,230,214,0.15);
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--stone);
  margin-bottom: 0.6rem;
}
.footer-grid h5 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  color: var(--ember-soft);
  margin: 0 0 0.9rem;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-grid a { text-decoration: none; color: rgba(237,230,214,0.78); font-size: 0.94rem; }
.footer-grid a:hover { color: var(--ember-soft); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  padding-top: 1.4rem;
  font-size: 0.8rem;
  color: rgba(237,230,214,0.5);
}
.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}
.footer-credit:hover { color: var(--ember-soft); }
.footer-credit img { display: block; border-radius: 3px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split-art { order: 0; }
  .amenity-board { grid-template-columns: repeat(2, 1fr); }
  .amenity--wide { grid-column: span 2; }
  .tavern-grid { grid-template-columns: 1fr; }
  .location-split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item--wide { grid-column: span 2; grid-row: span 1; }
  .trust-grid { grid-template-columns: 1fr; max-width: 320px; }
  .ledger-row { grid-template-columns: 50px 1fr; row-gap: 0.4rem; }
  .ledger-num { grid-row: span 2; }
  .ledger-row.head { display: none; }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    inset: 84px 0 0 0;
    background: var(--pine);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem clamp(1.25rem, 4vw, 2.5rem);
    gap: 1.4rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav a { font-size: 1.1rem; }
  .nav-toggle { display: flex; }
  .amenity-board { grid-template-columns: 1fr; }
  .amenity--wide, .amenity--tall { grid-column: span 1; grid-row: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
}

/* Small phones — tighter layout, cleaner 2x2 stat grid, single-column gallery */
@media (max-width: 480px) {
  .hero-fact strong { font-size: 2.3rem; }
  .hero-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem 1rem;
  }
  .hero-facts { flex-wrap: unset; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item--wide { grid-column: span 1; grid-row: span 1; }
  .amenity-board { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .tavern-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.1rem, 9vw, 2.6rem); }
  .section { padding: clamp(2.6rem, 10vw, 4rem) 0; }
  .splash-sign { padding: 1.3rem 1.1rem 1.5rem; }
}
