@charset "UTF-8";
:root {
  --primary:#8F6DF5;
  --accent:#A6C934;
  --bg:#FFFFFF;
  --text:#141414;
  --card:#ffffff;
  --radius:12px;
  --shadow:0 6px 24px rgba(20,20,20,.08),0 2px 8px rgba(20,20,20,.05);
  --maxw:1440px;
  /* наружные отступы блоков по умолчанию */
  --space-outer:16px;
}
h2 {
  font-size: 30px;
  margin-top: 40px;
}
/* базовые */
* {
  box-sizing: border-box;
}
html, body {
  height: 100%;
}
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* защита от горизонтального скролла */
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.page {
  display: block;
}
/* контейнер */
.inner {
  width: 100%;
  max-width: var(--maxw);
  min-width: 320px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
/* карточные/тексты и внешние отступы */
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid #E9ECF2;
  padding: 22px;
  margin: var(--space-outer) 0;
}
.band {
  padding: 24px 0;
  background: #F7F9FF;
  margin: var(--space-outer) 0;
}
.callout {
  border: 1px solid #DCE7C0;
  border-radius: var(--radius);
  padding: 14px 16px;
  background: #F4F9E8;
}
article section {
  margin-bottom: 28px;
}
article h2 {
  font-size: 20px;
  margin: 0 0 12px 0;
  color: #0f172a;
}
article h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
  margin-top: 8px;
}
article p {
  font-size: 16px;
  color: #1e293b;
  margin: var(--space-outer) 0;
}
a {
  color: inherit;
  text-decoration: none;
}
/* кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: #80C142;
  color: #fff;
  border: 0;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(143, 109, 245, 0.25);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.04em;
  border: 2px solid var(--primary);
  color: var(--primary);
  background: #fff;
}
.btn-outline:hover {
  background: #f7f3ff;
}
.btn-gradient {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  box-shadow: var(--shadow);
  background: #A6C934;
}
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background-image: linear-gradient(180deg, rgba(71, 26, 193, 0.67), black), var(--hero-bg, radial-gradient(1200px 500px at 10% 0%, rgba(143, 109, 245, 0.18), transparent 60%));
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  margin: var(--space-outer) 0;
  padding: 0;
  min-height: clamp(480px, 60vh, 620px);
  /* укороченная базовая высота */
}
.hero .inner > img {
  align-self: end;
}
.hero .inner {
  position: relative;
  z-index: 2;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  min-height: inherit;
}
.logo-space {
  position: absolute;
  left: 24px;
  top: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
}
.logo-space .logo-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
}
.title-stack h1 {
  margin: 0;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.title-stack h1 .line {
  display: block;
}
.subtitle {
  margin-top: 16px;
  max-width: 600px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}
.cta-row {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.review {
  position: absolute;
  right: 34%;
  top: 40px;
  background: rgba(255, 255, 255, 0.9);
  color: #222;
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 10px 12px;
  width: 280px;
  backdrop-filter: saturate(120%) blur(6px);
  z-index: 2;
}
.review .row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.review .avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ddd;
}
.review .stars {
  display: flex;
  gap: 2px;
}
.review .stars i {
  width: 12px;
  height: 12px;
  background: conic-gradient(from 90deg, #FFC107 0 70%, #e0e0e0 0);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.bubbles {
  position: absolute;
  left: 27px;
  bottom: 100px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 640px;
  z-index: 2;
}
.bubble {
  background: #fff;
  color: #222;
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: var(--shadow);
  font-size: 14px;
  position: relative;
  overflow-wrap: anywhere;
}
.bubble:after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 28px;
  width: 14px;
  height: 14px;
  background: #fff;
  transform: rotate(45deg);
}
.bubble.alt {
  background: #F2F3F5;
}
.stores {
  position: absolute;
  right: 24px;
  bottom: 8px;
  display: flex;
  gap: 8px;
  z-index: 2;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  background: #000;
  color: #fff;
  font-size: 13px;
}
.badge svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}
/* собака: безопасное смещение вправо и адаптивная ширина */
.dog {
  position: absolute;
  right: -16px;
  bottom: 0;
  width: 45vw;
  max-width: 900px;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.35));
  z-index: 1;
}
.hero .leaf {
  position: absolute;
  left: -60px;
  bottom: 40px;
  width: 320px;
  height: 240px;
  background: radial-gradient(70% 70% at 40% 40%, rgba(166, 201, 52, 0.55), rgba(166, 201, 52, 0));
  filter: blur(12px);
  border-radius: 48% 52% 56% 44%/60% 40% 60% 40%;
  z-index: 1;
}
.hero .pink {
  position: absolute;
  right: 80px;
  top: 56px;
  width: 220px;
  height: 260px;
  background: radial-gradient(60% 60% at 50% 40%, rgba(255, 171, 196, 0.85), rgba(143, 109, 245, 0.35) 60%, rgba(143, 109, 245, 0) 70%);
  filter: blur(6px);
  border-radius: 40% 60% 50% 50%/50% 50% 50% 50%;
  opacity: 0.7;
  z-index: 1;
}
.hero .paper-edge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 160px;
  pointer-events: none;
  z-index: 2;
}
/* сетки */
.layout {
  display: block;
}
.features-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
.price-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
.check-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
.feature {
  background: #544486;
  border: 1px solid #E9ECF2;
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.feature h3 {
  margin: 0 0 8px 0;
  font-size: 16px;
  color: #0f172a;
}
.feature p {
  margin: 0;
  font-size: 15px;
  color: #1e293b;
}
.price-card {
  position: relative;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid #E9ECF2;
  background: #fff;
  box-shadow: var(--shadow);
}
.price-card:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
}
.price-card .price {
  font-size: 22px;
  font-weight: 800;
  margin-top: 6px;
}
.checkitem {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  border: 1px solid #E9ECF2;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.checkitem svg {
  flex: 0 0 20px;
}
/* FAQ — аккордеоны (стрелка — escape-код, чтобы не падал парсер) */
.accordion {
  display: grid;
  gap: 10px;
}
details.acc {
  background: #fff;
  border: 1px solid #E9ECF2;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 10px 12px;
}
details.acc[open] {
  background: #fff;
}
details.acc summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
}
details.acc summary::-webkit-details-marker {
  display: none;
}
details.acc summary::after {
  content: "▾";
  margin-left: auto;
  transition: transform 0.2s ease;
}
details.acc[open] summary::after {
  transform: rotate(180deg);
}
.acc-body {
  padding: 10px 2px 4px 2px;
  color: #1e293b;
}
/* ====== брейкпоинты ====== */
/* ≥640 */
@media (min-width: 640px) {
  :root {
    --space-outer:14px;
  }
  .inner {
    padding-left: 18px;
    padding-right: 18px;
  }
  .title-stack h1 {
    font-size: 36px;
  }
  .subtitle {
    font-size: 15px;
  }
}
/* ≥768 */
@media (min-width: 768px) {
  /* укороченная высота на планшетах */
  :root {
    --space-outer:16px;
  }
  .inner {
    padding-left: 20px;
    padding-right: 20px;
  }
  .title-stack h1 {
    font-size: 44px;
  }
  .subtitle {
    font-size: 16px;
  }
  .hero {
    min-height: clamp(490px, 58vh, 600px);
  }
}
/* ≥1024 */
@media (min-width: 1024px) {
  /* укороченная высота на десктопах */
  :root {
    --space-outer:18px;
  }
  .hero-grid {
    grid-template-columns: 2.2fr 1.1fr;
  }
  .title-stack h1 {
    font-size: 56px;
  }
  .subtitle {
    font-size: 18px;
  }
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .price-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .check-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .hero {
    min-height: clamp(500px, 56vh, 580px);
  }
}
/* ≥1280 */
@media (min-width: 1280px) {
  /* укороченная высота на широких десктопах */
  /* собаку делаем чуть компактнее */
  :root {
    --space-outer:20px;
  }
  .inner {
    padding-left: 24px;
    padding-right: 0px;
  }
  .title-stack h1 {
    font-size: 64px;
  }
  .subtitle {
    font-size: 19px;
  }
  .hero {
    min-height: clamp(500px, 54vh, 600px);
  }
  .dog {
    width: clamp(360px, 36vw, 520px);
  }
}
/* ≥1440 */
@media (min-width: 1440px) {
  /* укороченная высота вместо прежних 860px */
  /* собака компактнее и чуть правее */
  .title-stack h1 {
    font-size: 72px;
  }
  .subtitle {
    font-size: 20px;
  }
  .hero {
    min-height: clamp(500px, 52vh, 600px);
  }
  .dog {
    right: -48px;
    width: clamp(380px, 34vw, 520px);
  }
}
/* мобильные правки hero */
@media (max-width: 1023px) {
  /* было 28px 0 */
  .hero {
    padding: 20px 0;
  }
  .logo-space {
    position: static;
    margin-bottom: 8px;
  }
  .review {
    position: static;
    width: auto;
    margin-top: 8px;
  }
  .bubbles {
    position: static;
    left: auto;
    bottom: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    max-width: 100%;
    margin-top: 8px;
  }
  .bubbles .bubble:after {
    display: none;
  }
  .dog {
    position: static;
    width: 88vw;
    max-width: 560px;
    margin: 8px auto 0;
  }
  .stores {
    position: static;
    justify-content: center;
    gap: 12px;
    margin-top: 12px;
  }
  .paper-edge {
    display: none;
  }
  .hero .leaf, .hero .pink {
    display: none;
  }
}
/* ≤640 */
@media (max-width: 640px) {
  .title-stack h1 {
    font-size: 32px;
  }
  .subtitle {
    font-size: 14px;
  }
  .btn-outline, .btn-gradient {
    padding: 10px 16px;
  }
  .bubbles {
    grid-template-columns: 1fr;
  }
  .badge {
    padding: 6px 10px;
    font-size: 12px;
  }
}
/* === FIXES ДЛЯ УЗКИХ ДЕСКТОПОВ 1024–1279PX === */
@media (min-width: 1024px) and (max-width: 1279px) {
  /* колонки: левую шире под текст */
  /* отзыв — к левому краю, не перекрывает h1 */
  /* место под отзывом, короче */
  /* собака — компактнее и чуть за край */
  /* пузыри — ниже, чтобы не конфликтовали */
  /* магазины — не конфликтуют с пузырями */
  /* заголовок и подзаг — немного компактнее */
  .hero-grid {
    grid-template-columns: 1.7fr 1.3fr;
  }
  .review {
    position: absolute;
    left: 24px;
    right: auto;
    top: 16px;
    width: 260px;
    /* чуть выше, чтобы ужать вертикаль */
  }
  .title-stack {
    margin-top: 72px;
  }
  .dog {
    right: -56px;
    width: clamp(360px, 38vw, 540px);
  }
  .bubbles {
    left: 24px;
    bottom: 40px;
    max-width: 520px;
  }
  .stores {
    right: 16px;
    bottom: 10px;
  }
  .title-stack h1 {
    font-size: clamp(36px, 4.4vw, 52px);
  }
  .subtitle {
    max-width: 560px;
  }
}
