/* Переменные */
:root {
  --cream: #fbf7f4;
  --sand: #f1ebe3;
  --olive: #8e9465;
  --olive-d: #657948;
  --tan-d: #7d6c50;
  --olive-xd: #4f5e3a;
  --tan: #c3b099;
  --ink: #2f3328;
  --muted: #6c7060;
  --line: rgba(195,176,153,.5);
  --shadow: 0 14px 40px rgba(79,94,58,.14);
  --ease: cubic-bezier(.22,1,.36,1);
  --arch: 999px 999px 28px 28px;
  --glass: rgba(255,255,255,.5);
  --glass-hi: rgba(255,255,255,.72);
  --glass-line: rgba(255,255,255,.7);
  --intro: .75s;
  --sy: 0;
  --lg-fill: linear-gradient(135deg,rgba(255,255,255,.62) 0%,rgba(255,255,255,.2) 48%,rgba(255,255,255,.4) 100%);
  --lg-blur: blur(16px) saturate(1.9) brightness(1.05);
  --lg-rim: inset 0 1.5px 1px rgba(255,255,255,.98),inset 1px 0 1px rgba(255,255,255,.55),inset 0 -1.5px 1px rgba(255,255,255,.38),inset 0 0 26px rgba(255,255,255,.28);
  --lg-drop: 0 18px 44px rgba(79,94,58,.2),0 2px 6px rgba(79,94,58,.08);
}

/* Основа */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

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

body {
  font-family: "Exo 2",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

ul {
  list-style: none;
}

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

@supports not (width:min(1px,2px)) {
  .wrap {
    width: 92%;
    max-width: 1180px;
  }
}

:focus-visible {
  outline: 3px solid var(--tan);
  outline-offset: 3px;
  border-radius: 8px;
}

/* Кнопки */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--olive-d);
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  border: 1.5px solid var(--olive-d);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  touch-action: manipulation;
  white-space: nowrap;
  transition: background .45s ease,transform .6s var(--ease),color .45s ease,border-color .45s ease;
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 40%;
  background: linear-gradient(90deg,transparent,rgba(255,255,255,.4),transparent);
  transform: translateX(-120%) skewX(-20deg);
  pointer-events: none;
}

.btn--ghost {
  background: transparent;
  color: var(--olive-d);
}

.btn--sm {
  padding: 9px 20px;
  font-size: .95rem;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  transform: scale(0);
  animation: ripple .8s ease-out forwards;
  pointer-events: none;
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg,var(--tan),var(--olive-d));
  z-index: 120;
  will-change: transform;
}

/* Шапка */
.top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  padding-top: env(safe-area-inset-top);
  transition: background .5s,box-shadow .5s;
}

.top::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  background: rgba(251,247,244,.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity .5s;
}

.top.scrolled::before {
  opacity: 1;
}

.top.scrolled {
  box-shadow: 0 6px 24px rgba(79,94,58,.1);
}

.top__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  transition: height .5s var(--ease);
}

.top.scrolled .top__in {
  height: 60px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-style: italic;
  font-weight: 600;
  font-size: 1.55rem;
  color: var(--olive-d);
}

.brand img {
  width: 50px;
  height: auto;
  transition: transform .7s var(--ease);
}

.top__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.top__tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 500;
  color: var(--olive-xd);
  transition: color .4s;
}

.top__tel svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linejoin: round;
}

/* Нижняя навигация */
.dock {
  position: fixed;
  left: 50%;
  bottom: calc(18px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 7px;
  border-radius: 999px;
  background: rgba(251,247,244,.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  box-shadow: 0 12px 36px rgba(79,94,58,.22);
  animation: dockIn 1.1s 1.6s var(--ease) both;
}

.dock a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 46px;
  height: 46px;
  padding: 0 14px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: .93rem;
  touch-action: manipulation;
  transition: color .4s,transform .5s var(--ease);
}

.dock svg {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .5s var(--ease);
}

.dock a span {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width .55s var(--ease),opacity .4s;
}

.dock a.active {
  color: #fff;
}

.dock a.active span {
  max-width: 90px;
  opacity: 1;
}

.dock__pill {
  position: absolute;
  z-index: 0;
  top: 7px;
  left: 0;
  height: 46px;
  width: 46px;
  border-radius: 999px;
  background: var(--olive-d);
  box-shadow: 0 6px 16px rgba(79,94,58,.35);
  transform: translateX(7px);
  transition: transform .6s var(--ease),width .6s var(--ease);
  will-change: transform,width;
}

.no-js .dock a:first-of-type {
  background: var(--olive-d);
  color: #fff;
}

/* Общее */
.section {
  padding: 104px 0;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-style: italic;
  font-weight: 500;
  color: var(--olive-d);
  letter-spacing: .04em;
  margin-bottom: 14px;
}

.kicker span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--tan);
  font-size: .85rem;
  font-style: normal;
  color: var(--olive-d);
}

.kicker--light {
  color: #e9ecdf;
}

.kicker--light span {
  border-color: rgba(255,255,255,.4);
  color: #fff;
}

.kicker--plain {
  color: var(--tan-d);
}

.kicker--plain i {
  width: 36px;
  height: 1.5px;
  background: var(--tan);
}

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

.title {
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2rem,4.4vw,3.2rem);
  line-height: 1.15;
}

.title em {
  font-weight: 600;
  color: var(--olive-d);
  background: linear-gradient(var(--tan),var(--tan)) no-repeat 0 94%;
  background-size: 0 3px;
  transition: background-size 1.4s .4s var(--ease);
}

.title.in em {
  background-size: 100% 3px;
}

.title--light {
  color: #fff;
}

.title--light em {
  color: #fff;
  background-image: linear-gradient(var(--tan),var(--tan));
}

.ico {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: var(--olive-d);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ico--sm {
  width: 36px;
  height: 36px;
  flex: none;
}

/* Фото и заглушки */
.ph {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: repeating-linear-gradient(135deg,rgba(195,176,153,.16) 0 12px,transparent 12px 24px),var(--sand);
  border: 1.5px dashed var(--tan);
  isolation: isolate;
}

.ph img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  max-width: none;
  transition: transform 1.2s var(--ease);
}

.ph.has-img {
  border-style: solid;
  border-color: transparent;
}

.ph__hint {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  color: var(--olive-d);
  padding: 16px;
}

.ph__hint svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .8;
}

.ph__hint b {
  font-style: italic;
  font-weight: 500;
  font-size: 1.05rem;
}

.ph__hint small {
  color: var(--muted);
  font-size: .78rem;
  word-break: break-all;
}

.ph--arch {
  border-radius: var(--arch);
}

.ph--round {
  border-radius: 50%;
}

.ph--r {
  border-radius: 24px;
}

/* Первый экран */
.hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 100px;
}

.hero::before {
  content: "";
  position: absolute;
  top: -180px;
  left: -200px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: var(--olive);
  opacity: .14;
  animation: drift 24s ease-in-out infinite;
}

.hero__in {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}

.hero h1 {
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.5rem,6.2vw,5rem);
  line-height: 1.1;
  display: grid;
  margin-bottom: 6px;
}

.hero h1 b {
  font-weight: 600;
  color: var(--olive-d);
}

.lead {
  margin: 24px 0 32px;
  max-width: 500px;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__facts {
  display: flex;
  gap: 34px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.hero__facts li {
  display: grid;
}

.hero__facts b {
  font-style: italic;
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--olive-d);
  line-height: 1.2;
}

.hero__facts span {
  color: var(--muted);
  font-size: .9rem;
}

.hero__visual {
  position: relative;
  width: min(460px,100%);
  margin-inline: auto;
  --px: 0px;
  --py: 0px;
}

.arch-back {
  position: absolute;
  top: -22px;
  left: 22px;
  right: -22px;
  bottom: 22px;
  border-radius: var(--arch);
  background: var(--olive);
  opacity: .9;
  transform: rotate(3deg);
  animation: pop 1.4s .2s var(--ease) both;
}

.hero__photo {
  aspect-ratio: 4/5;
  width: 100%;
  animation: archIn 1.5s .35s var(--ease) both;
  box-shadow: var(--shadow);
}

.hero__photo img {
  transform: scale(1.001);
}

@supports not (aspect-ratio:4/5) {
  .hero__photo {
    height: 0;
    padding-bottom: 125%;
  }
}

.badge-round {
  position: absolute;
  left: -46px;
  bottom: 36px;
  width: 136px;
  height: 136px;
  animation: spin 28s linear infinite;
}

.badge-round__bg {
  fill: var(--cream);
  stroke: var(--tan);
  stroke-width: 1;
}

.badge-round text {
  font-size: 9.2px;
  letter-spacing: .14em;
  fill: var(--olive-d);
  font-weight: 600;
  font-style: italic;
}

.badge-logo {
  position: absolute;
  left: -10px;
  bottom: 70px;
  width: 64px;
  height: auto;
  z-index: 3;
  animation: pop 1.2s 1s var(--ease) both;
}

.chip {
  position: absolute;
  top: 34px;
  right: -24px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-weight: 500;
  font-size: .95rem;
  color: var(--olive-xd);
  animation: pop 1.2s 1.1s var(--ease) both,floaty 8s 2.4s ease-in-out infinite;
}

.chip i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--olive-d);
  box-shadow: 0 0 0 0 rgba(111,131,80,.5);
  animation: pulse 2.8s ease-out infinite;
}

