/* Print@Графика — «яркий крафт»: сайт как продукция типографии */

@font-face {
  font-family: 'Unbounded';
  src: url('assets/fonts/unbounded-cyrillic.woff2') format('woff2');
  font-weight: 200 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Unbounded';
  src: url('assets/fonts/unbounded-latin.woff2') format('woff2');
  font-weight: 200 900;
  font-display: swap;
  unicode-range: U+0000-00FF;
}
@font-face {
  font-family: 'Onest';
  src: url('assets/fonts/onest-cyrillic.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Onest';
  src: url('assets/fonts/onest-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF;
}

:root {
  --kraft: #f6ecd9;        /* светлый крафт: тёплая бумага */
  --kraft-deep: #eaddc2;
  --paper: #fffdf6;        /* белая этикеточная бумага */
  --ink: #2c221a;          /* типографская краска */
  --accent: #e23c26;       /* томатный: единственный акцент CTA */
  --green: #234f38;        /* тёмно-зелёный: поддерживающая поверхность */
  --berry: #8e2f48;
  --radius: 18px;
  --display: 'Unbounded', system-ui, sans-serif;
  --body: 'Onest', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  color: var(--ink);
  background-color: var(--kraft);
  /* фактура крафта: мелкое волокно */
  background-image:
    radial-gradient(rgba(120, 90, 40, .035) 1px, transparent 1.4px),
    radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1.2px);
  background-size: 9px 9px, 13px 13px;
  background-position: 0 0, 4px 7px;
  overflow-x: hidden;
  line-height: 1.55;
}

h1, h2, h3 { font-family: var(--display); line-height: 1.12; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 28px;
  padding: 14px clamp(16px, 4vw, 48px);
  background: color-mix(in srgb, var(--kraft) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1.5px solid rgba(44, 34, 26, .12);
  max-height: 72px;
}
.logo {
  font-family: var(--display); font-weight: 700; font-size: 19px;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.logo-at { color: var(--accent); }
.site-nav { display: flex; gap: 22px; margin-left: auto; }
.site-nav a {
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px;
  position: relative;
}
.site-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -4px; height: 2px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .3s cubic-bezier(.16, 1, .3, 1);
}
.site-nav a:hover::after { transform: scaleX(1); }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--body); font-weight: 600; text-decoration: none;
  border: none; cursor: pointer; border-radius: 999px; white-space: nowrap;
  transition: transform .2s cubic-bezier(.16, 1, .3, 1), box-shadow .2s, background-color .2s;
  will-change: transform;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: var(--accent); color: #fff7f2;
  box-shadow: 0 10px 24px -10px rgba(190, 50, 20, .55);
}
.btn-primary:hover { background: #c93318; box-shadow: 0 14px 30px -10px rgba(190, 50, 20, .65); }
.btn-ghost {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--ink);
}
.btn-ghost:hover { background: rgba(44, 34, 26, .08); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 17px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: calc(100dvh - 72px);
  display: flex; align-items: center; justify-content: center;
  padding: 48px clamp(16px, 5vw, 64px) 96px;
}
.hero-inner { position: relative; z-index: 2; text-align: center; max-width: 1040px; }
.hero-title {
  font-size: clamp(28px, 4.4vw, 64px);
  font-weight: 900; letter-spacing: -.01em; text-transform: uppercase;
}
.hero-title .line { display: block; }
.hero-title .line:last-child { color: var(--accent); }
.hero-sub {
  margin: 26px auto 0; max-width: 560px;
  font-size: clamp(16px, 1.4vw, 19px); font-weight: 500;
  color: color-mix(in srgb, var(--ink) 80%, var(--kraft));
}
.hero-cta { margin-top: 36px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* облако наклеек */
.hero-stickers { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.sticker {
  position: absolute;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 6px 18px -6px rgba(70, 50, 20, .35), 0 1px 0 rgba(255,255,255,.8) inset;
  will-change: transform;
}
.sticker-round {
  border-radius: 50%;
  width: var(--size, 130px); height: var(--size, 130px);
  padding: 14px;
  font-size: calc(var(--size, 130px) * .105);
  line-height: 1.25;
}
.sticker-round::before {
  content: ''; position: absolute; inset: 7px; border-radius: 50%;
  border: 2px dashed color-mix(in srgb, var(--ink) 45%, transparent);
}
.sticker-tape {
  padding: 10px 22px; font-size: 14px; border-radius: 4px;
  background: var(--green); color: #f2ede2;
  box-shadow: 0 8px 20px -8px rgba(20, 50, 30, .5);
}
.sticker-photo {
  padding: 0; background: transparent; box-shadow: none;
  filter: drop-shadow(0 9px 18px rgba(70, 50, 20, .35));
}
.sticker-photo::before { display: none; }
.sticker-photo img { width: 100%; height: 100%; display: block; }
.sticker .drop {
  position: absolute; top: -4px; z-index: 2;
  width: 7px; height: 11px;
  border-radius: 50% 50% 62% 62%;
  background: linear-gradient(180deg, rgba(215, 240, 255, .95), rgba(110, 175, 230, .7));
  box-shadow: inset -1px -2px 2px rgba(60, 120, 180, .35), 0 1px 2px rgba(40, 80, 120, .25);
  pointer-events: none; opacity: 0;
}
.s1 { --size: 148px; top: 10%; left: 5%; rotate: -9deg; color: var(--berry); }
.s2 { --size: 165px; bottom: 7%; right: 4%; rotate: 7deg; color: var(--green); }
.s3 { --size: 138px; top: 8%; right: 7%; rotate: 10deg; color: var(--accent); }
.s4 { --size: 145px; bottom: 12%; left: 8%; rotate: 5deg; color: var(--green); }
.s5 { top: 46%; left: 2%; rotate: -6deg; }
.s6 { --size: 105px; top: 44%; right: 2.5%; rotate: -12deg; color: #3b5aa5; }
.s7 { top: 28%; left: 13%; rotate: 4deg; background: var(--accent); }
.s8 { width: 216px; bottom: 4%; right: 31%; rotate: -4deg; }
.s8 img { height: auto; }

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden; white-space: nowrap;
  background: var(--ink); color: var(--kraft);
  padding: 14px 0; transform: rotate(-1.2deg) scale(1.02);
}
.marquee-track { display: inline-flex; align-items: center; gap: 28px; will-change: transform; }
.marquee-track span {
  font-family: var(--display); font-weight: 500; font-size: 15px;
  text-transform: uppercase; letter-spacing: .04em;
}
.marquee-track i { color: var(--accent); font-style: normal; font-size: 17px; }

/* ---------- секции ---------- */
.section-title {
  font-size: clamp(28px, 3.6vw, 52px); font-weight: 900; text-transform: uppercase;
  margin-bottom: 40px;
}

/* категории: bento 5 ячеек */
.categories { padding: 110px clamp(16px, 5vw, 64px); max-width: 1280px; margin: 0 auto; }
.bento {
  display: grid; gap: 18px;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 300px 300px;
}
.cell-big { grid-column: span 2; grid-row: span 2; }
.bento-cell {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 10px 26px -14px rgba(70, 50, 20, .4);
}
.bento-cell img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  transition: transform .5s cubic-bezier(.16, 1, .3, 1);
}
.bento-cell:hover img { transform: scale(1.06) rotate(.6deg); }
.cell-label {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  padding: 44px 20px 18px;
  background: linear-gradient(to top, rgba(30, 22, 14, .82), transparent);
  color: #f6efe2;
}
.cell-banner { background: var(--green); }
.banner-art {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 900; font-size: clamp(26px, 2.4vw, 38px);
  text-transform: uppercase; color: var(--kraft);
  letter-spacing: .02em; rotate: -5deg; translate: 0 -14%;
}
.banner-art::before, .banner-art::after {
  content: ''; position: absolute; top: 14px; width: 14px; height: 14px;
  border-radius: 50%; border: 3px solid var(--kraft); opacity: .7;
}
.banner-art::before { left: 14px; }
.banner-art::after { right: 14px; }
.cell-label h3 { font-size: 19px; font-weight: 700; }
.cell-big .cell-label h3 { font-size: 26px; }
.cell-label p { font-size: 14px; margin-top: 6px; opacity: .85; max-width: 42ch; }

/* офферы */
.offers {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px;
  padding: 40px clamp(16px, 5vw, 64px) 110px;
  max-width: 1280px; margin: 0 auto;
}
.offer {
  position: relative; border-radius: calc(var(--radius) + 6px);
  padding: clamp(28px, 4vw, 56px);
}
.offer h2 { font-size: clamp(24px, 2.6vw, 38px); font-weight: 900; text-transform: uppercase; max-width: 14ch; }
.offer p { margin-top: 18px; font-size: 16px; max-width: 46ch; }
.offer-stock { background: var(--green); color: #eef3e9; }
.offer-stock p { color: #cfdcc7; }
.offer-custom { background: var(--paper); border: 2px dashed color-mix(in srgb, var(--ink) 30%, transparent); }
.offer-badge { position: absolute; top: -26px; right: 28px; --size: 108px; rotate: 8deg; font-size: 13px; }
.offer-stock .offer-badge { color: var(--green); }
.offer-custom .offer-badge { background: var(--accent); color: #fff5ef; }
.offer-custom .offer-badge::before { border-color: rgba(255, 245, 239, .6); }
.offer-list { margin-top: 24px; list-style: none; display: grid; gap: 12px; }
.offer-list li { display: flex; align-items: baseline; gap: 12px; font-weight: 500; }
.offer-list li::before {
  content: ''; flex: none; width: 11px; height: 11px; border-radius: 50%;
  background: var(--accent); translate: 0 1px;
}
.offer-stock .offer-list li::before { background: var(--kraft); }

/* шаги */
.steps { padding: 0 clamp(16px, 5vw, 64px) 110px; max-width: 1280px; margin: 0 auto; }
.steps-track { position: relative; }
.steps-route {
  position: absolute; top: -18px; left: 0; width: 100%; height: 200px;
  pointer-events: none; z-index: 0; overflow: visible;
}
.steps-route path {
  fill: none; stroke: color-mix(in srgb, var(--ink) 42%, transparent);
  stroke-width: 2.5; stroke-dasharray: 2 13; stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.steps-row { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step { position: relative; z-index: 1; padding-top: 26px; }
.step-num {
  position: relative; --size: 84px; font-size: 30px; margin-bottom: 20px;
  color: var(--accent); rotate: -5deg;
}
.step:nth-child(2) .step-num { rotate: 4deg; color: var(--green); }
.step:nth-child(3) .step-num { rotate: -3deg; color: var(--berry); }
.step h3 { font-size: 21px; font-weight: 700; }
.step p { margin-top: 10px; font-size: 15px; max-width: 34ch; color: color-mix(in srgb, var(--ink) 82%, var(--kraft)); }

/* соцпруф */
.proof {
  background: var(--ink); color: var(--kraft);
  padding: 96px clamp(16px, 5vw, 64px);
}
.proof-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  max-width: 1100px; margin: 0 auto 64px; text-align: center;
}
.metric b {
  display: block; font-family: var(--display); font-weight: 900;
  font-size: clamp(44px, 5vw, 76px); color: var(--paper);
  white-space: nowrap;
}
.metric span { font-size: 15px; opacity: .75; }
.proof-gallery {
  display: flex; justify-content: center; gap: 0; max-width: 1100px; margin: 0 auto;
}
.proof-gallery img {
  width: clamp(120px, 15vw, 190px); aspect-ratio: 516/688; object-fit: cover;
  border-radius: 12px; border: 5px solid var(--paper);
  box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .6);
  margin: 0 -12px;
  transition: transform .35s cubic-bezier(.16, 1, .3, 1), z-index 0s;
}
.proof-gallery img:nth-child(odd) { rotate: -4deg; }
.proof-gallery img:nth-child(even) { rotate: 3deg; translate: 0 14px; }
.proof-gallery img:hover { transform: scale(1.5); z-index: 5; position: relative; }
.proof-note { text-align: center; margin-top: 56px; font-size: 16px; opacity: .9; }
.proof-note a { color: var(--paper); font-weight: 600; }

/* форма */
.lead { padding: 110px clamp(16px, 5vw, 64px); display: flex; justify-content: center; }
.lead-card {
  width: 100%; max-width: 560px;
  background: var(--paper); border-radius: calc(var(--radius) + 6px);
  padding: clamp(28px, 4vw, 52px);
  box-shadow: 0 24px 60px -24px rgba(70, 50, 20, .45);
  rotate: -.6deg;
}
.lead-card h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 900; text-transform: uppercase; }
.lead-sub { margin: 12px 0 28px; color: color-mix(in srgb, var(--ink) 75%, var(--paper)); }
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label { font-weight: 600; font-size: 14px; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink);
  padding: 13px 16px; border-radius: 12px;
  border: 1.5px solid color-mix(in srgb, var(--ink) 28%, transparent);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}
.field-hint { font-size: 12.5px; color: color-mix(in srgb, var(--ink) 62%, var(--paper)); }
.field.error input { border-color: var(--accent); }
.form-status { margin-top: 14px; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: var(--green); }
.form-status.fail { color: var(--accent); }
#lead-form .btn { width: 100%; }

/* футер */
.site-footer {
  background: var(--ink); color: color-mix(in srgb, var(--kraft) 80%, transparent);
  text-align: center; padding: 48px 20px 56px; font-size: 14.5px;
}
.footer-brand { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--kraft); margin-bottom: 12px; }
.site-footer a { color: var(--kraft); }
.site-footer p { margin-top: 6px; }

/* курсор-спутник (desktop, тонкий) */
.cursor-dot {
  position: fixed; z-index: 90; top: 0; left: 0;
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--accent);
  pointer-events: none; opacity: 0;
  translate: -50% -50%;
}
@media (pointer: coarse) { .cursor-dot { display: none; } }

/* ---------- мобильная вёрстка ---------- */
@media (max-width: 900px) {
  .steps-route { display: none; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 240px); }
  .cell-big { grid-column: span 2; grid-row: span 1; }
  .offers { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr; gap: 32px; }
  .proof-metrics { grid-template-columns: 1fr; gap: 32px; }
  .proof-gallery { flex-wrap: wrap; gap: 14px; }
  .proof-gallery img { margin: 0; }
}
@media (max-width: 720px) {
  .site-nav { display: none; }
  .hero { padding-bottom: 220px; }
  .hero-stickers .sticker { --size: 96px; font-size: 11px; }
  .s5, .s7 { display: none; }
  .s1 { top: auto; bottom: 8%; left: 4%; }
  .s3 { top: auto; bottom: 12%; right: 6%; }
  .s2 { --size: 120px; bottom: 2%; right: 34%; }
  .s4, .s6, .s8 { display: none; }
}

/* reduced motion: всё статично */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .cursor-dot { display: none; }
}
