/* ════════════════════════════════════════
   ВКУСНО — bold contemporary, cobalt accent
════════════════════════════════════════ */
:root {
  --bg:      #FFFFFF;
  --off:     #F5F4F1;
  --ink:     #0A0A0A;
  --muted:   #7A7770;
  --blue:    #1B5EFF;
  --blue-dk: #0040DD;
  --blue-lt: #EBF0FF;
  --line:    #E8E6E0;
  --red:     #FF3B1F;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── Шапка ── */
.site-header { background: var(--ink); position: sticky; top: 0; z-index: 100; }
.header-inner {
  max-width: 1140px; margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between; height: 68px;
}
.logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 26px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  color: #fff; text-decoration: none; display: flex; align-items: center; gap: 2px;
}
.logo-dot { color: var(--blue); font-size: 32px; line-height: 0; margin-bottom: -4px; }
.header-nav { display: flex; list-style: none; }
.header-nav a {
  color: rgba(255,255,255,0.5); text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 0 20px; height: 68px; display: flex; align-items: center;
  transition: color .15s, background .15s;
  border-left: 1px solid rgba(255,255,255,0.08);
}
.header-nav a:hover, .header-nav a.active { color: #fff; background: var(--blue); }

/* ── Футер ── */
.site-footer { background: var(--off); border-top: 2px solid var(--ink); font-size: 13px; padding: 56px 28px 0; margin-top: 100px; }
.footer-inner {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; padding-bottom: 36px;
}
.footer-about .logo { color: var(--ink); font-size: 22px; margin-bottom: 14px; }
.footer-about p { font-size: 13px; color: var(--muted); line-height: 1.75; max-width: 280px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  color: var(--muted); text-decoration: none; font-size: 13px;
  font-family: 'Barlow Condensed', sans-serif; text-transform: uppercase;
  letter-spacing: 0.05em; font-weight: 600; transition: color .15s;
}
.footer-links a:hover { color: var(--blue); }
.footer-bottom {
  max-width: 1140px; margin: 0 auto; padding: 20px 0;
  border-top: 1px solid var(--line); font-size: 12px; color: var(--muted);
}

/* ── Контейнер ── */
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 28px; }

/* ── Крошки ── */
.breadcrumb {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; color: var(--muted); padding: 22px 0 0;
  text-transform: uppercase; letter-spacing: 0.07em;
}
.breadcrumb a { color: var(--blue); text-decoration: none; font-weight: 700; }
.breadcrumb a:hover { text-decoration: underline; }

/* ── Заголовок страницы ── */
.page-hero { padding: 48px 28px 32px; border-bottom: 2px solid var(--ink); }
.page-hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(36px, 7vw, 80px); font-weight: 800; text-transform: uppercase;
  color: var(--ink); line-height: 0.95; margin: 12px 0 14px; letter-spacing: -0.01em;
}
.page-hero .lead { color: var(--muted); font-size: 17px; max-width: 520px; }
.eyebrow {
  display: inline-block; font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue); border: 1.5px solid var(--blue); padding: 4px 12px;
}