.leaf {
  position: absolute;
  color: var(--tan);
  width: 76px;
  right: -34px;
  bottom: -30px;
  transform-origin: bottom center;
  animation: sway 11s ease-in-out infinite;
}

.leaf path {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: draw 3s 1.4s ease forwards;
}

/* Бегущие строки */
.ticker {
  background: var(--olive-d);
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  padding: 14px 0;
  -webkit-mask-image: linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);
  mask-image: linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);
}

.ticker__track {
  display: inline-flex;
  animation: marquee 38s linear infinite;
  will-change: transform;
}

.ticker span {
  font-style: italic;
  font-size: 1.15rem;
  padding: 0 22px;
}

.ticker span::after {
  content: "✦";
  margin-left: 44px;
  color: var(--tan);
  font-style: normal;
}

/* О студии */
.about__in {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.about__photos {
  position: relative;
  aspect-ratio: 1/1.08;
}

@supports not (aspect-ratio:1/1) {
  .about__photos {
    height: 0;
    padding-bottom: 108%;
  }
}

.about__p1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 68%;
  height: 82%;
}

.about__p2 {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48%;
  aspect-ratio: 1/1;
  border: 6px solid var(--cream);
  box-shadow: var(--shadow);
}

.feat li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  transition: transform .6s var(--ease),opacity 1.1s var(--ease);
}

.feat li:last-child {
  border-bottom: 1px solid var(--line);
}

.feat .ico {
  flex: none;
  padding: 12px;
  width: 60px;
  height: 60px;
  background: var(--sand);
  border-radius: 50% 50% 50% 14px;
  transition: transform .7s var(--ease),background .5s,stroke .5s;
}

.feat h3 {
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--olive-xd);
  margin-bottom: 4px;
}

.feat p {
  color: var(--muted);
  font-size: .98rem;
}

/* Принципы */
.breath {
  background: var(--olive-d);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.breath::before {
  content: "";
  position: absolute;
  right: -160px;
  top: -160px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1.5px dashed rgba(255,255,255,.25);
  animation: spin 60s linear infinite;
}

.breath__in {
  position: relative;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
  perspective: 1100px;
}

.principles li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 22px;
  padding: 18px;
  transition: transform .6s var(--ease),background .5s,opacity 1.1s var(--ease);
}

.principles i {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  color: var(--olive-d);
  display: grid;
  place-items: center;
  font-style: italic;
  font-weight: 600;
  font-size: 1.15rem;
  transition: transform .7s var(--ease);
}

.principles b {
  display: block;
  font-weight: 600;
}

.principles span {
  display: block;
  color: #fff;
  font-size: .93rem;
  line-height: 1.4;
}

/* Галерея */
.bento {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  grid-auto-rows: 210px;
  gap: 16px;
}

.bento .ph {
  height: 100%;
  transition: opacity 1.1s var(--ease),transform 1.1s var(--ease);
}

.g1 {
  grid-column: 1/3;
  grid-row: 1/3;
  border-radius: var(--arch);
}

.g2 {
  grid-column: 3/4;
  grid-row: 1/2;
}

.g3 {
  grid-column: 4/5;
  grid-row: 1/3;
}

/* Цены */
.prices-sec {
  background: var(--sand);
}

.plans {
  display: grid;
  gap: 18px;
}

.plan {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 28px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 26px 34px 26px 26px;
  transition: transform .6s var(--ease),box-shadow .6s ease,opacity 1.1s var(--ease);
  overflow: hidden;
}

.plan::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 6px;
  background: var(--tan);
  transition: width .6s var(--ease),background .4s;
}

.plan__ico {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--sand);
  display: grid;
  place-items: center;
  transition: transform .8s var(--ease),background .5s;
}

.plan__ico svg {
  width: 46px;
  height: 46px;
  fill: none;
  stroke: var(--olive-d);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.plan h3 {
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.25;
  margin-bottom: 4px;
}

.plan__body p {
  color: var(--muted);
}

.plan__sum {
  font-style: italic;
  font-weight: 600;
  font-size: 3.2rem;
  line-height: 1;
  color: var(--olive-d);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  transition: transform .6s var(--ease);
}

.plan__sum small {
  font-size: 1.6rem;
  margin-left: 6px;
}

.plan--hot {
  background: var(--olive-d);
  border-color: var(--olive-d);
  color: #fff;
}

.plan--hot::before {
  background: var(--tan);
}

.plan--hot .plan__ico {
  background: rgba(255,255,255,.18);
}

.plan--hot .plan__ico svg {
  stroke: #fff;
}

.plan--hot .plan__body p {
  color: rgba(255,255,255,.85);
}

.plan--hot .plan__sum {
  color: #fff;
}

.plan--hot .btn {
  background: #fff;
  color: var(--olive-xd);
  border-color: #fff;
}

.plan__tag {
  position: absolute;
  top: 0;
  right: 34px;
  background: var(--tan);
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  padding: 5px 16px;
  border-radius: 0 0 14px 14px;
  animation: tagglow 3.4s 1.6s ease-in-out infinite;
}

/* Как добраться */
.route {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
}

.route__map {
  position: relative;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  height: 480px;
  background: var(--sand);
  transition: opacity 1.1s var(--ease),transform 1.1s var(--ease);
}

.route__map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.route__card {
  position: absolute;
  left: 28px;
  bottom: 28px;
  width: min(400px,calc(100% - 56px));
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 26px;
  box-shadow: var(--shadow);
  transition: opacity 1.1s var(--ease),transform 1.1s var(--ease);
}

.facts {
  display: grid;
  gap: 18px;
  margin-bottom: 22px;
}

.facts li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: transform .6s var(--ease);
}

.facts b {
  display: block;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.3;
}

.facts span {
  color: var(--muted);
  font-size: .92rem;
}

.facts a {
  text-decoration: none;
}

.facts .ico {
  transition: transform .8s var(--ease);
}

.route__btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Подвал */
.footer {
  background: var(--olive-xd);
  color: #e9ecdf;
  padding: 72px 0 calc(110px + env(safe-area-inset-bottom));
}

.messengers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding-bottom: 44px;
  margin-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.18);
}

.msg {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.28);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  touch-action: manipulation;
  transition: transform .5s var(--ease),background .4s,color .4s,border-color .4s,opacity 1.1s var(--ease);
}

.msg svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex: none;
  transition: transform .6s var(--ease);
}

.msg--book {
  background: var(--tan);
  border-color: var(--tan);
}

.footer__top {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 44px;
}

.footer__brand img {
  width: 110px;
  height: auto;
  background: var(--cream);
  border-radius: 50% 50% 20px 20px;
  padding: 18px 14px 14px;
  margin-bottom: 16px;
}

.footer__name {
  font-style: italic;
  font-weight: 600;
  font-size: 1.8rem;
  color: #fff;
  line-height: 1.1;
}

.footer__sub {
  font-style: italic;
  color: #ddd0bb;
  margin-bottom: 14px;
}

.footer__addr {
  font-size: .95rem;
  line-height: 1.7;
}

.footer__addr a {
  text-decoration: none;
}

.socials {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(130px,1fr));
  gap: 18px;
}

.social {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  text-align: center;
  transition: opacity 1.1s var(--ease),transform 1.1s var(--ease);
}

.qr {
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: 18px;
  padding: 10px;
  width: 100%;
  max-width: 152px;
  transition: transform .6s var(--ease);
}

.qr img {
  width: 100%;
  height: auto;
}

.qr::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: var(--olive-d);
  opacity: 0;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.18);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  font-size: .92rem;
  color: #c9cfb8;
}

.credit a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .4s;
}

/* Появление при прокрутке */
.reveal {
  opacity: 0;
  transform: translate3d(0,26px,0);
}

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

.no-js .reveal {
  opacity: 1 !important;
  transform: none !important;
}

