/* ===== hero.css — Hero Section ===== */

.hero { position: relative; min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; padding: 112px 0 100px; overflow: hidden; background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 50%, var(--secondary) 100%); }

/* Загруженный фон главной (из админки): светлая подложка сверху,
   чтобы текст оставался читаемым на любом фото */
.hero.with-hero-bg {
  background-image:
    linear-gradient(rgba(255, 252, 254, 0.92), rgba(255, 252, 254, 0.92)),
    var(--hero-bg-image, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Фоновое видео главной (из админки) */
.hero-bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-bg-overlay { position: absolute; inset: 0; background: rgba(255, 252, 254, 0.5); z-index: 1; }

/* На ПК-экранах герой не растягивается на весь экран —
   иначе сверху и снизу остаётся много пустого места */
@media (min-width: 901px) {
  .hero { min-height: auto; }
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-orchid { position: absolute; border-radius: 50%; background: radial-gradient(circle, rgba(230,116,185,.15) 0%, transparent 70%); animation: float 8s ease-in-out infinite; }
.hero-orchid:nth-child(1) { width: 400px; height: 400px; top: -100px; right: -100px; }
.hero-orchid:nth-child(2) { width: 300px; height: 300px; bottom: 10%; left: -80px; animation-delay: 2s; }
.floating-petal { position: absolute; width: 20px; height: 20px; background: var(--primary-light); border-radius: 50% 0 50% 50%; opacity: .3; animation: petalFall 12s linear infinite; }
.floating-petal:nth-child(3) { left: 10%; }
.floating-petal:nth-child(4) { left: 60%; animation-delay: 4s; }

@keyframes float { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-30px) rotate(5deg); } }
@keyframes petalFall { 0% { top: -20px; transform: rotate(0deg); opacity: 0; } 10% { opacity: .3; } 90% { opacity: .3; } 100% { top: 100vh; transform: rotate(720deg); opacity: 0; } }

.hero .container { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: center; position: relative; z-index: 1; }


.hero-content { max-width: 640px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: rgba(194,24,122,.08); border-radius: var(--radius-xl); font-size: 13px; font-weight: 500; color: var(--primary); margin-bottom: 24px; }
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .5; } }

.hero-title { font-family: var(--font-heading); font-size: clamp(40px, 6vw, 72px); font-weight: 700; color: var(--text-dark); line-height: 1.1; margin-bottom: 24px; }
.hero-title .title-line { display: block; }
.hero-title .title-line:last-child { color: var(--primary); font-style: italic; padding-bottom: .08em; }
.hero-subtitle { font-size: 18px; color: var(--text-light); margin-bottom: 40px; line-height: 1.7; max-width: 520px; }
.hero-buttons { display: flex; gap: 16px; margin-bottom: 48px; }

.hero-features { display: flex; gap: 24px; flex-wrap: wrap; }
.feature { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--text-medium); }

.hero-image { display: flex; justify-content: center; align-items: center; }
/* Карточка с фото (без кругов и обрезки): фото показывается целиком */
.hero-flower-circle { position: relative; width: min(440px, 100%); aspect-ratio: 4 / 3; }
.center-flower { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border-radius: 28px; overflow: hidden; background: var(--secondary); box-shadow: var(--shadow-lg); }
@keyframes gentleFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }