:root {
  --bg: #f8f3ec;
  --bg-elevated: #fefaf5;
  --bg-soft: #f2e7da;
  --accent-terra: #b0a089;
  --accent-ochre: #cabda0;
  --accent-deep-blue: #8f9aa8;
  --accent-metal: #d0c7b9;
  --text: #1c1917;
  --muted: #6b4f35;
  --border-subtle: rgba(107, 79, 53, 0.25);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-pill: 999px;
  --shadow-soft: 0 24px 60px rgba(148, 118, 88, 0.25);
  --transition-fast: 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Кроссбраузерность: префиксы и базовые сбросы */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  background: #f5f3ef;
  color: var(--text);
  font-family: "Ubuntu", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.shell {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .shell {
    padding: 0 12px;
  }
}

section {
  padding: 80px 0;
  position: relative;
  scroll-margin-top: 70px;
}

/* Плавное появление блоков снизу при загрузке/прокрутке */
.section-reveal {
  opacity: 0;
  -webkit-transform: translateY(40px);
  transform: translateY(40px);
  -webkit-transition: opacity 0.6s ease-out, -webkit-transform 0.6s ease-out;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section-reveal.is-visible {
  opacity: 1;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
    scroll-margin-top: 60px;
  }
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.65);
  border-bottom: 1px solid rgba(209, 213, 219, 0.9);
}

.site-header .shell {
  position: relative;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: conic-gradient(
    from 220deg,
    var(--accent-terra),
    var(--accent-deep-blue),
    var(--accent-metal),
    var(--accent-terra)
  );
  padding: 2px;
  box-shadow:
    0 0 0 1px rgba(148, 163, 184, 0.7),
    0 0 32px rgba(148, 163, 184, 0.8);
}

