/* Roboto — локально (assets/fonts/, змінний шрифт 100–900, набори cyrillic і latin з Google Fonts, Apache 2.0).
   Без сторонніх доменів: шрифт не гальмує першу відмальовку. */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/roboto-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/roboto-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   СІМБА — дитяча ігрова кімната. Базові стилі.
   ========================================================================== */

:root {
  --color-bg: #FBF7F0;
  --color-surface: #FFFFFF;
  --color-surface-alt: #FCEEDB;
  --color-ink: #211711;
  --color-text: #4A3B2E;
  --color-text-soft: #796957; /* контраст ≥ 4.5 на всіх світлих фонах (WCAG AA) */
  --color-primary: #F2763A;
  --color-primary-dark: #D85A20;
  --color-link: #B84A18; /* текст посилань: контраст ≥ 4.5 на світлих фонах (WCAG AA) */
  --color-primary-light: #FFB169;
  --color-primary-tint: #FCE1C6;
  --color-secondary: #3C9765;
  --color-secondary-dark: #256B48;
  --color-secondary-light: #7ED2A0;
  --color-secondary-tint: #D9F1E1;
  --color-border: #EFE1CB;

  --gradient-primary: linear-gradient(135deg, #FFC076 0%, #F2763A 55%, #DE4E1E 100%);
  --gradient-secondary: linear-gradient(135deg, #7ED2A0 0%, #3C9765 60%, #235F3F 100%);
  --gradient-ink: linear-gradient(160deg, #2E2116 0%, #1A130D 100%);

  --shadow-soft: 0 10px 30px rgba(33, 23, 17, 0.07);
  --shadow-hover: 0 24px 56px rgba(33, 23, 17, 0.16);
  --shadow-primary: 0 16px 36px rgba(216, 90, 32, 0.32);
  --shadow-secondary: 0 16px 36px rgba(37, 107, 72, 0.28);

  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --container: 1200px;
  --font-main: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-main);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; } /* height:auto — щоб атрибути width/height не спотворювали пропорції */
picture { display: contents; } /* <picture> з WebP від site_img() не має власного блоку: стилі й розміри — на <img> */
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-weight: 900;
  margin: 0 0 .5em;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--color-ink);
}
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }

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

.section { padding: 108px 0; position: relative; }
.section--alt { background: var(--color-surface-alt); }
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-secondary-dark);
  background: var(--color-secondary-tint);
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.section-eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--color-secondary);
}
.section-title {
  font-size: clamp(32px, 4.4vw, 48px);
  max-width: 720px;
}
.section-lead {
  color: var(--color-text-soft);
  font-size: 18px;
  max-width: 620px;
}
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .section-title,
.section-head.center .section-lead { margin-left: auto; margin-right: auto; }

/* ---------- Scroll reveal ---------- */
.js-anim .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js-anim .reveal.is-visible { opacity: 1; transform: none; }
.about-grid .reveal:nth-child(2) { transition-delay: .08s; }
.about-grid .reveal:nth-child(3) { transition-delay: .16s; }
.about-grid .reveal:nth-child(4) { transition-delay: .24s; }
.price-grid .reveal:nth-child(2) { transition-delay: .1s; }
.price-grid .reveal:nth-child(3) { transition-delay: .2s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 34px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  border: 2px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.96); }
.btn--primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
  border: none;
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 22px 44px rgba(216, 90, 32, .4); }
.btn--outline {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-ink);
}
.btn--outline:hover { border-color: var(--color-primary); color: var(--color-primary-dark); transform: translateY(-2px); }
.btn--ghost {
  background: var(--color-surface);
  color: var(--color-ink);
  box-shadow: var(--shadow-soft);
}
.btn--ghost:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.btn--block { width: 100%; }
.btn--sm { padding: 11px 22px; font-size: 14.5px; }

/* ---------- Decorative mesh blobs ---------- */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  z-index: 0;
  opacity: .65;
  pointer-events: none;
}

