/* ============================================================
   ArishaFit — Pastel Girly Redesign
   Палитра: крем + роза + лаванда + персик + мята, чернила-слива
   Шрифты: Playfair Display (display), Caveat (рукописный), Inter (текст)
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --ink:        #38203A;
  --ink-soft:   #6E4F6B;
  --cream:      #FFF6EF;
  --paper:      #FFFDFB;

  --rose:       #F65D9A;
  --rose-dark:  #E14484;
  --rose-mid:   #FFA7CB;
  --rose-soft:  #FFD9E8;
  --rose-pale:  #FFEDF4;

  --lav:        #A98BEF;
  --lav-soft:   #E7DDFC;
  --peach:      #FFB98A;
  --peach-soft: #FFE5CF;
  --mint:       #6FCF9B;
  --mint-soft:  #DCF5E7;
  --butter-soft:#FFF1C9;
  --sky-soft:   #D9EDFF;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-hand:    'Caveat', 'Segoe Script', cursive;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  --r-card: 28px;
  --r-big:  36px;

  --sh-sticker:    4px 4px 0 var(--ink);
  --sh-sticker-sm: 3px 3px 0 var(--ink);
  --sh-soft: 0 24px 48px -20px rgba(56, 32, 58, .28);

  --container: 1180px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(rgba(56,32,58,.05) 1px, transparent 1.5px) 0 0 / 26px 26px,
    var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--rose-soft); color: var(--ink); }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

:focus-visible {
  outline: 3px dashed var(--rose);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; }

.container {
  width: min(var(--container), 92%);
  margin-inline: auto;
}

.section { padding-block: clamp(72px, 9vw, 120px); position: relative; }

/* Заголовки секций */
.kicker {
  font-family: var(--font-hand);
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  font-weight: 600;
  color: var(--rose-dark);
  display: block;
  margin-bottom: .2em;
  transform: rotate(-1.5deg);
}

.h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 4.6vw, 3.3rem);
  letter-spacing: -.01em;
}

.h2 em, .h1 em {
  font-style: italic;
  font-weight: 700;
  color: var(--rose-dark);
  /* рукописная волна под словом */
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 Q 16 2, 30 7 T 60 7 T 90 7 T 118 6' fill='none' stroke='%23FFA7CB' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") bottom left / 100% .22em no-repeat;
  padding-bottom: .14em;
}

.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); }
.section-head p { color: var(--ink-soft); margin: .6em 0 0; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.2;
  padding: 16px 30px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  cursor: pointer;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-dark) 100%);
  color: #fff;
  box-shadow: var(--sh-sticker);
}
.btn-primary:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn-primary:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }

.btn-ghost {
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--sh-sticker-sm);
}
.btn-ghost:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); background: var(--rose-pale); }
.btn-ghost:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }

.btn--lg { padding: 19px 38px; font-size: 1.1rem; }
.btn--full { width: 100%; }
.btn .i { flex: 0 0 auto; }

/* ---------- Стикеры и чипы ---------- */
.sticker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  font-weight: 600;
  font-size: .92rem;
  box-shadow: var(--sh-sticker-sm);
}
.sticker--rose   { background: var(--rose-soft); }
.sticker--lav    { background: var(--lav-soft); }
.sticker--mint   { background: var(--mint-soft); }
.sticker--butter { background: var(--butter-soft); }
.sticker--peach  { background: var(--peach-soft); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1.5px solid rgba(56,32,58,.22);
  background: rgba(255,255,255,.75);
  font-size: .86rem;
  font-weight: 600;
  color: var(--ink);
}

.hand {
  font-family: var(--font-hand);
  font-weight: 600;
  color: var(--ink-soft);
}

/* ---------- Aurora-блобы ---------- */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: .55;
  pointer-events: none;
  z-index: 0;
}
.blob--rose  { background: var(--rose-soft); }
.blob--lav   { background: var(--lav-soft); }
.blob--peach { background: var(--peach-soft); }
.blob--mint  { background: var(--mint-soft); }

