/* === Index 22: Хруст и Сыр — minimal-mono layout === */
:root {
  --primary: #1d4ed8;
  --bg: #fbf9f4;
  --ink: #16203a;
  --accent: #f59e0b;
  --paper: #ffffff;
  --line: #e8e4d8;
  --mute: #64748b;
  --deep: #0e1829;
  --s: clamp(16px, 2vw, 24px);
  --r: 10px;
  --display: 'Prata', Georgia, serif;
  --body: 'Mulish', 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(1140px, 92vw); margin-inline: auto; }

h1, h2, h3 { font-family: var(--display); line-height: 1.1; font-weight: 400; }
h1 { font-size: clamp(40px, 5.5vw, 72px); }
h2 { font-size: clamp(28px, 3.5vw, 48px); }
h3 { font-size: 20px; }
p { color: var(--ink); }
.lead { font-size: clamp(16px, 1.5vw, 19px); color: var(--mute); max-width: 52ch; line-height: 1.65; }
.eyebrow { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--primary); margin-bottom: 16px; font-family: var(--body); }
.eyebrow--inv { color: rgba(255,255,255,.55); }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(251,249,244,.94); backdrop-filter: blur(12px); 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__sq { width: 14px; height: 14px; background: var(--accent); border-radius: 3px; flex-shrink: 0; }
.brand span:last-child { font-family: var(--display); font-size: 20px; }
.brand__amp { color: var(--primary); }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { font-size: 14px; font-weight: 700; 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: 800; padding: 13px 24px; border-radius: 6px; font-size: 14px; transition: transform .15s, background .15s; font-family: var(--body); }
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 9px 18px; font-size: 13px; background: var(--primary); color: #fff; }
.btn--sm:hover { background: #1a42b5; }
.btn--lg { padding: 16px 32px; font-size: 15px; }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn--line:hover { background: var(--line); }
.btn--acc { background: var(--accent); color: var(--deep); }
.btn--acc:hover { background: #d4890a; }

/* hero — minimal-mono: clean vertical flow, thin horizontal dividers */
.hero { padding: clamp(36px,5vw,68px) 0; border-bottom: 1px solid var(--line); }
.hero__mono { }
.hero__badge { display: inline-block; background: var(--ink); color: rgba(255,255,255,.8); font-family: var(--body); font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; padding: 6px 14px; border-radius: 4px; margin-bottom: 20px; }
.hero__h1 { color: var(--deep); }
.hero__split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px,4vw,56px); align-items: center; margin: 28px 0 0; }
.hero__copy .lead { margin: 0 0 26px; }
.hero__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__photo { position: relative; }
.hero__photo img { width: 100%; height: clamp(320px,38vw,480px); object-fit: cover; border-radius: calc(var(--r)+6px); box-shadow: 0 24px 56px -20px rgba(14,24,41,.3); }
.hero__photo-caption { position: absolute; bottom: 16px; left: 16px; background: var(--accent); color: var(--deep); font-weight: 800; font-size: 13px; padding: 6px 14px; border-radius: 4px; font-family: var(--body); }
.hero__mono-stats { display: flex; align-items: center; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); margin-top: 32px; flex-wrap: wrap; }
.mono-stat { font-size: 14px; font-weight: 700; color: var(--mute); }
.mono-stat b { color: var(--ink); }
.mono-stat__div { color: var(--line); font-size: 20px; }

/* sandwiches */
.section { padding: clamp(46px,6vw,80px) 0; }
.section__head { max-width: 54ch; margin-bottom: 36px; }
.section__sub { color: var(--mute); margin-top: 8px; }
.sandw-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.sandw-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; min-height: 240px; }
.sandw-card--accent { background: var(--deep); border-color: transparent; }
.sandw-card--accent .sandw-card__top .sandw-card__num { color: var(--accent); }
.sandw-card--accent .sandw-card__top .sandw-card__label { color: var(--accent); }
.sandw-card--accent h3 { color: #fff; }
.sandw-card--accent p { color: rgba(255,255,255,.65); }
.sandw-card--accent .sandw-card__price { color: var(--accent); }
.sandw-card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.sandw-card__num { font-family: var(--display); font-size: 24px; color: var(--line); }
.sandw-card__label { font-family: var(--body); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.sandw-card h3 { font-size: 18px; }
.sandw-card p { color: var(--mute); font-size: 14px; margin-top: 8px; flex: 1; }
.sandw-card__price { font-weight: 800; color: var(--primary); font-size: 15px; margin-top: 16px; }

/* custom section — feature */
.custom-section { background: var(--primary); color: #fff; padding: clamp(46px,6vw,80px) 0; }
.custom-section__layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px,4vw,56px); align-items: center; }
.custom-section__copy h2 { color: #fff; }
.custom-section__copy p { color: rgba(255,255,255,.75); margin-top: 16px; max-width: 44ch; line-height: 1.65; }
.custom-builder { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: calc(var(--r)+4px); padding: 28px; }
.builder-row { margin-bottom: 20px; }
.builder-step { display: block; font-family: var(--body); font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 10px; }
.builder-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; background: rgba(255,255,255,.1); color: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.15); cursor: default; }
.chip--sel { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.5); color: #fff; }
.builder-result { border-top: 1px solid rgba(255,255,255,.15); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.builder-result b { color: #fff; font-size: 15px; }

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

/* contact */
.contact { padding: clamp(46px,6vw,80px) 0; }
.contact__inner { background: linear-gradient(135deg, var(--deep), #1a2a50); border-radius: calc(var(--r)+8px); padding: clamp(28px,4vw,52px); display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; }
.contact__inner h2 { color: #fff; }
.contact__inner p { color: rgba(255,255,255,.75); margin-top: 8px; }
.contact__hours { font-weight: 800; color: rgba(255,255,255,.9) !important; }
.contact__inner > div:last-child { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.contact__hint { font-size: 13px; color: rgba(255,255,255,.55); }

/* footer */
.foot { background: var(--deep); 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) {
  .hero__split { grid-template-columns: 1fr; }
  .sandw-grid { grid-template-columns: repeat(2,1fr); }
  .custom-section__layout { grid-template-columns: 1fr; }
  .about__layout { grid-template-columns: 1fr; }
  .contact__inner > div:last-child { align-items: flex-start; }
  .nav__links { display: none; }
}
@media (max-width: 520px) {
  .sandw-grid { grid-template-columns: 1fr; }
  .about__metrics { grid-template-columns: 1fr; }
  .hero__mono-stats { gap: 10px; }
  .mono-stat__div { display: none; }
}
