/* Боевой сайт ovsyankarnd.ru — «Овсяный шёлк» + плавающая стеклянная док-панель.
   Адаптировано под iPhone/Android (mobile-first) и широкие экраны десктопа (1280–1440px).
   Современные паттерны: Modern Web Guidance + OpenDesign + Impeccable + Apple Fluid + Mobile Native. */

:root {
  --bg: #f6f1e7;
  --bezel: #ebe2d2;
  --surface: #fdfbf7;
  --ink: #3a2a1d;
  --ink-2: #6f5a47;
  --ink-3: #8f7a66;
  --accent: #566b53;
  --accent-deep: #435641;
  --accent-soft: #e7ede5;
  --border-subtle: rgba(58, 42, 29, 0.12);
  --msg-tel-bg: #f1e9dc;
  --msg-tel-fg: #3a2a1d;
  --msg-tel-border: rgba(58, 42, 29, 0.18);
  --r-outer: 26px;
  --r-inner: 20px;
}

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

html {
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  min-height: 100svh;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Golos Text', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 15.5px;
  line-height: 1.56;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 1024px) {
  body { padding-bottom: 104px; }
}

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }

button, a, summary, [role="button"] {
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

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

input, textarea, select {
  font-family: inherit;
  font-size: 16px;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.tabular { font-variant-numeric: tabular-nums; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 12px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--surface);
  font-weight: 600;
  font-size: 14px;
}

.skip-link:focus-visible {
  top: calc(12px + env(safe-area-inset-top, 0px));
}

.wrap {
  width: min(100%, 1180px);
  margin-inline: auto;
  padding-inline: 16px;
}

@media (min-width: 768px) {
  .wrap { padding-inline: 32px; }
}

.section {
  padding-block: clamp(44px, 6.5vw, 88px);
  scroll-margin-top: 24px;
}

.section-strip {
  padding-top: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(18px, 3vw, 32px);
}

.sec-head {
  margin-bottom: 24px;
}

.sec-head.compact {
  margin-bottom: 20px;
}

.split-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media (min-width: 860px) {
  .split-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
  }
}