/* ---------- Sparkles ---------- */
.spark {
  position: absolute;
  pointer-events: none;
  animation: twinkle 3.2s ease-in-out infinite;
  z-index: 2;
}
.spark--d1 { animation-delay: .9s; }
.spark--d2 { animation-delay: 1.7s; }
.spark--d3 { animation-delay: 2.4s; }

@keyframes twinkle {
  0%, 100% { transform: scale(.6) rotate(0deg);  opacity: .35; }
  50%      { transform: scale(1.1) rotate(18deg); opacity: 1; }
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 100;
}

.header-pill {
  width: min(var(--container), 94%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px 10px 24px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: rgba(255, 251, 247, .82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--sh-sticker-sm);
  transition: box-shadow .25s ease, background .25s ease;
}
.header.scrolled .header-pill {
  background: rgba(255, 251, 247, .95);
  box-shadow: 5px 5px 0 var(--ink);
}

.logo {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 1.5rem;
  text-decoration: none;
  letter-spacing: -.01em;
  display: inline-flex;
  align-items: baseline;
}
.logo .heart {
  color: var(--rose);
  font-style: normal;
  margin: 0 2px;
  display: inline-block;
  animation: heartbeat 2.6s ease-in-out infinite;
}
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  12%      { transform: scale(1.25); }
  24%      { transform: scale(1); }
}

.nav { display: flex; gap: 4px; }
.nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background .2s ease;
}
.nav a:hover { background: var(--rose-pale); }

.header .btn { padding: 11px 22px; font-size: .95rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding-top: clamp(120px, 16vw, 168px);
  padding-bottom: clamp(48px, 6vw, 88px);
  overflow: hidden;
}

.hero .blob:nth-child(1) { width: 560px; height: 560px; top: -180px; left: -160px; }
.hero .blob:nth-child(2) { width: 520px; height: 520px; top: 40px; right: -140px; }
.hero .blob:nth-child(3) { width: 420px; height: 420px; bottom: -160px; left: 32%; }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.hero-badge { margin-bottom: 22px; transform: rotate(-2deg); }

.h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.7rem, 6.2vw, 4.9rem);
  letter-spacing: -.015em;
  margin-bottom: .35em;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--ink-soft);
  max-width: 34em;
  margin: 0 0 30px;
}
.hero-lead strong { color: var(--ink); }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 26px;
}

.hero-note {
  font-family: var(--font-hand);
  font-size: 1.35rem;
  color: var(--ink-soft);
  transform: rotate(-1.2deg);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

/* --- Фото в арке --- */
.hero-photo {
  position: relative;
  justify-self: center;
  width: min(440px, 100%);
}

.arch {
  position: relative;
  aspect-ratio: 5 / 6;
  margin-top: 48px; /* место, чтобы голова выступала над аркой */
}

.arch-bg {
  position: absolute;
  inset: 0;
  border-radius: 50% 50% var(--r-big) var(--r-big) / 42% 42% var(--r-big) var(--r-big);
  background: linear-gradient(165deg, var(--lav-soft) 0%, var(--rose-soft) 52%, var(--peach-soft) 100%);
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  overflow: hidden;
}
/* точки внутри арки */
.arch-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(rgba(56,32,58,.08) 1.5px, transparent 2px) 0 0 / 20px 20px;
}

.arch img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 106%;
  max-width: none;
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 18px 24px rgba(56,32,58,.28));
}

/* декоративное кольцо за аркой */
.arch-ring {
  position: absolute;
  top: -26px;
  right: -30px;
  width: 130px;
  height: 130px;
  border: 2.5px dashed var(--rose);
  border-radius: 50%;
  animation: spin-slow 26s linear infinite;
  z-index: 0;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }

/* --- Плавающие карточки --- */
.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--sh-sticker-sm);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.25;
  animation: floaty 5.4s ease-in-out infinite;
}
.float-card small { display: block; font-weight: 500; color: var(--ink-soft); font-size: .78rem; }

