/* «Части Тела» — главная страница (префикс home-) */

/* глобальные детали референса, не входящие в base.css */
body { -webkit-font-smoothing: antialiased; }
::selection { background: var(--gold); color: var(--ivory); }

@keyframes home-mqSlide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes home-hintDrop { 0% { transform: translateY(-100%); } 55% { transform: translateY(0); } 100% { transform: translateY(100%); } }
@keyframes home-pinPulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes home-shimmerSweep { from { transform: translateX(-100%); } to { transform: translateX(220%); } }
@keyframes home-plOut { to { opacity: 0; visibility: hidden; } }

.home-main {
  position: relative;
  background: var(--cream);
  overflow-x: clip;
}

/* -------- общие паттерны страницы -------- */

/* заголовок секции h2 */
.home-h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 4.8vw, 66px);
  line-height: 1.06;
}
.home-h2 em { font-style: italic; color: var(--gold); }
.home-h2--tight { letter-spacing: -.01em; }
.home-h2--mb24 { margin-bottom: 24px; }
.home-h2--mb28 { margin-bottom: 28px; }

/* отступы у айбрау (сам паттерн — .eyebrow из base.css) */
.home-eb { margin-bottom: 20px; }
.home-eb--22 { margin-bottom: 22px; }
.home-eb--rev { color: var(--gold); margin-bottom: 26px; }

/* шапка секции: заголовок + ссылка справа */
.home-sechead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.home-sechead--mb32 { margin-bottom: 32px; }

/* текстовая ссылка-стрелка с подчёркиванием */
.home-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border-bottom: 1.5px solid rgba(23, 116, 112, .35);
  padding-bottom: 4px;
  transition: color .25s ease, border-color .25s ease;
}
.home-more:hover { color: var(--gold); border-color: rgba(185, 146, 79, .6); }

/* моно-подпись фото-плейсхолдера */
.home-photo-note {
  position: absolute;
  left: 18px;
  bottom: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--teal);
  background: rgba(252, 250, 244, .75);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 7px 12px;
  border-radius: 999px;
}
.home-photo-note--map { left: 16px; bottom: 14px; }

/* -------- прелоадер -------- */

.home-preloader {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  pointer-events: none;
  animation: home-plOut .6s ease 3.4s forwards;
}
.home-preloader img { height: clamp(110px, 18vh, 168px); width: auto; }
.home-pl-bar {
  width: 180px;
  height: 2px;
  background: rgba(16, 60, 58, .14);
  border-radius: 2px;
  overflow: hidden;
}
.home-pl-fill { width: 0%; height: 100%; background: var(--teal); transition: width .2s ease; }
.home-pl-num { font-family: var(--font-mono); font-size: 11.5px; color: var(--teal); }

/* -------- hero: scroll-scrub -------- */

.home-hero { position: relative; height: 340vh; }
.home-hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: var(--cream);
}
.home-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  transition: opacity .6s ease;
}
.home-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .6s ease;
}

/* пилюля «видео загружается…» с шиммером */
.home-hero-load {
  position: absolute;
  left: 50%;
  bottom: 110px;
  transform: translateX(-50%);
  display: none;
  align-items: center;
  gap: 12px;
  background: rgba(252, 250, 244, .7);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(16, 60, 58, .12);
  border-radius: 999px;
  padding: 10px 18px;
  overflow: hidden;
}
.home-hero-load-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 999px;
  pointer-events: none;
}
.home-hero-load-shimmer {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 45%;
  background: linear-gradient(100deg, rgba(185, 146, 79, 0), rgba(185, 146, 79, .16), rgba(185, 146, 79, 0));
  animation: home-shimmerSweep 1.6s linear infinite;
}
.home-hero-load-text {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--teal);
  position: relative;
}