.kicker {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

h2 {
  margin: 0 0 8px;
  font-family: 'Forum', Georgia, serif;
  font-weight: 400;
  font-size: clamp(30px, 5.4vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.sec-lead {
  margin: 0;
  max-width: 52ch;
  color: var(--ink-2);
  font-size: 15px;
}

/* Фирменный логотип ОВСЯНКА + птичка */
.brand-lockup {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.brand-word-row {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
}

.brand-word {
  letter-spacing: 0.13em;
  font-weight: 400;
}

.bird-mark {
  width: 1.55em;
  height: 1.4em;
  margin-left: -0.15em;
  margin-bottom: -0.05em;
  flex-shrink: 0;
}

.brand-sub {
  margin-top: 5px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.72;
}

/* Double-Bezel (OpenDesign high-end-visual-design) */
.bezel-outer {
  padding: 7px;
  border-radius: var(--r-outer);
  background: var(--bezel);
  border: 1px solid rgba(58, 42, 29, 0.08);
}

.bezel-inner {
  border-radius: var(--r-inner);
  background: var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 8px 28px rgba(58, 42, 29, 0.045);
}

/* 1. HERO (100svh + место под нижний стеклянный док!) */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fdfbf7;
  overflow: hidden;
  border-radius: 0 0 30px 30px;
}

@media (min-width: 1024px) {
  .hero {
    min-height: min(92svh, 860px);
    border-radius: 0 0 38px 38px;
  }
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media picture,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
}

@media (min-width: 820px) {
  .hero-media img {
    object-position: center 42%;
  }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(32, 22, 15, 0.46) 0%, rgba(32, 22, 15, 0.06) 28%),
    linear-gradient(to top, rgba(30, 21, 14, 0.88) 0%, rgba(30, 21, 14, 0.5) 46%, rgba(30, 21, 14, 0.06) 74%);
}

@media (min-width: 960px) {
  .hero-scrim {
    background:
      linear-gradient(to bottom, rgba(28, 20, 14, 0.5) 0%, rgba(28, 20, 14, 0.06) 26%),
      linear-gradient(95deg, rgba(28, 20, 14, 0.78) 0%, rgba(28, 20, 14, 0.44) 48%, rgba(28, 20, 14, 0.08) 82%),
      linear-gradient(to top, rgba(28, 20, 14, 0.68) 0%, transparent 45%);
  }
}

.hero-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: calc(16px + env(safe-area-inset-top, 0px));
}

@media (min-width: 960px) {
  .hero-top { padding-top: 24px; }
}

.hero-brand {
  color: #fdfbf7;
  font-size: 18px;
}

@media (min-width: 960px) {
  .hero-brand { font-size: 20px; }
}

/* Десктопная верхняя стеклянная навигация */
.desk-nav {
  display: none;
}

@media (min-width: 960px) {
  .desk-nav {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px;
    border-radius: 999px;
    background: rgba(34, 24, 16, 0.34);
    border: 1px solid rgba(253, 251, 247, 0.22);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
  .desk-nav a {
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 500;
    color: rgba(253, 251, 247, 0.9);
    transition: background-color 150ms ease, color 150ms ease;
  }
  @media (hover: hover) and (pointer: fine) {
    .desk-nav a:hover {
      background: rgba(253, 251, 247, 0.16);
      color: #ffffff;
    }
  }
}

.hero-top-actions {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.desk-phone {
  display: none;
}

@media (min-width: 1120px) {
  .desk-phone {
    display: inline-flex;
    font-size: 14px;
    font-weight: 500;
    color: rgba(253, 251, 247, 0.92);
    white-space: nowrap;
  }
}

.hero-contact-pill {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(253, 251, 247, 0.18);
  border: 1px solid rgba(253, 251, 247, 0.36);
  color: #fdfbf7;
  font-size: 14px;
  font-weight: 500;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 100ms ease-out, background-color 160ms ease;
}

.hero-contact-pill:active { transform: scale(0.96); }

@media (hover: hover) and (pointer: fine) {
  .hero-contact-pill:hover {
    background: rgba(253, 251, 247, 0.28);
  }
}

.hero-bottom {
  position: relative;
  z-index: 2;
  padding-top: 56px;
  padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 960px) {
  .hero-bottom {
    padding-top: 84px;
    padding-bottom: 106px;
  }
}

.hero-bottom-inner {
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 12px;
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(253, 251, 247, 0.16);
  border: 1px solid rgba(253, 251, 247, 0.26);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

.hero-title {
  margin: 0 0 14px;
  font-family: 'Forum', Georgia, serif;
  font-weight: 400;
  font-size: clamp(36px, 8.6vw, 72px);
  line-height: 1.01;
  letter-spacing: -0.015em;
  max-width: 14ch;
  text-wrap: balance;
}

.hero-facts {
  margin: 0 0 24px;
  max-width: 48ch;
  font-size: clamp(14.5px, 1.8vw, 17px);
  line-height: 1.5;
  color: rgba(253, 251, 247, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* Button-in-Button */
.btn-island {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 54px;
  padding: 6px 6px 6px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #fdfbf7;
  font-weight: 600;
  font-size: 15px;
  transition: transform 100ms ease-out, background-color 180ms ease;
}

.btn-island:active { transform: scale(0.97); }

@media (hover: hover) and (pointer: fine) {
  .btn-island:hover { background: var(--accent-deep); }
  .btn-island:hover .btn-circle { transform: translate(2px, -1px) scale(1.04); }
}

.btn-circle {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(253, 251, 247, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 220ms cubic-bezier(0.32, 0.72, 0, 1);
}

.btn-circle svg { width: 18px; height: 18px; }
.btn-full { width: 100%; }

.btn-ghost-hero {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  background: rgba(253, 251, 247, 0.14);
  border: 1px solid rgba(253, 251, 247, 0.3);
  color: #fdfbf7;
  font-size: 14.5px;
  font-weight: 500;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background-color 160ms ease, transform 100ms ease;
}

.btn-ghost-hero:active { transform: scale(0.97); }

@media (hover: hover) and (pointer: fine) {
  .btn-ghost-hero:hover { background: rgba(253, 251, 247, 0.24); }
}

/* 2. КОРОТКИЕ ОРИЕНТИРЫ */
.strip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 350px) {
  .strip-grid { grid-template-columns: 1fr; }
}

@media (min-width: 760px) {
  .strip-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}

.strip-item {
  padding: 18px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid rgba(58, 42, 29, 0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.strip-ico {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.strip-ico svg { width: 19px; height: 19px; }
.strip-val { font-weight: 600; font-size: 15.5px; line-height: 1.25; }
.strip-sub { font-size: 13.5px; color: var(--ink-2); line-height: 1.4; }

/* 3. ГАЛЕРЕЯ ЗОН (Нативный scroll-snap) */
.carousel-wrap { position: relative; }

.carousel-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding-bottom: 4px;
}

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

@media (prefers-reduced-motion: no-preference) {
  .carousel-track { scroll-behavior: smooth; }
}

#zonesTrack > .zone-slide {
  flex: 0 0 85%;
  max-width: 420px;
  scroll-snap-align: center;
}

@media (min-width: 768px) {
  #zonesTrack > .zone-slide { flex: 0 0 44%; scroll-snap-align: start; }
}

@media (min-width: 1080px) {
  #zonesTrack > .zone-slide { flex: 0 0 34%; max-width: 400px; }
}

.zone-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.zone-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  background: #e9dfd0;
}

.zone-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) and (pointer: fine) {
  .zone-card:hover .zone-photo img {
    transform: scale(1.03);
  }
}

.zone-copy {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.zone-sub {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 600;
}

.zone-title {
  margin: 0;
  font-family: 'Forum', Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.15;
}

.zone-text {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
}

.carousel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.carousel-markers {
  display: flex;
  align-items: center;
  gap: 6px;
}

.carousel-dot {
  min-width: 24px;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.carousel-dot::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--ink);
  opacity: 0.25;
  transition: width 220ms cubic-bezier(0.32, 0.72, 0, 1), opacity 180ms ease;
}

.carousel-dot[aria-current="true"]::after {
  width: 22px;
  opacity: 0.9;
  background: var(--accent);
}

.carousel-arrows { display: flex; gap: 8px; }

.carousel-arrow {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid rgba(58, 42, 29, 0.14);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 100ms ease-out, background-color 140ms ease;
}

.carousel-arrow:active { transform: scale(0.95); }
.carousel-arrow svg { width: 20px; height: 20px; }

/* 4. ПАКЕТЫ */
.day-switch {
  display: inline-flex;
  padding: 5px;
  border-radius: 999px;
  background: var(--bezel);
  align-self: flex-start;
  flex-shrink: 0;
}

.day-opt {
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
  transition: background-color 180ms ease, color 180ms ease;
}

.day-opt.is-active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 2px 10px rgba(58, 42, 29, 0.08);
}

.pkg-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 760px) {
  .pkg-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

.pkg-card .bezel-inner {
  padding: 22px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pkg-card.is-featured {
  background: linear-gradient(145deg, #dce5d9, #ebe2d2);
}

.pkg-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.pkg-name {
  margin: 0;
  font-family: 'Forum', Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.04;
}

.pkg-badge {
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}

.pkg-dur { font-size: 13.5px; color: var(--ink-2); margin-top: 3px; }

.pkg-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 16px;
  border-radius: 14px;
  background: var(--bg);
}

.pkg-price-main { font-size: 27px; font-weight: 700; letter-spacing: -0.02em; }
.pkg-price-alt { font-size: 13px; color: var(--ink-2); }

.pkg-summary { margin: 0; font-size: 14.5px; color: var(--ink-2); }

.pkg-highlight {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent-deep);
}

.pkg-highlight svg { width: 16px; height: 16px; flex-shrink: 0; }

.pkg-actions {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 350px) {
  .pkg-actions { grid-template-columns: 1fr; }
}

.btn-soft,
.btn-solid,
.btn-outline-sage {
  min-height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  transition: transform 100ms ease-out, background-color 160ms ease;
}

.btn-soft:active,
.btn-solid:active,
.btn-outline-sage:active { transform: scale(0.97); }

.btn-soft {
  background: var(--bg);
  color: var(--ink);
  border: 1px solid rgba(58, 42, 29, 0.12);
}

.btn-solid {
  background: var(--accent);
  color: #fdfbf7;
}

@media (hover: hover) and (pointer: fine) {
  .btn-solid:hover { background: var(--accent-deep); }
  .btn-soft:hover { background: var(--bezel); }
}

.btn-outline-sage {
  width: 100%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  border: 1px solid rgba(86, 107, 83, 0.25);
}

/* 5. КАЛЬКУЛЯТОР (2 КОЛОНКИ НА ДЕСКТОПЕ) */
.calc-inner {
  padding: clamp(20px, 4vw, 38px);
}

.calc-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 880px) {
  .calc-layout {
    grid-template-columns: 1.25fr 0.85fr;
    gap: 28px;
    align-items: stretch;
  }
}

.calc-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 5px;
  border-radius: 16px;
  background: var(--bg);
  margin-bottom: 18px;
}

.calc-tab {
  min-height: 44px;
  padding: 6px 8px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  line-height: 1.2;
}

.calc-tab.is-active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(58, 42, 29, 0.08);
}

.calc-controls {
  display: grid;
  gap: 16px;
}

.calc-field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 8px;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice-chip {
  min-height: 44px;
  padding: 8px 15px;
  border-radius: 12px;
  border: 1px solid rgba(58, 42, 29, 0.14);
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  transition: transform 100ms ease, background-color 140ms ease;
}

.choice-chip:active { transform: scale(0.97); }

.choice-chip.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fdfbf7;
  font-weight: 600;
}

.stepper-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--bg);
}

.stepper-title { font-weight: 600; font-size: 14.5px; }
.stepper-sub { font-size: 13px; color: var(--ink-2); }

.stepper-ctrl {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.step-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid rgba(58, 42, 29, 0.14);
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.step-val {
  min-width: 44px;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
}

.calc-summary {
  padding: 20px;
  border-radius: 18px;
  background: var(--bg);
  border: 1px solid rgba(58, 42, 29, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.calc-sum-label { font-size: 13.5px; color: var(--ink-2); font-weight: 500; }

.calc-sum-val {
  font-family: 'Forum', Georgia, serif;
  font-size: clamp(38px, 5vw, 48px);
  line-height: 1.04;
  margin-top: 6px;
}

.calc-sum-note {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.45;
}

/* 6. ПОЧАСОВАЯ ИГРОВАЯ И АРЕНДА */
.hourly-inner {
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 820px) {
  .hourly-inner { grid-template-columns: 0.9fr 1.1fr; }
}

.hourly-photo {
  aspect-ratio: 4 / 3;
  background: #e9dfd0;
  overflow: hidden;
}

@media (min-width: 820px) {
  .hourly-photo { aspect-ratio: auto; height: 100%; }
}

.hourly-photo img { width: 100%; height: 100%; object-fit: cover; }

.hourly-content {
  padding: clamp(20px, 4vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hourly-prices {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

@media (min-width: 560px) {
  .hourly-prices { grid-template-columns: 1fr 1fr; }
}

.hp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 15px;
  border-radius: 14px;
  background: var(--bg);
  font-size: 14.5px;
}

.hp-row strong { font-size: 19px; color: var(--accent-deep); white-space: nowrap; }

.clean-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-2);
}

.clean-list li { display: flex; align-items: flex-start; gap: 9px; }
.clean-list svg { width: 17px; height: 17px; color: var(--accent); margin-top: 2px; flex-shrink: 0; }

.rent-mini {
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.rent-mini-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-2);
  font-weight: 600;
  margin-bottom: 8px;
}

.rent-mini-rows {
  display: grid;
  gap: 6px;
  font-size: 14px;
}

.rm-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink-2);
}

