/* ============================================================
   TremblingMarketing — landing + service store (light theme)
   ============================================================ */

:root {
  --bg: #fbfaff;
  --bg-soft: #f4f1fe;
  --card: #ffffff;
  --surface: rgba(255, 255, 255, .72);
  --surface-2: #ffffff;
  --line: rgba(24, 18, 62, .10);
  --line-strong: rgba(24, 18, 62, .18);

  --text: #16132e;
  --muted: #56537a;
  --muted-2: #8b88a8;

  --brand: #6c47ff;
  --brand-soft: rgba(108, 71, 255, .10);
  --brand-2: #ff2d78;
  --accent: #0f9d76;
  --grad: linear-gradient(115deg, #6c47ff 0%, #a63cff 45%, #ff2d78 100%);

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 26px 60px -28px rgba(38, 22, 96, .35);
  --shadow-sm: 0 10px 26px -16px rgba(38, 22, 96, .28);
  --container: 1200px;
  --ease: cubic-bezier(.22, .68, 0, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: "Unbounded", "Manrope", sans-serif;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }

/* display rules below outrank the browser default for [hidden] */
[hidden] { display: none !important; }

::selection { background: var(--brand); color: #fff; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 820px; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- background decoration ---------- */
.bg-decor {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
}
.blob--1 { width: 620px; height: 620px; top: -280px; left: -160px; background: #c9b6ff; opacity: .55; }
.blob--2 { width: 520px; height: 520px; top: 16%; right: -200px; background: #ffc0d8; opacity: .5; }
.blob--3 { width: 560px; height: 560px; bottom: -240px; left: 34%; background: #b6efdf; opacity: .45; }
.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(24, 18, 62, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 18, 62, .045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 25%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 25%, transparent 72%);
}

main, .header, .footer { position: relative; z-index: 1; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: none;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -.01em;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s, color .25s;
  white-space: nowrap;
}
.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(108, 71, 255, .6);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -12px rgba(108, 71, 255, .7); }
.btn--ghost {
  border-color: var(--line-strong);
  background: var(--card);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.btn--full { width: 100%; }
.btn--add {
  padding: 12px 22px;
  border-color: var(--line-strong);
  background: var(--card);
  font-size: 14px;
}
.btn--add:hover { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.btn.is-added {
  border-color: rgba(15, 157, 118, .45);
  background: rgba(15, 157, 118, .10);
  color: var(--accent);
}
.btn:active { transform: scale(.97); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 14px 0;
  transition: background .3s, border-color .3s, padding .3s, box-shadow .3s;
  border-bottom: 1px solid transparent;
}
.header.is-stuck {
  background: rgba(251, 250, 255, .82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(38, 22, 96, .5);
  padding: 8px 0;
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo__mark {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  width: 30px;
  height: 30px;
  padding: 3px;
  border-radius: 9px;
  background: var(--grad);
}
.logo__mark span {
  border-radius: 3px;
  background: #fff;
  animation: tremble 1.9s var(--ease) infinite;
}
.logo__mark span:nth-child(2) { animation-delay: .18s; }
.logo__mark span:nth-child(3) { animation-delay: .36s; }
.logo__mark span:nth-child(4) { animation-delay: .54s; }
@keyframes tremble {
  0%, 100% { transform: translate(0, 0); opacity: .95; }
  40% { transform: translate(1.4px, -1.4px); opacity: .6; }
  70% { transform: translate(-1px, 1px); opacity: 1; }
}
.logo__text {
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -.03em;
}
.logo__text em { font-style: normal; color: var(--muted-2); }

.nav {
  display: flex;
  gap: 6px;
  margin-left: auto;
}
.nav a {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--brand); background: var(--brand-soft); }

.header__actions { display: flex; align-items: center; gap: 12px; }
.header__phone {
  font-weight: 700;
  font-size: 13.5px;
  white-space: nowrap;
}
.header__phone:hover { color: var(--brand-2); }

.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
  font-size: 14px;
  transition: border-color .25s, background .25s, transform .25s, color .25s;
}
.cart-btn:hover { border-color: var(--brand); color: var(--brand); }
.cart-btn svg { width: 20px; height: 20px; fill: currentColor; }
.cart-btn__count {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-size: 12px;
  line-height: 22px;
  text-align: center;
}
.cart-btn__count[data-empty="true"] { background: rgba(24, 18, 62, .07); color: var(--muted-2); }
.cart-btn.is-bump { animation: bump .45s var(--ease); }
@keyframes bump {
  50% { transform: scale(1.09); }
}

.burger { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 70px 0 0; }
.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 60px;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .01em;
}

.hero__title {
  margin: 26px 0 22px;
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 800;
}
.hero__text {
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
}
.hero__text b { color: var(--text); font-weight: 700; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 44px; }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.hero__stats b {
  display: block;
  font-family: "Unbounded", sans-serif;
  font-size: 30px;
  letter-spacing: -.03em;
}
.hero__stats span { color: var(--muted-2); font-size: 13.5px; line-height: 1.45; }

/* hero card */
.hero__card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  box-shadow: var(--shadow);
}
.hero__card-head {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(15, 157, 118, .16);
  animation: pulse 2s infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(15, 157, 118, 0); } }

.chart {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 10px;
  height: 168px;
  margin: 24px 0 20px;
}
.chart span {
  position: relative;
  height: var(--h);
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, rgba(108, 71, 255, .55), rgba(108, 71, 255, .12));
  animation: grow 1s var(--ease) backwards;
}
.chart span:nth-child(1) { animation-delay: .05s; }
.chart span:nth-child(2) { animation-delay: .12s; }
.chart span:nth-child(3) { animation-delay: .19s; }
.chart span:nth-child(4) { animation-delay: .26s; }
.chart span:nth-child(5) { animation-delay: .33s; }
.chart span:nth-child(6) { animation-delay: .4s; }
.chart span.is-active { background: var(--grad); box-shadow: 0 12px 26px -12px rgba(255, 45, 120, .6); }
.chart i {
  position: absolute;
  bottom: -22px;
  left: 0; right: 0;
  color: var(--muted-2);
  font-size: 11px;
  font-style: normal;
  text-align: center;
}
@keyframes grow { from { height: 0; opacity: 0; } }

.hero__card-rows { display: grid; gap: 2px; margin-top: 26px; }
.hero__card-rows > div {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.hero__card-rows span { color: var(--muted); }
.hero__card-rows b { font-family: "Unbounded", sans-serif; font-size: 15px; }
.hero__card-rows em {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-style: normal;
  font-weight: 700;
}
.up { background: rgba(15, 157, 118, .12); color: var(--accent); }
.down { background: var(--brand-soft); color: var(--brand); }

/* marquee */
.marquee {
  margin-top: 80px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  animation: slide 34s linear infinite;
}
.marquee__track span {
  font-family: "Unbounded", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}
.marquee__track i { color: var(--brand); font-size: 9px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 110px 0; }
.section--alt {
  background: linear-gradient(180deg, transparent, var(--bg-soft) 16%, var(--bg-soft) 84%, transparent);
}
.section--services { padding-top: 90px; }

.section__head { max-width: 760px; margin-bottom: 56px; }
.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--brand-2);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.section__title { font-size: clamp(28px, 3.6vw, 44px); }
.section__lead {
  margin-top: 20px;
  color: var(--muted);
  font-size: 17.5px;
}
.section__lead b { color: var(--text); }

/* ---------- cards 3 ---------- */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  padding: 34px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(108, 71, 255, .35);
  box-shadow: var(--shadow);
}
.card__num {
  display: block;
  margin-bottom: 18px;
  font-family: "Unbounded", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: .08em;
}
.card h3 { font-size: 21px; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 15.5px; }

/* ============================================================
   SHOP
   ============================================================ */
.shop {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.product {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.product::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.product:hover { transform: translateY(-6px); border-color: rgba(108, 71, 255, .35); box-shadow: var(--shadow); }
.product:hover::before { transform: scaleX(1); }
.product.is-in-cart { border-color: rgba(15, 157, 118, .45); }
.product.is-in-cart::before { transform: scaleX(1); background: linear-gradient(90deg, var(--accent), var(--brand)); }

.product__head { display: flex; gap: 16px; margin-bottom: 20px; }
.product__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-soft);
  color: var(--brand);
}
.product__icon svg { width: 24px; height: 24px; }
.product__title { font-size: 19px; margin-bottom: 8px; }
.product__sub { color: var(--muted); font-size: 14px; line-height: 1.5; }

.product__list { display: grid; gap: 10px; margin-bottom: 26px; }
.product__list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.45;
}
.product__list li::before {
  content: "";
  position: absolute;
  left: 4px; top: 8px;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--brand);
  transform: rotate(45deg);
}