.brand-logo-inner {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: radial-gradient(circle at 30% 0, #fffdf8, #f0e3d5 80%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3f2a17;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.18em;
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-name {
  font-family: "Playfair Display", serif;
  font-size: 16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-tagline {
  font-size: 11px;
  color: var(--muted);
}

/* ОБНОВЛЕННОЕ МЕНЮ С ЯКОРЯМИ — горизонтально на десктопе */
.nav-links {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  padding: 0;
  text-decoration: none;
}

.nav-links .nav-menu,
.nav-links ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links li {
  list-style: none;
}

.nav-links a {
  position: relative;
  padding-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  transition: color var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-ochre), var(--accent-metal));
  transition: width var(--transition-fast);
  text-decoration: none;
}

.nav-links a:hover {
  color: #3f2a17;
  text-decoration: none !important;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Активный пункт меню (подсветка текущего раздела) */
.nav-links a.active {
  color: #3f2a17;
  font-weight: 600;
}

.nav-links a.active::after {
  width: 100%;
  background: linear-gradient(90deg, #c7a35b, #d0c7b9);
}

.topbar-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Стили для иконок соцсетей 50x50 */
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #968162;
  color: #ffffff;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none !important;
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.social-icon.vk:hover {
  background: #4a76a8;
}

.social-icon.youtube:hover {
  background: #ff0000;
}

.social-icon.telegram:hover {
  background: #0088cc;
}

.social-icon.rutube:hover {
  background: #f78200;
}

/* Скрываем старую кнопку, но показываем в карточках мерча, в форме заказа и в контактной форме */
.btn-primary {
  display: none;
}

.js-merch-buy,
.merch-order-modal .btn-primary,
.contact-form .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 5px;
  border: 1px solid #968162;
  background: #968162;
  color: #fff;
  padding: 10px 20px;
  font-size: 16px;
  font-family: inherit;
  text-transform: uppercase;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.js-merch-buy:hover,
.merch-order-modal .btn-primary:hover {
  background: #9a8668;
  border-color: #9a8668;
}

.btn-primary-small.js-merch-buy {
  padding: 9px 18px;
  font-size: 14px;
}

.btn-ghost {
  border-radius: 5px;
  border: 1px solid #968162;
  padding: 10px 20px;
  font-size: 16px;
  background: #968162;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-transform: uppercase;
  transition:
    background var(--transition-fast),
    border-color var(--transition-fast),
    transform 0.16s ease-out;
}

.btn-ghost:hover {
  background: #9a8668;
  border-color: #9a8668;
  transform: translateY(-1px);
}

.btn-ghost-small {
  padding: 6px 12px;
  font-size: 12px;
  text-transform: uppercase;
}

.btn-link {
  font-size: 12px;
  color: var(--accent-metal);
  text-decoration: none;
  text-transform: uppercase;
}

/* Кнопка бургера без фона, окантовки и тени (увеличена на 50%) */
.nav-toggle {
  display: none;
  width: 66px;
  height: 66px;
  border: none;
  background: transparent !important;
  box-shadow: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  padding: 0;
  transition: opacity var(--transition-fast);
}

.nav-toggle:hover {
  opacity: 0.8;
}

.nav-toggle:active,
.nav-toggle:focus,
.nav-toggle:focus-visible {
  background: transparent !important;
}

.nav-toggle:focus:not(:focus-visible) {
  outline: none;
}

.nav-toggle-bar {
  display: block;
  width: 27px;
  height: 3px;
  border-radius: 999px;
  background: #3f2a17;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.nav-toggle.active .nav-toggle-bar:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.nav-toggle.active .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .nav-toggle-bar:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

@media (max-width: 900px) {
  .site-header {
    overflow: visible;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 252, 247, 0.98);
    flex-direction: column;
    align-items: center;
    padding: 16px 0 18px;
    gap: 12px;
    z-index: 25;
    box-shadow: none;
    display: none;
  }

  .nav-links.open {
    display: flex !important;
  }

  .nav-links .nav-menu,
  .nav-links ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .nav-links .nav-menu li,
  .nav-links ul li {
    margin: 0;
  }

  .topbar-cta {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }
  
  /* Уменьшаем иконки соцсетей на мобильных */
  .social-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

/* Section header */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.section-kicker {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.section-subtitle {
  font-size: 13px;
  color: var(--muted);
  max-width: 420px;
}

/* Hero */
.section-hero {
  padding-top: 72px;
  padding-bottom: 88px;
  position: relative;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.05);
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(67, 59, 49, 0.5);
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 62vh;
}

.hero-copy {
  display: grid;
  gap: 18px;
  max-width: 640px;
}

.hero-chip {
  border-radius: var(--radius-pill);
  border: 1px solid rgba(210, 180, 150, 0.9);
  padding: 5px 12px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #876043;
  background: rgba(255, 252, 247, 0.96);
}

.hero-chip-pulse {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #f1ece1, #b0a089);
  box-shadow: 0 0 12px rgba(192, 176, 144, 1);
  position: relative;
}

.hero-chip-pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 1px solid rgba(248, 250, 252, 0.4);
  opacity: 0;
  animation: hero-pulse 2.4s ease-out infinite;
}

@keyframes hero-pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* УВЕЛИЧЕННЫЕ ЗАГОЛОВКИ ГЛАВНОГО ЭКРАНА БЕЛЫМ ЦВЕТОМ */
.hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(58px, 10vw, 85px) !important;
  line-height: 1.0;
  color: #ffffff !important;
}

.hero-title span:first-child {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: block;
  color: #ffffff !important;
}

.hero-title-sub {
  font-family: "Ubuntu", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  display: block;
  font-size: 26px !important;
  letter-spacing: 0.02em;
  color: #ffffff !important;
  margin-top: 5px;
}

.hero-subtitle {
  max-width: 520px;
  font-size: 20px !important;
  color: #ffffff !important;
  line-height: 1.3;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
}

.hero-visual {
  border-radius: 32px;
  background:
    radial-gradient(circle at top, rgba(239, 222, 201, 0.8), transparent 60%),
    radial-gradient(circle at bottom, rgba(245, 210, 175, 0.9), transparent 60%),
    #fef8f0;
  padding: 14px;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.hero-frame {
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(214, 194, 170, 0.9);
  position: relative;
}

.hero-image {
  position: relative;
  padding-top: 60%;
  background-size: cover;
  background-position: center;
  filter: saturate(1.05);
  transform: scale(1.04);
  transition: transform 8s ease-out;
}

.hero-visual:hover .hero-image {
  transform: scale(1.07);
}

.hero-badge {
  position: absolute;
  inset: auto 16px 16px 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  color: #3f2a17;
  font-size: 11px;
}

.hero-badge-left {
  display: grid;
  gap: 2px;
}

.hero-badge-title {
  font-size: 13px;
  font-weight: 600;
}

.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 252, 247, 0.96);
  border: 1px solid rgba(214, 194, 170, 0.8);
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: radial-gradient(circle, #fbbf77, #c27a4a);
  box-shadow: 0 0 12px rgba(248, 191, 118, 1);
}

.hero-badge-pill {
  border-radius: 16px;
  padding: 6px 9px;
  background: rgba(255, 252, 247, 0.98);
  border: 1px solid rgba(214, 194, 170, 0.8);
  display: grid;
  gap: 1px;
  text-align: right;
}

.hero-badge-pill span:first-child {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 9px;
  color: #8c6a47;
}

.hero-badge-pill span:last-child {
  font-weight: 600;
  font-size: 12px;
}

/* Story */
#story {
  scroll-margin-top: 70px;
}

.section-story {
  background:
    radial-gradient(circle at top left, rgba(245, 224, 196, 0.9), transparent 55%),
    radial-gradient(circle at bottom right, rgba(252, 243, 231, 0.9), transparent 55%),
    linear-gradient(to bottom, #fdf6ee, #f6ebdf);
  border-top: 1px solid rgba(229, 231, 235, 0.9);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
  padding-bottom: 0;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: stretch;
}

@media (max-width: 900px) {
  .story-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.story-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}



.story-photo-main {
  display: flex;
  justify-content: flex-end;
}

.story-photo-main img {
  height: 100%;
  aspect-ratio: 3 / 4;
  width: auto;
  max-width: 100%;
  object-fit: cover;
  border-radius: 5px;
  border: 1px solid rgba(214, 194, 170, 0.9);
  box-shadow: 0 9px 20px rgba(170, 140, 110, 0.18);
}

@media (max-width: 900px) {
  .story-photo-main {
    justify-content: center;
    margin-top: 16px;
  }

  .story-photo-main img {
    height: auto;
    max-width: 320px;
  }
}

.story-media {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 14px;
}

@media (max-width: 640px) {
  .story-media {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Что мы предлагаем */
#offer {
  scroll-margin-top: 70px;
}

#offer ul,
#offer li {
  list-style: none !important;
  list-style-type: none !important;
}

.section-offer {
  background: #ffffff;
  border-top: 1px solid rgba(229, 231, 235, 0.9);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
}

.offer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.69fr) minmax(0, 1.31fr);
  gap: 32px;
  align-items: stretch;
}

