/* ═══════════════════════════════════
   HERO — утренний лес
═══════════════════════════════════ */
.hero-sec {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4vw;
  padding: 7rem 6vw 4rem;
  position: relative;
  overflow: hidden;
  background: url('/static/img/hero.png') center 70% / cover no-repeat;
  background-attachment: fixed;
}

.hero-sec::before {
  content: none;
}

.hero-sec::after {
  content: none;
}

/* Световые частицы */
@keyframes float-up {
  0%   { transform: translateY(0)   translateX(0)   scale(1);   opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: .9; }
  100% { transform: translateY(-80vh) translateX(20px) scale(.4); opacity: 0; }
}
@keyframes float-up2 {
  0%   { transform: translateY(0)   translateX(0)   scale(1);   opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: .8; }
  100% { transform: translateY(-70vh) translateX(-30px) scale(.3); opacity: 0; }
}
@keyframes float-up3 {
  0%   { transform: translateY(0)   translateX(0)   scale(1);   opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: .85; }
  100% { transform: translateY(-90vh) translateX(15px) scale(.5); opacity: 0; }
}
@keyframes float-wave1 {
  0%   { transform: translateY(0)      translateX(0)    scale(1);   opacity: 0; }
  10%  { opacity: 0.9; }
  25%  { transform: translateY(-20vh)  translateX(30px) scale(.9); }
  50%  { transform: translateY(-45vh)  translateX(-20px) scale(.7); }
  75%  { transform: translateY(-65vh)  translateX(25px) scale(.5); }
  90%  { opacity: .8; }
  100% { transform: translateY(-85vh)  translateX(-10px) scale(.3); opacity: 0; }
}
@keyframes float-wave2 {
  0%   { transform: translateY(0)      translateX(0)    scale(1);   opacity: 0; }
  10%  { opacity: 0.85; }
  25%  { transform: translateY(-18vh)  translateX(-35px) scale(.9); }
  50%  { transform: translateY(-42vh)  translateX(25px)  scale(.65); }
  75%  { transform: translateY(-68vh)  translateX(-30px) scale(.45); }
  90%  { opacity: .75; }
  100% { transform: translateY(-88vh)  translateX(15px)  scale(.25); opacity: 0; }
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.hero-particles span {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,240,120,1) 0%, rgba(255,210,50,.7) 50%, transparent 70%);
  filter: blur(1.5px);
  animation: float-up linear infinite both;
  box-shadow: 0 0 6px 2px rgba(255,230,80,.6);
}

.hero-particles span:nth-child(1)  { width:6px;  height:6px;  left:15%;  bottom:5%;  animation-duration:8s;  animation-delay:0s;   animation-name:float-up; }
.hero-particles span:nth-child(2)  { width:4px;  height:4px;  left:25%;  bottom:10%; animation-duration:10s; animation-delay:1.5s; animation-name:float-up2; }
.hero-particles span:nth-child(3)  { width:8px;  height:8px;  left:40%;  bottom:3%;  animation-duration:12s; animation-delay:3s;   animation-name:float-up3; }
.hero-particles span:nth-child(4)  { width:5px;  height:5px;  left:55%;  bottom:8%;  animation-duration:9s;  animation-delay:0.8s; animation-name:float-up; }
.hero-particles span:nth-child(5)  { width:7px;  height:7px;  left:65%;  bottom:2%;  animation-duration:11s; animation-delay:2.2s; animation-name:float-up2; }
.hero-particles span:nth-child(6)  { width:4px;  height:4px;  left:75%;  bottom:12%; animation-duration:7s;  animation-delay:4s;   animation-name:float-up3; }
.hero-particles span:nth-child(7)  { width:6px;  height:6px;  left:85%;  bottom:6%;  animation-duration:13s; animation-delay:1s;   animation-name:float-up; }
.hero-particles span:nth-child(8)  { width:3px;  height:3px;  left:10%;  bottom:15%; animation-duration:9s;  animation-delay:5s;   animation-name:float-up2; }
.hero-particles span:nth-child(9)  { width:9px;  height:9px;  left:32%;  bottom:4%;  animation-duration:14s; animation-delay:2.5s; animation-name:float-up3; }
.hero-particles span:nth-child(10) { width:5px;  height:5px;  left:48%;  bottom:18%; animation-duration:8s;  animation-delay:6s;   animation-name:float-up; }
.hero-particles span:nth-child(11) { width:4px;  height:4px;  left:58%;  bottom:9%;  animation-duration:10s; animation-delay:0.3s; animation-name:float-up2; }
.hero-particles span:nth-child(12) { width:6px;  height:6px;  left:70%;  bottom:14%; animation-duration:11s; animation-delay:3.7s; animation-name:float-up3; }
.hero-particles span:nth-child(13) { width:3px;  height:3px;  left:20%;  bottom:7%;  animation-duration:7s;  animation-delay:1.8s; animation-name:float-up; }
.hero-particles span:nth-child(14) { width:7px;  height:7px;  left:90%;  bottom:11%; animation-duration:12s; animation-delay:4.5s; animation-name:float-up2; }
.hero-particles span:nth-child(15) { width:5px;  height:5px;  left:5%;   bottom:20%; animation-duration:15s; animation-delay:2s;   animation-name:float-up3; }