/* кинетический центр hero */
.home-hero-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  text-align: center;
}
.home-k-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(18px, 3vh, 30px);
}
.home-k-dia { width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); flex: none; }
.home-k-label {
  font-size: clamp(10px, 1.2vw, 12.5px);
  font-weight: 600;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--teal);
}
.home-k-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(52px, 12vw, 182px);
  line-height: .98;
  letter-spacing: -.01em;
  color: var(--pine);
  white-space: nowrap;
}
.home-k-word { display: inline-block; white-space: nowrap; }
.home-k-title [data-l] { display: inline-block; will-change: transform; }
.home-k-gap { display: inline-block; width: .22em; }
.home-k-cta {
  /* прижата к низу hero, чтобы не наезжать на слоган в финале видео */
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(84px, 14vh, 170px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.home-k-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--gold);
  color: var(--pine);
  font-weight: 600;
  font-size: 16px;
  padding: 18px 34px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 24px 50px -22px rgba(185, 146, 79, .75);
  transition: background .3s ease, color .3s ease;
}
.home-k-btn:hover { background: var(--pine); color: var(--cream); }
.home-k-note { font-size: 13px; color: rgba(16, 49, 47, .62); }

/* низ hero: чипы адреса/часов + индикатор «листайте» */
.home-hero-foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 clamp(16px, 3vw, 30px) 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  pointer-events: none;
}
.home-hero-chip {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .06em;
  color: rgba(16, 49, 47, .65);
  background: rgba(252, 250, 244, .55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(16, 60, 58, .1);
  padding: 9px 15px;
  border-radius: 999px;
}
.home-hero-hint { display: flex; flex-direction: column; align-items: center; gap: 9px; }
.home-hint-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(16, 49, 47, .55);
}
.home-hint-line {
  width: 1.5px;
  height: 44px;
  background: rgba(16, 60, 58, .14);
  border-radius: 2px;
  overflow: hidden;
  display: block;
}
.home-hint-drop {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--gold);
  animation: home-hintDrop 1.8s cubic-bezier(.65, 0, .35, 1) infinite;
}
.home-hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 110px;
  background: linear-gradient(to bottom, rgba(247, 242, 233, 0), #F7F2E9);
}

/* -------- marquee направлений -------- */

.home-marquee {
  position: relative;
  background: var(--ivory);
  border-top: 1px solid rgba(16, 60, 58, .12);
  border-bottom: 1px solid rgba(16, 60, 58, .12);
  padding: clamp(16px, 2.4vw, 26px) 0;
  overflow: hidden;
}
.home-mq-track { display: flex; width: max-content; animation: home-mqSlide 34s linear infinite; }
.home-mq-group {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 46px);
  padding-right: clamp(24px, 3vw, 46px);
}
.home-mq-item {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(26px, 3.2vw, 42px);
  color: var(--teal);
  white-space: nowrap;
}
.home-mq-item--stroke { color: transparent; -webkit-text-stroke: 1px rgba(23, 116, 112, .55); }
.home-mq-dia { width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); flex: none; }

/* -------- о студии -------- */

.home-about {
  padding-top: clamp(70px, 10vw, 140px);
  padding-bottom: clamp(50px, 7vw, 90px);
}
.home-about-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
}
.home-about-p {
  margin: 0 0 18px;
  font-size: 16.5px;
  line-height: 1.8;
  color: rgba(16, 49, 47, .8);
  max-width: 52ch;
}
.home-about-p--last { margin-bottom: 30px; }
.home-about-photo-wrap { position: relative; }
.home-about-photo {
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--teal-mist);
  position: relative;
}
.home-about-photo-bg {
  position: absolute;
  inset: -30px;
  background: repeating-linear-gradient(45deg, rgba(23, 116, 112, .09) 0 12px, rgba(23, 116, 112, 0) 12px 26px), linear-gradient(160deg, #E3EEEB, #D5E5E1);
}
.home-lic-badge {
  position: absolute;
  left: -14px;
  bottom: -20px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(252, 250, 244, .82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(16, 60, 58, .12);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 24px 50px -30px rgba(11, 50, 49, .45);
}
.home-lic-check {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--pine);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  flex: none;
}
.home-lic-text { font-size: 12.5px; line-height: 1.5; color: rgba(16, 49, 47, .85); }
.home-lic-text strong { font-weight: 600; }

/* счётчики */
.home-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 18px;
  margin-top: clamp(56px, 8vw, 90px);
  border-top: 1px solid rgba(16, 60, 58, .14);
  padding-top: clamp(30px, 4vw, 46px);
}
.home-stat { display: flex; flex-direction: column; gap: 6px; }
.home-stat-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(42px, 4.6vw, 68px);
  line-height: 1;
  color: var(--pine);
}
.home-stat-label { font-size: 13.5px; color: rgba(16, 49, 47, .65); }