/* Наведение (только мышь) */
@media (hover:hover) and (pointer:fine) {
  .btn:hover {
    background: var(--olive-xd);
    border-color: var(--olive-xd);
    transform: translateY(-2px);
  }
  .btn--ghost:hover {
    background: var(--olive-d);
    color: #fff;
    border-color: var(--olive-d);
  }
  .btn:hover::after {
    animation: shine 1.1s ease;
  }
  .brand:hover img {
    transform: rotate(-8deg) scale(1.08);
  }
  .top__tel:hover {
    color: var(--olive-d);
  }
  .dock a:not(.active):hover {
    color: var(--olive-d);
    transform: translateY(-3px);
  }
  .dock a:not(.active):hover svg {
    transform: scale(1.12);
  }
  .ph.has-img:hover img {
    transform: scale(1.06);
  }
  .feat li.in:hover {
    transform: translateX(8px);
  }
  .feat li:hover .ico {
    transform: rotate(-8deg) scale(1.08);
    background: var(--olive-d);
    stroke: #fff;
  }
  .principles li.in:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,.18);
  }
  .principles li:hover i {
    transform: rotate(-10deg) scale(1.1);
  }
  .bento .ph.in:hover {
    transform: translateY(-4px);
  }
  .plan.in:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow);
  }
  .plan:hover::before {
    width: 14px;
  }
  .plan:hover .plan__ico {
    transform: rotate(-8deg) scale(1.06);
  }
  .plan:hover .plan__sum {
    transform: scale(1.06);
  }
  .plan--hot .btn:hover {
    background: var(--cream);
    color: var(--olive-xd);
  }
  .facts li:hover {
    transform: translateX(6px);
  }
  .facts li:hover .ico {
    transform: scale(1.15) rotate(-6deg);
  }
  .facts a:hover {
    color: var(--olive-d);
  }
  .msg:hover {
    background: #fff;
    color: var(--olive-xd);
    border-color: #fff;
    transform: translateY(-3px);
  }
  .msg:hover svg {
    transform: rotate(-12deg) scale(1.15);
  }
  .social:hover .qr {
    transform: translateY(-4px) scale(1.03);
  }
  .social:hover .qr::after {
    opacity: .6;
    animation: scan 1.6s linear infinite;
  }
  .footer__addr a:hover,
  .credit a:hover {
    color: var(--tan);
  }
}

@media (hover:none) {
  .btn:active,
  .msg:active {
    transform: scale(.97);
  }
  .dock a:active {
    transform: scale(.92);
  }
}

/* Анимации */
@keyframes rise {
  from { opacity: 0; transform: translate3d(0,34px,0); }
  to { opacity: 1; transform: none; }
}

@keyframes archIn {
  from { opacity: 0; transform: translate3d(0,40px,0) scale(.94); }
  to { opacity: 1; transform: none; }
}

@keyframes floaty {
  0%,100% { transform: translate3d(0,0,0); }
  50% { transform: translate3d(0,-10px,0); }
}

@keyframes drift {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(26px,18px,0) scale(1.05); }
}

@keyframes sway {
  0%,100% { transform: rotate(14deg); }
  50% { transform: rotate(4deg) translateY(-6px); }
}

@keyframes pop {
  from { opacity: 0; transform: scale(.7) rotate(-6deg); }
  to { opacity: 1; transform: none; }
}

@keyframes shine {
  from { transform: translateX(-120%) skewX(-20deg); }
  to { transform: translateX(320%) skewX(-20deg); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(111,131,80,.5); }
  100% { box-shadow: 0 0 0 12px rgba(111,131,80,0); }
}

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

@keyframes scan {
  from { top: 8%; }
  to { top: 92%; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes ripple {
  to { transform: scale(3.2); opacity: 0; }
}

@keyframes tagglow {
  0%,100% { box-shadow: 0 0 0 0 rgba(195,176,153,.7); }
  50% { box-shadow: 0 0 0 8px rgba(195,176,153,0); }
}

@keyframes dockIn {
  from { opacity: 0; transform: translate(-50%,40px); }
  to { opacity: 1; transform: translate(-50%,0); }
}

/* Вход первого экрана */
.hero__text .kicker,
.hero h1 span,
.hero .lead,
.hero__cta .btn,
.hero__facts {
  opacity: 0;
  animation: rise 1.3s var(--ease) forwards;
}

.hero__text .kicker {
  animation-delay: .1s;
}

.hero h1 span:nth-child(1) {
  animation-delay: .25s;
}

.hero h1 span:nth-child(2) {
  animation-delay: .45s;
}

.hero h1 span:nth-child(3) {
  animation-delay: .65s;
}

.hero .lead {
  animation-delay: .85s;
}

.hero__cta .btn:nth-child(1) {
  animation: rise 1.3s 1s var(--ease) forwards,pulse 3.6s 2.6s ease-out infinite;
}

.hero__cta .btn:nth-child(2) {
  animation-delay: 1.15s;
}

.hero__facts {
  animation-delay: 1.3s;
}

.hero__photo,
.arch-back {
  translate: var(--px) var(--py);
}

/* Адаптив */
@media (min-width:1600px) {
  .wrap {
    width: min(1320px,100% - 96px);
  }
  html {
    font-size: 112.5%;
  }
}

@media (max-width:1100px) {
  .hero__in {
    gap: 40px;
  }
  .about__in {
    gap: 48px;
  }
  .plan {
    grid-template-columns: auto 1fr auto;
  }
  .plan .btn {
    grid-column: 2/4;
    justify-self: start;
  }
}

@media (max-width:900px) {
  .section {
    padding: 76px 0;
  }
  .hero {
    padding: 112px 0 72px;
  }
  .hero__in {
    grid-template-columns: 1fr;
  }
  .hero__visual {
    order: -1;
    width: min(340px,82%);
    margin-bottom: 24px;
  }
  .badge-round {
    width: 110px;
    height: 110px;
    left: -30px;
  }
  .badge-logo {
    width: 52px;
    left: -4px;
    bottom: 58px;
  }
  .chip {
    right: -14px;
  }
  .about__in {
    grid-template-columns: 1fr;
  }
  .about__photos {
    width: min(460px,100%);
    margin-inline: auto;
  }
  .top__tel span {
    display: none;
  }
  .top__tel {
    width: 42px;
    height: 42px;
    justify-content: center;
    border-radius: 50%;
    background: var(--sand);
  }
  .bento {
    grid-template-columns: repeat(2,1fr);
    grid-auto-rows: 170px;
  }
  .g1 {
    grid-column: 1/3;
    grid-row: 1/3;
    border-radius: var(--arch);
  }
  .g2 {
    grid-column: 1/2;
    grid-row: 3/4;
  }
  .g3 {
    grid-column: 2/3;
    grid-row: 3/5;
  }
  .route__map {
    height: 340px;
    border-radius: 30px 30px 0 0;
  }
  .route__card {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-top: -1px;
    border-radius: 0 0 30px 30px;
    box-shadow: none;
  }
  .footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer__brand {
    text-align: center;
  }
  .footer__brand img {
    margin-inline: auto;
  }
}

@media (max-width:640px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .section {
    padding: 64px 0;
  }
  .brand {
    font-size: 1.35rem;
  }
  .brand img {
    width: 42px;
  }
  .top__in {
    height: 64px;
  }
  .hero__cta .btn {
    flex: 1 1 100%;
  }
  .hero__facts {
    gap: 22px;
  }
  .principles {
    grid-template-columns: 1fr;
  }
  .plan {
    grid-template-columns: 64px 1fr;
    gap: 14px 18px;
    padding: 24px 20px 22px 26px;
    border-radius: 28px;
  }
  .plan__ico {
    width: 64px;
    height: 64px;
  }
  .plan__ico svg {
    width: 36px;
    height: 36px;
  }
  .plan h3 {
    font-size: 1.15rem;
  }
  .plan__sum {
    grid-column: 1/-1;
    font-size: 2.6rem;
  }
  .plan .btn {
    grid-column: 1/-1;
    justify-self: stretch;
  }
  .plan__tag {
    right: 22px;
  }
  .route__btns .btn {
    flex: 1 1 100%;
  }
  .socials {
    grid-template-columns: repeat(2,1fr);
  }
  .messengers {
    gap: 10px;
  }
  .msg {
    flex: 1 1 calc(50% - 10px);
    justify-content: center;
    padding: 12px 14px;
    font-size: .95rem;
  }
  .msg--book,
  .msg--tel {
    flex-basis: 100%;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .dock {
    bottom: calc(12px + env(safe-area-inset-bottom));
    padding: 6px;
    max-width: calc(100% - 20px);
  }
  .dock a {
    min-width: 42px;
    height: 42px;
    padding: 0 10px;
  }
  .dock svg {
    width: 21px;
    height: 21px;
  }
  .dock__pill {
    top: 6px;
    height: 42px;
  }
  .dock a.active span {
    max-width: 60px;
  }
  .dock a span {
    font-size: .82rem;
  }
}

@media (max-width:400px) {
  .dock a.active span {
    max-width: 0;
    opacity: 0;
  }
  .dock a {
    min-width: 40px;
    padding: 0 9px;
  }
  .dock a.active {
    padding: 0 9px;
  }
  .msg {
    flex-basis: 100%;
  }
  .bento {
    grid-auto-rows: 150px;
  }
}

@media (max-height:480px) and (orientation:landscape) {
  .hero {
    padding: 96px 0 40px;
  }
  .dock {
    bottom: 6px;
  }
}

/* Заставка */
.loader {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 200;
  background: var(--cream);
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 22px;
  pointer-events: none;
  animation: loaderOut .7s .75s ease forwards;
}

.loader img {
  width: 120px;
  height: auto;
  animation: loaderPulse 1.3s ease-in-out infinite;
}

.loader i {
  display: block;
  width: 120px;
  height: 3px;
  border-radius: 3px;
  background: rgba(195,176,153,.4);
  position: relative;
  overflow: hidden;
}

.loader i::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--olive-d);
  transform: translateX(-100%);
  animation: loaderBar .9s ease-out forwards;
}

.no-js .loader {
  display: none;
}

/* Фон */
.aurora {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  will-change: transform;
  transform: translate3d(0,calc(var(--sy,0) * var(--k,-.05) * 1px),0);
}

.orb i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  animation: orbit var(--d,28s) ease-in-out infinite;
}

.orb--1 {
  --k: -.06;
  --d: 30s;
  top: -14%;
  left: -14%;
  width: min(70vw,780px);
  height: min(70vw,780px);
}

.orb--1 i {
  background: radial-gradient(circle,rgba(142,148,101,.5),rgba(142,148,101,0) 68%);
}

.orb--2 {
  --k: -.1;
  --d: 36s;
  top: 18%;
  right: -18%;
  width: min(66vw,720px);
  height: min(66vw,720px);
}

.orb--2 i {
  background: radial-gradient(circle,rgba(195,176,153,.6),rgba(195,176,153,0) 68%);
  animation-direction: reverse;
}

.orb--3 {
  --k: -.03;
  --d: 32s;
  bottom: -18%;
  left: 8%;
  width: min(64vw,700px);
  height: min(64vw,700px);
}

.orb--3 i {
  background: radial-gradient(circle,rgba(111,131,80,.32),rgba(111,131,80,0) 68%);
}

.orb--4 {
  --k: -.14;
  --d: 40s;
  top: 52%;
  right: 12%;
  width: min(40vw,440px);
  height: min(40vw,440px);
}

.orb--4 i {
  background: radial-gradient(circle,rgba(195,176,153,.42),rgba(195,176,153,0) 68%);
}

.cursor-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 560px;
  height: 560px;
  margin: -280px 0 0 -280px;
  border-radius: 50%;
  background: radial-gradient(circle,rgba(195,176,153,.32),rgba(195,176,153,0) 62%);
  opacity: 0;
  transition: opacity .8s;
  will-change: transform;
}

.cursor-glow.on {
  opacity: 1;
}

@media (hover:none) {
  .cursor-glow {
    display: none;
  }
}

/* Первый экран */
.hero::before {
  display: none;
}

.hero__mark {
  position: absolute;
  right: -1%;
  bottom: -3%;
  z-index: 0;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(6rem,19vw,17rem);
  line-height: .9;
  letter-spacing: -.02em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(195,176,153,.55);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  transform: translate3d(calc(var(--sy,0) * -.12px),0,0);
  animation: markIn 2s calc(var(--intro) + .3s) var(--ease) both;
  will-change: transform;
}

.hero__in {
  z-index: 1;
}

.arch-back {
  background: linear-gradient(160deg,rgba(142,148,101,.9),rgba(111,131,80,.5));
  border: 1px solid rgba(255,255,255,.4);
}

.hero__photo {
  box-shadow: 0 30px 70px rgba(79,94,58,.25);
}

.chip {
  background: var(--glass-hi);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-color: var(--glass-line);
}

.badge-round__bg {
  fill: rgba(251,247,244,.72);
}

.hero__facts {
  border-top: 0;
  padding-top: 0;
  gap: 12px;
}

.hero__facts li {
  padding: 14px 20px;
  border-radius: 22px;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(79,94,58,.07);
}

/* Вход первого экрана после заставки */
.hero__text .kicker {
  animation-delay: calc(var(--intro) + .1s);
}

.hero h1 span:nth-child(1) {
  animation-delay: calc(var(--intro) + .25s);
}

.hero h1 span:nth-child(2) {
  animation-delay: calc(var(--intro) + .45s);
}

.hero h1 span:nth-child(3) {
  animation-delay: calc(var(--intro) + .65s);
}

.hero .lead {
  animation-delay: calc(var(--intro) + .85s);
}

.hero__cta .btn:nth-child(1) {
  animation: rise 1.3s calc(var(--intro) + 1s) var(--ease) forwards;
}

.hero__cta .btn:nth-child(2) {
  animation-delay: calc(var(--intro) + 1.15s);
}

.hero__facts {
  animation-delay: calc(var(--intro) + 1.3s);
}

.arch-back {
  animation: pop 1.4s calc(var(--intro) + .2s) var(--ease) both;
}

.hero__photo {
  animation: archIn 1.5s calc(var(--intro) + .35s) var(--ease) both;
}

.badge-logo {
  animation: pop 1.2s calc(var(--intro) + 1s) var(--ease) both;
}

.chip {
  animation: pop 1.2s calc(var(--intro) + 1.1s) var(--ease) both,floaty 8s calc(var(--intro) + 2.4s) ease-in-out infinite;
}

.leaf path {
  animation: draw 3s calc(var(--intro) + 1.4s) ease forwards;
}