.offer-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 0;
}

@media (max-width: 900px) {
  .offer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .offer-photo {
    order: 1;
    aspect-ratio: 3 / 4;
  }
  .offer-right {
    order: 2;
  }
}

.offer-photo {
  min-height: 200px;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid rgba(214, 194, 170, 0.9);
  box-shadow: 0 9px 20px rgba(170, 140, 110, 0.18);
  background: #f5f3ef;
}

.offer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  vertical-align: middle;
}

.offer-intro {
  font-size: 14px;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 0;
  max-width: none;
  list-style: none !important;
  list-style-type: none !important;
  padding: 0;
  margin: 0;
}

.offer-intro ul {
  list-style: none !important;
  list-style-type: none !important;
  padding-left: 0 !important;
  margin: 0;
}

.offer-intro li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 12px;
  list-style: none !important;
  list-style-type: none !important;
}

.offer-intro li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--text);
}

.offer-intro li:last-child {
  margin-bottom: 0;
}

.offer-events-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 16px;
}

.offer-events-card {
  border-radius: 5px;
  border: 1px solid rgba(214, 194, 170, 0.3);
  background: #ffffff;
  padding: 18px 16px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.offer-events-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 16px;
  text-align: left;
}

.offer-events-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px 24px;
  list-style: none !important;
  list-style-type: none !important;
  margin: 0;
  padding: 0;
  padding-left: 0 !important;
  justify-content: flex-start;
}