.product__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.product__price { display: flex; align-items: baseline; gap: 5px; }
.product__price span { color: var(--muted-2); font-size: 13px; }
.product__price b { font-family: "Unbounded", sans-serif; font-size: 22px; letter-spacing: -.03em; white-space: nowrap; }
.product__price em { color: var(--muted-2); font-size: 13px; font-style: normal; }

.product__tag {
  display: inline-block;
  margin-top: 16px;
  color: var(--muted-2);
  font-size: 12.5px;
  font-weight: 600;
}
.product--extra { border-style: dashed; box-shadow: none; background: rgba(255, 255, 255, .6); }

/* ============================================================
   PLANS
   ============================================================ */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.plan:hover { transform: translateY(-6px); border-color: rgba(108, 71, 255, .35); box-shadow: var(--shadow); }
.plan--best {
  border-color: rgba(108, 71, 255, .45);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(108, 71, 255, .12), transparent 70%),
    var(--card);
  box-shadow: var(--shadow);
}
.plan__badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 10px 22px -12px rgba(108, 71, 255, .8);
}
.plan__badge--max {
  background: linear-gradient(115deg, #0f9d76, #6c47ff);
  box-shadow: 0 10px 22px -12px rgba(15, 157, 118, .8);
}
.plan__name {
  font-size: 27px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.plan__for { margin: 12px 0 24px; color: var(--muted); font-size: 14.5px; min-height: 66px; }
.plan__price { display: flex; align-items: baseline; gap: 7px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.plan__price b { font-family: "Unbounded", sans-serif; font-size: 33px; letter-spacing: -.035em; white-space: nowrap; }
.plan__price span { color: var(--muted-2); font-size: 14px; }
.plan__list { display: grid; gap: 12px; margin: 24px 0 30px; }
.plan__list li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.45;
}
.plan__list li b { color: var(--text); }
.plan__list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: -1px;
  color: var(--accent);
  font-weight: 800;
  font-size: 14px;
}
.plan .btn { margin-top: auto; }
.plans__note {
  margin-top: 30px;
  color: var(--muted-2);
  font-size: 14px;
  text-align: center;
}

/* ============================================================
   STEPS
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.step {
  position: relative;
  padding: 28px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.step:hover { transform: translateY(-5px); border-color: rgba(108, 71, 255, .35); box-shadow: var(--shadow); }
.step__no {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--grad);
  font-family: "Unbounded", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.step h3 { font-size: 17px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 14px; }
.step__time {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--muted); 
  font-size: 12px;
  font-weight: 600;
}

/* ============================================================
   CASES
   ============================================================ */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.case:hover { transform: translateY(-6px); border-color: rgba(108, 71, 255, .35); box-shadow: var(--shadow); }
.case__field {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.case h3 { font-size: 20px; margin-bottom: 14px; }
.case p { color: var(--muted); font-size: 15px; }
.case__nums {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: auto;
  padding-top: 26px;
}
.case__nums li { padding-top: 14px; border-top: 2px solid var(--brand-soft); }
.case__nums b {
  display: block;
  font-family: "Unbounded", sans-serif;
  font-size: 22px;
  letter-spacing: -.03em;
}
.case__nums span { color: var(--muted-2); font-size: 12px; line-height: 1.35; display: block; margin-top: 4px; }

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review {
  margin: 0;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}
.review blockquote {
  margin: 0 0 24px;
  font-size: 15.5px;
  line-height: 1.62;
  color: #302c50;
}
.review::before {
  content: "”";
  display: block;
  margin-bottom: -14px;
  font-family: "Unbounded", sans-serif;
  font-size: 54px;
  line-height: 1;
  color: rgba(108, 71, 255, .35);
}
.review figcaption { display: grid; gap: 3px; padding-top: 20px; border-top: 1px solid var(--line); }
.review figcaption b { font-size: 15px; }
.review figcaption span { color: var(--muted-2); font-size: 13px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: grid; gap: 12px; }
.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
}
.faq__item[open] { border-color: rgba(108, 71, 255, .4); box-shadow: var(--shadow); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  font-family: "Unbounded", sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font-size: 18px;
  font-family: "Manrope", sans-serif;
  transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s;
}
.faq__item[open] summary::after {
  transform: rotate(45deg);
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.faq__body {
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 15.5px;
}

/* ============================================================
   CTA + FORM
   ============================================================ */
.section--cta { padding-bottom: 120px; }
.cta {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: start;
  padding: 54px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(90% 120% at 0% 0%, rgba(108, 71, 255, .14), transparent 58%),
    radial-gradient(80% 120% at 100% 100%, rgba(255, 45, 120, .12), transparent 58%),
    var(--card);
  box-shadow: var(--shadow);
}
.cta__text h2 { font-size: clamp(26px, 3vw, 38px); }
.cta__text > p { margin-top: 18px; color: var(--muted); font-size: 16.5px; }
.cta__list { display: grid; gap: 11px; margin: 26px 0 30px; }
.cta__list li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
  font-size: 15px;
}
.cta__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}
.cta__contacts { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.cta__contacts a {
  font-family: "Unbounded", sans-serif;
  font-size: 16px;
  font-weight: 500;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line-strong);
  transition: color .2s, border-color .2s;
}
.cta__contacts a:hover { color: var(--brand-2); border-color: var(--brand-2); }

