/* ============ Almira Media — light landing (warm orange) ============ */
:root {
  --bg: #fdf9f4;
  --bg-soft: #fbf1e7;
  --ink: #2e2318;
  --ink-2: #6b584a;
  --muted: #a08b74;
  --line: rgba(46, 35, 24, 0.10);
  --line-2: rgba(46, 35, 24, 0.17);
  --card: #ffffff;
  --card-2: rgba(255, 122, 60, 0.07);
  --accent: #ff7a3c;
  --accent-deep: #e8590c;
  --accent-2: #ffb45a;
  --grad: linear-gradient(100deg, #ff5e3a 10%, #ffb45a 90%);
  --radius: 22px;
  --font-display: "Golos Text", "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --shadow-sm: 0 6px 22px rgba(200, 110, 50, 0.09);
  --shadow: 0 18px 50px rgba(180, 95, 40, 0.15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  font-family: var(--font-body);
  background:
    radial-gradient(900px 600px at 88% -10%, rgba(255, 180, 90, 0.14), transparent 60%),
    radial-gradient(800px 500px at -10% 35%, rgba(255, 122, 60, 0.10), transparent 55%),
    var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1180px, 92vw);
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s;
  white-space: nowrap;
}
.btn--lg { padding: 16px 34px; font-size: 16px; }
.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 26px rgba(255, 110, 60, 0.35);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(255, 110, 60, 0.45); }
.btn--ghost {
  border-color: var(--line-2);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-deep); transform: translateY(-2px); }

/* ---------- Age gate (18+) ---------- */
html.age-ok .age-gate { display: none; }
.age-gate {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  transition: opacity .5s ease, visibility .5s;
}
.age-gate.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.age-gate__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: blur(26px) saturate(1.05);
  transform: scale(1.1);
}
.age-gate__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.8), rgba(253, 244, 234, 0.9));
}
.age-gate__card {
  position: relative;
  width: min(560px, 100%);
  padding: 46px 42px;
  border-radius: 28px;
  text-align: center;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
  animation: gateIn .7s cubic-bezier(.2,.9,.3,1.2) both;
}
@keyframes gateIn {
  from { transform: translateY(30px) scale(.94); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.age-gate__badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 86px; height: 86px; border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 800; font-size: 30px;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 0 0 10px rgba(255, 122, 60, 0.13), 0 14px 34px rgba(255, 110, 60, 0.35);
  margin-bottom: 22px;
}
.age-gate__title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(20px, 3.4vw, 26px);
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--ink);
}
.age-gate__text { color: var(--ink-2); margin: 0 auto 26px; max-width: 44ch; }
.age-gate__buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.age-gate__note { margin: 24px 0 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
body.locked, html.locked { overflow: hidden; }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .3s, border-color .3s, box-shadow .3s;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(18px);
  border-color: var(--line);
  box-shadow: 0 8px 26px rgba(200, 110, 50, 0.10);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--grad);
  position: relative;
  box-shadow: 0 0 0 6px rgba(255, 122, 60, 0.14);
}
.logo__mark::after {
  content: ""; position: absolute; inset: 9px;
  border-radius: 50%; border: 2px solid #fff; opacity: .9;
}
.logo__text {
  font-family: var(--font-display);
  font-weight: 700; font-size: 18px; letter-spacing: .02em;
  color: var(--ink);
}
.logo__text em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) {
  font-weight: 600; font-size: 14px; color: var(--ink-2);
  transition: color .2s; position: relative;
  white-space: nowrap;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -6px;
  height: 2px; border-radius: 2px; background: var(--grad); transition: right .25s;
}
.nav a:not(.btn):hover { color: var(--accent-deep); }
.nav a:not(.btn):hover::after { right: 0; }
.nav__cta { padding: 10px 22px; font-size: 14px; }

