/* ================================================================
   HERO WOW — премиальный hero главной с параллаксом и анимациями
   ================================================================ */

.home-hero-hdr--wow {
  position: relative;
  padding: 56px 20px 32px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

/* Watermark иероглифов 健康 (Здоровье) */
.hero-kanji {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Cormorant Garamond", "Songti SC", "STSong", serif;
  font-size: clamp(180px, 40vw, 380px);
  font-weight: 400;
  color: transparent;
  -webkit-text-stroke: 1px rgba(1, 105, 111, 0.08);
  letter-spacing: -0.05em;
  line-height: 0.85;
  z-index: -1;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  animation: kanjiBreathe 8s ease-in-out infinite;
}
.hero-kanji span {
  display: inline-block;
  margin-left: -0.1em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(218, 113, 1, 0.12);
}

@keyframes kanjiBreathe {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1;   transform: translate(-50%, -50%) scale(1.03); }
}

/* Eyebrow — маленькая плашка над заголовком */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  margin-bottom: 20px;
  font-family: "Manrope", -apple-system, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #01696F;
  background: linear-gradient(135deg, rgba(1, 105, 111, 0.06) 0%, rgba(218, 113, 1, 0.08) 100%);
  border: 1px solid rgba(1, 105, 111, 0.2);
  border-radius: 100px;
  opacity: 0;
  transform: translateY(-8px);
  animation: fadeInDown 0.6s 0.1s ease-out forwards;
}
.hero-eyebrow b {
  font-weight: 700;
  background: linear-gradient(90deg, #01696F 0%, #4a9d95 40%, #DA7101 60%, #01696F 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s linear infinite;
}
@keyframes shimmer {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
@keyframes fadeInDown {
  to { opacity: 1; transform: translateY(0); }
}

/* H1 — крупный элегантный serif */
.hero-h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(38px, 7vw, 84px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 auto 22px;
  max-width: 900px;
  color: #1a1f1e;
}

.hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(24px);
  filter: blur(8px);
  animation: heroWordIn 0.9s var(--d, 0s) cubic-bezier(0.22, 1, 0.36, 1) forwards;
  background: linear-gradient(180deg, #01696F 0%, #0c4e54 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
  font-style: italic;
}

.hero-dot {
  display: inline-block;
  color: #DA7101;
  font-weight: 700;
  opacity: 0;
  animation: fadeIn 0.4s calc(var(--d, 0s) + 0.5s) ease-out forwards;
  transform: scale(1.4);
  margin: 0 0.1em 0 -0.05em;
}

.hero-tail {
  display: inline-block;
  opacity: 0;
  transform: translateY(12px);
  animation: heroWordIn 0.9s var(--d, 0s) cubic-bezier(0.22, 1, 0.36, 1) forwards;
  color: #4a4a48;
  font-weight: 400;
  font-style: italic;
}

@keyframes heroWordIn {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}
@keyframes fadeIn {
  to { opacity: 1; transform: scale(1); }
}

/* Lead — Manrope, спокойный */
.hero-lead {
  font-family: "Manrope", -apple-system, sans-serif;
  font-size: clamp(15px, 1.9vw, 19px);
  line-height: 1.6;
  color: #5a5a55;
  max-width: 620px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeInDown 0.8s 0.85s ease-out forwards;
}
.hero-lead b {
  color: #1a1f1e;
  font-weight: 700;
}
.hero-lead .hero-accent {
  color: #01696F;
  font-weight: 700;
  background: linear-gradient(180deg, rgba(1, 105, 111, 0) 60%, rgba(218, 113, 1, 0.18) 60%);
  padding: 0 2px;
}

/* CTA */
.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeInDown 0.8s 1s ease-out forwards;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 26px;
  font-family: "Manrope", -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 600;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  border: 1.5px solid transparent;
  position: relative;
  overflow: hidden;
  will-change: transform;
}
.hero-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #01696F 0%, #0c4e54 100%);
  box-shadow: 0 6px 20px -6px rgba(1, 105, 111, 0.5);
}
.hero-btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.25) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.hero-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(1, 105, 111, 0.6);
}
.hero-btn--primary:hover::before {
  transform: translateX(100%);
}
.hero-btn--ghost {
  color: #01696F;
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(1, 105, 111, 0.25);
  backdrop-filter: blur(8px);
}
.hero-btn--ghost:hover {
  background: #fff;
  border-color: #01696F;
  transform: translateY(-2px);
}

/* Параллакс на скролле — иероглифы */
@media (prefers-reduced-motion: no-preference) {
  .home-hero-hdr--wow {
    perspective: 1000px;
  }
  .hero-kanji {
    transition: transform 0.1s linear;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .home-hero-hdr--wow { padding: 40px 16px 24px; }
  .hero-eyebrow { font-size: 10px; padding: 6px 12px; }
  .hero-kanji { font-size: clamp(200px, 60vw, 320px); }
  .hero-h1 { font-size: clamp(34px, 9vw, 48px); }
  .hero-lead { font-size: 14px; }
  .hero-btn { padding: 12px 20px; font-size: 14px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .hero-btn { justify-content: center; }
}

/* Уважаем prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .hero-word, .hero-tail, .hero-dot, .hero-eyebrow, .hero-lead, .hero-cta {
    animation: none;
    opacity: 1;
    transform: none;
    filter: none;
  }
  .hero-kanji { animation: none; }
  .hero-eyebrow b { animation: none; background: none; -webkit-text-fill-color: #01696F; }
}