.offer-events-list li {
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
  list-style: none !important;
  list-style-type: none !important;
  border-radius: 5px;
  border: 1px solid rgba(214, 194, 170, 0.3);
  background: #ffffff;
  padding: 12px 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

@media (max-width: 640px) {
  .offer-events-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

.story-photo-large,
.story-photo-small {
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid rgba(214, 194, 170, 0.9);
  background: #fffaf4;
  box-shadow: 0 9px 20px rgba(170, 140, 110, 0.18);
}

.story-photo-large img,
.story-photo-small img,
.story-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-photo-large {
  min-height: 260px;
}

.story-photo-column {
  display: grid;
  gap: 12px;
}

.story-reel {
  position: relative;
}

.story-reel-label {
  position: absolute;
  left: 12px;
  bottom: 10px;
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  font-size: 11px;
  background: rgba(255, 252, 247, 0.96);
  border: 1px solid rgba(214, 194, 170, 0.8);
}

/* Music */
#music {
  scroll-margin-top: 70px;
}

.section-music {
  background:
    radial-gradient(circle at top left, rgba(245, 224, 196, 0.9), transparent 55%),
    radial-gradient(circle at bottom right, rgba(252, 243, 231, 0.9), transparent 55%),
    linear-gradient(to bottom, #fdf6ee, #f6ebdf);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
}

/* Горизонтальная галерея вертикальных видео */
.music-gallery {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  justify-content: center;
  align-items: flex-start;
}

.music-gallery > *:not(p) {
  flex: 0 0 264px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.music-gallery > p {
  flex: 1 1 100%;
  text-align: center;
  padding: 20px;
}

/* На случай, если Gutenberg оборачивает карточки в дополнительные теги,
   фиксируем ширину и поведение самих карточек видео */
.music-video-card {
  flex: 0 0 264px;
  max-width: 264px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* WordPress embed blocks в галерее музыки */
.music-gallery .wp-block-embed,
.music-gallery figure {
  flex: 0 0 264px;
  min-width: 264px;
  max-width: 264px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.music-gallery .wp-block-embed__wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
}

@supports not (aspect-ratio: 9 / 16) {
  .music-gallery .wp-block-embed__wrapper {
    height: 0;
    padding-bottom: 177.78%;
  }
}

.music-gallery .wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.music-gallery::-webkit-scrollbar {
  height: 6px;
}

.music-gallery::-webkit-scrollbar-thumb {
  background: rgba(148, 118, 88, 0.4);
  border-radius: 999px;
}

.music-gallery::-webkit-scrollbar-track {
  background: transparent;
}

@media (max-width: 900px) {
  #music .shell {
    overflow: visible;
  }
  .music-gallery {
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 12px;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
  }
  .music-gallery > *:first-child,
  .music-gallery .music-video-card:first-child,
  .music-gallery .video-main:first-child,
  .music-gallery .wp-block-embed:first-child,
  .music-gallery figure:first-child {
    margin-left: 0;
  }
  .music-gallery > *:last-child,
  .music-gallery .music-video-card:last-child,
  .music-gallery .video-main:last-child,
  .music-gallery .wp-block-embed:last-child,
  .music-gallery figure:last-child {
    margin-right: 16px;
  }
}

@media (max-width: 768px) {
  .music-gallery {
    margin-left: -12px;
    margin-right: -12px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .music-gallery > *:last-child,
  .music-gallery .music-video-card:last-child,
  .music-gallery .video-main:last-child,
  .music-gallery .wp-block-embed:last-child,
  .music-gallery figure:last-child {
    margin-right: 12px;
  }
}

.music-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 8px;
  overflow: hidden;
  border: none;
  box-shadow: 0 6px 15px rgba(150, 129, 98, 0.45);
  background: #000;
}

@supports not (aspect-ratio: 9 / 16) {
  .music-video-frame {
    height: 0;
    padding-bottom: 177.78%;
  }
}

.music-video-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.music-video-title {
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 2px;
}

.music-video-meta {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-top: 0;
}

.music-video-caption {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2px;
  text-align: center;
}

/* Tours */
#tours {
  scroll-margin-top: 70px;
}

.section-tours {
  position: relative;
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
  background-color: #f5f0ea;
  background-image: var(--tours-bg-image, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.section-tours-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.50);
  pointer-events: none;
}

.section-tours .shell {
  position: relative;
  z-index: 1;
}

.section-tours .section-header .section-kicker,
.section-tours .section-header .section-title,
.section-tours .section-header .section-subtitle {
  color: #fef9f3;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.tours-list {
  display: grid;
  gap: 12px;
}

/* Список выступлений по центру блока */
.tours-list--centered {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* Аккордеон афиши: в закрытом виде — только заголовок (дата · место · время) */
.tour-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tour-accordion-item {
  border-radius: 5px;
  border: 1px solid rgba(214, 194, 170, 0.9);
  background: rgba(255, 252, 247, 0.96);
  overflow: hidden;
}

.tour-accordion-item--empty {
  border-style: dashed;
  border-color: rgba(148, 163, 184, 0.7);
}

.tour-accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  transition: background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.tour-accordion-header:hover {
  background: rgba(255, 250, 244, 0.98);
}

.tour-accordion-header:focus {
  outline: none;
}

.tour-accordion-title {
  flex: 1;
  min-width: 0;
}

.tour-accordion-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  color: var(--muted);
  transition: transform 0.2s ease, color 0.2s ease;
  pointer-events: none;
}

.tour-accordion-icon::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.tour-accordion-item.is-open .tour-accordion-icon {
  transform: rotate(-180deg);
  color: var(--accent-ochre);
}

.tour-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.tour-accordion-item.is-open .tour-accordion-body {
  max-height: 1200px;
}

.tour-accordion-inner {
  padding: 0 14px 14px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
  border-top: 1px solid rgba(214, 194, 170, 0.5);
}

.tour-accordion-inner p:first-child {
  margin-top: 12px;
}

.tour-accordion-inner p:last-child {
  margin-bottom: 0;
}

.tour-accordion-inner a {
  color: var(--accent-ochre);
  text-decoration: none;
}

.tour-accordion-inner a:hover {
  text-decoration: underline;
}

.tour-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 5px;
  padding: 10px 12px;
  border: 1px solid rgba(214, 194, 170, 0.9);
  background: rgba(255, 252, 247, 0.96);
  font-size: 13px;
}

.tour-main {
  display: grid;
  gap: 2px;
}

.tour-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.tour-city {
  font-weight: 600;
}

.tour-venue {
  font-size: 12px;
  color: var(--muted);
}

.tour-cta {
  white-space: nowrap;
}

.tour-row--empty {
  border-style: dashed;
  border-color: rgba(148, 163, 184, 0.7);
}

/* Блок подписки под концертами */
#subscribe {
  scroll-margin-top: 70px;
}