.dock {
  animation: dockIn 1.1s calc(var(--intro) + 1.4s) var(--ease) both;
  background: rgba(251,247,244,.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid var(--glass-line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85),0 16px 44px rgba(79,94,58,.24);
}

/* Стекло: панель */
.dock a.active svg {
  animation: bounce .8s var(--ease);
}

.dock__pill {
  background: linear-gradient(135deg,var(--olive),var(--olive-d));
}

/* Бегущие строки */
.ticker {
  background: rgba(111,131,80,.9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.ticker--outline {
  background: transparent;
  color: transparent;
  padding: 6px 0;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.ticker--outline .ticker__track {
  animation: marquee 46s linear infinite reverse;
}

.ticker--outline span {
  font-size: clamp(2.6rem,7vw,5.4rem);
  font-weight: 600;
  line-height: 1.2;
  padding: 0 26px;
  -webkit-text-stroke: 1.5px rgba(111,131,80,.55);
}

.ticker--outline span::after {
  -webkit-text-stroke: 0;
  color: var(--tan);
  margin-left: 52px;
  font-size: .5em;
  vertical-align: middle;
}

/* Прозрачные секции */
.prices-sec {
  background: linear-gradient(180deg,rgba(241,235,227,0),rgba(241,235,227,.6) 20%,rgba(241,235,227,.6) 80%,rgba(241,235,227,0));
}

/* Стеклянные карточки */
.feat {
  display: grid;
  gap: 14px;
}

.feat li {
  padding: 20px 24px;
  border: 1px solid var(--glass-line);
  border-radius: 28px;
  background: radial-gradient(380px circle at var(--lx,-400px) var(--ly,-400px),rgba(255,255,255,.85),transparent 60%),var(--glass);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 28px rgba(79,94,58,.07);
}

.feat li:last-child {
  border-bottom: 1px solid var(--glass-line);
}

.feat .ico {
  background: rgba(255,255,255,.7);
}

.principles li {
  background: radial-gradient(320px circle at var(--lx,-400px) var(--ly,-400px),rgba(255,255,255,.28),transparent 60%),rgba(255,255,255,.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.plan {
  border: 1px solid var(--glass-line);
  background: radial-gradient(460px circle at var(--lx,-500px) var(--ly,-500px),rgba(255,255,255,.9),transparent 60%),var(--glass);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 32px rgba(79,94,58,.08);
}

.plan__ico {
  background: rgba(255,255,255,.75);
}

.plan--hot {
  background: radial-gradient(460px circle at var(--lx,-500px) var(--ly,-500px),rgba(255,255,255,.22),transparent 60%),linear-gradient(135deg,rgba(111,131,80,.94),rgba(79,94,58,.9));
  border-color: rgba(255,255,255,.3);
  box-shadow: 0 18px 50px rgba(79,94,58,.3);
}

.plan--hot::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 34%;
  pointer-events: none;
  background: linear-gradient(100deg,transparent,rgba(255,255,255,.28),transparent);
  transform: translateX(-160%) skewX(-18deg);
  animation: sweep 7s ease-in-out infinite;
}

.route__card {
  background: rgba(251,247,244,.62);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  backdrop-filter: blur(20px) saturate(1.4);
  border-color: var(--glass-line);
}

.ph {
  background: repeating-linear-gradient(135deg,rgba(195,176,153,.14) 0 12px,transparent 12px 24px),rgba(255,255,255,.42);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-color: rgba(195,176,153,.85);
}

.ph:not(.has-img)::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 40%;
  z-index: 1;
  background: linear-gradient(100deg,transparent,rgba(255,255,255,.55),transparent);
  transform: translateX(-160%) skewX(-18deg);
  animation: sweep 6s ease-in-out infinite;
  pointer-events: none;
}

.kicker span {
  position: relative;
  background: rgba(255,255,255,.6);
}

.kicker span::after {
  content: "";
  position: absolute;
  top: -1.5px;
  right: -1.5px;
  bottom: -1.5px;
  left: -1.5px;
  border-radius: 50%;
  border: 1.5px solid var(--tan);
  opacity: 0;
  animation: ping 3.6s ease-out infinite;
}

/* Тёмные блоки */
.breath {
  background: linear-gradient(135deg,rgba(111,131,80,.97),rgba(79,94,58,.97));
}

.footer {
  background: linear-gradient(165deg,#566744,var(--olive-xd) 55%,#3c4a2c);
}

.msg {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.qr {
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
}

/* Анимации фона */
@keyframes orbit {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  33% { transform: translate3d(5vw,3vh,0) scale(1.08); }
  66% { transform: translate3d(-3vw,6vh,0) scale(.95); }
}

@keyframes loaderOut {
  to { opacity: 0; visibility: hidden; }
}

@keyframes loaderPulse {
  0%,100% { transform: scale(1); opacity: .85; }
  50% { transform: scale(1.06); opacity: 1; }
}

@keyframes loaderBar {
  to { transform: translateX(0); }
}

@keyframes markIn {
  from { opacity: 0; transform: translate3d(60px,0,0); }
  to { opacity: 1; }
}

@keyframes sweep {
  0%,55% { transform: translateX(-160%) skewX(-18deg); }
  100% { transform: translateX(420%) skewX(-18deg); }
}

@keyframes ping {
  0% { opacity: .8; transform: scale(1); }
  70%,100% { opacity: 0; transform: scale(1.7); }
}

@keyframes bounce {
  0% { transform: translateY(0); }
  35% { transform: translateY(-6px) scale(1.15); }
  70% { transform: translateY(1px); }
  100% { transform: none; }
}

/* Без поддержки backdrop-filter */
@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))) {
  .dock,
  .chip,
  .route__card,
  .hero__facts li,
  .feat li,
  .plan,
  .ph {
    background-color: rgba(251,247,244,.94);
  }
  .principles li {
    background-color: rgba(255,255,255,.18);
  }
}

/* Адаптив */
@media (max-width:900px) {
  .hero__mark {
    bottom: auto;
    top: 90px;
    right: -4%;
    opacity: .8;
  }
  .orb--1,
  .orb--3 {
    opacity: .8;
  }
  .hero__facts {
    width: 100%;
  }
  .hero__facts li {
    flex: 1 1 calc(33% - 12px);
    padding: 12px 14px;
  }
}

@media (max-width:640px) {
  .hero__facts li {
    flex-basis: calc(50% - 6px);
  }
  .feat li {
    padding: 16px 18px;
    gap: 14px;
  }
  .ticker--outline span {
    padding: 0 16px;
  }
  .orb--4 {
    display: none;
  }
}

@media (max-width:400px) {
  .hero__mark {
    display: none;
  }
}

/* Жидкое стекло */
.dock,
.chip,
.hero__facts li,
.feat li,
.route__card,
.msg:not(.msg--book),
.plan:not(.plan--hot) {
  background: radial-gradient(260px circle at var(--lx,-300px) var(--ly,-300px),rgba(255,255,255,.95),rgba(255,255,255,0) 62%),var(--lg-fill);
  -webkit-backdrop-filter: var(--lg-blur);
  backdrop-filter: var(--lg-blur);
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: var(--lg-rim),var(--lg-drop);
}

.msg:not(.msg--book) {
  background: radial-gradient(220px circle at var(--lx,-300px) var(--ly,-300px),rgba(255,255,255,.5),rgba(255,255,255,0) 62%),linear-gradient(135deg,rgba(255,255,255,.26),rgba(255,255,255,.06) 55%,rgba(255,255,255,.16));
  border-color: rgba(255,255,255,.32);
  box-shadow: inset 0 1.5px 1px rgba(255,255,255,.55),inset 0 -1px 1px rgba(255,255,255,.12),0 10px 24px rgba(0,0,0,.14);
}

.dock {
  background: radial-gradient(240px circle at var(--lx,-300px) var(--ly,-300px),rgba(255,255,255,.95),rgba(255,255,255,0) 60%),linear-gradient(135deg,rgba(255,255,255,.56),rgba(255,255,255,.16) 50%,rgba(255,255,255,.38));
}

.route__card {
  background: radial-gradient(360px circle at var(--lx,-300px) var(--ly,-300px),rgba(255,255,255,.9),rgba(255,255,255,0) 62%),linear-gradient(135deg,rgba(255,255,255,.68),rgba(255,255,255,.3) 55%,rgba(255,255,255,.5));
}

/* Глянцевые кнопки */
.btn {
  box-shadow: inset 0 1.5px 1px rgba(255,255,255,.45),inset 0 -2px 3px rgba(0,0,0,.14),0 8px 20px rgba(79,94,58,.25);
}

.btn--ghost {
  background: linear-gradient(135deg,rgba(255,255,255,.55),rgba(255,255,255,.18));
  -webkit-backdrop-filter: var(--lg-blur);
  backdrop-filter: var(--lg-blur);
  box-shadow: inset 0 1.5px 1px rgba(255,255,255,.9),0 6px 16px rgba(79,94,58,.1);
}

.plan--hot {
  box-shadow: inset 0 1.5px 1px rgba(255,255,255,.45),inset 0 -2px 4px rgba(0,0,0,.16),0 20px 54px rgba(79,94,58,.34);
}

.plan--hot .btn {
  box-shadow: inset 0 1.5px 1px #fff,0 8px 18px rgba(0,0,0,.18);
}

/* Капля в нижней панели */
.dock__pill {
  background: none;
  box-shadow: none;
  transition: transform .7s cubic-bezier(.34,1.35,.45,1),width .7s cubic-bezier(.34,1.35,.45,1);
}

.dock__pill::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: 999px;
  background: radial-gradient(70% 90% at 28% 12%,rgba(255,255,255,.55),rgba(255,255,255,0) 60%),linear-gradient(135deg,rgba(111,131,80,.96),rgba(88,106,62,.96));
  box-shadow: inset 0 1.5px 1px rgba(255,255,255,.75),inset 0 -2px 3px rgba(0,0,0,.2),0 8px 20px rgba(79,94,58,.42);
}

.dock__pill.squish::before {
  animation: squish .75s cubic-bezier(.34,1.35,.45,1);
}

.dock a.active {
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
}

/* Шапка при прокрутке */
.top.scrolled::before {
  background: linear-gradient(180deg,rgba(255,255,255,.7),rgba(251,247,244,.4));
  -webkit-backdrop-filter: var(--lg-blur);
  backdrop-filter: var(--lg-blur);
  border-bottom: 1px solid rgba(255,255,255,.6);
}

.top.scrolled {
  box-shadow: 0 8px 28px rgba(79,94,58,.1);
}

/* Рамки фото */
.ph {
  box-shadow: inset 0 1.5px 1px rgba(255,255,255,.9),inset 0 0 30px rgba(255,255,255,.25);
}

@keyframes squish {
  0% { transform: scale(1,1); }
  30% { transform: scale(1.22,.82); }
  60% { transform: scale(.94,1.1); }
  100% { transform: scale(1,1); }
}

/* Системные настройки доступности */
@media (prefers-contrast:more) {
  .dock,
  .chip,
  .hero__facts li,
  .feat li,
  .route__card,
  .plan {
    border-color: var(--olive-xd);
  }
  .title em,
  .kicker--plain {
    color: var(--olive-xd);
  }
}

/* Окно cookie */
.cookie {
  position: fixed;
  left: 50%;
  bottom: calc(92px + env(safe-area-inset-bottom));
  z-index: 90;
  width: min(760px,100% - 24px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 28px;
  color: var(--ink);
  background: linear-gradient(135deg,rgba(255,255,255,.92),rgba(251,247,244,.84));
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  backdrop-filter: blur(20px) saturate(1.6);
  border: 1px solid rgba(255,255,255,.85);
  box-shadow: inset 0 1.5px 1px #fff,0 22px 60px rgba(40,52,28,.3),0 2px 8px rgba(40,52,28,.1);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%,24px) scale(.97);
  transition: opacity .6s var(--ease),transform .7s var(--ease),visibility 0s .7s;
}

.cookie.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%,0) scale(1);
  transition: opacity .6s var(--ease),transform .7s var(--ease),visibility 0s;
}

.cookie__icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--sand);
  display: grid;
  place-items: center;
}