.float-card--streak { top: 18%; left: -12%; animation-delay: .6s; transform: rotate(-3deg); }
.float-card--done   { bottom: 24%; right: -14%; animation-delay: 1.4s; transform: rotate(2.5deg); }
.float-card--kcal   { bottom: -4%;  left: -6%;  animation-delay: 2.2s; transform: rotate(-1.5deg); }

.float-emoji {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  border-radius: 12px;
  border: 1.5px solid rgba(56,32,58,.2);
}
.float-emoji--rose { background: var(--rose-soft); }
.float-emoji--mint { background: var(--mint-soft); }
.float-emoji--lav  { background: var(--lav-soft); }

@keyframes floaty {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -10px; }
}

/* подпись от руки со стрелкой */
.hero-annot {
  position: absolute;
  top: 2px;
  left: -8%;
  z-index: 4;
  font-family: var(--font-hand);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--rose-dark);
  transform: rotate(-6deg);
  text-align: right;
}
.hero-annot svg { display: block; margin: 2px 0 0 auto; }

/* ============================================================
   MARQUEE-ЛЕНТА
   ============================================================ */
.ticker-wrap {
  position: relative;
  z-index: 5;
  transform: rotate(-1.4deg);
  margin: clamp(8px, 2vw, 24px) -2vw clamp(40px, 5vw, 64px);
}

.ticker {
  display: flex;
  overflow: hidden;
  border-block: 2px solid var(--ink);
  background: linear-gradient(90deg, var(--rose) 0%, var(--rose-dark) 50%, var(--rose) 100%);
  box-shadow: 0 4px 0 var(--ink);
  padding: 12px 0;
}

.ticker-track {
  display: flex;
  flex: 0 0 auto;
  gap: 0;
  animation: ticker-move 28s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }

.ticker-track span {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  white-space: nowrap;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
}
.ticker-track span::after {
  content: "♥";
  font-style: normal;
  font-size: .85em;
  color: var(--rose-soft);
}

