/* ===== Alem Show — стили ===== */
:root {
  --bg: #0d0b14;
  --bg-alt: #14111e;
  --card: #1b1727;
  --line: rgba(255, 255, 255, .08);
  --text: #f4f1fa;
  --muted: #a9a3b8;
  --gold: #e8c26a;
  --gold-2: #f6dc9b;
  --violet: #7b4dff;
  --pink: #ff4d9d;
  --radius: 18px;
  --header-h: 68px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.gold { color: var(--gold); background: linear-gradient(90deg, var(--gold), var(--gold-2), var(--gold)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.center { text-align: center; margin-top: 32px; }

/* ===== Кнопки ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 28px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 15px; letter-spacing: .2px; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
}
.btn:active { transform: scale(.97); }
.btn--gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, #c99a3a);
  color: #1a1408; box-shadow: 0 8px 30px rgba(232, 194, 106, .35);
}
.btn--gold:hover { box-shadow: 0 10px 40px rgba(232, 194, 106, .55); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.04); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--block { width: 100%; }

/* ===== Шапка ===== */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled { background: rgba(13, 11, 20, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; letter-spacing: 2px; font-size: 18px; }
.logo__star { color: var(--gold); font-size: 20px; animation: twinkle 3s ease-in-out infinite; }
.logo__mark { width: 40px; height: auto; display: block; flex-shrink: 0; }
.logo__text { white-space: nowrap; }
.hero__mark { width: 140px; height: auto; margin: 0 auto 20px; filter: drop-shadow(0 0 28px rgba(232,194,106,.45)); }
.hero__mark.is-visible { animation: glow 4s ease-in-out infinite; }
@keyframes glow { 0%,100% { filter: drop-shadow(0 0 20px rgba(232,194,106,.35)); } 50% { filter: drop-shadow(0 0 40px rgba(240,122,42,.55)); } }
.logo__text b { color: var(--gold); font-weight: 800; }
.nav { display: flex; gap: 28px; font-size: 14px; font-weight: 600; }
.nav a { color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--text); }
.header__right { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; background: rgba(255,255,255,.06); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button { background: none; border: 0; padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--muted); cursor: pointer; transition: .2s; }
.lang button.is-active { background: var(--gold); color: #1a1408; }
.burger { display: none; width: 40px; height: 40px; background: none; border: 0; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 9px; right: 9px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }
.burger span:nth-child(1) { top: 13px; } .burger span:nth-child(2) { top: 19px; } .burger span:nth-child(3) { top: 25px; }
.burger.is-open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* ===== Первый экран ===== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: calc(var(--header-h) + 40px) 0 80px; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; animation: float 14s ease-in-out infinite; }
.orb--1 { width: 460px; height: 460px; background: var(--violet); top: -120px; left: -120px; }
.orb--2 { width: 380px; height: 380px; background: var(--pink); bottom: -140px; right: -80px; animation-delay: -5s; opacity: .4; }
.orb--3 { width: 300px; height: 300px; background: var(--gold); top: 40%; left: 55%; animation-delay: -9s; opacity: .25; }
.sparkles { position: absolute; inset: 0; }
.sparkles i { position: absolute; width: 3px; height: 3px; background: var(--gold-2); border-radius: 50%; opacity: 0; animation: sparkle 4s ease-in-out infinite; box-shadow: 0 0 8px var(--gold); }
.hero__content { position: relative; z-index: 1; text-align: center; }
.hero__eyebrow, .eyebrow { text-transform: uppercase; letter-spacing: 3px; font-size: 12px; font-weight: 700; color: var(--gold); margin-bottom: 18px; }
.hero__title { font-family: "Playfair Display", Georgia, serif; font-size: clamp(40px, 8vw, 84px); line-height: 1.05; font-weight: 700; margin-bottom: 22px; }
.hero__sub { max-width: 620px; margin: 0 auto 34px; color: var(--muted); font-size: clamp(15px, 2.2vw, 18px); }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__tags { list-style: none; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.hero__tags li { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--muted); background: rgba(255,255,255,.03); }
.hero__scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.3); border-radius: 14px; z-index: 1; }
.hero__scroll span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; background: var(--gold); border-radius: 2px; animation: scrollDot 1.8s infinite; }

/* ===== Секции ===== */
.section { padding: 96px 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.section__title { font-family: "Playfair Display", Georgia, serif; font-size: clamp(30px, 5vw, 46px); text-align: center; line-height: 1.15; margin-bottom: 14px; }
.section__title--left { text-align: left; }
.section__sub { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 44px; }
.section__title + .services, .section__title + .steps { margin-top: 44px; }

/* Услуги */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.service:hover { transform: translateY(-6px); border-color: rgba(232,194,106,.4); box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.service__icon { font-size: 34px; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(135deg, rgba(123,77,255,.25), rgba(255,77,157,.18)); margin-bottom: 18px; }
.service h3 { font-size: 18px; margin-bottom: 8px; }
.service p { color: var(--muted); font-size: 14px; }

/* Пакеты */
.packages { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: stretch; max-width: 820px; margin: 0 auto; }
.pkg {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 34px 28px;
  display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s;
}
.pkg:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,.4); }
.pkg--hot { border-color: rgba(232,194,106,.55); background: linear-gradient(180deg, rgba(232,194,106,.10), var(--card) 45%); }
.pkg__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--gold); color: #1a1408; font-size: 12px; font-weight: 800; padding: 5px 14px; border-radius: 999px; text-transform: uppercase; letter-spacing: 1px; white-space: nowrap; }
.pkg__name { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.pkg__price { font-size: 26px; font-weight: 800; color: var(--gold); margin-bottom: 22px; }
.pkg__list { list-style: none; display: grid; gap: 11px; margin-bottom: 28px; flex: 1; }
.pkg__list li { position: relative; padding-left: 28px; font-size: 14.5px; color: #d9d4e6; }
.pkg__list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 19px; height: 19px; border-radius: 50%; background: rgba(232,194,106,.15); color: var(--gold); font-size: 11px; font-weight: 800; display: grid; place-items: center; margin-top: 2px; }

/* Шаги */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; padding: 28px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.step__n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--gold); color: var(--gold); font-weight: 800; margin-bottom: 16px; }
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14px; }