.rm-row strong { color: var(--ink); white-space: nowrap; }

/* 7. АФИША И МАСТЕР-КЛАССЫ */
.poster-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 22px;
}

@media (min-width: 780px) {
  .poster-row { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

.poster-item {
  padding: 18px 20px;
  border-radius: 20px;
  background: var(--accent);
  color: #fdfbf7;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.poster-date {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}

.poster-title {
  margin: 0;
  font-family: 'Forum', Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.15;
}

.poster-note { margin: 0; font-size: 13.5px; opacity: 0.88; }

.age-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.age-pill {
  min-height: 42px;
  padding: 0 15px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid rgba(58, 42, 29, 0.13);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition: background-color 140ms ease, color 140ms ease, transform 100ms ease;
}

.age-pill:active { transform: scale(0.96); }

.age-pill.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fdfbf7;
  font-weight: 600;
}

.ws-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 680px) {
  .ws-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

@media (min-width: 1024px) {
  .ws-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

.ws-card {
  padding: 18px 20px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid rgba(58, 42, 29, 0.09);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ws-meta { display: flex; gap: 6px; font-size: 12px; color: var(--accent-deep); font-weight: 600; }
.ws-tag { padding: 4px 9px; border-radius: 999px; background: var(--accent-soft); }
.ws-title { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.28; }
.ws-desc { margin: 0; font-size: 14px; color: var(--ink-2); flex: 1; }

.ws-ask {
  align-self: flex-start;
  margin-top: 6px;
  min-height: 40px;
  padding: 0 13px;
  border-radius: 10px;
  background: var(--bg);
  color: var(--accent-deep);
  font-size: 13.5px;
  font-weight: 600;
}

/* 8. УСЛОВИЯ И ПРАВИЛА (2 КОЛОНКИ НА ДЕСКТОПЕ) */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

@media (min-width: 880px) {
  .faq-layout { grid-template-columns: 0.92fr 1.08fr; gap: 24px; }
}

.cond-title {
  margin: 0;
  padding: 20px 22px 0;
  font-family: 'Forum', Georgia, serif;
  font-size: 25px;
  font-weight: 400;
}

.cond-list {
  margin: 0;
  padding: 14px 22px 22px 40px;
  display: grid;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink-2);
}

.cond-list li::marker { color: var(--accent); font-weight: 700; }

/* Нативный аккордеон <details> (Modern Web Guidance) */
.faq-list {
  background: var(--surface);
  border-radius: 22px;
  padding: 6px 22px;
  border: 1px solid rgba(58, 42, 29, 0.09);
}

.mwg-accordion details { border-bottom: 1px solid var(--border-subtle); }
.faq-list details:last-child { border-bottom: 0; }

.mwg-accordion summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 14px 0;
  font-weight: 500;
  line-height: 1.38;
  cursor: pointer;
}

.mwg-accordion summary::-webkit-details-marker { display: none; }

.mwg-accordion summary::before {
  content: "";
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  background-color: var(--accent);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat center / contain;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat center / contain;
  rotate: -90deg;
}

.mwg-accordion details[open] > summary::before { rotate: 0deg; }

@media (prefers-reduced-motion: no-preference) {
  .mwg-accordion summary::before { transition: rotate 220ms cubic-bezier(0.32, 0.72, 0, 1); }
  .mwg-accordion details::details-content {
    transition-property: block-size, content-visibility, display;
    transition-duration: 280ms;
    transition-timing-function: cubic-bezier(0.32, 0.72, 0, 1);
    transition-behavior: allow-discrete;
  }
}

.mwg-accordion details::details-content {
  interpolate-size: allow-keywords;
  overflow: clip;
  contain: layout;
}

.mwg-accordion details:not([open])::details-content { block-size: 0; }

.mwg-accordion .acc-body {
  padding: 0 0 18px 30px;
  line-height: 1.58;
  color: var(--ink-2);
}

/* 9. КОНТАКТЫ (2 КОЛОНКИ НА ДЕСКТОПЕ) */
.contacts-grid {
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 880px) {
  .contacts-grid { grid-template-columns: 1.15fr 0.85fr; }
}

.contacts-inner { padding: clamp(22px, 4vw, 38px); }
.contacts-meta { margin: 0 0 22px; font-size: 15.5px; color: var(--ink-2); }

.contacts-photo {
  display: none;
}

@media (min-width: 880px) {
  .contacts-photo {
    display: block;
    background: #e9dfd0;
    max-height: 440px;
  }
  .contacts-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 32%;
  }
}

/* Кнопки мессенджеров */
.msg-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 540px) {
  .msg-grid:not(.is-compact) { grid-template-columns: 1fr 1fr; }
}