.burger { display: none; background: none; border: 0; padding: 6px; cursor: pointer; }
.burger span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 6px 0; border-radius: 2px; transition: .3s; }
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero (фоновая картинка) ---------- */
.hero {
  position: relative;
  min-height: clamp(600px, 92vh, 980px);
  display: flex;
  align-items: center;
  padding: 150px 0 110px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.85) 0%, rgba(255,255,255,.2) 26%, transparent 45%),
    linear-gradient(90deg, rgba(255,251,246,.96) 0%, rgba(255,251,246,.74) 34%, rgba(255,251,246,.2) 62%, transparent 80%),
    linear-gradient(0deg, rgba(253,249,244,.88) 0%, transparent 22%);
}
.hero__inner { position: relative; z-index: 2; }
.hero__content { max-width: 640px; }
.hero__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.tag {
  font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-2);
  backdrop-filter: blur(4px);
}
.tag:first-child { border-color: rgba(232, 89, 12, 0.35); color: var(--accent-deep); }

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.12;
  font-weight: 700;
  margin: 0 0 22px;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { font-size: 18px; color: var(--ink-2); max-width: 50ch; margin: 0 0 32px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__badge {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  font-size: 13px; font-weight: 700;
  color: var(--ink);
}
.hero__badge--live { top: 110px; right: 6vw; color: var(--accent-deep); }
.hero__badge--live i {
  width: 9px; height: 9px; border-radius: 50%; background: #ff5e2e; display: inline-block;
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 94, 46, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(255, 94, 46, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 94, 46, 0); }
}
.hero__badge--chat { bottom: 64px; right: 6vw; }
.hero__badge--chat svg { color: var(--accent); }

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section--soft {
  background:
    radial-gradient(700px 400px at 18% 0%, rgba(255, 122, 60, 0.10), transparent 60%),
    linear-gradient(180deg, var(--bg-soft), #fdf2e6 60%, var(--bg-soft));
  border-block: 1px solid var(--line);
}
.section__head { max-width: 820px; margin-bottom: 56px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__label {
  display: inline-block;
  font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 16px;
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.6vw, 40px);
  font-weight: 700; line-height: 1.24;
  margin: 0 0 18px;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.section__sub { color: var(--muted); font-size: 17px; margin: 0; }

/* How */
.how__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.how__media {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  background: var(--bg-soft);
}
.how__media img { aspect-ratio: 4/3; object-fit: cover; }
.how__play {
  position: absolute; inset: 0; margin: auto; width: 74px; height: 74px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.94); color: var(--accent-deep);
  box-shadow: var(--shadow);
  cursor: default; transition: transform .25s;
}
.how__media:hover .how__play { transform: scale(1.08); }
.how__play svg { margin-left: 4px; }
.lead { font-size: 19px; color: var(--ink); font-weight: 600; margin-top: 0; }
.how__text p { color: var(--ink-2); }
.how__list { margin-top: 26px; display: grid; gap: 14px; }
.how__item {
  display: flex; gap: 16px; align-items: baseline;
  padding: 14px 18px; border-radius: 14px;
  background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  color: var(--ink-2);
  transition: border-color .2s, transform .2s;
}
.how__item:hover { border-color: rgba(232, 89, 12, 0.35); transform: translateX(4px); }
.how__item b {
  font-family: var(--font-display); color: var(--accent-deep);
  font-size: 14px; font-weight: 800;
}

/* Cards */
.cards { display: grid; gap: 24px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  position: relative;
  padding: 34px 30px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, border-color .25s, box-shadow .25s;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto;
  height: 3px; background: var(--grad);
  opacity: 0; transition: opacity .25s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(232, 89, 12, 0.3);
  box-shadow: var(--shadow);
}
.card:hover::before { opacity: 1; }
.card__num {
  font-family: var(--font-display); font-weight: 800; font-size: 40px;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 14px;
}
.card h3 { font-size: 19px; margin: 0 0 10px; font-weight: 800; letter-spacing: .005em; color: var(--ink); }
.card p { margin: 0; color: var(--ink-2); font-size: 15.2px; line-height: 1.6; }

.card__icon {
  width: 54px; height: 54px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 18px;
  background: linear-gradient(140deg, rgba(255, 94, 58, 0.12), rgba(255, 180, 90, 0.18));
  border: 1px solid var(--line);
}
.benefits { margin-top: 8px; }

/* CTA */
.cta { position: relative; padding: 120px 0; overflow: hidden; }
.cta__bg { position: absolute; inset: 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.cta__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(255,252,248,.96) 26%, rgba(255,252,248,.62) 58%, rgba(255,252,248,.25) 80%),
    linear-gradient(180deg, rgba(253,249,244,.92) 0%, rgba(253,249,244,.2) 30%, rgba(253,249,244,.9) 100%);
}
.cta__inner { position: relative; z-index: 2; display: flex; }
.cta__content { max-width: 620px; }
.cta__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4.2vw, 44px);
  font-weight: 700; line-height: 1.22; margin: 0 0 34px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.cta__links { display: grid; gap: 14px; margin-bottom: 38px; }
