/* Octo Media — лендинг. Токены совпадают с мини-приложением. */
:root {
  --ink: #0f1d15;
  --ink-2: #3b4a41;
  --muted: #6b776f;
  --line: rgba(15, 29, 21, 0.08);
  --line-strong: rgba(15, 29, 21, 0.14);
  --bg: #f2f3f0;
  --surface: #ffffff;
  --surface-2: #f7f8f5;
  --brand: #003a1e;
  --brand-rgb: 0, 58, 30;
  --brand-2: #0b5230;
  --signal: #1db446;
  --signal-rgb: 29, 180, 70;
  --signal-soft: #e4f4e8;
  --busy: #c2412d;
  --busy-soft: #fbe7e3;
  --r-s: 12px;
  --r-m: 18px;
  --r-l: 28px;
  --shadow: 0 24px 48px -24px rgba(0, 58, 30, 0.22);
  --shadow-tight: 0 8px 20px -10px rgba(0, 58, 30, 0.3);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --wrap: 1240px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

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

.num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: currentColor;
  stroke-width: 1.75;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal);
  flex-shrink: 0;
}

.dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  display: none;
}

.dot.is-busy {
  background: var(--busy);
}

@keyframes breathe {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }

  70%,
  100% {
    transform: scale(2.6);
    opacity: 0;
  }
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.035em;
  line-height: 1.05;
  font-weight: 600;
}

.h2 {
  font-size: clamp(30px, 4vw, 46px);
}

.lead {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 54ch;
}

/* ---------------- Кнопки ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition:
    transform 0.35s var(--ease),
    background 0.25s var(--ease),
    box-shadow 0.35s var(--ease);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 18px 36px -18px rgba(0, 58, 30, 0.75);
}

.btn-primary:hover {
  background: var(--brand-2);
}

.btn-ghost {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--brand);
}

.btn-sm {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 14px;
}

/* ---------------- Шапка ---------------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242, 243, 240, 0.82);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}

.header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}

.logo img {
  height: 40px;
  border-radius: 11px;
}

.nav {
  display: flex;
  gap: 4px;
  margin-left: 8px;
}

.nav a {
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  transition: background 0.2s var(--ease);
}

.nav a:hover {
  background: rgba(15, 29, 21, 0.05);
  color: var(--ink);
}

.header-end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang {
  display: inline-flex;
  padding: 3px;
  border-radius: 12px;
  background: rgba(15, 29, 21, 0.06);
}

.lang a {
  padding: 6px 10px;
  border-radius: 9px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.lang a.is-on {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 2px 8px -2px rgba(0, 58, 30, 0.25);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: var(--surface);
  cursor: pointer;
}

.mobile-nav {
  display: none;
}

/* ---------------- Hero ---------------- */

.hero {
  padding: 56px 0 72px;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hero h1 {
  font-size: clamp(38px, 5.4vw, 64px);
  max-width: 14ch;
}

.hero h1 em {
  font-style: normal;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 0;
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.stats div {
  padding: 16px 28px 0 0;
  margin-right: 28px;
  border-right: 1px solid var(--line);
}

.stats div:last-child {
  border-right: 0;
  margin-right: 0;
}

.stats strong {
  display: block;
  font-family: var(--mono);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.stats span {
  font-size: 13.5px;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #e3e3e3 url('hero-poster.jpg') center / cover;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}

.hero-badge {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    var(--shadow-tight);
  font-size: 14px;
}

.hero-badge strong {
  font-weight: 600;
}

.hero-badge small {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
}

/* ---------------- Секции ---------------- */

section {
  padding: 88px 0;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
  margin-bottom: 36px;
}

.section-head > div {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Форматы — асимметричное бенто */
.formats {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-auto-rows: 168px;
  gap: 12px;
}

.format {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition:
    transform 0.4s var(--ease),
    border-color 0.3s var(--ease);
}

.format:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--brand-rgb), 0.3);
}

.format:first-child {
  grid-row: span 2;
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.format .f-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--signal-soft);
  color: var(--brand);
}

.format:first-child .f-icon {
  background: rgba(255, 255, 255, 0.1);
  color: var(--signal);
}

.format h3 {
  font-size: 20px;
  letter-spacing: -0.02em;
}

.format:first-child h3 {
  font-size: 30px;
}

.format .f-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: var(--muted);
}