/* Галерея */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: 14px; }
.gitem { border-radius: var(--radius); overflow: hidden; position: relative; }
.gitem img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gitem:hover img { transform: scale(1.06); }
.gitem--tall { grid-row: span 2; }
.gitem--wide { grid-column: span 2; }
.ph { display: flex; align-items: flex-end; padding: 18px; font-weight: 700; }
.ph span { position: relative; z-index: 1; background: rgba(0,0,0,.35); padding: 6px 12px; border-radius: 999px; font-size: 13px; backdrop-filter: blur(6px); }
.ph::after { content: "✦"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 46px; color: rgba(255,255,255,.18); }
.ph--1 { background: linear-gradient(135deg, #3b1f6e, #a23a7a); }
.ph--2 { background: linear-gradient(160deg, #1d2b64, #7b4dff); }
.ph--3 { background: linear-gradient(135deg, #7a3b12, #e8a33a); }
.ph--4 { background: linear-gradient(120deg, #2b1a3d, #ff4d9d 70%, #e8c26a); }
.ph--5 { background: linear-gradient(135deg, #143b3b, #2fa58f); }

/* О ведущем */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.about__photo { aspect-ratio: 4 / 5; border-radius: 26px; overflow: hidden; position: relative; background: radial-gradient(circle at 50% 40%, #241a3a, #0f0c18 75%); border: 1px solid rgba(232,194,106,.25); box-shadow: 0 30px 80px rgba(123,77,255,.2); }
.about__photo > img { width: 100%; height: 100%; object-fit: cover; }
.about__ph { position: absolute; inset: 0; display: grid; place-items: center; padding: 18%; }
.about__ph img { width: 100%; height: auto; }
.about__text > p { color: #d9d4e6; margin-bottom: 30px; font-size: 16px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stat { padding: 18px 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); text-align: center; }
.stat b { display: block; font-size: 26px; color: var(--gold); font-weight: 800; line-height: 1.2; }
.stat span { font-size: 12.5px; color: var(--muted); }

/* Заявка */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact__info > p { color: var(--muted); margin-bottom: 28px; }
.contacts { list-style: none; display: grid; gap: 14px; }
.contacts li, .contacts a { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.contacts a:hover { color: var(--gold); }
.ci { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.form { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 30px; display: grid; gap: 16px; }
.field { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line); background: #110e1a; color: var(--text);
  font-size: 16px; font-weight: 500; transition: border-color .2s; color-scheme: dark;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form__err { color: #ff7a9a; font-size: 13px; }
.field.is-invalid input { border-color: #ff7a9a; }

/* Подвал */
.footer { padding: 34px 0 110px; border-top: 1px solid var(--line); }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer p { color: var(--muted); font-size: 13px; }

/* Плавающая кнопка WhatsApp */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; align-items: center; gap: 10px;
  background: #25d366; color: #fff; font-weight: 700; font-size: 14.5px; padding: 13px 20px 13px 16px; border-radius: 999px;
  box-shadow: 0 10px 30px rgba(37,211,102,.45); animation: pulse 2.6s infinite;
  transition: transform .2s;
}
.wa-float:hover { transform: translateY(-2px); }

/* ===== Анимации ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes float { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(40px,-30px) scale(1.08); } 66% { transform: translate(-30px,30px) scale(.95); } }
@keyframes sparkle { 0%,100% { opacity: 0; transform: scale(.4); } 50% { opacity: 1; transform: scale(1.4); } }
@keyframes twinkle { 0%,100% { opacity: 1; transform: rotate(0); } 50% { opacity: .55; transform: rotate(45deg); } }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes pulse { 0%,100% { box-shadow: 0 10px 30px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.5); } 50% { box-shadow: 0 10px 30px rgba(37,211,102,.45), 0 0 0 12px rgba(37,211,102,0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== Адаптив ===== */
@media (max-width: 980px) {
  .services, .steps { grid-template-columns: repeat(2, 1fr); }
  .packages { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; gap: 28px; }
  .about, .contact { grid-template-columns: 1fr; gap: 36px; }
  .about__photo { max-width: 380px; width: 100%; margin: 0 auto; }
}
@media (max-width: 820px) {
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0;
    background: rgba(13,11,20,.97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform .35s; padding: 8px 20px 20px; z-index: -1;
  }
  .nav.is-open { transform: none; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--text); }
  .burger { display: block; }
  .header { background: rgba(13,11,20,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .services, .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .gitem--wide { grid-column: span 2; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stat b { font-size: 20px; }
  .field-row { grid-template-columns: 1fr; }
  .form { padding: 22px; }
  .hero__cta .btn { width: 100%; }
  .wa-float { left: 16px; right: 16px; justify-content: center; bottom: 14px; }
  .logo { font-size: 16px; letter-spacing: 1.5px; }
  .lang button { padding: 6px 8px; }
}