/* -------- услуги: bento -------- */

.home-bento {
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(70px, 9vw, 120px);
}
.home-bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-areas: 'a a b c' 'a a d c' 'e f f g' 'h i i i';
  grid-auto-rows: minmax(150px, auto);
  gap: 14px;
}

/* обычная карточка (02, 04, 05, 07, 08) */
.home-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--ivory);
  border: 1px solid rgba(16, 60, 58, .12);
  border-radius: 22px;
  padding: 22px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color .3s ease, background .3s ease;
}
.home-card:hover { border-color: rgba(23, 116, 112, .45); background: #F4F1E7; }
.home-card--b { grid-area: b; }
.home-card--d { grid-area: d; }
.home-card--e { grid-area: e; }
.home-card--g { grid-area: g; }
.home-card--h { grid-area: h; }

.home-card-top { display: flex; justify-content: space-between; align-items: center; }
.home-card-num { font-family: var(--font-mono); font-size: 11px; color: var(--teal); }
.home-card-arr { color: var(--teal); font-size: 17px; }
.home-card-h { margin: 0 0 6px; font-family: var(--font-display); font-weight: 600; font-size: 22px; }
.home-card-p { margin: 0; font-size: 13px; line-height: 1.6; color: rgba(16, 49, 47, .68); }

/* 01 — большая, teal-mist, с фото */
.home-card--a {
  grid-area: a;
  display: flex;
  flex-direction: column;
  background: var(--teal-mist);
  border: 1px solid rgba(16, 60, 58, .1);
  border-radius: 22px;
  padding: 24px;
  text-decoration: none;
  color: var(--ink);
  position: relative;
  overflow: hidden;
  transition: border-color .3s ease;
}
.home-card--a:hover { border-color: rgba(23, 116, 112, .45); }
.home-card--a .home-card-h { font-size: clamp(24px, 2.4vw, 32px); }
.home-card--a .home-card-p { font-size: 13.5px; }
.home-card-photo {
  flex: 1;
  min-height: 150px;
  margin: 18px 0;
  border-radius: 14px;
  background: repeating-linear-gradient(45deg, rgba(23, 116, 112, .1) 0 10px, rgba(23, 116, 112, 0) 10px 24px), linear-gradient(150deg, #D8E8E4, #CBE0DB);
  display: flex;
  align-items: flex-end;
  padding: 12px;
}
.home-card-photo-note { font-family: var(--font-mono); font-size: 10.5px; color: var(--teal); }

/* 03 — тёмная, «хит студии» */
.home-card--c {
  grid-area: c;
  display: flex;
  flex-direction: column;
  background: var(--pine);
  border: 1px solid rgba(11, 50, 49, 1);
  border-radius: 22px;
  padding: 22px;
  text-decoration: none;
  color: var(--cream);
  position: relative;
  overflow: hidden;
  transition: border-color .3s ease;
}
.home-card--c:hover { border-color: rgba(185, 146, 79, .65); }
.home-card--c .home-card-num,
.home-card--c .home-card-arr { color: var(--gold); }
.home-card--c .home-card-h { font-size: 24px; }
.home-card--c .home-card-p { color: rgba(247, 242, 233, .68); }
.home-card--c .home-card-photo {
  min-height: 120px;
  margin: 16px 0;
  background: repeating-linear-gradient(45deg, rgba(247, 242, 233, .08) 0 10px, rgba(247, 242, 233, 0) 10px 24px), linear-gradient(160deg, #10403E, #0B3231);
}
.home-card--c .home-card-photo-note { color: rgba(247, 242, 233, .6); }
.home-badge-hit {
  align-self: flex-start;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--pine);
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 12px;
}

/* 06 — инъекционная, teal-бордер + чип лицензии */
.home-card--f {
  grid-area: f;
  border: 1.5px solid rgba(23, 116, 112, .4);
  transition: border-color .3s ease, background-color .3s ease;
}
.home-card--f:hover { border-color: rgba(23, 116, 112, .8); background: var(--ivory); }
.home-card--f .home-card-h { margin-top: 14px; }
.home-badge-med {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--teal);
  color: var(--ivory);
  padding: 5px 11px;
  border-radius: 999px;
}

/* 09 — сертификаты, золотой градиент */
.home-card--i {
  grid-area: i;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(120deg, #F0E3CC, #EAD9BB);
  border: 1px solid rgba(138, 107, 54, .25);
  border-radius: 22px;
  padding: 22px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color .3s ease;
}
.home-card--i:hover { border-color: rgba(138, 107, 54, .6); }
.home-card--i .home-card-num,
.home-card--i .home-card-arr { color: var(--gold-dark); }
.home-card--i .home-card-h { margin-top: 14px; }
.home-card--i .home-card-p { color: rgba(16, 49, 47, .7); }
.home-card-i-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}
.home-card-i-price {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--gold-dark);
  white-space: nowrap;
}

/* -------- спецпредложения -------- */

.home-offers {
  background: var(--ivory);
  border-top: 1px solid rgba(16, 60, 58, .1);
  border-bottom: 1px solid rgba(16, 60, 58, .1);
  padding: clamp(60px, 8vw, 110px) 0;
}
.home-offers-strip {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 6px clamp(20px, 4vw, 44px) 18px;
  scroll-snap-type: x mandatory;
  max-width: 1300px;
  margin: 0 auto;
  box-sizing: border-box;
}
.home-offer {
  flex: none;
  width: min(84vw, 330px);
  scroll-snap-align: start;
  border-radius: 22px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 230px;
}
.home-offer--dark { background: var(--pine); color: var(--cream); }
.home-offer--gold { background: var(--gold); color: var(--pine); }
.home-offer--mist { background: var(--teal-mist); color: var(--ink); }
.home-offer--line { background: var(--ivory); border: 1.5px solid rgba(23, 116, 112, .35); color: var(--ink); }
.home-offer-top { display: flex; justify-content: space-between; align-items: center; }
.home-offer-tag {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.home-offer--dark .home-offer-tag { color: var(--gold); }
.home-offer--gold .home-offer-tag { color: rgba(11, 50, 49, .7); }
.home-offer--mist .home-offer-tag,
.home-offer--line .home-offer-tag { color: var(--teal); }
.home-offer-mark { font-family: var(--font-display); font-style: italic; font-size: 34px; }
.home-offer--dark .home-offer-mark { color: var(--gold); }
.home-offer--mist .home-offer-mark,
.home-offer--line .home-offer-mark { color: var(--teal); }
.home-offer-h { margin: 0 0 8px; font-family: var(--font-display); font-weight: 600; font-size: 25px; }
.home-offer-p { margin: 0; font-size: 13.5px; line-height: 1.65; }
.home-offer--dark .home-offer-p { color: rgba(247, 242, 233, .72); }
.home-offer--gold .home-offer-p { color: rgba(11, 50, 49, .75); }
.home-offer--mist .home-offer-p { color: rgba(16, 49, 47, .7); }
.home-offer--line .home-offer-p { color: rgba(16, 49, 47, .7); margin-bottom: 14px; }
.home-offer-link { font-size: 13.5px; font-weight: 600; color: var(--teal); text-decoration: none; transition: color .25s ease; }
.home-offer-link:hover { color: var(--gold); }

/* -------- команда: превью -------- */

.home-team {
  padding-top: clamp(70px, 9vw, 130px);
  padding-bottom: clamp(70px, 9vw, 130px);
}
.home-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr));
  gap: 18px;
}
.home-tcard {
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .35s ease;
}
.home-tcard-photo {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  overflow: hidden;
}
.home-tcard-photo--1 { background: repeating-linear-gradient(45deg, rgba(23, 116, 112, .08) 0 11px, rgba(23, 116, 112, 0) 11px 24px), linear-gradient(165deg, #E3EEEB, #D2E2DE); }
.home-tcard-photo--2 { background: repeating-linear-gradient(45deg, rgba(185, 146, 79, .1) 0 11px, rgba(185, 146, 79, 0) 11px 24px), linear-gradient(165deg, #F0E7D8, #E8DCC6); }
.home-tcard-photo--3 { background: repeating-linear-gradient(45deg, rgba(23, 116, 112, .08) 0 11px, rgba(23, 116, 112, 0) 11px 24px), linear-gradient(165deg, #DFECE9, #CFE0DC); }
.home-tcard-photo--4 { background: repeating-linear-gradient(45deg, rgba(23, 116, 112, .08) 0 11px, rgba(23, 116, 112, 0) 11px 24px), linear-gradient(165deg, #E3EEEB, #D5E5E0); }
.home-tbadge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
}
.home-tbadge--expert { background: var(--gold); color: var(--pine); }
.home-tbadge--doctor { background: var(--teal); color: var(--ivory); }
.home-tbadge--lead { background: var(--pine); color: var(--cream); }
.home-tcard-note {
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--teal);
}
.home-tcard-note--gold { color: var(--gold-dark); }
.home-tcard-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  margin-bottom: 4px;
}
.home-tcard-role { font-size: 13px; color: rgba(16, 49, 47, .62); }

/* -------- отзывы -------- */

.home-reviews {
  position: relative;
  background: var(--pine);
  color: var(--cream);
  overflow: hidden;
}
.home-reviews-glow {
  position: absolute;
  top: -240px;
  right: -140px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(59, 150, 143, .25), rgba(59, 150, 143, 0));
  pointer-events: none;
}
.home-reviews-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(80px, 11vw, 150px) clamp(20px, 4vw, 44px);
  text-align: center;
  position: relative;
}
.home-quotes { display: grid; min-height: 230px; align-items: center; }
.home-quote {
  grid-area: 1 / 1;
  margin: 0;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
  pointer-events: none;
}
.home-quote--active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.home-quote blockquote {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(22px, 3vw, 38px);
  line-height: 1.4;
}
.home-quote figcaption { font-size: 13.5px; color: rgba(247, 242, 233, .62); }
.home-dots { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.home-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(247, 242, 233, .25);
  cursor: pointer;
  transition: background .3s ease, transform .3s ease;
}
.home-dot--active { background: var(--gold); }

/* -------- атмосфера: горизонтальная галерея -------- */

.home-atm { position: relative; height: 280vh; }
.home-atm-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(26px, 4vh, 44px);
}
.home-atm-head { width: 100%; }
.home-atm-scroll { overflow: visible; }
.home-atm-track {
  display: flex;
  align-items: stretch;
  gap: clamp(16px, 2vw, 26px);
  width: max-content;
  padding: 0 clamp(20px, 6vw, 80px);
  will-change: transform;
}
.home-atm-fig { margin: 0; flex: none; }
.home-atm-fig--1 { width: clamp(300px, 34vw, 560px); }
.home-atm-fig--2 { width: clamp(250px, 26vw, 430px); align-self: flex-end; }
.home-atm-fig--3 { width: clamp(280px, 30vw, 500px); }
.home-atm-fig--4 { width: clamp(240px, 24vw, 400px); align-self: flex-end; }
.home-atm-fig--5 { width: clamp(270px, 28vw, 470px); }
.home-atm-ph { border-radius: 22px; position: relative; }
.home-atm-fig--1 .home-atm-ph { height: min(50vh, 430px); background: repeating-linear-gradient(45deg, rgba(23, 116, 112, .09) 0 12px, rgba(23, 116, 112, 0) 12px 26px), linear-gradient(155deg, #E3EEEB, #D5E5E1); }
.home-atm-fig--2 .home-atm-ph { height: min(38vh, 330px); background: repeating-linear-gradient(45deg, rgba(185, 146, 79, .1) 0 12px, rgba(185, 146, 79, 0) 12px 26px), linear-gradient(155deg, #F0E7D8, #E8DCC6); }
.home-atm-fig--3 .home-atm-ph { height: min(50vh, 430px); background: repeating-linear-gradient(45deg, rgba(247, 242, 233, .09) 0 12px, rgba(247, 242, 233, 0) 12px 26px), linear-gradient(155deg, #10403E, #0B3231); }
.home-atm-fig--4 .home-atm-ph { height: min(36vh, 310px); background: repeating-linear-gradient(45deg, rgba(23, 116, 112, .09) 0 12px, rgba(23, 116, 112, 0) 12px 26px), linear-gradient(155deg, #DFECE9, #CFE0DC); }
.home-atm-fig--5 .home-atm-ph { height: min(46vh, 400px); background: repeating-linear-gradient(45deg, rgba(185, 146, 79, .1) 0 12px, rgba(185, 146, 79, 0) 12px 26px), linear-gradient(155deg, #EFE6D6, #E6D9C2); }
.home-atm-num {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--teal);
}
.home-atm-fig--2 .home-atm-num,
.home-atm-fig--5 .home-atm-num { color: var(--gold-dark); }
.home-atm-fig--3 .home-atm-num { color: rgba(247, 242, 233, .65); }
.home-atm-cap {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: rgba(16, 49, 47, .6);
}
.home-atm-cta {
  flex: none;
  width: clamp(240px, 24vw, 380px);
  align-self: center;
  background: var(--pine);
  color: var(--cream);
  border-radius: 22px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
  min-height: 230px;
}
.home-atm-cta-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 26px;
  line-height: 1.3;
}
.home-atm-cta-link {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  font-size: 14.5px;
  transition: color .25s ease;
}
.home-atm-cta-link:hover { color: var(--cream); }

/* -------- контакты + карта -------- */

.home-contact {
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(80px, 10vw, 140px);
}
.home-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.home-contact-rows {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}
.home-contact-row { display: flex; gap: 14px; align-items: baseline; }
.home-contact-key {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold);
  width: 52px;
  flex: none;
}
.home-contact-val { font-size: 15.5px; line-height: 1.6; }
.home-contact-sub { color: rgba(16, 49, 47, .6); font-size: 13.5px; }
.home-contact-tel {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: color .25s ease;
}
.home-contact-tel:hover { color: var(--teal); }
.home-contact-vk {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  transition: color .25s ease;
}
.home-contact-vk:hover { color: var(--gold); }
.home-contact-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.home-btn-book { gap: 11px; transition: background .3s ease, color .3s ease; }
.home-btn-book:hover { color: var(--pine); }
.home-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  border: 1.5px solid rgba(16, 60, 58, .3);
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  padding: 16px 28px;
  border-radius: 999px;
  text-decoration: none;
  transition: border-color .3s ease, color .3s ease;
}
.home-btn-ghost:hover { border-color: rgba(185, 146, 79, .7); color: var(--gold-dark); }

.home-map {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: repeating-linear-gradient(0deg, rgba(23, 116, 112, .06) 0 1.5px, rgba(23, 116, 112, 0) 1.5px 44px), repeating-linear-gradient(90deg, rgba(23, 116, 112, .06) 0 1.5px, rgba(23, 116, 112, 0) 1.5px 44px), linear-gradient(150deg, #E9F1EF, #DCE9E6);
}
.home-map-road {
  position: absolute;
  top: 20%;
  left: -5%;
  right: -5%;
  height: 38px;
  background: rgba(23, 116, 112, .08);
  transform: rotate(-7deg);
}
.home-map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.home-map-pulse {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(185, 146, 79, .8);
  animation: home-pinPulse 2s ease-out infinite;
}
.home-map-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid #FCFAF4;
  box-shadow: 0 6px 16px -4px rgba(11, 50, 49, .5);
}
.home-map-tag {
  margin-top: 14px;
  font-size: 12px;
  font-weight: 600;
  background: var(--pine);
  color: var(--cream);
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

/* -------- адаптив ≤920px (мобильные переопределения референса) -------- */

@media (max-width: 920px) {
  .home-hero { height: 240vh; }
  .home-about-grid { grid-template-columns: 1fr; gap: 40px; }
  .home-lic-badge { left: 8px; }
  .home-bento-grid { display: flex; flex-direction: column; gap: 12px; }
  .home-atm { height: auto; }
  .home-atm-sticky {
    position: static;
    height: auto;
    overflow: visible;
    padding: 70px 0 30px;
  }
  .home-atm-scroll { overflow-x: auto; padding-bottom: 16px; }
  .home-contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