.format:first-child .f-meta {
  color: rgba(255, 255, 255, 0.7);
}

.format:first-child::after {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 0 28px rgba(255, 255, 255, 0.025),
    0 0 0 56px rgba(255, 255, 255, 0.02);
}

/* ---------------- Карта ---------------- */

.map-section {
  padding-top: 24px;
}

.map-shell {
  position: relative;
  height: min(78vh, 720px);
  min-height: 520px;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #eef0ec;
}

#map {
  position: absolute;
  inset: 0;
}

.map-toolbar {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    var(--shadow-tight);
  overflow-x: auto;
  scrollbar-width: none;
}

.map-toolbar::-webkit-scrollbar {
  display: none;
}

.chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  transition: background 0.2s var(--ease);
}

.chip:hover {
  background: rgba(15, 29, 21, 0.05);
}

.chip.is-on {
  background: var(--brand);
  color: #fff;
}

.chip .num {
  font-size: 12px;
  opacity: 0.7;
}

.map-count {
  margin-left: auto;
  flex-shrink: 0;
  padding: 0 10px;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}

.pin {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: 0 8px 18px -8px rgba(0, 58, 30, 0.55);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  animation: pop 0.45s var(--ease) both;
  transition:
    background 0.2s var(--ease),
    color 0.2s var(--ease);
}

.pin i {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
}

.pin i .icon {
  width: 13px;
  height: 13px;
}

.pin:hover,
.pin.is-active {
  background: var(--brand);
  color: #fff;
}

.pin:hover i,
.pin.is-active i {
  background: var(--signal);
}

.cluster {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  box-shadow:
    0 0 0 6px rgba(var(--brand-rgb), 0.16),
    0 10px 22px -10px rgba(0, 58, 30, 0.6);
  animation: pop 0.45s var(--ease) both;
}

@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.6);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.maplibregl-ctrl-attrib {
  font-size: 10px;
}

/* ---------------- Модалка объекта ---------------- */

.sheet {
  width: min(560px, calc(100vw - 24px));
  max-height: min(88vh, 820px);
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(0, 58, 30, 0.45);
  overflow: hidden;
}

.sheet[open] {
  display: flex;
  flex-direction: column;
  animation: sheet-in 0.5s var(--ease) both;
}

.sheet::backdrop {
  background: rgba(15, 29, 21, 0.42);
  backdrop-filter: blur(3px);
}

@keyframes sheet-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.sheet-body {
  overflow-y: auto;
  padding: 12px 12px 4px;
}

.gallery {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  background: #e6e8e3;
}

.track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.track::-webkit-scrollbar {
  display: none;
}

.track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  scroll-snap-align: center;
}

.gallery .counter {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 5px 9px;
  border-radius: 10px;
  background: rgba(15, 29, 21, 0.62);
  color: #fff;
  font-size: 11px;
}

.sheet-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.sheet-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 6px 12px;
}

.sheet-info h3 {
  font-size: 24px;
}

.sheet-info .addr {
  display: flex;
  gap: 6px;
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
}

.sheet-info .addr .icon {
  color: var(--brand);
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  padding: 14px 16px;
  border-radius: var(--r-m);
  background: var(--surface);
  border: 1px solid var(--line);
}

.price strong {
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 600;
}

.price small {
  color: var(--muted);
}

.price .avail {
  flex-basis: 100%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--brand);
}

.price .avail.is-busy {
  color: var(--busy);
}

.specs {
  margin: 0;
  border-radius: var(--r-m);
  background: var(--surface);
  border: 1px solid var(--line);
}

.specs div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  font-size: 14.5px;
}

.specs div + div {
  border-top: 1px solid var(--line);
}

.specs dt {
  color: var(--muted);
}

.specs dd {
  margin: 0;
  text-align: right;
  font-weight: 500;
}

.sheet-foot {
  display: flex;
  gap: 10px;
  padding: 12px;
  border-top: 1px solid var(--line);
  background: rgba(242, 243, 240, 0.94);
}

.sheet-foot .btn-primary {
  flex: 1;
}

/* ---------------- Услуги — зигзаг-лента ---------------- */

.services {
  border-top: 1px solid var(--line);
}