.grain {
  position: absolute;
  inset: 0;
  opacity: .05;
  mix-blend-mode: multiply;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 247, 240, .85);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--color-border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; font-size: 21px; flex-shrink: 0; }
.brand img { height: 46px; width: auto; }
.brand-text { color: var(--color-ink); }
.brand-text b { color: var(--color-primary-dark); }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  position: relative;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  color: var(--color-text);
  transition: background .2s ease, color .2s ease;
}
.main-nav a:hover { background: var(--color-surface); color: var(--color-primary-dark); box-shadow: var(--shadow-soft); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta-mobile { display: none; }
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: none;
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
  align-items: center;
  justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-ink);
  position: relative;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle.is-active span { background: transparent; }
.nav-toggle.is-active span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-active span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 84px 0 96px;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: var(--color-ink);
}
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(20,14,9,.88) 0%, rgba(20,14,9,.72) 38%, rgba(20,14,9,.42) 62%, rgba(20,14,9,.55) 100%),
    linear-gradient(180deg, rgba(20,14,9,.15) 0%, rgba(20,14,9,.55) 100%);
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  padding: 8px 18px 8px 8px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 28px;
}
.hero-kicker img { height: 28px; width: 28px; border-radius: 50%; }
.hero h1 {
  font-size: clamp(38px, 5.4vw, 62px);
  color: #fff;
  margin-bottom: 22px;
}
.hero h1 span { color: var(--color-primary-light); }
.hero p.lead { font-size: 19px; color: rgba(255,255,255,.78); max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-stats {
  display: flex;
  gap: 4px;
  margin-top: 44px;
  flex-wrap: wrap;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 6px;
  width: fit-content;
}
.hero-stat {
  padding: 12px 22px;
  border-radius: 999px;
  position: relative;
}
.hero-stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -2px; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(255,255,255,.18);
}
.hero-stat b { display: block; font-size: 22px; color: var(--color-primary-light); font-weight: 900; }
.hero-stat span { font-size: 13px; color: rgba(255,255,255,.7); }

/* ---------- Hero collage: розсипані нахилені полароїди з 15 фото ---------- */
.hero-collage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.08;
}
.hero-collage-item {
  position: absolute;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 5px solid var(--color-surface);
  box-shadow: 0 16px 32px rgba(0,0,0,.35);
  opacity: .88;
  transform: rotate(var(--rot, 0deg));
}
.hero-collage-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s var(--ease);
}
.hero-collage-item:hover { z-index: 20 !important; opacity: 1; }
.hero-collage-item:hover img { transform: scale(1.1); }

/* веселіші кольорові рамки замість суцільно білих */
.hero-collage-item:nth-child(3n+2) { border-color: var(--color-primary-tint); }
.hero-collage-item:nth-child(3n)   { border-color: var(--color-secondary-tint); }

@media (prefers-reduced-motion: no-preference) {
  .hero-collage-item { animation: hero-float 5.5s ease-in-out infinite; animation-delay: var(--delay, 0s); }
  @keyframes hero-float {
    0%, 100% { transform: rotate(var(--rot, 0deg)) translateY(0); }
    50%      { transform: rotate(var(--rot, 0deg)) translateY(-10px); }
  }
}