.section-subscribe {
  background: #f9edde;
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.subscribe-block {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.section-subscribe .subscribe-form-label {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-family: "Playfair Display", serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  border-bottom: 1px solid var(--accent-ochre);
  padding-bottom: 4px;
}

.section-subscribe .form-note {
  font-size: 13px;
}

.section-subscribe input,
.section-subscribe button.btn-primary-small {
  border-radius: 5px;
  height: 44px;
  box-sizing: border-box;
  line-height: 1.25;
}

.section-subscribe input {
  padding-top: 0;
  padding-bottom: 0;
}

.section-subscribe button.btn-primary-small {
  padding-top: 0;
  padding-bottom: 0;
  flex-shrink: 0;
}

.tour-subscribe {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(31, 41, 55, 0.8);
}

.subscribe-form {
  display: grid;
  gap: 6px;
  font-size: 12px;
}

/* Заголовок формы подписки «Будь в курсе событий» — размер задаётся здесь (в блоке подписки под концертами) */
.section-subscribe .subscribe-form .form-label,
.tour-subscribe .subscribe-form .form-label {
  font-size: 24px;
  color: var(--text);
}

.subscribe-row {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

@media (max-width: 480px) {
  .subscribe-row {
    flex-direction: column;
    align-items: stretch;
  }
}

.form-label {
  font-size: 12px;
  color: rgba(209, 213, 219, 0.98);
}

input,
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

input,
textarea {
  border-radius: 14px;
  border: 1px solid rgba(214, 194, 170, 0.9);
  background: rgba(255, 252, 247, 0.96);
  color: var(--text);
  padding: 9px 11px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast);
}

input::placeholder,
textarea::placeholder {
  color: rgba(148, 163, 184, 0.85);
}

input:focus,
textarea:focus {
  border-color: var(--accent-ochre);
  background: #fffaf4;
  box-shadow: 0 0 0 1px rgba(211, 163, 91, 0.5);
}

textarea {
  resize: vertical;
  min-height: 80px;
}

.form-note {
  font-size: 11px;
  color: var(--muted);
}

.form-success {
  margin-top: 8px;
  font-size: 12px;
  color: #bbf7d0;
}

.form-subscribe-success {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 500;
  color: #16a34a;
}

.form-unsubscribe-success {
  margin-top: 12px;
  font-size: 13px;
  color: #dc2626;
}

.form-error {
  margin-top: 8px;
  font-size: 13px;
  color: #b91c1c;
  background: rgba(254, 226, 226, 0.5);
  border: 1px solid rgba(239, 68, 68, 0.5);
  padding: 10px 12px;
  border-radius: 5px;
}

.contact-form .required-mark {
  color: #dc2626;
}

.contact-form .form-required-note {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 13px;
  color: #dc2626;
}

/* Merch */
#merch {
  scroll-margin-top: 70px;
}

.section-merch {
  background: radial-gradient(circle at top, #fdf5ec, #f2e4d5);
  
}

.merch-block {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

/* Горизонтальная галерея мерча (как блок с видео) */
.merch-gallery {
  display: flex;
  flex-wrap: nowrap;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  justify-content: flex-start;
  align-items: flex-start;
  -webkit-overflow-scrolling: touch;
}

/* Десктопная версия блока мерч */
@media (min-width: 901px) {
  .merch-gallery {
    justify-content: center;
  }
  .merch-card .btn-primary-small,
  .merch-card .js-merch-buy,
  .merch-card a.btn-primary-small {
    margin-bottom: 20px;
  }
}

.merch-gallery::-webkit-scrollbar {
  height: 6px;
}

.merch-gallery::-webkit-scrollbar-thumb {
  background: rgba(148, 118, 88, 0.4);
  border-radius: 999px;
}

.merch-gallery::-webkit-scrollbar-track {
  background: transparent;
}

/* Карточки мерча: 220px + 40% = 308px, одинаково на всех устройствах */
.merch-gallery > *,
.merch-gallery .merch-card {
  flex: 0 0 308px;
  min-width: 308px;
}

/* Мобильная версия: один блок без контейнеров, листается от края до края */
@media (max-width: 900px) {
  #merch {
    background: transparent !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    border-radius: 0 !important;
  }
  /* Убираем все закругления в блоке мерч, кроме кнопки */
  #merch .merch-block,
  #merch .section-header,
  #merch .section-header > div,
  #merch .section-kicker,
  #merch .section-title,
  #merch .section-subtitle,
  #merch .merch-order-message,
  #merch .merch-gallery,
  #merch .merch-card,
  #merch .merch-photo,
  #merch .merch-info,
  #merch .merch-info li,
  #merch .merch-brand,
  #merch .merch-title,
  #merch .merch-price,
  #merch img {
    border-radius: 0 !important;
  }
  #merch .merch-block {
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
  }
  /* Название и заголовок блока — отступ от левого края, как в блоке Музыка */
  #merch .section-header {
    flex-direction: column;
    align-items: stretch;
  }
  #merch .section-header > div {
    padding-left: 16px;
  }
  /* Описание блока — по центру */
  #merch .section-subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }
  /* Контейнер названия и цены — фон как у блока мерч */
  #merch .merch-info {
    padding: 10px 8px !important;
    list-style: none !important;
    margin: 0 !important;
  }
  /* Блок названия + кнопка — вся область открывает модалку на мобильных */
  #merch .merch-order-trigger {
    width: 100%;
    touch-action: none;
    cursor: pointer;
  }
  /* Отступ 7px сверху от кнопки до цены */
  /* Кнопка «Купить» — по ширине блока с названием, открывает модалку */
  #merch .merch-card .btn-primary-small,
  #merch .merch-card .js-merch-buy,
  #merch .merch-card a.btn-primary-small {
    margin-top: 7px !important;
    display: flex !important;
    width: 100% !important;
    max-width: none !important;
    justify-content: center !important;
    cursor: pointer !important;
    border-radius: 5px !important;
    touch-action: none !important;
    pointer-events: auto !important;
    min-height: 44px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    align-items: center !important;
  }
  #merch .merch-card {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }
  #merch .merch-photo {
    box-shadow: 0 6px 15px rgba(150, 129, 98, 0.45) !important;
  }
  #merch .merch-info .merch-title,
  #merch .merch-info .merch-price {
    margin: 0 !important;
    padding: 0 !important;
  }
  #merch .merch-info .merch-price {
    margin-top: 1px !important;
  }
  /* Горизонтальная галерея с прокруткой */
  .merch-gallery {
    display: flex !important;
    flex-wrap: nowrap !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    padding: 0 0 4px 0 !important;
    gap: 16px !important;
    background: transparent !important;
  }
  .merch-gallery .merch-card {
    flex: 0 0 308px !important;
    min-width: 308px !important;
  }
  .merch-gallery .merch-card:first-child {
    margin-left: 16px;
  }
  .merch-gallery .merch-card:last-child {
    margin-right: 16px;
  }
  #merch .merch-gallery::-webkit-scrollbar-thumb {
    border-radius: 0 !important;
  }
  /* Убираем отступ между блоком Мерч и Контакты */
  #merch {
    padding-bottom: 0 !important;
  }
  #contacts {
    padding-top: 0 !important;
  }
}