.form {
  padding: 32px 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
}
.form__title { font-size: 21px; margin-bottom: 22px; }
.form__note { margin-top: 14px; color: var(--muted-2); font-size: 12.5px; line-height: 1.45; }

.field { display: block; margin-bottom: 16px; }
.field > span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  transition: border-color .25s, box-shadow .25s;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--muted-2); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(108, 71, 255, .14);
}
.field__error {
  display: none;
  margin-top: 6px;
  color: #d81b60;
  font-size: 12.5px;
  font-style: normal;
}
.field.has-error input,
.field.has-error textarea { border-color: #f4477f; box-shadow: 0 0 0 4px rgba(244, 71, 127, .12); }
.field.has-error .field__error { display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 70px 0 30px;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer__col { display: grid; gap: 12px; align-content: start; }
.footer__col h4 {
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 4px;
}
.footer__col a, .footer__col span { color: var(--muted); font-size: 14.5px; }
.footer__col a { transition: color .2s; width: fit-content; }
.footer__col a:hover { color: var(--brand); }
.footer__col--brand p { color: var(--muted-2); font-size: 14.5px; max-width: 330px; }
.footer__col--brand .logo { margin-bottom: 6px; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 50px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 13px;
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-left: auto;
}
.legal-links a {
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 600;
  transition: color .2s, background .2s;
}
.legal-links a:hover,
.legal-links a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }

.btn--small { padding: 10px 18px; font-size: 14px; }

.legal { padding: 54px 0 90px; }
.legal h1 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 14px; }
.legal__meta {
  margin-bottom: 40px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 14px;
}
.legal__body { display: grid; gap: 16px; }
.legal__body h2 { margin-top: 26px; font-size: 21px; }
.legal__body h3 { margin-top: 12px; font-size: 16.5px; }
.legal__body p,
.legal__body li { color: var(--muted); font-size: 16px; line-height: 1.7; }
.legal__body strong { color: var(--text); }
.legal__body ul { display: grid; gap: 10px; }
.legal__body li { position: relative; padding-left: 24px; }
.legal__body li::before {
  content: "";
  position: absolute;
  left: 4px; top: 11px;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--brand);
  transform: rotate(45deg);
}
.legal__body a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal__body a:hover { color: var(--brand-2); }
.legal__note {
  margin: 10px 0;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand-2);
  border-radius: var(--radius-sm);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}