.service {
  display: grid;
  grid-template-columns: 80px 1fr 1.2fr auto;
  gap: 24px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.service .s-num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  padding-top: 6px;
}

.service h3 {
  font-size: 24px;
  letter-spacing: -0.025em;
}

.service p {
  margin: 0;
  color: var(--ink-2);
  line-height: 1.6;
}

/* ---------------- Процесс ---------------- */

.process {
  background: var(--brand);
  color: #fff;
  border-radius: 40px;
  margin: 0 12px;
}

.process .eyebrow,
.process .lead {
  color: rgba(255, 255, 255, 0.7);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.step {
  padding: 24px 24px 0 0;
}

.step + .step {
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.step .num {
  color: var(--signal);
  font-size: 13px;
}

.step h3 {
  margin: 14px 0 8px;
  font-size: 21px;
  letter-spacing: -0.02em;
}

.step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.55;
}

/* ---------------- Контакты ---------------- */

.contact .wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-list {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.contact-list a,
.contact-list div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list .c-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--signal-soft);
  color: var(--brand);
}

.contact-list small {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
}

.contact-list strong {
  font-size: 17px;
  font-weight: 600;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  border-radius: var(--r-l);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: 14px;
  font-weight: 500;
}

.field input,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface-2);
  font-size: 15px;
  transition:
    border-color 0.2s var(--ease),
    background 0.2s var(--ease);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: var(--surface);
}

.field .err {
  min-height: 0;
  font-size: 13px;
  color: var(--busy);
}

.form-note {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.form-status {
  display: none;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 14px;
}

.form-status.is-ok {
  display: block;
  background: var(--signal-soft);
  color: var(--brand);
}

.form-status.is-err {
  display: block;
  background: var(--busy-soft);
  color: var(--busy);
}

.hp {
  position: absolute;
  left: -9999px;
}

/* ---------------- Футер ---------------- */

.footer {
  padding: 40px 0 48px;
  color: var(--muted);
  font-size: 14px;
}

.footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.footer nav {
  display: flex;
  gap: 20px;
}

/* ---------------- Появление при скролле ---------------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------------- Адаптив ---------------- */

@media (max-width: 960px) {
  .nav,
  .header-end .btn {
    display: none;
  }

  .burger {
    display: grid;
  }

  .mobile-nav.is-open {
    display: flex;
    flex-direction: column;
    padding: 8px 24px 20px;
    border-top: 1px solid var(--line);
  }

  .mobile-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-weight: 500;
  }

  .hero .wrap,
  .contact .wrap {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    aspect-ratio: 4 / 4.2;
    order: -1;
  }

  .formats {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 150px;
  }

  .format:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }

  .service {
    grid-template-columns: 48px 1fr;
  }

  .service p,
  .service .btn {
    grid-column: 2;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .step:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .section-head {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .wrap {
    padding: 0 16px;
  }

  section {
    padding: 64px 0;
  }

  .hero {
    padding: 20px 0 48px;
  }

  .stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats div {
    padding-right: 12px;
    margin-right: 12px;
  }

  .stats strong {
    font-size: 24px;
  }

  .formats {
    grid-template-columns: 1fr;
  }

  .format:first-child {
    grid-column: span 1;
  }

  .map-shell {
    height: 72vh;
    min-height: 460px;
    border-radius: 24px;
  }

  .form-row,
  .steps {
    grid-template-columns: 1fr;
  }

  .step,
  .step + .step {
    padding: 22px 0 0;
    border-left: 0;
  }

  .form {
    padding: 20px;
  }

  .process {
    margin: 0;
    border-radius: 28px;
  }

  .sheet {
    width: 100vw;
    max-height: 92vh;
    margin: auto 0 0;
    border-radius: 28px 28px 0 0;
  }

  .sheet-foot {
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

.sheet:focus,
.sheet-body:focus {
  outline: none;
}

.sheet-info .kind {
  font-size: 14px;
  color: var(--muted);
}

/* Видео со звуком поверх анимации */
.hero-sound {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}

.hero-sound.is-on {
  opacity: 1;
}

.sound-toggle {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-tight);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.sound-toggle .i-on,
.sound-toggle[aria-pressed='true'] .i-off {
  display: none;
}

.sound-toggle[aria-pressed='true'] .i-on {
  display: block;
}