/* Модалка заказа мерча — адаптив для мобильных */
@media (max-width: 900px) {
  .merch-order-modal {
    padding: 12px;
    align-items: flex-start;
    padding-top: max(12px, env(safe-area-inset-top));
  }
  .merch-order-modal-inner {
    max-height: calc(100vh - 24px);
    margin-top: auto;
    margin-bottom: auto;
  }
}

.merch-card {
  overflow: hidden;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 5px;
  border: none;
  outline: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding-top: 6px;
}

/* Фото товара: скруглены только верхние углы (5px), по горизонтали по центру блока */
.merch-photo {
  width: 90%;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
  aspect-ratio: 4 / 5;
  flex-shrink: 0;
  background-size: cover;
  background-position: center center;
  border-radius: 5px 5px 0 0;
  border: none;
  outline: none;
}

.merch-photo.js-merch-photo-zoom {
  cursor: pointer;
}

/* Под фото: компактно, без лишних отступов и окантовок */
.merch-card .merch-info {
  padding: 4px 8px 0;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.merch-info {
  list-style: none;
  margin: 0;
  padding: 0;
}

.merch-title {
  font-weight: 700;
  font-size: 16px;
  color: #333333;
  margin: 0;
  padding: 0;
  line-height: 1.35;
  border: none;
  outline: none;
  box-shadow: none;
}

.merch-brand {
  font-weight: 400;
  font-size: 12px;
  color: #555555;
  margin: 1px 0 0;
  padding: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  outline: none;
}

.merch-price {
  font-size: 14px;
  font-weight: 500;
  color: #888888;
  margin: 2px 0 0;
  padding: 0;
  line-height: 1.3;
  border: none;
  outline: none;
  box-shadow: none;
}

/* Кнопка «Купить» — близко к цене */
.merch-card .btn-primary-small,
.merch-card .js-merch-buy {
  margin-top: 2px;
  width: 100%;
  max-width: 72%;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: 5px;
  border: none;
  background: #a69176;
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.merch-card .js-merch-buy:hover,
.merch-card .btn-primary-small:hover {
  background: #b09d82;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.merch-extra-content {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}

/* Принудительно убираем все окантовки и тени у названия, цены */
#merch .merch-info,
#merch .merch-title,
#merch .merch-brand,
#merch .merch-price {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

#merch .merch-card {
  border: none !important;
  outline: none !important;
}

#merch .merch-photo {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Лайтбокс: увеличенное фото товара по клику */
.merch-photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.merch-photo-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.merch-photo-lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}

.merch-photo-lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.merch-photo-lightbox-img {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 5px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.merch-photo-lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s ease;
}

.merch-photo-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.35);
}