@keyframes ticker-move {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   БОЛИ — «Знакомо?» (чат с подругой)
   ============================================================ */
.pains { overflow: hidden; }
.pains .blob { width: 480px; height: 480px; top: 10%; right: -200px; }

.chat {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bubble {
  max-width: 82%;
  padding: 15px 22px;
  border: 2px solid var(--ink);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: var(--sh-sticker-sm);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.5;
}
.bubble--them { align-self: flex-start; border-bottom-left-radius: 6px; }
.bubble--them:nth-child(odd) { transform: rotate(-.6deg); }
.bubble--them:nth-child(even) { transform: rotate(.5deg); background: var(--sky-soft); }

.bubble--me {
  align-self: flex-end;
  border-bottom-right-radius: 6px;
  background: linear-gradient(135deg, var(--rose-soft), var(--rose-mid));
  transform: rotate(.8deg);
}

.bubble-name {
  font-size: .78rem;
  font-weight: 700;
  color: var(--rose-dark);
  text-transform: uppercase;
  letter-spacing: .06em;
  display: block;
  margin-bottom: 4px;
}

.chat-cta {
  align-self: center;
  margin-top: 18px;
  text-align: center;
}
.chat-cta .hand { font-size: 1.5rem; display: block; margin-bottom: 14px; color: var(--ink-soft); }

/* ============================================================
   ШАГИ — «Три шага до результата»
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 3vw, 30px);
  position: relative;
  z-index: 1;
}

.step-card {
  position: relative;
  border: 2px solid var(--ink);
  border-radius: var(--r-card);
  background: var(--paper);
  box-shadow: var(--sh-sticker);
  padding: 34px 28px 30px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.step-card:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 7px 9px 0 var(--ink); }

.step-card:nth-child(1) { background: linear-gradient(180deg, var(--rose-pale), var(--paper) 70%); }
.step-card:nth-child(2) { background: linear-gradient(180deg, var(--lav-soft), var(--paper) 70%); }
.step-card:nth-child(3) { background: linear-gradient(180deg, var(--mint-soft), var(--paper) 70%); }

.step-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 4.4rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
  display: block;
  margin-bottom: 14px;
}
.step-card:nth-child(1) .step-num { text-shadow: 4px 4px 0 var(--rose-soft); }
.step-card:nth-child(2) .step-num { text-shadow: 4px 4px 0 var(--lav-soft); }
.step-card:nth-child(3) .step-num { text-shadow: 4px 4px 0 var(--mint-soft); }

.step-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
}
.step-card p { color: var(--ink-soft); margin: 0; font-size: .98rem; }

.step-time {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-hand);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--rose-dark);
  transform: rotate(-1.6deg);
}

/* стрелка-каракуля между шагами */
.step-arrow {
  position: absolute;
  top: -34px;
  right: -26px;
  z-index: 2;
  pointer-events: none;
}

/* ============================================================
   BENTO — «Что внутри»
   ============================================================ */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(16px, 2.4vw, 24px);
  position: relative;
  z-index: 1;
}

.bento-card {
  border: 2px solid var(--ink);
  border-radius: var(--r-card);
  padding: 30px 28px;
  background: var(--paper);
  box-shadow: var(--sh-sticker);
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.bento-card:hover { transform: translateY(-5px); box-shadow: 6px 9px 0 var(--ink); }

.bento-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: .35em;
}
.bento-card > p { color: var(--ink-soft); font-size: .96rem; margin: 0 0 18px; }

.bento--plan  { grid-column: span 7; background: linear-gradient(160deg, var(--rose-pale), var(--paper) 65%); }
.bento--food  { grid-column: span 5; background: linear-gradient(160deg, var(--lav-soft), var(--paper) 70%); }
.bento--base  { grid-column: span 4; background: linear-gradient(160deg, var(--mint-soft), var(--paper) 75%); }
.bento--check { grid-column: span 4; background: linear-gradient(160deg, var(--butter-soft), var(--paper) 75%); }
.bento--chat  { grid-column: span 4; background: linear-gradient(160deg, var(--peach-soft), var(--paper) 75%); }

.bento-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  transform: rotate(3deg);
}

/* мок недели тренировок */
.week-mock { display: flex; flex-direction: column; gap: 10px; }
.week-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(255,255,255,.85);
  border: 1.5px solid rgba(56,32,58,.18);
  border-radius: 14px;
  font-size: .9rem;
  font-weight: 600;
}
.week-day {
  flex: 0 0 44px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  color: var(--rose-dark);
}
.week-row .chip { margin-left: auto; font-size: .78rem; padding: 4px 10px; }

/* мок КБЖУ */
.kbju { display: flex; flex-direction: column; gap: 12px; }
.kbju-row { font-size: .86rem; font-weight: 600; }
.kbju-row span { display: flex; justify-content: space-between; margin-bottom: 5px; }
.kbju-bar {
  height: 12px;
  border-radius: 999px;
  border: 1.5px solid rgba(56,32,58,.25);
  background: rgba(255,255,255,.8);
  overflow: hidden;
}
.kbju-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  animation: grow-bar 1.2s cubic-bezier(.2,.7,.3,1) both;
}
.kbju-bar--b i { width: 72%; background: var(--rose-mid); }
.kbju-bar--z i { width: 48%; background: var(--lav); animation-delay: .15s; }
.kbju-bar--u i { width: 61%; background: var(--peach); animation-delay: .3s; }
@keyframes grow-bar { from { width: 0; } }

/* мок чек-ин графика */
.spark-chart { width: 100%; height: auto; }

/* мок чата с Аришей */
.mini-bubble {
  padding: 10px 16px;
  border: 1.5px solid rgba(56,32,58,.25);
  border-radius: 16px 16px 16px 4px;
  background: rgba(255,255,255,.9);
  font-size: .88rem;
  font-weight: 500;
  margin-bottom: 10px;
  max-width: 95%;
}
.mini-bubble--me {
  border-radius: 16px 16px 4px 16px;
  background: var(--rose-soft);
  margin-left: auto;
}