.cookie__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--olive-xd);
  stroke-width: 1.8;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.cookie h2 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--olive-xd);
  margin-bottom: 2px;
}

.cookie p {
  font-size: .9rem;
  line-height: 1.45;
  color: var(--muted);
}

.cookie p a {
  color: var(--olive-d);
  text-underline-offset: 2px;
}

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

.cookie__btns .btn {
  width: 100%;
}

.map-gate {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  text-align: center;
  background: repeating-linear-gradient(135deg,rgba(195,176,153,.14) 0 12px,transparent 12px 24px),rgba(241,235,227,.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: opacity .6s ease,visibility 0s;
}

.map-gate svg {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: var(--olive-d);
  stroke-width: 1.7;
  stroke-linejoin: round;
}

.map-gate p {
  color: var(--muted);
  max-width: 340px;
}

.map-gate__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.map-gate.gone {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .6s ease,visibility 0s .6s;
}

.linklike {
  background: none;
  border: 0;
  padding: 8px 0;
  font: inherit;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  margin-right: 14px;
  touch-action: manipulation;
}

.credit {
  align-items: center;
}

@media (hover:hover) and (pointer:fine) {
  .linklike:hover {
    color: var(--tan);
  }
}

@media (max-width:640px) {
  .cookie {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
    bottom: calc(84px + env(safe-area-inset-bottom));
    border-radius: 24px;
  }
  .cookie__icon {
    display: none;
  }
  .cookie__btns {
    flex-direction: row;
  }
  .cookie__btns .btn {
    flex: 1;
    padding: 12px 10px;
    font-size: .92rem;
  }
}

@media (prefers-reduced-motion:reduce) {
  .cookie,
  .cookie.show {
    transition-duration: .01ms !important;
  }
}

@media print {
  .cookie,
  .map-gate {
    display: none !important;
  }
}

/* Нижняя навигация на тёмном фоне */
.dock {
  background: radial-gradient(240px circle at var(--lx,-300px) var(--ly,-300px),rgba(255,255,255,.95),rgba(255,255,255,0) 60%),linear-gradient(135deg,rgba(255,255,255,.82),rgba(255,255,255,.58) 50%,rgba(255,255,255,.74));
}

.dock a {
  color: var(--olive-xd);
}

.dock::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(240px circle at var(--lx,-300px) var(--ly,-300px),rgba(255,255,255,.22),rgba(255,255,255,0) 60%),linear-gradient(135deg,rgba(28,37,18,.78),rgba(28,37,18,.58));
  opacity: 0;
  transition: opacity .6s ease;
}

.dock.on-dark::before {
  opacity: 1;
}

.dock.on-dark {
  border-color: rgba(255,255,255,.38);
}

.dock.on-dark a:not(.active) {
  color: rgba(255,255,255,.92);
}

.dock.on-dark .dock__pill::before {
  background: radial-gradient(70% 90% at 28% 12%,rgba(255,255,255,.9),rgba(255,255,255,.4) 70%),linear-gradient(135deg,#fffaf3,#ece3d3);
  box-shadow: inset 0 1.5px 1px #fff,inset 0 -2px 3px rgba(0,0,0,.12),0 8px 20px rgba(0,0,0,.35);
}

.dock.on-dark a.active {
  color: var(--olive-xd);
  text-shadow: none;
}

.dock a:not(.active) svg {
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.35));
}

.dock.on-dark a:not(.active) svg {
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.35));
}

@media (hover:hover) and (pointer:fine) {
  .dock a:not(.active):hover {
    color: var(--olive-d);
  }
  .dock.on-dark a:not(.active):hover {
    color: #fff;
  }
}

.copy {
  display: grid;
  gap: 2px;
}

.copy__link {
  font-size: .86rem;
  color: #ddd0bb;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .4s;
}

@media (hover:hover) and (pointer:fine) {
  .copy__link:hover {
    color: #fff;
  }
}

@media (pointer:coarse) {
  .copy__link {
    display: inline-block;
    padding: 10px 0;
  }
}

/* Плавность */
.ph img:not([src]) {
  display: none;
}

.dock.mag a {
  transition: transform .22s ease-out,color .4s;
}

.principles li {
  transition: transform .8s var(--ease),background .6s ease,opacity 1.3s var(--ease);
}

@media (max-width:1000px) {
  .principles {
    grid-template-columns: repeat(2,1fr);
  }
}

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

/* Фото и видео */
.ph video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  max-width: none;
  background: var(--sand);
}

.ph.has-img:not(:has(img)) .ph__hint {
  display: none;
}

.ph:has(video) {
  border-style: solid;
  border-color: transparent;
}

.about__p1,
.about__p2 {
  box-shadow: 0 24px 60px rgba(79,94,58,.22);
}

.about__p2 {
  border: 6px solid var(--cream);
}

/* Галерея: три фото */
.bento {
  grid-template-columns: repeat(3,1fr);
  grid-auto-rows: clamp(170px,19vw,250px);
}

.g1 {
  grid-column: 1/3;
  grid-row: 1/3;
  border-radius: 34px 34px 34px 34px;
}

.g2 {
  grid-column: 3/4;
  grid-row: 1/2;
}

.g3 {
  grid-column: 3/4;
  grid-row: 2/3;
}

@media (max-width:900px) {
  .bento {
    grid-template-columns: repeat(2,1fr);
    grid-auto-rows: clamp(150px,34vw,230px);
  }
  .g1 {
    grid-column: 1/3;
    grid-row: 1/3;
  }
  .g2 {
    grid-column: 1/2;
    grid-row: 3/4;
  }
  .g3 {
    grid-column: 2/3;
    grid-row: 3/4;
  }
}

/* Доступность и производительность */
.skip {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 500;
  padding: 12px 20px;
  border-radius: 999px;
  background: #fff;
  color: var(--olive-xd);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
  transition: top .3s var(--ease);
}

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

/* Пауза анимаций вне экрана */
.is-off,
.is-off *,
.is-off *::before,
.is-off *::after {
  animation-play-state: paused !important;
}

/* Кнопка запуска видео */
.ph__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  z-index: 4;
  border: 1.5px solid rgba(255,255,255,.8);
  border-radius: 50%;
  background: rgba(40,52,28,.45);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  cursor: pointer;
  display: grid;
  place-items: center;
  touch-action: manipulation;
}

.ph__play svg {
  width: 26px;
  height: 26px;
  fill: #fff;
  margin-left: 3px;
}

@media (hover:hover) and (pointer:fine) {
  .ph__play:hover {
    background: rgba(40,52,28,.65);
  }
}

/* Облегчённый режим */
.lite {
  --lg-blur: blur(8px);
}

.lite .petals,
.lite .orb--3,
.lite .orb--4,
.lite .cursor-glow,
.lite .hero__mark,
.lite .spark,
.lite .kicker span::after {
  display: none;
}

.lite .orb i {
  animation: none;
}