.legal__note p { color: var(--text); }

/* Unfinished placeholder — must be replaced before publishing */
.todo {
  padding: 1px 7px;
  border-radius: 5px;
  background: #ffe9a8;
  color: #6b4c00;
  font-weight: 700;
}

.footer--slim { padding: 26px 0; }
.footer--slim .footer__bottom { margin-top: 0; padding-top: 0; border-top: none; }
.footer__bottom a { color: var(--muted); transition: color .2s; }
.footer__bottom a:hover { color: var(--brand); }

/* ============================================================
   CART
   ============================================================ */
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(22, 19, 46, .35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .35s;
}
.cart-overlay.is-visible { opacity: 1; }

.cart {
  position: fixed;
  top: 0; right: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  width: 440px;
  max-width: 100vw;
  height: 100dvh;
  border-left: 1px solid var(--line);
  background: #fff;
  box-shadow: -30px 0 70px -30px rgba(38, 22, 96, .4);
  transform: translateX(102%);
  transition: transform .45s var(--ease);
  visibility: hidden;
}
.cart.is-open { transform: none; visibility: visible; }

.cart__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 26px;
  border-bottom: 1px solid var(--line);
}
.cart__head h2 { font-size: 21px; }
.cart__close {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  font-size: 24px;
  line-height: 1;
  transition: background .25s, border-color .25s, color .25s;
}
.cart__close:hover { background: var(--bg-soft); border-color: var(--brand-2); color: var(--brand-2); }

.cart__body { flex: 1; overflow-y: auto; padding: 22px 26px; }
.cart__body::-webkit-scrollbar { width: 8px; }
.cart__body::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 99px; }

.cart__empty { display: grid; gap: 16px; justify-items: center; padding: 60px 10px; text-align: center; }
.cart__empty span { font-size: 42px; }
.cart__empty p { color: var(--muted); font-size: 15px; }