.muscle-chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* ============================================================
   О ТРЕНЕРЕ
   ============================================================ */
.about { overflow: hidden; }
.about .blob { width: 520px; height: 520px; bottom: -160px; left: -220px; }

.about-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.about-photo { position: relative; justify-self: center; width: min(380px, 100%); }

.about-photo .arch { margin-top: 40px; }
.about-photo .arch-bg {
  background: linear-gradient(165deg, var(--peach-soft), var(--butter-soft) 55%, var(--rose-soft));
}

.about-sticker {
  position: absolute;
  z-index: 3;
  transform: rotate(-4deg);
}
.about-sticker--certs { top: 12%; left: -10%; }
.about-sticker--online { bottom: 8%; right: -8%; transform: rotate(3deg); }

.about-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
}

.about-text p { color: var(--ink-soft); margin: 0 0 16px; }
.about-text p strong { color: var(--ink); }

.about-quote {
  margin: 26px 0;
  padding: 20px 26px;
  border-left: none;
  border: 2px solid var(--ink);
  border-radius: 4px 24px 24px 24px;
  background: var(--rose-pale);
  box-shadow: var(--sh-sticker-sm);
  font-family: var(--font-hand);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  transform: rotate(-.6deg);
}

.about-badges { display: flex; flex-wrap: wrap; gap: 10px; }

/* ============================================================
   ОТЗЫВЫ
   ============================================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.6vw, 26px);
  position: relative;
  z-index: 1;
}

.review-card {
  border: 2px solid var(--ink);
  border-radius: var(--r-card);
  background: var(--paper);
  box-shadow: var(--sh-sticker);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .25s ease;
}
.review-card:nth-child(1) { transform: rotate(-1deg); }
.review-card:nth-child(2) { transform: rotate(.6deg) translateY(10px); }
.review-card:nth-child(3) { transform: rotate(-.5deg); }
.review-card:hover { transform: rotate(0) translateY(-4px); }

.review-stars { color: var(--rose); font-size: 1.05rem; letter-spacing: 3px; }

.review-card blockquote {
  margin: 0;
  font-size: .98rem;
  line-height: 1.6;
  color: var(--ink);
  flex: 1;
}

.review-who { display: flex; align-items: center; gap: 12px; }
.review-ava {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 1.15rem;
}
.review-ava--rose { background: var(--rose-soft); }
.review-ava--lav  { background: var(--lav-soft); }
.review-ava--mint { background: var(--mint-soft); }

.review-who b { display: block; font-size: .95rem; }
.review-who small { color: var(--ink-soft); font-size: .82rem; }

.review-result {
  align-self: flex-start;
  font-family: var(--font-hand);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--rose-dark);
  transform: rotate(-2deg);
}

.reviews-note {
  text-align: center;
  color: var(--ink-soft);
  font-size: .85rem;
  margin-top: 34px;
}

/* ============================================================
   ТАРИФЫ
   ============================================================ */
.pricing { overflow: hidden; }
.pricing .blob:nth-of-type(1) { width: 500px; height: 500px; top: 0; left: -200px; }
.pricing .blob:nth-of-type(2) { width: 460px; height: 460px; bottom: -120px; right: -180px; }

.billing-toggle {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(36px, 5vw, 52px);
  position: relative;
  z-index: 1;
}