.msg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  transition: transform 100ms ease-out, filter 160ms ease;
}

.msg-btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .msg-btn:hover { filter: brightness(1.06); }
}

.msg-ico { width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.msg-ico svg { width: 20px; height: 20px; }
.msg-wa { background: #2b6f47; color: #ffffff; }
.msg-tg { background: #2c6487; color: #ffffff; }
.msg-max { background: #4b426b; color: #ffffff; }
.msg-tel { background: var(--msg-tel-bg); color: var(--msg-tel-fg); border: 1px solid var(--msg-tel-border); }

.msg-copy-row { margin-top: 10px; }

.msg-copy-btn {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  border: 1px dashed rgba(58, 42, 29, 0.28);
}

.maps-row {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.map-chip {
  min-height: 44px;
  padding: 0 15px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid rgba(58, 42, 29, 0.14);
  display: inline-flex;
  align-items: center;
  font-size: 13.5px;
  font-weight: 500;
}

/* ФУТЕР */
.site-footer {
  padding-top: 8px;
  padding-bottom: 18px;
  color: var(--ink-2);
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

@media (min-width: 760px) {
  .footer-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .footer-right { text-align: right; }
}

.footer-note { margin: 0 0 4px; font-size: 14px; }
.footer-credit { margin: 0; font-size: 12.5px; color: var(--ink-3); }

/* ПЛАВАЮЩАЯ СТЕКЛЯННАЯ НИЖНЯЯ ДОК-ПАНЕЛЬ (Тёплое Стекло + Овсяный шёлк) */
.glass-dock {
  position: fixed;
  left: 50%;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 80;
  width: min(calc(100% - 24px), 440px);
  padding: 6px;
  border-radius: 999px;
  background: rgba(253, 251, 247, 0.84);
  backdrop-filter: blur(22px) saturate(185%);
  -webkit-backdrop-filter: blur(22px) saturate(185%);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 32px rgba(45, 33, 22, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

@media (prefers-reduced-transparency: reduce) {
  .glass-dock { background: var(--surface); backdrop-filter: none; }
}

.dock-item {
  min-height: 48px;
  border-radius: 999px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-2);
  transition: background-color 180ms ease, color 180ms ease, transform 100ms ease;
}

.dock-item:active { transform: scale(0.95); }

.dock-item.is-active {
  background: var(--accent);
  color: #fdfbf7;
}

.dock-ico { width: 19px; height: 19px; display: inline-flex; align-items: center; justify-content: center; }
.dock-ico svg { width: 19px; height: 19px; }

/* НАТИВНЫЙ <dialog> (Modern Web Guidance) */
dialog.sheet-dialog {
  width: min(100%, 540px);
  max-width: 100%;
  max-height: 88dvh;
  margin: auto auto 0;
  padding: 0;
  border: 0;
  border-radius: 26px 26px 0 0;
  overflow: auto;
  background: var(--surface);
  color: var(--ink);
  opacity: 0;
  transition-property: opacity, transform, display, overlay;
  transition-duration: 300ms;
  transition-timing-function: cubic-bezier(0.32, 0.72, 0, 1);
  transition-behavior: allow-discrete;
}

@media (min-width: 680px) {
  dialog.sheet-dialog {
    margin: auto;
    border-radius: 26px;
    max-height: 84dvh;
    box-shadow: 0 24px 60px rgba(34, 24, 16, 0.24);
  }
}

@media (prefers-reduced-motion: no-preference) {
  dialog.sheet-dialog { transform: translateY(32px); }
  @media (min-width: 680px) {
    dialog.sheet-dialog { transform: translateY(16px) scale(0.97); }
  }
}

dialog.sheet-dialog:modal { overscroll-behavior: contain; }

dialog.sheet-dialog::backdrop {
  overflow: hidden;
  overscroll-behavior: contain;
  background-color: rgba(24, 19, 15, 0);
  transition-property: background-color, backdrop-filter, display, overlay;
  transition-duration: 280ms;
  transition-timing-function: ease-out;
  transition-behavior: allow-discrete;
}

dialog.sheet-dialog[open]:not([data-closing]) {
  opacity: 1;
  @starting-style { opacity: 0; }
}

@media (prefers-reduced-motion: no-preference) {
  dialog.sheet-dialog[open]:not([data-closing]) {
    transform: translateY(0) scale(1);
    @starting-style { transform: translateY(32px); }
  }
}

dialog.sheet-dialog[open]:not([data-closing])::backdrop {
  background-color: rgba(24, 19, 15, 0.54);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  @starting-style {
    background-color: rgba(24, 19, 15, 0);
    backdrop-filter: blur(0px);
  }
}

@media (prefers-reduced-motion: reduce) {
  dialog.sheet-dialog, dialog.sheet-dialog::backdrop { transition-duration: 120ms; }
}

.sheet-handle {
  width: 40px;
  height: 4px;
  border-radius: 999px;
  margin: 10px auto 2px;
  background: var(--ink);
  opacity: 0.2;
}

@media (min-width: 680px) {
  .sheet-handle { display: none; }
}

.sheet-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 22px 14px;
  background: var(--surface);
  border-bottom: 1px solid var(--border-subtle);
}

.sheet-kicker {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 4px;
}

.sheet-title {
  margin: 0;
  font-family: 'Forum', Georgia, serif;
  font-weight: 400;
  font-size: 30px;
  line-height: 1.1;
}

.sheet-close {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sheet-close svg { width: 20px; height: 20px; }

.sheet-body {
  padding: 14px 22px calc(26px + env(safe-area-inset-bottom, 0px));
}

.sheet-price-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--bg);
  margin-bottom: 16px;
}

.sheet-price-bar strong { font-size: 24px; color: var(--accent-deep); }

.sheet-mini-switch {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: var(--bezel);
}

.sheet-mini-switch button {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}

.sheet-mini-switch button.is-active {
  background: var(--surface);
  color: var(--ink);
}

.sheet-lead { margin: 0 0 14px; font-size: 14.5px; color: var(--ink-2); }

.sheet-msg-preview {
  margin: 0 0 16px;
  padding: 14px;
  border-radius: 14px;
  background: var(--bg);
  font-size: 14px;
  line-height: 1.48;
}

.sheet-features {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 14.5px;
}

.sheet-features li { display: flex; align-items: flex-start; gap: 9px; }
.sheet-features svg { width: 17px; height: 17px; color: var(--accent); margin-top: 3px; flex-shrink: 0; }

/* Плавное появление секций (GPU-safe) */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 560ms cubic-bezier(0.22, 1, 0.36, 1), transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}