.hero-collage-item:nth-child(1)  { top: 0%;   left: 3%;   width: 27%; --rot: -7deg; --delay: 0s;    z-index: 3; }
.hero-collage-item:nth-child(2)  { top: 1%;   left: 33%;  width: 22%; --rot: 5deg;  --delay: .3s;   z-index: 2; }
.hero-collage-item:nth-child(3)  { top: 0%;   left: 58%;  width: 24%; --rot: -4deg; --delay: .6s;   z-index: 4; }
.hero-collage-item:nth-child(4)  { top: 3%;   left: 83%;  width: 17%; --rot: 8deg;  --delay: .9s;   z-index: 2; }
.hero-collage-item:nth-child(5)  { top: 21%;  left: -1%;  width: 19%; --rot: 9deg;  --delay: 1.2s;  z-index: 2; }
.hero-collage-item:nth-child(6)  { top: 23%;  left: 19%;  width: 25%; --rot: -6deg; --delay: 1.5s;  z-index: 5; }
.hero-collage-item:nth-child(7)  { top: 19%;  left: 46%;  width: 20%; --rot: 5deg;  --delay: 1.8s;  z-index: 3; }
.hero-collage-item:nth-child(8)  { top: 22%;  left: 68%;  width: 27%; --rot: -8deg; --delay: 2.1s;  z-index: 4; }
.hero-collage-item:nth-child(9)  { top: 45%;  left: 5%;   width: 23%; --rot: 6deg;  --delay: 2.4s;  z-index: 3; }
.hero-collage-item:nth-child(10) { top: 48%;  left: 30%;  width: 19%; --rot: -9deg; --delay: 2.7s;  z-index: 2; }
.hero-collage-item:nth-child(11) { top: 43%;  left: 51%;  width: 25%; --rot: 5deg;  --delay: 3s;    z-index: 4; }
.hero-collage-item:nth-child(12) { top: 47%;  left: 79%;  width: 19%; --rot: -5deg; --delay: 3.3s;  z-index: 2; }
.hero-collage-item:nth-child(13) { top: 68%;  left: 12%;  width: 22%; --rot: -6deg; --delay: 3.6s;  z-index: 3; }
.hero-collage-item:nth-child(14) { top: 71%;  left: 37%;  width: 27%; --rot: 4deg;  --delay: 3.9s;  z-index: 5; }
.hero-collage-item:nth-child(15) { top: 69%;  left: 67%;  width: 24%; --rot: -4deg; --delay: 4.2s;  z-index: 3; }

/* ---------- About: bento grid ---------- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.about-card {
  grid-column: span 6;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-soft);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.about-card:nth-child(1) { grid-column: span 7; }
.about-card:nth-child(2) { grid-column: span 5; }
.about-card:nth-child(3) { grid-column: span 5; }
.about-card:nth-child(4) { grid-column: span 7; }
.about-card:nth-child(5) { grid-column: span 7; }
.about-card:nth-child(6) { grid-column: span 5; }
.about-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.about-card .icon {
  width: 56px; height: 56px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient-primary);
  margin-bottom: 18px;
  font-size: 25px;
  box-shadow: var(--shadow-primary);
}
.about-card:nth-child(even) .icon { background: var(--gradient-secondary); box-shadow: var(--shadow-secondary); }
.about-card h3 { font-size: 18px; margin-bottom: 8px; }
.about-card p { font-size: 15px; color: var(--color-text-soft); margin: 0; }

/* ---------- Pricing / services ---------- */
.price-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.price-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.price-card--highlight {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
}
.price-card--highlight .price-card-note,
.price-card--highlight .price-value span,
.price-card--highlight ul li { color: rgba(255, 255, 255, .92); }
.price-card h3 { font-size: 20px; margin-bottom: 4px; }
.price-card--highlight h3 { color: #fff; }
.price-card .price-value { font-size: 36px; font-weight: 900; margin: 14px 0 4px; letter-spacing: -0.02em; }
.price-card .price-value span { font-size: 15px; font-weight: 400; color: var(--color-text-soft); }
.price-card .price-card-note { font-size: 14px; color: var(--color-text-soft); margin-bottom: 22px; }
.price-card ul { margin: 12px 0 26px; flex-grow: 1; }
.price-card ul li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 12px;
  font-size: 14.5px;
}
.price-card ul li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--color-secondary-tint);
  color: var(--color-secondary-dark);
  font-size: 11px;
  font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}
.price-card--highlight ul li::before { background: rgba(255,255,255,.25); color: #fff; }

/* ---------- Tabs (room gallery) ---------- */
.tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.tab-btn {
  padding: 13px 24px;
  border-radius: 999px;
  border: none;
  background: var(--color-surface);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--color-text-soft);
  transition: all .2s var(--ease);
}
.tab-btn.is-active, .tab-btn:hover {
  color: #fff;
  background: var(--gradient-primary);
  box-shadow: var(--shadow-primary);
}
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }

.media-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 175px;
  gap: 16px;
}
.media-grid .media-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}
.media-grid .media-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
.media-grid .media-item:hover img { transform: scale(1.1) rotate(.5deg); }
.media-grid .media-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(33,23,17,0) 60%, rgba(33,23,17,.35) 100%);
  opacity: 0;
  transition: opacity .3s ease;
}
.media-grid .media-item:hover::after { opacity: 1; }
.media-grid .media-item.tall { grid-row: span 2; }
.media-grid .media-item.wide { grid-column: span 2; }
.media-grid .media-item .play-badge {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  z-index: 1;
}
.media-grid .media-item .play-badge::after {
  content: "";
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.92) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><polygon points='9,7 18,12 9,17' fill='%23D85A20'/></svg>") no-repeat center / 20px;
  box-shadow: var(--shadow-soft);
  transition: transform .3s var(--ease);
}
.media-grid .media-item:hover .play-badge::after { transform: scale(1.12); }

/* ---------- Reviews carousel ---------- */
.review-carousel { position: relative; }
.review-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  /* без scroll-behavior: smooth — разом зі snap Chrome «докручує» стрічку при завантаженні, вважає це прокруткою
     і перестає фіксувати LCP. Кнопки гортають через jQuery animate. */
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 4px 2px 10px;
}
.review-track::-webkit-scrollbar { display: none; }
.review-card {
  flex: 0 0 calc((100% - 2 * 24px) / 3);
  scroll-snap-align: start;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 30px 28px;
  /* без тіні: стрічка з overflow-x обрізала її рівною лінією — тонка рамка натомість */
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
}
.review-stars { color: #F2A83A; font-size: 18px; letter-spacing: 2px; margin-bottom: 14px; }
.review-text { font-size: 15px; color: var(--color-text); flex-grow: 1; margin-bottom: 18px; }
.review-author-name { display: block; font-weight: 700; font-size: 14.5px; }
.review-author-meta { display: block; font-size: 13px; color: var(--color-text-soft); margin-top: 2px; }

.review-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--color-surface);
  box-shadow: var(--shadow-hover);
  font-size: 22px;
  color: var(--color-ink);
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.review-nav:hover { background: var(--gradient-primary); color: #fff; }
.review-nav--prev { left: -24px; }
.review-nav--next { right: -24px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; counter-reset: faq; }
.faq-item {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  margin-bottom: 14px;
  overflow: hidden;
  counter-increment: faq;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  font-weight: 700;
  font-size: 16px;
}
.faq-question span:first-child::before {
  content: counter(faq, decimal-leading-zero);
  color: var(--color-primary);
  font-weight: 900;
  margin-right: 14px;
  font-variant-numeric: tabular-nums;
}
.faq-question .plus {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--color-primary-tint);
  color: var(--color-primary-dark);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  transition: transform .3s var(--ease), background .3s ease, color .3s ease;
}
.faq-item.is-open .faq-question .plus { transform: rotate(135deg); background: var(--gradient-primary); color: #fff; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s var(--ease);
  padding: 0 28px;
}
.faq-answer p { color: var(--color-text-soft); font-size: 15px; padding-bottom: 22px; margin: 0 0 0 34px; }
.faq-item.is-open .faq-answer { max-height: 400px; }