.toggle-pill {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: var(--sh-sticker-sm);
}
.toggle-pill button {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .95rem;
  padding: 10px 22px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .2s ease, color .2s ease;
}
.toggle-pill button.active {
  background: linear-gradient(135deg, var(--rose), var(--rose-dark));
  color: #fff;
}
.toggle-pill .disc {
  font-size: .72rem;
  font-weight: 800;
  background: var(--butter-soft);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 2px 8px;
}
.toggle-pill button.active .disc { background: #fff; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.6vw, 26px);
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.price-card {
  position: relative;
  border: 2px solid var(--ink);
  border-radius: var(--r-big);
  background: var(--paper);
  box-shadow: var(--sh-sticker);
  padding: 34px 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.price-card--hot {
  background: linear-gradient(175deg, var(--rose-pale) 0%, var(--paper) 60%);
  border-width: 2.5px;
  box-shadow: 7px 7px 0 var(--ink);
  transform: translateY(-14px);
}

.price-flag {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  white-space: nowrap;
}

.price-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  margin-bottom: 2px;
}
.price-sub { color: var(--ink-soft); font-size: .92rem; margin: 0 0 20px; }

.price-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.9rem;
  line-height: 1;
  letter-spacing: -.02em;
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-height: 52px;
}
.price-value .cur { font-size: 1.6rem; }
.price-value .old {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: line-through;
  text-decoration-color: var(--rose);
  text-decoration-thickness: 2px;
}
.price-period { color: var(--ink-soft); font-size: .88rem; margin: 6px 0 22px; min-height: 1.2em; }

.price-list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}
.price-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .94rem;
  line-height: 1.45;
}
.price-list .tick {
  flex: 0 0 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  display: grid;
  place-items: center;
}
.price-list .tick svg { display: block; }
.tick--rose { background: var(--rose-soft); }
.tick--lav  { background: var(--lav-soft); }
.tick--mint { background: var(--mint-soft); }

.price-foot {
  margin-top: 14px;
  text-align: center;
  font-size: .82rem;
  color: var(--ink-soft);
}

.pricing-note {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 760px; margin-inline: auto; position: relative; z-index: 1; }

.faq-item {
  border: 2px solid var(--ink);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: var(--sh-sticker-sm);
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow .2s ease;
}
.faq-item[open] { box-shadow: 5px 5px 0 var(--ink); background: linear-gradient(180deg, var(--rose-pale), var(--paper) 55%); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-plus {
  flex: 0 0 30px;
  height: 30px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--rose-soft);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  transition: transform .25s ease, background .25s ease;
}
.faq-item[open] .faq-plus { transform: rotate(45deg); background: var(--rose); color: #fff; }

.faq-item p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--ink-soft);
  font-size: .97rem;
}

/* ============================================================
   ФИНАЛЬНЫЙ CTA
   ============================================================ */
.cta-panel {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: var(--r-big);
  box-shadow: 8px 8px 0 var(--ink);
  background:
    radial-gradient(120% 160% at 8% 0%, var(--lav-soft) 0%, transparent 55%),
    radial-gradient(130% 170% at 96% 12%, var(--peach-soft) 0%, transparent 50%),
    linear-gradient(150deg, var(--rose-soft) 0%, var(--rose-pale) 55%, var(--butter-soft) 100%);
  text-align: center;
  padding: clamp(56px, 8vw, 96px) clamp(24px, 5vw, 72px);
}
.cta-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(rgba(56,32,58,.07) 1.5px, transparent 2px) 0 0 / 22px 22px;
  pointer-events: none;
}

.cta-panel > * { position: relative; z-index: 1; }

.cta-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.3rem, 5.4vw, 4rem);
  margin-bottom: .3em;
}

.cta-sub {
  color: var(--ink-soft);
  max-width: 34em;
  margin: 0 auto 32px;
  font-size: 1.08rem;
}

.cta-hand {
  display: block;
  margin-top: 20px;
  font-family: var(--font-hand);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink-soft);
  transform: rotate(-1.4deg);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  margin-top: clamp(72px, 9vw, 120px);
  background: var(--ink);
  color: #F4E7EF;
  border-top: 2px solid var(--ink);
  border-radius: 40px 40px 0 0;
  padding: clamp(48px, 6vw, 72px) 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  margin-bottom: 44px;
}

