/* === Index 19: Курага и Кешью — timeline-flow layout === */
:root {
  --primary: #a45a2a;
  --bg: #fbf5ef;
  --ink: #2a1a10;
  --accent: #2f6f6f;
  --paper: #fff9f5;
  --line: #ead8c8;
  --mute: #7a5038;
  --s: clamp(16px, 2vw, 24px);
  --r: 14px;
  --display: 'Bitter', Georgia, serif;
  --body: 'Karla', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
.wrap { width: min(1120px, 92vw); margin-inline: auto; }

h1, h2, h3 { font-family: var(--display); line-height: 1.1; font-weight: 700; }
h1 { font-size: clamp(38px, 5.5vw, 68px); font-style: italic; }
h2 { font-size: clamp(26px, 3.2vw, 42px); }
h3 { font-size: 19px; }
p { color: var(--ink); }
.lead { font-size: clamp(16px, 1.5vw, 19px); color: var(--mute); max-width: 50ch; line-height: 1.65; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); margin-bottom: 16px; }
.eyebrow--inv { color: #ffd7b0; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(251,245,239,.93); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav__in { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand__dot { width: 14px; height: 14px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }
.brand span:last-child { font-family: var(--display); font-size: 18px; font-weight: 700; }
.brand__sep { color: var(--accent); font-style: italic; margin: 0 2px; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--mute); transition: color .15s; }
.nav__links a:hover { color: var(--primary); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; padding: 13px 24px; border-radius: 8px; font-size: 14px; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 8px 16px; font-size: 13px; background: var(--primary); color: #fff; }
.btn--sm:hover { background: #8a4920; }
.btn--stroke { background: transparent; color: var(--primary); box-shadow: inset 0 0 0 2px var(--primary); }
.btn--stroke:hover { background: var(--primary); color: #fff; }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: #8a4920; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { background: var(--line); }
.btn--lg { padding: 16px 32px; font-size: 15px; }

/* hero — timeline-flow: vertical layout with large header then stat strip */
.hero { padding: clamp(36px,5vw,68px) 0; }
.hero__layout { display: grid; gap: clamp(24px,3vw,48px); }
.hero__intro { }
.hero__intro .lead { margin: 16px 0 26px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__image { position: relative; grid-row: 2; }
.hero__image img { width: 100%; height: clamp(360px,44vw,520px); object-fit: cover; border-radius: calc(var(--r)+8px); box-shadow: 0 28px 64px -28px rgba(42,26,16,.35); }
.hero__image figcaption { position: absolute; bottom: 20px; right: 20px; background: var(--paper); border-radius: 8px; padding: 10px 16px; font-size: 13px; font-weight: 700; color: var(--primary); box-shadow: 0 8px 24px -8px rgba(0,0,0,.2); font-style: italic; }
.hero__numbers { display: flex; gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.hero__num { flex: 1; text-align: center; padding: 20px 16px; background: var(--paper); border-right: 1px solid var(--line); }
.hero__num:last-child { border-right: none; }
.hero__num b { display: block; font-family: var(--display); font-size: 26px; color: var(--primary); }
.hero__num span { font-size: 12px; color: var(--mute); display: block; margin-top: 4px; }

/* catalog grid */
.section { padding: clamp(46px,6vw,80px) 0; }
.section__head { max-width: 54ch; margin-bottom: 36px; }
.section__sub { color: var(--mute); margin-top: 8px; }
.cat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.cat-card { background: var(--paper); border: 1px solid var(--line); border-radius: calc(var(--r)+4px); padding: 26px; display: flex; flex-direction: column; min-height: 220px; }
.cat-card__emoji { font-size: 32px; margin-bottom: 14px; display: block; }
.cat-card h3 { font-size: 18px; }
.cat-card p { color: var(--mute); font-size: 14px; margin-top: 8px; flex: 1; }
.cat-card__note { font-weight: 700; color: var(--accent); font-size: 14px; margin-top: 14px; }

/* mixes — feature: timeline flow  */
.mixes-section { background: var(--ink); padding: clamp(46px,6vw,80px) 0; color: #fff; }
.mixes-section__inner { }
.mixes-section__label { margin-bottom: 36px; }
.mixes-section__label h2 { color: #fff; }
.mixes-section__flow { display: flex; align-items: flex-start; gap: 0; flex-wrap: wrap; }
.mix-step { flex: 1; min-width: 220px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); padding: 24px; }
.mix-step__circle { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; font-family: var(--display); font-size: 18px; font-weight: 700; margin-bottom: 14px; }
.mix-step__body b { display: block; color: #fff; font-size: 16px; margin-bottom: 6px; }
.mix-step__body p { color: rgba(255,255,255,.6); font-size: 14px; }
.mix-step__arrow { display: flex; align-items: center; padding: 0 8px; font-size: 22px; color: var(--accent); align-self: center; }
.mixes-section__hint { margin-top: 24px; font-size: 14px; color: rgba(255,255,255,.45); font-style: italic; }

/* bulk */
.bulk { padding: clamp(46px,6vw,80px) 0; background: var(--paper); border-block: 1px solid var(--line); }
.bulk__layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,4vw,56px); align-items: start; }
.bulk__copy p { color: var(--mute); margin-top: 14px; max-width: 52ch; }
.bulk__pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bulk-pillar { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.bulk-pillar b { display: block; font-family: var(--display); color: var(--primary); font-size: 17px; margin-bottom: 4px; }
.bulk-pillar span { font-size: 13px; color: var(--mute); }

/* contact */
.contact { padding: clamp(46px,6vw,80px) 0; }
.contact__inner { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; background: linear-gradient(135deg,var(--primary),#7a3c18); border-radius: calc(var(--r)+8px); padding: clamp(28px,4vw,52px); }
.contact__info h2 { color: #fff; }
.contact__info p { color: rgba(255,255,255,.82); margin-top: 8px; }
.contact__sched { font-weight: 700; color: #fff !important; margin-top: 10px !important; }
.contact__ctas { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.contact__ctas .btn--primary { background: #fff; color: var(--primary); }
.contact__ctas .btn--primary:hover { background: #fff5ee; }
.contact__ctas .btn--ghost { color: rgba(255,255,255,.8); box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.contact__ctas .btn--ghost:hover { background: rgba(255,255,255,.1); }

/* footer */
.foot { background: var(--ink); padding: 26px 0; }
.foot__inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot__inner span { font-size: 13px; color: rgba(255,255,255,.4); }

@media (max-width: 900px) {
  .cat-grid { grid-template-columns: repeat(2,1fr); }
  .bulk__layout { grid-template-columns: 1fr; }
  .contact__inner { grid-template-columns: 1fr; }
  .contact__ctas { align-items: flex-start; }
  .mixes-section__flow { flex-direction: column; gap: 14px; }
  .mix-step__arrow { transform: rotate(90deg); align-self: center; padding: 4px 0; }
  .nav__links { display: none; }
}
@media (max-width: 520px) {
  .cat-grid { grid-template-columns: 1fr; }
  .bulk__pillars { grid-template-columns: 1fr; }
  .hero__numbers { flex-direction: column; }
  .hero__num { border-right: none; border-bottom: 1px solid var(--line); }
  .hero__num:last-child { border-bottom: none; }
}