.lite .ph,
.lite .ticker,
.lite .msg,
.lite .hero__facts li,
.lite .feat li,
.lite .principles li,
.lite .chip {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.lite .ticker__track {
  animation-duration: 90s;
}

.lite .title .w>span {
  transition-duration: .7s;
}

/* Телефоны: лёгкое размытие */
@media (max-width:640px) {
  :root {
    --lg-blur: blur(10px) saturate(1.5);
  }
  .ph,
  .ticker,
  .msg,
  .feat li,
  .principles li,
  .plan,
  .hero__facts li,
  .route__card {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .orb--4 {
    display: none;
  }
}

/* Карточка «Первая тренировка» */
.plan.plan--hot::before {
  display: none;
}

.plan.plan--hot .btn {
  background: linear-gradient(180deg,#d6c6ae 0%,var(--tan) 100%);
  border-color: var(--tan);
  color: #35401f;
  font-weight: 600;
  box-shadow: inset 0 1.5px 1px rgba(255,255,255,.55),inset 0 -2px 3px rgba(0,0,0,.12),0 8px 20px rgba(30,40,18,.28);
}

.plan.plan--hot .plan__tag {
  color: #35401f;
}

@media (hover:hover) and (pointer:fine) {
  .plan.plan--hot .btn:hover {
    background: linear-gradient(180deg,#d8c8b2 0%,#cbb89e 100%);
    border-color: #d8c8b2;
    color: #2c3519;
  }
}

.plan--hot .spark.s1 {
  top: 16px;
  left: 26px;
  right: auto;
  bottom: auto;
  font-size: 15px;
}

.plan--hot .spark.s2 {
  top: auto;
  bottom: 16px;
  left: 104px;
  right: auto;
  font-size: 12px;
}

.plan--hot .spark.s3 {
  top: 20px;
  left: 110px;
  right: auto;
  bottom: auto;
  font-size: 13px;
}

@media (max-width:640px) {
  .plan--hot .spark.s1 {
    top: 12px;
    left: 16px;
  }
  .plan--hot .spark.s2 {
    bottom: auto;
    top: 84px;
    left: 86px;
  }
  .plan--hot .spark.s3 {
    top: 14px;
    left: 84px;
  }
}

/* Удобные зоны нажатия */
.brand {
  min-height: 44px;
}

.btn--sm {
  min-height: 42px;
}

@media (pointer:coarse) {
  .top__tel {
    min-height: 44px;
  }
  .facts a,
  .footer__addr a,
  .credit a {
    display: inline-block;
    padding: 11px 0;
  }
}

/* Появление при прокрутке */
.reveal {
  transform: translate3d(var(--rx,0px),var(--ry,22px),0) scale(var(--rs,1));
}

.reveal:not(.settled) {
  transition-property: opacity,transform !important;
  transition-duration: 1.25s !important;
  transition-timing-function: cubic-bezier(.22,1,.36,1) !important;
}

.reveal.in {
  transform: none;
}

.feat li:nth-child(odd) {
  --rx: -28px;
  --ry: 0px;
}

.feat li:nth-child(even) {
  --rx: 28px;
  --ry: 0px;
}

.principles li:nth-child(odd) {
  --rx: -16px;
  --ry: 16px;
  --rs: .96;
}

.principles li:nth-child(even) {
  --rx: 16px;
  --ry: 16px;
  --rs: .96;
}

.plan:nth-child(odd) {
  --rx: -36px;
  --ry: 0px;
}

.plan:nth-child(even) {
  --rx: 36px;
  --ry: 0px;
}

.plan.plan--hot {
  --rx: 0px;
  --ry: 44px;
  --rs: .96;
}

main {
  overflow-x: hidden;
}

@supports (overflow:clip) {
  main {
    overflow-x: clip;
  }
}

.ph.reveal {
  --ry: 44px;
  --rs: .94;
}

.route__map.reveal {
  --ry: 40px;
  --rs: .97;
}

.route__card.reveal {
  --ry: 60px;
}

/* Плавное появление фото */
.ph.has-img img {
  transform: scale(1.2);
  transition: transform 2.4s var(--ease);
}

.ph.in.has-img img,
.hero__photo.has-img img {
  transform: scale(1.001);
}

.hero__photo.has-img img {
  animation: zoomOut 2.4s calc(var(--intro) + .35s) var(--ease) backwards;
}

@media (hover:hover) and (pointer:fine) {
  .ph.in.has-img:hover img,
  .hero__photo.has-img:hover img {
    transform: scale(1.06);
  }
  .ticker:hover .ticker__track {
    animation-play-state: paused;
  }
}

/* Лепестки */
.petals {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.petals i {
  position: absolute;
  top: -30px;
  left: var(--x,10%);
  width: var(--s,14px);
  height: calc(var(--s,14px) * 1.5);
  border-radius: 0 100% 0 100%;
  background: linear-gradient(135deg,rgba(142,148,101,.6),rgba(195,176,153,.42));
  opacity: 0;
  animation: fall var(--d,16s) var(--dl,0s) linear infinite;
  will-change: transform;
}

.petals i:nth-child(1) {
  --x: 6%;
  --s: 12px;
  --d: 17s;
  --dl: 1.5s;
  --dx: 60px;
}

.petals i:nth-child(2) {
  --x: 17%;
  --s: 18px;
  --d: 21s;
  --dl: 5s;
  --dx: -50px;
}

.petals i:nth-child(3) {
  --x: 29%;
  --s: 10px;
  --d: 15s;
  --dl: 8s;
  --dx: 70px;
}

.petals i:nth-child(4) {
  --x: 41%;
  --s: 15px;
  --d: 19s;
  --dl: 2.5s;
  --dx: -60px;
}

.petals i:nth-child(5) {
  --x: 54%;
  --s: 11px;
  --d: 16s;
  --dl: 11s;
  --dx: 55px;
}

.petals i:nth-child(6) {
  --x: 66%;
  --s: 17px;
  --d: 22s;
  --dl: 6.5s;
  --dx: -70px;
}

.petals i:nth-child(7) {
  --x: 78%;
  --s: 13px;
  --d: 18s;
  --dl: 3.5s;
  --dx: 50px;
}

.petals i:nth-child(8) {
  --x: 88%;
  --s: 16px;
  --d: 20s;
  --dl: 9.5s;
  --dx: -55px;
}

.petals i:nth-child(9) {
  --x: 96%;
  --s: 10px;
  --d: 14s;
  --dl: 13s;
  --dx: -40px;
}

@media (max-width:640px) {
  .petals i:nth-child(n/**/+6) {
    display: none;
  }
}

/* Блик на словах заголовка */
.hero h1 b {
  background: linear-gradient(100deg,var(--olive-d) 38%,#9fb27a 50%,var(--olive-d) 62%) 0 0/260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: shineText 7s linear infinite;
}

/* Ореол вокруг арки */
.arch-back::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: var(--arch);
  border: 1.5px solid rgba(142,148,101,.7);
  animation: archPing 5.5s ease-out infinite;
  pointer-events: none;
}

/* Заголовки по словам */
.title .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: .06em .1em .16em;
  margin: -.06em -.1em -.16em;
}

.title .w>span {
  display: inline-block;
  transform: translate3d(0,118%,0) rotate(4deg);
  transform-origin: 0 100%;
  transition: transform 1.2s var(--ease);
}

.title.in .w>span {
  transform: none;
}

/* Искры на карточке */
.spark {
  position: absolute;
  z-index: 2;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  animation: sparkle 3.6s ease-in-out infinite;
}

.spark.s1 {
  top: 16%;
  left: 11%;
}

.spark.s2 {
  bottom: 18%;
  left: 42%;
  font-size: 13px;
  animation-delay: 1.2s;
}

.spark.s3 {
  top: 24%;
  right: 27%;
  font-size: 15px;
  animation-delay: 2.2s;
}

/* Появление иконок панели */
.dock a {
  animation: iconIn .8s var(--ease) backwards;
}

.dock a:nth-of-type(1) {
  animation-delay: calc(var(--intro) + 1.7s);
}

.dock a:nth-of-type(2) {
  animation-delay: calc(var(--intro) + 1.78s);
}

.dock a:nth-of-type(3) {
  animation-delay: calc(var(--intro) + 1.86s);
}

.dock a:nth-of-type(4) {
  animation-delay: calc(var(--intro) + 1.94s);
}

.dock a:nth-of-type(5) {
  animation-delay: calc(var(--intro) + 2.02s);
}

.dock a:nth-of-type(6) {
  animation-delay: calc(var(--intro) + 2.1s);
}

/* Логотип в подвале */
.footer__brand img {
  animation: floaty 9s ease-in-out infinite;
}

/* Курсор */
html.has-cursor,
html.has-cursor * {
  cursor: none !important;
}

.cursor-ring,
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 300;
  opacity: 0;
  will-change: transform;
}

.cursor-ring {
  width: var(--rw,40px);
  height: var(--rh,40px);
  margin: calc(var(--rh,40px) / -2) 0 0 calc(var(--rw,40px) / -2);
  border-radius: var(--rr,50%);
  border: 1.5px solid rgba(101,121,72,.75);
  background: radial-gradient(circle at 35% 30%,rgba(255,255,255,.4),rgba(195,176,153,.14));
  box-shadow: 0 0 0 1px rgba(255,255,255,.35),0 6px 18px rgba(79,94,58,.18);
  transition: width .6s var(--ease),height .6s var(--ease),margin .6s var(--ease),border-radius .6s var(--ease),background .4s,border-color .4s,box-shadow .4s,opacity .5s;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: var(--olive-d);
  box-shadow: 0 0 0 2px rgba(251,247,244,.85);
  transition: width .3s var(--ease),height .3s var(--ease),margin .3s var(--ease),background .3s,opacity .4s;
}

.cursor-ring.on,
.cursor-dot.on {
  opacity: 1;
}

.cursor-ring.hot {
  --rw: 72px;
  --rh: 72px;
  border-color: rgba(195,176,153,.95);
  background: radial-gradient(circle at 35% 30%,rgba(255,255,255,.55),rgba(195,176,153,.3));
}

.cursor-dot.hot {
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
}

.cursor-ring.down:not(.snap) {
  --rw: 26px;
  --rh: 26px;
  background: rgba(101,121,72,.25);
}

.cursor-ring.dark {
  border-color: rgba(255,255,255,.85);
  background: radial-gradient(circle at 35% 30%,rgba(255,255,255,.3),rgba(255,255,255,.06));
  box-shadow: 0 0 0 1px rgba(255,255,255,.2),0 6px 18px rgba(0,0,0,.25);
}

.cursor-ring.dark.hot {
  background: radial-gradient(circle at 35% 30%,rgba(255,255,255,.45),rgba(195,176,153,.25));
}

.cursor-ring.snap {
  background: rgba(195,176,153,.16);
  border-color: rgba(101,121,72,.85);
  box-shadow: 0 0 0 1px rgba(255,255,255,.5),0 10px 26px rgba(79,94,58,.2);
}

.cursor-ring.snap.accent {
  border-color: #c3b099;
  background: rgba(195,176,153,.22);
  box-shadow: 0 0 0 1px rgba(255,255,255,.55),0 0 22px rgba(195,176,153,.55);
}

.cursor-ring.snap.dark {
  border-color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.08);
}

.cursor-ring.snap.down {
  border-width: 2.5px;
}

.cursor-dot.snap {
  width: 4px;
  height: 4px;
  margin: -2px 0 0 -2px;
}

.cursor-dot.dark {
  background: #fbf7f4;
  box-shadow: 0 0 0 2px rgba(40,52,28,.55);
}

.fx {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 299;
  pointer-events: none;
  border-radius: 50% 0 50% 0;
  will-change: transform,opacity;
}

.fx--trail {
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  background: linear-gradient(135deg,rgba(142,148,101,.9),rgba(195,176,153,.8));
  animation: trail .9s ease-out forwards;
}

.fx--trail.dark {
  background: linear-gradient(135deg,rgba(255,255,255,.9),rgba(195,176,153,.8));
}

.fx--burst {
  width: 11px;
  height: 11px;
  margin: -5.5px 0 0 -5.5px;
  background: linear-gradient(135deg,var(--olive),var(--tan));
  animation: burst .85s cubic-bezier(.2,.8,.2,1) forwards;
}

.fx--wave {
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border-radius: 50%;
  border: 2px solid rgba(101,121,72,.7);
  animation: clickWave .8s ease-out forwards;
}

.fx--wave.dark {
  border-color: rgba(255,255,255,.8);
}

@media (hover:none) {
  .cursor-ring,
  .cursor-dot,
  .fx {
    display: none;
  }
}

@keyframes fall {
  0% { opacity: 0; transform: translate3d(0,-40px,0) rotate(0deg); }
  8% { opacity: .85; }
  33% { transform: translate3d(calc(var(--dx,40px) * -.5),34vh,0) rotate(120deg); }
  66% { transform: translate3d(var(--dx,40px),68vh,0) rotate(240deg); }
  92% { opacity: .7; }
  100% { opacity: 0; transform: translate3d(calc(var(--dx,40px) * .3),112vh,0) rotate(360deg); }
}

@keyframes shineText {
  from { background-position: 160% 0; }
  to { background-position: -100% 0; }
}

@keyframes archPing {
  0% { opacity: .8; transform: scale(1); }
  70%,100% { opacity: 0; transform: scale(1.16); }
}

@keyframes sparkle {
  0%,100% { opacity: 0; transform: scale(.3) rotate(0deg); }
  50% { opacity: 1; transform: scale(1) rotate(90deg); }
}

@keyframes iconIn {
  from { opacity: 0; transform: translateY(16px) scale(.5); }
  to { opacity: 1; transform: none; }
}

@keyframes zoomOut {
  from { transform: scale(1.25); }
  to { transform: scale(1.001); }
}

@keyframes trail {
  0% { opacity: .9; transform: translate3d(var(--tx),var(--ty),0) rotate(0deg) scale(1); }
  100% { opacity: 0; transform: translate3d(calc(var(--tx) + var(--dx)),calc(var(--ty) + 26px),0) rotate(140deg) scale(.2); }
}

@keyframes burst {
  0% { opacity: 1; transform: translate3d(var(--tx),var(--ty),0) rotate(0deg) scale(.4); }
  100% { opacity: 0; transform: translate3d(calc(var(--tx) + var(--bx)),calc(var(--ty) + var(--by)),0) rotate(300deg) scale(1.1); }
}

@keyframes clickWave {
  0% { opacity: .9; transform: translate3d(var(--tx),var(--ty),0) scale(.4); }
  100% { opacity: 0; transform: translate3d(var(--tx),var(--ty),0) scale(3.4); }
}

/* Принципы: раскрытие карточек */
.breath .title {
  margin-bottom: 46px;
}

.principles li {
  position: relative;
  overflow: hidden;
  transform-origin: 50% 0;
}

.principles li.reveal {
  opacity: 0;
}

.principles li.reveal.in {
  opacity: 1;
  animation: unfold 1.5s var(--d,0s) cubic-bezier(.22,1,.36,1) backwards;
}

.principles li:nth-child(1) {
  --d: 0s;
}

.principles li:nth-child(2) {
  --d: .12s;
}

.principles li:nth-child(3) {
  --d: .24s;
}

.principles li:nth-child(4) {
  --d: .36s;
}

.principles li:nth-child(5) {
  --d: .48s;
}

.principles li:nth-child(6) {
  --d: .6s;
}

.principles li.in i {
  animation: badgeSpin 1.2s calc(var(--d,0s) + .55s) cubic-bezier(.34,1.56,.64,1) backwards;
}

.principles li.in b {
  animation: textUp 1s calc(var(--d,0s) + .75s) var(--ease) backwards;
}

.principles li.in span {
  animation: textUp 1s calc(var(--d,0s) + .95s) var(--ease) backwards;
}

.principles li::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 42%;
  pointer-events: none;
  background: linear-gradient(100deg,transparent,rgba(255,255,255,.38),transparent);
  transform: translateX(-150%) skewX(-18deg);
}

.principles li.in::after {
  animation: sweepOnce 1.8s calc(var(--d,0s) + .9s) ease-out forwards;
}

@keyframes unfold {
  0% { opacity: 0; transform: perspective(1100px) rotateX(-88deg) translateY(-24px) scale(.9); }
  45% { opacity: 1; }
  70% { transform: perspective(1100px) rotateX(8deg) translateY(2px) scale(1.01); }
  100% { opacity: 1; transform: perspective(1100px) rotateX(0) translateY(0) scale(1); }
}

@keyframes badgeSpin {
  0% { opacity: 0; transform: scale(0) rotate(-220deg); }
  100% { opacity: 1; transform: none; }
}

@keyframes textUp {
  0% { opacity: 0; transform: translate3d(0,18px,0); filter: blur(3px); }
  100% { opacity: 1; transform: none; filter: blur(0); }
}

@keyframes sweepOnce {
  0% { transform: translateX(-150%) skewX(-18deg); }
  100% { transform: translateX(420%) skewX(-18deg); }
}

@media (prefers-reduced-motion:reduce) {
  .petals,
  .spark,
  .cursor-ring {
    display: none !important;
  }
  .title .w>span {
    transform: none !important;
  }
  .hero h1 b {
    background-position: 0 0;
  }
  .ph.has-img img {
    transform: none !important;
  }
}

@media print {
  .petals,
  .spark,
  .cursor-ring {
    display: none !important;
  }
}

/* Контраст: номер раздела на тёмном фоне и песочная кнопка записи */
.kicker--light span {
  background: transparent;
  color: #fff;
}
.msg--book {
  color: #35401f;
}

/* Windows «Эффекты прозрачности: выкл.» и macOS «Уменьшить прозрачность» */
@media (prefers-reduced-transparency:reduce) {
  .dock,
  .chip,
  .hero__facts li,
  .feat li,
  .route__card,
  .plan:not(.plan--hot),
  .ph,
  .btn--ghost,
  .top.scrolled::before {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(251,247,244,.97);
  }
  .plan.plan--hot {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: linear-gradient(135deg, #657948, #4f5e3a);
  }
  .msg:not(.msg--book) {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(255,255,255,.16);
  }
  .aurora {
    display: none;
  }
}

/* Доступность и печать */
@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: .01ms !important;
  }
  .hero__text .kicker,
  .hero h1 span,
  .hero .lead,
  .hero__cta .btn,
  .hero__facts,
  .reveal,
  .dock {
    opacity: 1 !important;
    transform: none !important;
  }
  .dock {
    transform: translateX(-50%) !important;
  }
  .leaf path {
    stroke-dashoffset: 0;
  }
  .title em {
    background-size: 100% 3px;
  }
  .loader {
    display: none;
  }
  .hero__mark {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (forced-colors:active) {
  .btn,
  .msg {
    border: 2px solid ButtonText;
  }
  .dock {
    border: 2px solid ButtonText;
  }
}

@media print {
  .top,
  .dock,
  .progress,
  .ticker,
  .messengers,
  .route__map,
  .badge-round,
  .chip,
  .aurora,
  .loader,
  .hero__mark {
    display: none !important;
  }
  body {
    background: #fff;
  }
  .reveal,
  .hero * {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  .footer {
    background: #fff;
    color: #000;
    padding-bottom: 24px;
  }
  .breath {
    background: #fff;
    color: #000;
  }
}