/* Модальное окно формы заказа мерча */
.merch-order-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.merch-order-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.merch-order-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.merch-order-modal-inner {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border-radius: 5px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(214, 194, 170, 0.9);
}

.merch-order-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
}

.merch-order-modal-close:hover {
  color: var(--text);
}

.merch-order-modal-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 600;
}

.merch-order-product-name {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--muted);
}

.merch-order-form .form-field {
  margin-bottom: 12px;
}

.merch-order-form .form-field label {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  color: var(--text);
}

.merch-order-form select {
  width: 100%;
  padding: 9px 11px;
  border-radius: 5px;
  border: 1px solid rgba(214, 194, 170, 0.9);
  background: rgba(255, 252, 247, 0.96);
  font-size: 13px;
  font-family: inherit;
}

.merch-order-form .form-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(214, 194, 170, 0.5);
}

.merch-order-form .form-note {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}

/* Сообщения об успехе/ошибке заказа на главной */
.merch-order-message {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 5px;
  font-size: 14px;
}

.merch-order-message.success {
  background: rgba(187, 247, 208, 0.3);
  border: 1px solid rgba(34, 197, 94, 0.5);
  color: #166534;
}

.merch-order-message.error {
  background: rgba(254, 226, 226, 0.5);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #b91c1c;
}