.cta__link {
  display: flex; align-items: center; gap: 16px;
  padding: 15px 20px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
  color: var(--ink);
  transition: border-color .2s, transform .2s;
  width: fit-content; min-width: min(360px, 100%);
}
.cta__link:hover { border-color: var(--accent); transform: translateY(-2px); }
.cta__link-ic { font-size: 22px; }
.cta__link-txt { display: flex; flex-direction: column; line-height: 1.35; font-weight: 600; }
.cta__link-txt b {
  font-size: 12px; text-transform: uppercase; letter-spacing: .14em;
  color: var(--muted); font-weight: 700;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 180, 90, 0.07), transparent);
  padding-top: 64px;
}
.footer__inner {
  display: grid; grid-template-columns: 1.4fr .8fr 1.1fr .7fr; gap: 40px;
  padding-bottom: 48px;
}
.footer__col--brand p { color: var(--muted); font-size: 14.5px; max-width: 30ch; margin-top: 16px; }
.footer__col h3 {
  font-family: var(--font-display);
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  margin: 0 0 16px; color: var(--muted);
}
.footer__col a { display: block; color: var(--ink-2); font-size: 14.5px; margin-bottom: 10px; transition: color .2s; }
.footer__col a:hover { color: var(--accent-deep); }
.footer__since {
  font-family: var(--font-display);
  font-size: 15px; letter-spacing: .2em; text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer__legal {
  border-top: 1px solid var(--line);
  padding: 22px 0 30px;
  font-size: 13px; color: var(--muted);
  display: flex; gap: 12px; align-items: flex-start;
}
.badge-18 {
  flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 4px 12px; border-radius: 999px;
  border: 1px solid rgba(232, 89, 12, 0.4); color: var(--accent-deep);
  background: rgba(255, 122, 60, 0.07);
  font-weight: 800; font-size: 12px;
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease var(--d, 0s), transform .7s ease var(--d, 0s); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Кнопка «наверх» ---------- */
.to-top {
  position: fixed; z-index: 60;
  right: 28px; bottom: 28px;
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line-2);
  color: var(--ink);
  cursor: pointer;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  opacity: 0; visibility: hidden;
  transform: translateY(14px);
  transition: opacity .3s ease, visibility .3s, transform .3s ease, border-color .2s, background .2s, color .2s;
}
.to-top.visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
  transform: translateY(-3px);
}
.to-top:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 3px;
}

/* ---------- Responsive ---------- */
/* Меню под бургер — раньше, чем вертикальная раскладка секций */
@media (max-width: 980px) {
  .nav {
    position: fixed; inset: 76px 0 auto; z-index: 49;
    flex-direction: column; align-items: flex-start; gap: 20px;
    padding: 26px 6vw 34px;
    background: rgba(255, 251, 246, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateY(-12px);
    transition: opacity .28s ease, transform .28s ease, visibility .28s;
  }
  .nav.open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  .burger { display: block; }
  .header__inner { gap: 16px; }
}

@media (max-width: 1024px) {
  .cards--3 { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .only-desktop { display: none; }
  .hero__badge--chat { display: none; }
}

@media (max-width: 720px) {
  .to-top { right: 16px; bottom: 16px; width: 46px; height: 46px; }
  .hero { padding: 130px 0 80px; min-height: 640px; }
  .hero__bg img { object-position: 62% 42%; }
  .hero__badge--live { top: 92px; right: 4vw; }
  .section { padding: 80px 0; }
  .how__grid { grid-template-columns: 1fr; gap: 34px; }
  .cards--3 { grid-template-columns: 1fr; }
  .cta { padding: 90px 0; }
  .age-gate__card { padding: 36px 22px; }
}