/* Волновые частицы */
.hero-particles span.wave {
  background: radial-gradient(circle, rgba(180,255,160,1) 0%, rgba(120,220,100,.7) 50%, transparent 70%);
  box-shadow: 0 0 6px 2px rgba(140,220,100,.5);
}
.hero-particles span.wave:nth-child(16) { width:5px;  height:5px;  left:12%;  bottom:8%;  animation-duration:14s; animation-delay:0.5s; animation-name:float-wave1; }
.hero-particles span.wave:nth-child(17) { width:7px;  height:7px;  left:30%;  bottom:5%;  animation-duration:16s; animation-delay:2s;   animation-name:float-wave2; }
.hero-particles span.wave:nth-child(18) { width:4px;  height:4px;  left:45%;  bottom:10%; animation-duration:13s; animation-delay:4s;   animation-name:float-wave1; }
.hero-particles span.wave:nth-child(19) { width:6px;  height:6px;  left:60%;  bottom:3%;  animation-duration:17s; animation-delay:1s;   animation-name:float-wave2; }
.hero-particles span.wave:nth-child(20) { width:8px;  height:8px;  left:72%;  bottom:7%;  animation-duration:15s; animation-delay:3.5s; animation-name:float-wave1; }
.hero-particles span.wave:nth-child(21) { width:4px;  height:4px;  left:83%;  bottom:12%; animation-duration:12s; animation-delay:6s;   animation-name:float-wave2; }
.hero-particles span.wave:nth-child(22) { width:6px;  height:6px;  left:22%;  bottom:15%; animation-duration:18s; animation-delay:0s;   animation-name:float-wave1; }
.hero-particles span.wave:nth-child(23) { width:5px;  height:5px;  left:52%;  bottom:6%;  animation-duration:14s; animation-delay:5s;   animation-name:float-wave2; }

.hero-inner {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, .55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 2.5rem 3rem;
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .12);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #1a3a22;
  margin-bottom: 1.2rem;
}
.hero-tag::before {
  content: '';
  width: 18px;
  height: 1.5px;
  background: #2e7a40;
  border-radius: 2px;
  flex-shrink: 0;
}

.hero-h {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  color: #0d2414;
  margin-bottom: 1.2rem;
  text-shadow: none;
}
.hero-h em {
  font-style: italic;
  color: #1a5a28;
  display: block;
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #1a3a22;
  max-width: 480px;
  margin-bottom: 2rem;
  text-shadow: none;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-btn-primary {
  background: #1a5a28;
  color: white;
  font-weight: 600;
  font-size: .95rem;
  padding: .9rem 2rem;
  border-radius: 100px;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(0,0,0,.25);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.hero-btn-primary:hover {
  background: #0d3d1a;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(0,0,0,.3);
}

.hero-btn-secondary {
  color: #1a3a22;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  padding: .9rem 0;
  border-bottom: 1.5px solid rgba(26,58,34,.4);
  transition: border-color .2s, color .2s;
}
.hero-btn-secondary:hover {
  color: #0d2414;
  border-color: #1a3a22;
}

/* Статистика */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: .1rem;
}
.hs-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a5a28;
  line-height: 1;
}
.hs-label {
  font-size: .72rem;
  color: #2a4a32;
  letter-spacing: .05em;
}
.hero-stat-sep {
  width: 1px;
  height: 32px;
  background: rgba(26,58,34,.25);
}

/* Декоративная часть справа */
.hero-decor {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.hero-rings-svg {
  position: absolute;
  width: min(420px, 40vw);
  height: min(420px, 40vw);
  opacity: .15;
}

.hero-photo-placeholder {
  width: min(380px, 38vw);
  height: min(507px, 51vw);
  border-radius: 2rem;
  overflow: hidden;
  position: relative;
  z-index: 1;
  /* светящаяся размытая рамка */
  outline: 4px solid rgba(248,248,128,.7);
  outline-offset: 0px;
  box-shadow:
    0 0 0 6px rgba(248,248,128,.2),
    0 0 30px 12px rgba(248,248,128,.4),
    0 0 80px 30px rgba(248,248,128,.25),
    0 0 140px 60px rgba(248,248,128,.12);
  margin-right: -3vw;
}

.hero-photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% top;
  display: block;
}