/* ---------- Contacts / map ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: stretch;
}
.contact-card {
  background: var(--gradient-ink);
  color: #EFE6DA;
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-hover);
}
.contact-card b { color: #fff; }
.contact-line { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.contact-line .icon {
  width: 46px; height: 46px; border-radius: 15px;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 20px;
}
.contact-line b { display: block; font-size: 15px; }
.contact-line span, .contact-line a { color: #C9BCA9; font-size: 15px; }
.contact-social { display: flex; gap: 12px; margin-top: 30px; }
.contact-social a {
  width: 48px; height: 48px; border-radius: 15px;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  transition: background .2s ease, transform .2s ease;
}
.contact-social a:hover { background: var(--gradient-primary); transform: translateY(-3px); }
.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  min-height: 380px;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--gradient-ink);
  color: #EADFCF;
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand img { height: 44px; width: auto; }
.footer-brand span { font-weight: 900; font-size: 19px; color: #fff; }
.site-footer p { color: #C9BCA9; font-size: 14.5px; }
.footer-col .footer-heading { color: #fff; font-size: 15px; font-weight: 700; margin: 0 0 18px; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col a { color: #C9BCA9; font-size: 14.5px; transition: color .15s ease; }
.footer-col a:hover { color: var(--color-primary-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 26px;
  font-size: 13.5px;
  color: #A79781;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(20, 14, 9, .94);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.is-open { display: flex; }
.lightbox-stage { max-width: 900px; width: 100%; text-align: center; }
.lightbox-stage img, .lightbox-stage video {
  max-width: 100%;
  max-height: 78vh;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 70px rgba(0,0,0,.55);
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255,255,255,.12);
  border: none;
  color: #fff;
  width: 50px; height: 50px;
  border-radius: 50%;
  font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease, transform .2s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--gradient-primary); transform: scale(1.08); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-counter {
  margin-top: 18px;
  color: #EADFCF;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

/* ---------- Request page ---------- */
.request-hero { padding: 64px 0 24px; text-align: center; }
.request-wrap {
  max-width: 640px;
  margin: 0 auto;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 46px;
}
.form-row { margin-bottom: 22px; }
.form-row label {
  display: block;
  font-weight: 700;
  font-size: 14.5px;
  margin-bottom: 9px;
}
.form-row input, .form-row textarea {
  width: 100%;
  padding: 15px 20px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--color-border);
  font-family: inherit;
  font-size: 15px;
  background: var(--color-bg);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px var(--color-primary-tint);
}
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 13px; color: var(--color-text-soft); margin-top: 20px; text-align: center; }
.success-box {
  text-align: center;
  padding: 24px;
}
.success-box .icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--gradient-secondary);
  display: flex; align-items: center; justify-content: center;
  font-size: 38px;
  margin: 0 auto 22px;
  box-shadow: var(--shadow-secondary);
}
.success-box h3 { font-size: 23px; margin-bottom: 10px; }
.success-box p { color: var(--color-text-soft); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--gradient-secondary);
  border-radius: var(--radius-lg);
  padding: 58px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  overflow: hidden;
}
.cta-band h3 { font-size: 27px; margin-bottom: 8px; color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); margin: 0; }
.cta-band .btn--primary { background: #fff; background-image:none; color: var(--color-secondary-dark); box-shadow: 0 16px 36px rgba(0,0,0,.18); }
.cta-band .btn--primary:hover { background: #FFF3E1; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  /* меню — у ☰ уже з 980px: вужче ~850px пункти не вміщались, логотип стискався, «Про нас» ламалось на 2 рядки (D-7) */
  .main-nav { display: none; }
  .header-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .site-header.is-open .main-nav {
    display: flex;
    position: absolute;
    top: 88px; left: 0; right: 0;
    background: var(--color-surface);
    flex-direction: column;
    align-items: stretch; /* пункти ліворуч, на одній лінії з кнопкою «Забронювати свято» */
    padding: 16px 24px 24px;
    box-shadow: var(--shadow-soft);
  }
  .nav-cta-mobile { display: inline-flex; margin-top: 8px; align-self: flex-start; }
  .hero { min-height: 0; }
  .hero .container { grid-template-columns: 1fr; }
  /* колаж — лише на десктопі: вужче 980px він ставав окремим екраном під текстом (рішення користувача 20.10.2026) */
  .hero-collage { display: none; }
  .about-grid { grid-template-columns: repeat(2, 1fr); }
  .about-card, .about-card:nth-child(1), .about-card:nth-child(2), .about-card:nth-child(3), .about-card:nth-child(4), .about-card:nth-child(5), .about-card:nth-child(6) { grid-column: span 1; }
  .price-grid { grid-template-columns: 1fr; }
  .review-card { flex-basis: calc((100% - 24px) / 2); }
  .media-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 145px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 80px 0; }
}
@media (max-width: 760px) {
  /* факти під кнопкою — список у картці: значення | підпис, тонкі лінії між рядками (пігулка обрізала вміст) */
  .hero-stats { display: block; width: 100%; margin-top: 32px; padding: 2px 16px; border-radius: var(--radius-sm); }
  .hero-stat { display: grid; grid-template-columns: 44% 1fr; gap: 12px; align-items: baseline; padding: 12px 0; border-radius: 0; }
  .hero-stat + .hero-stat { border-top: 1px solid rgba(255,255,255,.18); }
  .hero-stat:not(:last-child)::after { display: none; }
  .hero-stat b { font-size: 19px; }
  .hero-stat span { font-size: 13.5px; line-height: 1.35; }
  .about-grid { grid-template-columns: 1fr; }
  .media-grid { grid-template-columns: repeat(2, 1fr); }
  .media-grid .media-item.wide { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 64px 0; }
  .review-card { flex-basis: 86%; }
  .review-nav { width: 40px; height: 40px; font-size: 18px; }
  .review-nav--prev { left: 0; }
  .review-nav--next { right: 0; }
  .review-carousel { padding: 0 46px; }
  .cta-band { flex-direction: column; text-align: center; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .request-wrap { padding: 30px; }
  .lightbox-prev, .lightbox-next { width: 42px; height: 42px; }
}

/* ---------- SEO-текст (адмін-контент перед футером) ---------- */
.seo-text-block {
  max-width: 780px;
  color: var(--color-text-soft);
  font-size: 15px;
  line-height: 1.7;
}
.seo-text-block h2, .seo-text-block h3 { color: var(--color-ink); margin-top: 1.2em; }
.seo-text-block p { margin: 0 0 1em; }
.seo-text-block ul, .seo-text-block ol { margin: 0 0 1em; padding-left: 1.4em; }
.seo-text-block ul { list-style: disc; }
.seo-text-block ol { list-style: decimal; }
.seo-text-block li { margin-bottom: .3em; }
.seo-text-block a { color: var(--color-link); text-decoration: underline; }

/* ---------- Посадкові сторінки (landing.php) ---------- */
.landing-hero { padding: 48px 0 24px; }
.landing-hero .section-title { max-width: 860px; }
.landing-hero .section-lead { max-width: 760px; margin-top: 16px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--color-text-soft); margin-bottom: 18px; }
.breadcrumbs a { color: var(--color-text-soft); }
.breadcrumbs a:hover { color: var(--color-primary-dark); }
.request-hero .breadcrumbs { justify-content: center; }
.landing-facts { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.landing-facts div { background: var(--color-surface); border-radius: var(--radius-sm); box-shadow: var(--shadow-soft); padding: 14px 20px; }
.landing-facts b { display: block; font-size: 20px; color: var(--color-ink); }
.landing-facts span { font-size: 13.5px; color: var(--color-text-soft); }
.landing-hero .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.landing-content { max-width: 820px; font-size: 17px; line-height: 1.75; color: var(--color-text); }
.landing-content h2 { font-size: 28px; line-height: 1.25; color: var(--color-ink); margin: 1.6em 0 .6em; }
.landing-content h2:first-child { margin-top: 0; }
.landing-content h3 { font-size: 21px; color: var(--color-ink); margin: 1.3em 0 .5em; }
.landing-content p { margin: 0 0 1em; }
.landing-content ul, .landing-content ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.landing-content ul { list-style: disc; }
.landing-content ol { list-style: decimal; }
.landing-content li { margin-bottom: .4em; }
.landing-content a { color: var(--color-link); text-decoration: underline; }
.landing-content table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; background: var(--color-surface); border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-soft); }
.landing-content th, .landing-content td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--color-border); }
.landing-content th { background: var(--color-surface-alt); color: var(--color-ink); }
.landing-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.landing-link { display: flex; flex-direction: column; gap: 6px; background: var(--color-surface); border-radius: var(--radius-md); box-shadow: var(--shadow-soft); padding: 22px 24px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.landing-link b { color: var(--color-ink); font-size: 17px; }
.landing-link span { color: var(--color-link); font-size: 14px; }
.landing-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
@media (max-width: 760px) {
  .landing-content { font-size: 16px; }
  .landing-content h2 { font-size: 23px; }
  .landing-hero .hero-actions .btn { flex: 1 1 100%; text-align: center; }
}

/* ---------- Блог ---------- */
.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.blog-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.blog-card-image { display: block; aspect-ratio: 16/10; overflow: hidden; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.blog-card-category {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--color-secondary-dark);
  background: var(--color-secondary-tint);
  padding: 4px 10px;
  border-radius: 999px;
}
.blog-card-title { font-size: 19px; margin: 0; }
.blog-card-title a { color: var(--color-ink); }
.blog-card-title a:hover { color: var(--color-primary-dark); }
.blog-card-excerpt { color: var(--color-text-soft); font-size: 14.5px; margin: 0; flex-grow: 1; }
.blog-card-date { font-size: 13px; color: var(--color-text-soft); }
.blog-empty { color: var(--color-text-soft); font-size: 15px; }

.blog-pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.blog-page-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px;
  border-radius: 10px;
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
  font-weight: 700;
  font-size: 14px;
  color: var(--color-text);
}
.blog-page-link.is-active { background: var(--gradient-primary); color: #fff; }
.blog-page-link:hover { text-decoration: none; box-shadow: var(--shadow-hover); }

/* Сайдбар блогу */
.blog-sidebar { display: flex; flex-direction: column; gap: 24px; }
.blog-sidebar-block {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 22px 24px;
}
.blog-sidebar-block h3 { font-size: 15px; margin-bottom: 14px; }
.blog-category-list li { margin-bottom: 4px; }
.blog-category-list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--color-text);
}
.blog-category-list a:hover, .blog-category-list a.is-active { background: var(--color-primary-tint); color: #A84314; text-decoration: none; } /* ≥ 4.5 на primary-tint */
.blog-count { color: var(--color-text-soft); font-size: 12.5px; }
.blog-category-list a.is-active .blog-count, .blog-category-list a:hover .blog-count { color: inherit; }

.blog-tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.blog-tag-pill {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--color-bg);
  color: var(--color-text-soft);
  font-weight: 600;
  line-height: 1.4;
}
.blog-tag-pill:hover, .blog-tag-pill.is-active { background: var(--color-secondary-tint); color: var(--color-secondary-dark); text-decoration: none; }

