/* Zoda Creator — нео-брутализм (дизайн C) */
:root {
  --cream: #FFF8E7;
  --ink: #111111;
  --white: #FFFFFF;
  --indigo: #4F46E5;
  --orange: #FF7A1A;
  --lime: #B8F35A;
  --pink: #FF9ECD;
  --lilac: #E0DCFF;

  --border: 3px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --shadow-lg: 10px 10px 0 var(--ink);
  --radius: 20px;

  --font-display: "Dela Gothic One", "Arial Black", sans-serif;
  --font-body: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; max-width: 100%; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }

.container { max-width: 1280px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip-link:focus { top: 16px; }

/* ---------- base blocks ---------- */
.card { background: var(--white); border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.tag { display: inline-block; background: var(--white); border: 2px solid var(--ink); border-radius: 8px; padding: 4px 10px; font-size: 13px; font-weight: 600; }
.sticker { display: inline-block; border: var(--border); border-radius: 999px; padding: 6px 16px; font-weight: 700; font-size: 14px; transform: rotate(-2deg); }
.sticker--lime { background: var(--lime); }

.grid { display: grid; gap: 24px; }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.section { padding-top: 112px; padding-bottom: 0; }
.section--tight { padding-top: 96px; }
.section__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(34px, 4.6vw, 64px); line-height: 1.05; margin-bottom: 48px; max-width: 820px; }
.section__title--light { color: var(--white); margin-bottom: 40px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 14px 24px;
  border: var(--border); border-radius: 14px;
  font: 700 17px/1.2 var(--font-body); color: var(--ink);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn svg { width: 20px; height: 20px; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.btn--sm { min-height: 44px; padding: 8px 18px; font-size: 15px; border-radius: 12px; }
.btn--lg { padding: 18px 28px; font-size: 18px; }
.btn--block { width: 100%; }
.btn--shadow { box-shadow: var(--shadow); }
.btn--orange { background: var(--orange); }
.btn--white { background: var(--white); }
.btn--black { background: var(--ink); color: var(--cream); box-shadow: 6px 6px 0 var(--white); }
.btn--black:hover { box-shadow: 8px 8px 0 var(--white); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; padding-top: 20px; padding-bottom: 8px; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 10px 10px 20px; box-shadow: 5px 5px 0 var(--ink); border-radius: 16px; position: relative; }
.logo { font-family: var(--font-display); font-size: 20px; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.logo__dot { width: 28px; height: 28px; border: var(--border); border-radius: 50%; background: var(--lime); flex-shrink: 0; }
.nav__links { display: flex; align-items: center; gap: 24px; font-weight: 600; font-size: 15px; }
.nav__links a:not(.btn):hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.nav__toggle { display: none; background: var(--white); border: var(--border); border-radius: 12px; width: 48px; height: 48px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 40px; align-items: center; padding-top: 48px; padding-bottom: 80px; }
.hero__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(36px, 6.4vw, 96px); line-height: 1.02; letter-spacing: -0.01em; margin-top: 24px; }
.hero__highlight { background: var(--indigo); color: var(--white); padding: 0 14px; border-radius: 14px; display: inline-block; white-space: nowrap; transform: rotate(-1.5deg); }
.hero__subtitle { max-width: 520px; font-size: 20px; margin-top: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero__collage { position: relative; min-height: 520px; }
.collage { position: absolute; border: var(--border); border-radius: var(--radius); box-shadow: 8px 8px 0 var(--ink); display: flex; align-items: flex-end; padding: 16px; }
.collage { overflow: hidden; }
.collage .tag, .work .tag { position: relative; z-index: 1; }
.collage__img, .work__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* картинки первого экрана: горизонтальные 1536×1024, заполняют карточку; при обрезке сохраняется верх (лицо) */
.collage__img { object-position: center top; }
.work { position: relative; overflow: hidden; }
.collage--main { align-items: flex-start; justify-content: flex-end; }
.collage--main { top: 0; right: 0; width: 78%; height: 340px; background: repeating-linear-gradient(135deg, #E0DCFF 0 14px, #D2CCFF 14px 28px); }
.collage--second { bottom: 0; left: 0; width: 56%; height: 260px; background: var(--pink); transform: rotate(-3deg); }
.collage-stat { position: absolute; bottom: 40px; right: 6%; width: 150px; height: 150px; border: var(--border); border-radius: 50%; background: var(--lime); box-shadow: 5px 5px 0 var(--ink); transform: rotate(8deg); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.collage-stat__value { font-family: var(--font-display); font-size: 30px; line-height: 1; }
.collage-stat__label { font-size: 13px; font-weight: 700; }

/* ---------- marquee ---------- */
/* обёртка обрезает края наклонённой ленты, чтобы страница не уезжала вбок */
.marquee-wrap { overflow: hidden; padding: calc(1vw + 6px) 0; margin: calc(-1vw - 6px) 0; }
.marquee { background: var(--ink); color: var(--cream); border-top: var(--border); border-bottom: var(--border); transform: rotate(-1deg); margin: 0 -12px; overflow: hidden; }
.marquee__track { display: flex; gap: 36px; width: max-content; padding: 18px 0; font-family: var(--font-display); font-size: 22px; white-space: nowrap; animation: marquee 30s linear infinite; }
.marquee__star--lime { color: var(--lime); }
.marquee__star--pink { color: var(--pink); }
.marquee__star--orange { color: var(--orange); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- skills ---------- */
.skill { padding: 28px; display: flex; flex-direction: column; gap: 16px; transition: transform .15s ease, box-shadow .15s ease; }
.skill:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.skill--accent { background: var(--orange); }
.skill__icon { width: 56px; height: 56px; border: var(--border); border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.skill__icon--lilac { background: var(--lilac); }
.skill__icon--pink { background: var(--pink); }
.skill__icon--lime { background: var(--lime); }
.skill__icon--orange { background: var(--white); }
.skill__title { font-family: var(--font-display); font-weight: 400; font-size: 24px; }

/* ---------- steps ---------- */
.steps { background: var(--indigo); color: var(--white); border-radius: 28px; box-shadow: var(--shadow-lg); padding: clamp(28px, 5vw, 64px); }
.step { background: var(--white); color: var(--ink); border: var(--border); border-radius: 18px; padding: 24px; }
.step__num { font-family: var(--font-display); font-size: 40px; line-height: 1; }
.step h3 { margin: 10px 0 6px; font-size: 20px; }

/* ---------- works ---------- */
.work { margin: 0; aspect-ratio: 4 / 5; max-width: 100%; border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow); display: flex; align-items: flex-end; padding: 16px; }
.work--lilac { background: repeating-linear-gradient(135deg, #E0DCFF 0 14px, #D2CCFF 14px 28px); }
.work--pink { background: var(--pink); }
.work--lime { background: var(--lime); }

/* ---------- pricing ---------- */
.pricing { align-items: start; gap: 28px; }
.tariff { padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.tariff--featured { background: var(--lime); box-shadow: var(--shadow-lg); transform: rotate(-1deg); }
.tariff__head { display: flex; justify-content: space-between; align-items: center; font-weight: 700; }
.tariff__badge { background: var(--ink); color: var(--lime); border-radius: 999px; padding: 2px 12px; font-size: 13px; }
.tariff__price { font-family: var(--font-display); font-size: 40px; line-height: 1.1; }
.tariff__features { margin: 0 0 8px; padding-left: 20px; }
.tariff__features li + li { margin-top: 6px; }

/* ---------- faq ---------- */
.faq { display: flex; flex-direction: column; gap: 16px; max-width: 900px; }
.faq__item { padding: 0; box-shadow: 5px 5px 0 var(--ink); }
.faq__q { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-weight: 700; font-size: 19px; min-height: 44px; }
.faq__q::-webkit-details-marker { display: none; }
.faq__icon { flex-shrink: 0; width: 40px; height: 40px; border: var(--border); border-radius: 10px; background: var(--lime); display: flex; align-items: center; justify-content: center; transition: transform .2s ease; }
.faq__icon svg { width: 20px; height: 20px; }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--pink); }
.faq__a { padding: 0 24px 22px; max-width: 70ch; }

/* ---------- cta ---------- */
.cta { background: var(--pink); border-radius: 28px; box-shadow: var(--shadow-lg); padding: clamp(32px, 6vw, 72px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; }
.cta__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(32px, 5vw, 68px); line-height: 1.05; max-width: 760px; }

/* ---------- footer ---------- */
.site-footer { padding: 64px 0 48px; }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-weight: 600; font-size: 14px; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 16px; }
.site-footer__links a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- reveal on scroll (starts visible; JS adds the motion) ---------- */
.js-reveal { opacity: 0; transform: translateY(24px); transition: opacity .5s ease, transform .5s ease; }
.js-reveal.is-visible { opacity: 1; transform: none; }

/* ---------- mobile ---------- */
@media (max-width: 860px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    display: none; position: absolute; top: calc(100% + 12px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 12px;
    background: var(--white); border: var(--border); border-radius: 16px; box-shadow: var(--shadow);
  }
  .nav__links.is-open { display: flex; }
  .nav__links a:not(.btn) { padding: 12px; border-radius: 10px; }
  .nav__cta { margin-top: 8px; }
  .hero__collage { min-height: 420px; }
  .collage--main { height: 260px; }
  .collage--second { height: 200px; }
  .collage-stat { width: 120px; height: 120px; bottom: 24px; }
}
@media (max-width: 480px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .section { padding-top: 80px; }
  .hero__collage { min-height: 360px; }
  .collage--main { width: 88%; height: 220px; }
  .collage--second { width: 64%; height: 170px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; padding: 18px 24px; }
  .js-reveal { opacity: 1; transform: none; transition: none; }
  .btn, .skill, .faq__icon { transition: none; }
}

/* ---------- tariflar (свои цвета по ТЗ: Clay / Slate Dark / Ivory Light) ---------- */
.tf {
  --clay: #D97757; --slate: #141413; --ivory: #FAF9F5;
  --tf-card: color-mix(in srgb, var(--ivory) 94%, var(--clay));
  --tf-line: color-mix(in srgb, var(--slate) 14%, var(--ivory));
  --tf-muted: color-mix(in srgb, var(--slate) 58%, var(--ivory));
  --tf-shadow: 0 10px 30px color-mix(in srgb, var(--slate) 9%, transparent);
  margin-top: 96px; padding: 88px 0 96px;
  background: var(--ivory); color: var(--slate);
}
.tf .section__title { color: var(--slate); }
.tf__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: stretch; padding-top: 14px; }
.tf-card {
  position: relative; display: flex; flex-direction: column; gap: 16px; min-width: 0;
  padding: 32px 28px 28px; border-radius: 22px;
  background: var(--tf-card); border: 1.5px solid var(--tf-line); box-shadow: var(--tf-shadow);
}
.tf-card--standart { border: 2.5px solid var(--clay); scale: 1.04; z-index: 1; box-shadow: 0 16px 40px color-mix(in srgb, var(--clay) 22%, transparent); }
.tf-card__badge {
  position: absolute; top: 0; left: 28px; transform: translateY(-50%);
  background: var(--clay); color: var(--slate); border-radius: 999px; padding: 5px 14px;
  font-weight: 700; font-size: 13px; white-space: nowrap;
}
.tf-card--pro .tf-card__badge { background: var(--slate); color: var(--ivory); }
.tf-card__name { font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: 1.1; }
.tf-card__promise { font-size: 20px; font-weight: 600; line-height: 1.35; }
.tf-card__price { display: flex; flex-direction: column; gap: 2px; padding: 16px 0; border-top: 1.5px solid var(--tf-line); border-bottom: 1.5px solid var(--tf-line); }
.tf-card__old { color: var(--tf-muted); font-size: 15px; }
.tf-card__sale { font-family: var(--font-display); font-size: clamp(24px, 2.3vw, 32px); line-height: 1.15; white-space: nowrap; }
.tf-card__monthly { font-size: 15px; font-weight: 600; color: color-mix(in srgb, var(--clay) 70%, var(--slate)); }
.tf-card__prev { font-weight: 700; }
.tf-card__items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.tf-card__items li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.45; }
.tf-card__items svg { flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; color: var(--clay); }
.tf-card__bottom { margin-top: auto; display: flex; flex-direction: column; gap: 12px; padding-top: 8px; }
.tf-card__format { font-size: 14px; color: var(--tf-muted); }
.tf-card__seats { font-size: 14px; font-weight: 700; }
.tf-card__cta {
  display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; padding: 14px 20px;
  border-radius: 14px; background: var(--clay); color: var(--slate); font-weight: 700; text-align: center;
  transition: background-color .2s ease, box-shadow .2s ease;
}
.tf-card__cta:hover { background: color-mix(in srgb, var(--clay) 88%, var(--slate)); box-shadow: 0 6px 18px color-mix(in srgb, var(--clay) 35%, transparent); }
.tf-card--pro .tf-card__cta { background: var(--slate); color: var(--ivory); }
.tf-card--pro .tf-card__cta:hover { background: color-mix(in srgb, var(--slate) 85%, var(--clay)); box-shadow: var(--tf-shadow); }
.tf-card__cta:focus-visible, .tf-compare__toggle:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; }

.tf-compare { margin-top: 56px; }
.tf-compare__toggle {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; min-height: 48px;
  padding: 12px 22px; border-radius: 14px; border: 2px solid var(--clay); font-weight: 700;
}
.tf-compare__toggle::-webkit-details-marker { display: none; }
.tf-compare__toggle::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s ease; }
.tf-compare[open] .tf-compare__toggle::after { transform: translateY(2px) rotate(-135deg); }
.tf-compare__scroll { margin-top: 20px; overflow-x: auto; border-radius: 16px; border: 1.5px solid var(--tf-line); background: var(--tf-card); }
.tf-compare__table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.tf-compare__table th, .tf-compare__table td { padding: 12px 16px; border-bottom: 1px solid var(--tf-line); text-align: center; }
.tf-compare__table tbody tr:last-child > * { border-bottom: 0; }
.tf-compare__table thead th { font-weight: 700; }
.tf-compare__table th[scope="row"], .tf-compare__table thead td {
  position: sticky; left: 0; z-index: 1; text-align: left; font-weight: 500;
  background: var(--tf-card); width: 46%; min-width: 210px; box-shadow: 1px 0 0 var(--tf-line);
}
.tf-compare__table .is-yes { color: var(--clay); font-weight: 700; font-size: 18px; }
.tf-compare__table .is-no { color: var(--tf-muted); }

.tf-notes { margin: 32px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 15px; max-width: 760px; }
.tf-notes li { padding-left: 18px; position: relative; }
.tf-notes li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--clay); }

@media (max-width: 1024px) {
  .tf__grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; gap: 36px; }
  .tf-card--standart { scale: 1; order: -2; }
  .tf-card--pro { order: -1; }
}
@media (max-width: 768px) {
  .tf { margin-top: 80px; padding: 64px 0 72px; }
  .tf__inner { padding-left: 16px; padding-right: 16px; }
  .tf-card { padding: 30px 20px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .tf-card__cta, .tf-compare__toggle::after { transition: none; }
}