/* Contacts */
#contacts {
  scroll-margin-top: 70px;
}

.section-contacts {
  background: #ffffff;
}

.contacts-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 26px;
}

@media (max-width: 900px) {
  .contacts-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.contact-card {
  border-radius: 5px;
  border: 1px solid rgba(214, 194, 170, 0.3);
  background: #ffffff;
  padding: 18px 16px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-card .form-label {
  color: #000000;
}

.contact-form input,
.contact-form textarea {
  border-radius: 5px;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.form-field {
  display: grid;
  gap: 4px;
  font-size: 13px;
}

.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  font-size: 11px;
  color: var(--muted);
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .form-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

.contacts-aside {
  display: grid;
  gap: 14px;
  font-size: 13px;
  color: #7b5b3d;
}

.contact-email-row,
.contact-person-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
}

.contact-person-row:last-of-type {
  margin-bottom: 0;
}

.contact-icon {
  color: #7e6c54;
  font-size: 21px;
  flex-shrink: 0;
}

.contact-email-link {
  color: #7b5b3d;
  text-decoration: underline;
}

.contact-email-link:hover {
  text-decoration: underline;
  opacity: 0.85;
}

.contact-person-link {
  color: #7b5b3d;
  text-decoration: none;
}

.contact-person-link:hover {
  text-decoration: underline;
}

.contacts-socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.contact-map {
  margin-top: 8px;
  border-radius: 5px;
  overflow: hidden;
}

.contact-map iframe {
  display: block;
}

/* Футер */
.site-footer {
  background: #7e6c54;
  color: #ffffff;
  font-size: 13px;
  padding: 24px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  font-size: 13px;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-copyright {
  margin: 0;
  color: #ffffff;
  font-size: 13px;
  font-family: inherit;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(214, 194, 170, 0.9);
  padding: 5px 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  background: rgba(255, 252, 247, 0.98);
}

.contact-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: radial-gradient(circle, #22c55e, #16a34a);
}

/* Адаптивность: планшеты и мобильные */
@media (max-width: 1024px) {
  .hero-title {
    font-size: clamp(42px, 8vw, 72px) !important;
  }
  .section-header {
    margin-bottom: 24px;
  }
}

@media (max-width: 768px) {
  .hero-inner {
    min-height: 50vh;
  }
  .hero-subtitle {
    font-size: 16px !important;
  }
  .hero-cta-row {
    flex-direction: column;
    align-items: center;
  }
  .contact-map iframe {
    height: 200px;
  }
  /* Галерея музыки: карточки уже на мобильных */
  .music-gallery > *,
  .music-video-card,
  .music-gallery .wp-block-embed,
  .music-gallery figure {
    flex: 0 0 200px !important;
    min-width: 200px !important;
    max-width: 200px !important;
  }
}

@media (max-width: 480px) {
  section {
    padding: 40px 0;
  }
  .hero-title {
    font-size: clamp(32px, 10vw, 48px) !important;
  }
  .section-title {
    font-size: 20px;
  }
  .footer-links {
    gap: 12px;
  }
}

/* Кроссбраузерность: префиксы для анимации */
@supports (transform: translateY(0)) {
  .section-reveal {
    -webkit-transform: translateY(40px);
    transform: translateY(40px);
  }
  .section-reveal.is-visible {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

/* Мобильные: показываем блоки сразу (после @supports для приоритета) */
@media (max-width: 768px) {
  .section-reveal,
  .section-reveal.is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
    -webkit-transform: translateY(0) !important;
  }
}