/* Стаття */
.blog-post .section-title { margin-top: 12px; }
.blog-post-image { margin: 20px 0; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-soft); }
.blog-post-image img { width: 100%; display: block; }
.blog-post-content { font-size: 16px; line-height: 1.75; color: var(--color-text); margin-top: 20px; }
.blog-post-content ul { list-style: disc; }
.blog-post-content ol { list-style: decimal; }
.blog-post-content li { margin-bottom: .4em; }
.blog-post-content table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; background: var(--color-surface); border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-soft); font-size: 15px; }
.blog-post-content th, .blog-post-content td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--color-border); }
.blog-post-content th { background: var(--color-surface-alt); color: var(--color-ink); }
@media (max-width: 760px) { .blog-post-content table { display: block; overflow-x: auto; } }
.blog-post-content h2, .blog-post-content h3 { color: var(--color-ink); margin: 1.4em 0 .5em; }
.blog-post-content p { margin: 0 0 1.1em; }
.blog-post-content img { max-width: 100%; border-radius: var(--radius-sm); }
.blog-post-content a { color: var(--color-link); text-decoration: underline; }
.blog-post-content ul, .blog-post-content ol { margin: 0 0 1.1em; padding-left: 1.4em; }
.blog-post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }

@media (max-width: 980px) {
  .blog-layout { grid-template-columns: minmax(0, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* Поле-пастка для ботів у формі заявки (#37): людина його не бачить і не досягає табом, бот заповнює. */
.form-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