.cart__items { display: grid; gap: 12px; }
.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  animation: fadeUp .35s var(--ease);
}
.cart-item__name { font-weight: 700; font-size: 15px; }
.cart-item__price { color: var(--muted); font-size: 13px; margin-top: 3px; }
.cart-item__del {
  align-self: start;
  padding: 2px 6px;
  border: none;
  background: none;
  color: var(--muted-2);
  font-size: 20px;
  line-height: 1;
  transition: color .2s;
}
.cart-item__del:hover { color: #d81b60; }
.cart-item__qty {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}
.cart-item__qty button {
  width: 28px; height: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  font-size: 15px;
  line-height: 1;
  transition: border-color .2s, background .2s, color .2s;
}
.cart-item__qty button:hover { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.cart-item__qty b { min-width: 58px; text-align: center; font-size: 14px; }

.cart__foot { padding: 20px 26px 26px; border-top: 1px solid var(--line); background: var(--bg); }
.cart__sum {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  color: var(--muted);
  font-size: 14.5px;
}
.cart__sum b { color: var(--text); font-weight: 700; }
.cart__sum--discount { color: var(--accent); }
.cart__sum--discount b { color: var(--accent); }
.cart__sum--total {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 16px;
}
.cart__sum--total b { font-family: "Unbounded", sans-serif; font-size: 24px; letter-spacing: -.03em; white-space: nowrap; }
.cart__hint { margin: 12px 0 18px; color: var(--muted-2); font-size: 12.5px; line-height: 1.45; }
.cart__secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 14px;
  color: var(--muted-2);
  font-size: 11.5px;
  line-height: 1.35;
  text-align: center;
}
.cart__secure svg { flex-shrink: 0; width: 14px; height: 14px; }
.cart__terms { margin-top: 8px; color: var(--muted-2); font-size: 11.5px; text-align: center; }
.cart__terms a,
.form__note a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.cart__terms a:hover,
.form__note a:hover { color: var(--brand); }

.cart-success { display: grid; gap: 16px; justify-items: center; align-content: center; flex: 1; padding: 40px 34px; text-align: center; }
.cart-success__icon {
  display: grid;
  place-items: center;
  width: 66px; height: 66px;
  border-radius: 50%;
  background: rgba(15, 157, 118, .12);
  color: var(--accent);
  font-size: 30px;
}
.cart-success h3 { font-size: 22px; }
.cart-success p { color: var(--muted); font-size: 15px; }
.cart-success p b { color: var(--accent); }

/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed;
  bottom: 28px; left: 50%;
  z-index: 120;
  padding: 14px 24px;
  border: 1px solid rgba(15, 157, 118, .35);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--text);
  font-size: 14.5px;
  font-weight: 600;
  transform: translate(-50%, 130%);
  opacity: 0;
  transition: transform .45s var(--ease), opacity .35s;
  pointer-events: none;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger {
    display: grid;
    gap: 5px;
    width: 44px; height: 44px;
    padding: 12px 10px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: var(--card);
    box-shadow: var(--shadow-sm);
  }
  .burger span { height: 2px; border-radius: 2px; background: var(--text); transition: transform .3s var(--ease), opacity .2s; }
  .burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger.is-open span:nth-child(2) { opacity: 0; }
  .burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav.is-open {
    position: absolute;
    top: calc(100% + 10px);
    left: 24px; right: 24px;
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
  }
  .nav.is-open a { padding: 13px 16px; font-size: 16px; }
  .header__inner { position: relative; }
  .header__actions { margin-left: auto; }
  .header__phone { display: none; }

  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__card { max-width: 520px; }
  .shop, .plans, .cards-3, .cases, .reviews { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cta { grid-template-columns: 1fr; gap: 40px; padding: 40px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 720px) {
  .section { padding: 74px 0; }
  .hero { padding-top: 40px; }
  .hero__stats { grid-template-columns: 1fr; gap: 18px; }
  .hero__stats b { font-size: 26px; }
  .marquee { margin-top: 54px; }
  .shop, .plans, .cards-3, .cases, .reviews, .steps { grid-template-columns: 1fr; }
  .section__head { margin-bottom: 38px; }
  .cta { padding: 28px 22px; }
  .form { padding: 26px 20px; }
  .cart { width: 100%; }
  .plan__for { min-height: 0; }
  .footer__inner { grid-template-columns: 1fr; }
  .cart-btn span { display: none; }
  .container { padding: 0 18px; }
  .btn { padding: 14px 22px; }
}