/* ── Сетка карточек ── */
.cards-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2px; margin: 40px 0;
  border: 2px solid var(--ink);
}
.card {
  background: var(--bg); overflow: hidden;
  border: none; border-right: 2px solid var(--ink);
  transition: background .15s;
  text-decoration: none; color: inherit; display: block;
}
.card:last-child { border-right: none; }
.card:hover { background: var(--blue-lt); }
.card-img { aspect-ratio: 4/3; overflow: hidden; background: var(--off); }
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 16px 18px 22px; border-top: 2px solid var(--ink); }
.card-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 6px;
}
.card-body h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 24px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.01em;
  line-height: 1.1; margin-bottom: 8px; color: var(--ink);
}
.card-body p { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ── Подписка ── */
.subscribe-block {
  background: var(--blue); padding: 60px 40px; margin: 80px 0; text-align: center;
  position: relative;
}
.subscribe-block h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(32px, 5.5vw, 60px); font-weight: 800; text-transform: uppercase;
  color: #fff; margin-bottom: 10px; letter-spacing: -0.01em; line-height: 0.95;
}
.subscribe-block p { color: rgba(255,255,255,0.75); font-size: 16px; margin-bottom: 32px; max-width: 460px; margin-left: auto; margin-right: auto; }
.subscribe-form { display: flex; gap: 0; max-width: 460px; margin: 0 auto; border: 2px solid #fff; }
.subscribe-form input[type="email"] {
  flex: 1; padding: 15px 20px; border: none; background: transparent;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; color: #fff; outline: none;
}
.subscribe-form input[type="email"]::placeholder { color: rgba(255,255,255,0.5); }
.subscribe-form button {
  padding: 15px 28px; border: none; border-left: 2px solid #fff; cursor: pointer;
  background: var(--ink); color: #fff;
  font-family: 'Barlow Condensed', sans-serif; font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  transition: background .2s; white-space: nowrap;
}
.subscribe-form button:hover { background: #222; }
.subscribe-note { color: rgba(255,255,255,0.45); font-size: 12px; margin-top: 14px; font-family: 'Barlow Condensed', sans-serif; letter-spacing: 0.04em; }
.subscribe-success { display: none; color: #fff; font-size: 18px; margin-top: 18px; font-family: 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: 0.06em; }

/* ── Адаптив ── */
@media (max-width: 720px) {
  .header-nav a { padding: 0 12px; font-size: 11px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .subscribe-form { flex-direction: column; }
  .subscribe-form button { border-left: none; border-top: 2px solid #fff; }
  .subscribe-block { padding: 40px 20px; }
  .cards-grid { grid-template-columns: 1fr; }
  .card { border-right: none; border-bottom: 2px solid var(--ink); }
}
@media (max-width: 480px) { .header-nav { display: none; } }

/* ── Реквизиты ── */
.footer-requisites {
  max-width: 1140px; margin: 0 auto;
  padding: 14px 0; border-top: 1px solid var(--line);
  font-size: 12px; color: var(--muted); line-height: 1.7;
}

/* ── Согласие ── */
.subscribe-consent {
  display: flex; align-items: flex-start; gap: 10px;
  max-width: 460px; margin: 14px auto 0; text-align: left;
}
.subscribe-consent input[type="checkbox"] {
  margin-top: 3px; flex-shrink: 0; width: 15px; height: 15px;
  cursor: pointer; accent-color: #fff;
}
.subscribe-consent label { font-size: 12px; color: rgba(255,255,255,0.6); line-height: 1.55; cursor: pointer; font-family: 'Barlow Condensed', sans-serif; letter-spacing: 0.03em; }
.subscribe-consent a { color: #fff; text-decoration: underline; }
.consent-error { color: #FFD0CC; font-size: 12px; margin-top: 6px; display: none; font-family: 'Barlow Condensed', sans-serif; }

/* ── Cookie ── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: var(--ink); border-top: 3px solid var(--blue);
  padding: 18px 28px;
  transform: translateY(100%); transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-inner {
  max-width: 1140px; margin: 0 auto;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.cookie-text { flex: 1; font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.6; min-width: 220px; }
.cookie-text a { color: var(--blue); text-decoration: none; font-weight: 700; }
.cookie-text a:hover { text-decoration: underline; }
.cookie-actions { display: flex; gap: 0; flex-shrink: 0; border: 2px solid rgba(255,255,255,0.3); }
.cookie-btn-accept {
  background: var(--blue); color: #fff; border: none; padding: 10px 24px;
  font-family: 'Barlow Condensed', sans-serif; font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  cursor: pointer; transition: background .2s;
}
.cookie-btn-accept:hover { background: var(--blue-dk); }
.cookie-btn-decline {
  background: transparent; color: rgba(255,255,255,0.5); border: none;
  border-left: 1px solid rgba(255,255,255,0.2); padding: 10px 18px;
  font-family: 'Barlow Condensed', sans-serif; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.04em;
  cursor: pointer; transition: color .2s;
}
.cookie-btn-decline:hover { color: #fff; }
@media (max-width: 600px) {
  .cookie-inner { flex-direction: column; }
  .cookie-actions { width: 100%; }
  .cookie-btn-accept, .cookie-btn-decline { flex: 1; text-align: center; }
}

/* ════════════════════════════════════════
   РЕЦЕПТЫ — bold contemporary
════════════════════════════════════════ */
.recipe-photo {
  width: 100%; overflow: hidden; margin: 32px 0; aspect-ratio: 16/9;
  background: var(--off);
}
.recipe-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.intro-card {
  background: var(--blue-lt); border-left: 4px solid var(--blue);
  padding: 22px 26px; margin: 32px 0;
}
.intro-card p { font-size: 17px; line-height: 1.7; color: var(--ink); }

.recipe-section { margin: 56px 0; }
.recipe-section h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(26px, 4.5vw, 44px); font-weight: 800; text-transform: uppercase;
  color: var(--ink); margin-bottom: 24px; letter-spacing: -0.01em;
  border-bottom: 2px solid var(--ink); padding-bottom: 12px;
  display: flex; align-items: baseline; justify-content: space-between;
}
.recipe-section h2 span { font-size: 13px; color: var(--blue); font-weight: 700; letter-spacing: 0.06em; }

.recipe-layout { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start; }

.ingredients {
  background: var(--off); border: 2px solid var(--ink);
  padding: 20px 20px; position: sticky; top: 80px;
}
.ingredients h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 700; color: var(--blue);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px;
  padding-bottom: 8px; border-bottom: 2px solid var(--ink);
}
.ingredients ul { list-style: none; display: flex; flex-direction: column; }
.ingredients li {
  font-size: 14px; color: var(--ink); padding: 8px 0;
  border-bottom: 1px solid var(--line); display: flex; gap: 8px; align-items: baseline;
}
.ingredients li:last-child { border-bottom: none; }
.ingredients li::before { content: '/'; color: var(--blue); font-weight: 800; flex-shrink: 0; }

.steps { display: flex; flex-direction: column; }
.step {
  display: flex; gap: 0; align-items: stretch;
  border-bottom: 1px solid var(--line);
}
.step:first-child { border-top: 2px solid var(--ink); }
.step-num {
  min-width: 64px; display: flex; align-items: center; justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 48px; font-weight: 800; color: var(--line);
  border-right: 1px solid var(--line); flex-shrink: 0;
  padding: 16px 0; line-height: 1;
  transition: color .2s;
}
.step:hover .step-num { color: var(--blue); }
.step p { font-size: 15.5px; line-height: 1.72; padding: 18px 20px; color: var(--ink); }

.recipe-divider {
  border: none; border-top: 2px solid var(--ink); margin: 56px 0;
  position: relative;
}
.recipe-divider::after {
  content: 'следующий рецепт';
  position: absolute; right: 0; top: -11px;
  background: var(--bg); padding-left: 16px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 700; color: var(--blue);
  text-transform: uppercase; letter-spacing: 0.1em;
}

.tip-box {
  background: var(--off); border-left: 4px solid var(--blue);
  padding: 16px 20px; margin: 20px 0; font-size: 14.5px; color: var(--ink);
}
.tip-box strong { color: var(--blue); }

@media (max-width: 720px) {
  .recipe-layout { grid-template-columns: 1fr; }
  .ingredients { position: static; }
  .step-num { min-width: 48px; font-size: 36px; }
}