.footer .logo { color: #fff; font-size: 1.7rem; }
.footer-tag { color: #C9A8C2; font-size: .95rem; margin: 12px 0 0; max-width: 26em; }

.footer h4 {
  font-family: var(--font-hand);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--rose-mid);
  margin: 0 0 14px;
}

.footer-col a {
  display: block;
  color: #E9D3E3;
  text-decoration: none;
  font-size: .93rem;
  padding: 5px 0;
  transition: color .2s ease, transform .2s ease;
}
.footer-col a:hover { color: var(--rose-mid); transform: translateX(4px); }

.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.35);
  display: grid;
  place-items: center;
  color: #F4E7EF;
  transition: background .2s ease, transform .2s ease;
}
.footer-social a:hover { background: var(--rose-dark); transform: translateY(-3px); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  font-size: .8rem;
  color: #B893B0;
}
.footer-bottom p { margin: 0; }

/* ============================================================
   REVEAL-АНИМАЦИИ
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 1080px) {
  .float-card--streak { left: -4%; }
  .float-card--done { right: -4%; }
  .hero-annot { left: 0; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { width: min(400px, 88%); margin-top: 26px; }
  .hero-annot { left: -4%; }

  .steps-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .step-arrow { display: none; }

  .bento--plan, .bento--food, .bento--base, .bento--check, .bento--chat { grid-column: span 12; }
  .bento--base, .bento--check { grid-column: span 6; }

  .about-grid { grid-template-columns: 1fr; }
  .about-photo { width: min(360px, 86%); }

  .reviews-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .review-card:nth-child(2) { transform: rotate(.6deg); }

  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .price-card--hot { transform: none; order: -1; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }

  .nav { display: none; }
  .header { top: 10px; }
  .header .btn { padding: 10px 18px; font-size: .88rem; }

  .hero { padding-top: 108px; }
  .hero-cta .btn { width: 100%; }
  .hero-note { font-size: 1.2rem; }

  .float-card { font-size: .78rem; padding: 9px 13px; gap: 8px; }
  .float-emoji { width: 30px; height: 30px; font-size: .95rem; }
  .float-card--streak { left: -2%; top: 14%; }
  .float-card--done { right: -2%; }
  .float-card--kcal { left: 0; }
  .hero-annot { font-size: 1.25rem; top: -6px; }

  .bento--base, .bento--check { grid-column: span 12; }
  .bento-card { padding: 24px 20px; }

  .bubble { max-width: 92%; font-size: .95rem; }

  .about-sticker--certs { left: -2%; }
  .about-sticker--online { right: -2%; }

  .cta-panel { box-shadow: 5px 5px 0 var(--ink); }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer { border-radius: 28px 28px 0 0; }
}

/* ============================================================
   ДОСТУПНОСТЬ: reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .float-card, .spark, .logo .heart, .arch-ring { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .kbju-bar i { animation: none; }
  * { transition-duration: .01ms !important; }
}

/* fin ♥ */

/* ============================================================
   3D-ОБЛОЖКА ИЗ ЧАСТИЦ (hero3d.js)
   ============================================================ */
.arch canvas {
  position: absolute;
  left: -8%;
  top: -14%;
  width: 116%;
  height: 114%;
  z-index: 3;
  pointer-events: none;
}
.hero .arch.gl-on img { opacity: 0; transition: opacity .9s ease .25s; }

/* ============================================================
   2026: НАТИВНЫЕ SCROLL-DRIVEN АНИМАЦИИ + БЛИК CTA
   ============================================================ */
@supports (animation-timeline: view()) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
    animation: sda-rise linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 55%;
  }
}
@keyframes sda-rise {
  from { opacity: 0; transform: translateY(32px) scale(.985); }
  to   { opacity: 1; transform: none; }
}

/* глянцевый блик на главных кнопках */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,.5) 50%, transparent 68%);
  transform: translateX(-130%);
  animation: btn-shine 4.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes btn-shine {
  0%, 55% { transform: translateX(-130%); }
  100%    { transform: translateX(130%); }
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary::before { animation: none; }
  .arch canvas { display: none; }
  .hero .arch.gl-on img { opacity: 1; }
}
