/* ════════════════════════════════════════
   ЛОЖКА — dark / electric edition
════════════════════════════════════════ */
:root {
  --bg:       #151515;
  --surface:  #1F1F1F;
  --surface2: #282828;
  --ink:      #F0EDE6;
  --muted:    #888278;
  --lime:     #CDF542;
  --lime-dk:  #A8D020;
  --line:     #2E2E2E;
  --red:      #FF5440;
}

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

/* ── Шапка ── */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
}
.header-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 70px;
}
.logo {
  font-family: 'DM Sans', sans-serif; font-size: 20px; font-weight: 700;
  color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 10px;
}
.logo-icon {
  width: 34px; height: 34px; background: var(--lime); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.header-nav { display: flex; gap: 2px; list-style: none; }
.header-nav a {
  color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500;
  padding: 8px 14px; border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.header-nav a:hover, .header-nav a.active { color: var(--lime); background: rgba(205,245,66,.08); }

/* ── Футер ── */
.site-footer {
  background: var(--surface); border-top: 1px solid var(--line);
  font-size: 13px; padding: 52px 24px 0; margin-top: 96px;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start;
  padding-bottom: 32px;
}
.footer-about .logo { margin-bottom: 12px; }
.footer-about p { font-size: 13px; line-height: 1.75; max-width: 300px; color: var(--muted); }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 13px; transition: color .15s; }
.footer-links a:hover { color: var(--lime); }
.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  padding: 18px 0; border-top: 1px solid var(--line);
  font-size: 12px; color: #444;
}

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

/* ── Крошки ── */
.breadcrumb { font-size: 13px; color: var(--muted); padding: 20px 0 0; }
.breadcrumb a { color: var(--lime); text-decoration: none; font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }

/* ── Заголовок страницы ── */
.page-hero { padding: 36px 24px 24px; }
.page-hero h1 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(30px, 5.5vw, 52px); font-weight: 700;
  color: var(--ink); line-height: 1.1; margin: 12px 0 10px; letter-spacing: -0.02em;
}
.page-hero .lead { color: var(--muted); font-size: 17px; max-width: 540px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--lime); background: rgba(205,245,66,.12); padding: 5px 12px; border-radius: 6px;
}

/* ── Сетка карточек ── */
.cards-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px; margin: 36px 0;
}
.card {
  background: var(--surface); border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line);
  transition: border-color 0.2s, transform 0.2s;
  text-decoration: none; color: inherit; display: block;
}
.card:hover { border-color: var(--lime); transform: translateY(-2px); }
.card-img { aspect-ratio: 4/3; overflow: hidden; background: var(--surface2); }
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 16px 18px 20px; }
.card-tag { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--lime); margin-bottom: 6px; }
.card-body h3 { font-size: 17px; font-weight: 700; line-height: 1.3; margin-bottom: 6px; letter-spacing: -0.01em; }
.card-body p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* ── Подписка ── */
.subscribe-block {
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
  padding: 52px 40px; margin: 72px 0; text-align: center;
  position: relative; overflow: hidden;
}
.subscribe-block::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(205,245,66,.15) 0%, transparent 70%);
  pointer-events: none;
}
.subscribe-block h2 {
  font-size: clamp(22px, 4vw, 34px); font-weight: 700; letter-spacing: -0.02em;
  color: var(--ink); margin-bottom: 10px;
}
.subscribe-block p { color: var(--muted); font-size: 16px; margin-bottom: 28px; max-width: 460px; margin-left: auto; margin-right: auto; }
.subscribe-form { display: flex; gap: 10px; max-width: 440px; margin: 0 auto; }
.subscribe-form input[type="email"] {
  flex: 1; padding: 14px 18px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--bg);
  font-family: 'DM Sans', sans-serif; font-size: 15px; color: var(--ink); outline: none;
  transition: border-color .2s;
}
.subscribe-form input[type="email"]:focus { border-color: var(--lime); }
.subscribe-form input[type="email"]::placeholder { color: var(--muted); }
.subscribe-form button {
  padding: 14px 26px; border-radius: 10px; border: none; cursor: pointer;
  background: var(--lime); color: #0F1A00;
  font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 700;
  transition: background .2s, transform .15s; white-space: nowrap;
}
.subscribe-form button:hover { background: var(--lime-dk); transform: translateY(-1px); }
.subscribe-note { color: var(--muted); font-size: 12px; margin-top: 14px; }
.subscribe-success {
  display: none; background: rgba(205,245,66,.1); border: 1px solid rgba(205,245,66,.3);
  border-radius: 10px; padding: 16px 24px; color: var(--lime); font-size: 15px; margin-top: 16px;
}

/* ── Адаптив ── */
@media (max-width: 680px) {
  .header-nav a { padding: 8px 10px; font-size: 12px; }
  .footer-inner { grid-template-columns: 1fr; gap: 22px; }
  .subscribe-form { flex-direction: column; }
  .subscribe-block { padding: 32px 22px; }
  .cards-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) { .header-nav { display: none; } }

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

/* ── Согласие ── */
.subscribe-consent {
  display: flex; align-items: flex-start; gap: 10px;
  max-width: 440px; margin: 14px auto 0; text-align: left;
}
.subscribe-consent input[type="checkbox"] {
  margin-top: 3px; flex-shrink: 0; width: 16px; height: 16px;
  cursor: pointer; accent-color: var(--lime);
}
.subscribe-consent label { font-size: 12px; color: var(--muted); line-height: 1.55; cursor: pointer; }
.subscribe-consent a { color: var(--lime); text-decoration: underline; }
.consent-error { color: var(--red); font-size: 12px; margin-top: 6px; display: none; }

/* ── Cookie ── */
.cookie-banner {
  position: fixed; bottom: 16px; left: 16px; right: 16px; z-index: 9999;
  max-width: 1100px; margin: 0 auto;
  background: var(--surface2); border: 1px solid var(--line); border-radius: 16px;
  padding: 16px 22px; box-shadow: 0 20px 60px rgba(0,0,0,.5);
  transform: translateY(160%); transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cookie-text { flex: 1; font-size: 13px; color: var(--muted); line-height: 1.55; min-width: 200px; }
.cookie-text a { color: var(--lime); text-decoration: none; }
.cookie-text a:hover { text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-btn-accept {
  background: var(--lime); color: #0F1A00;
  border: none; border-radius: 8px; padding: 10px 20px;
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 700;
  cursor: pointer; transition: background .2s;
}
.cookie-btn-accept:hover { background: var(--lime-dk); }
.cookie-btn-decline {
  background: transparent; color: var(--muted);
  border: 1px solid var(--line); border-radius: 8px; padding: 9px 16px;
  font-family: 'DM Sans', sans-serif; font-size: 14px;
  cursor: pointer; transition: color .2s, border-color .2s;
}
.cookie-btn-decline:hover { color: var(--ink); border-color: #555; }

@media (max-width: 600px) {
  .cookie-inner { flex-direction: column; align-items: stretch; }
  .cookie-actions { justify-content: stretch; }
  .cookie-btn-accept, .cookie-btn-decline { flex: 1; text-align: center; }
}

/* ════════════════════════════════════════
   РЕЦЕПТЫ — dark edition
════════════════════════════════════════ */
.recipe-photo {
  width: 100%; border-radius: 18px; overflow: hidden;
  margin: 28px 0; aspect-ratio: 16/9; background: var(--surface2);
}
.recipe-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.intro-card {
  background: var(--surface); border-radius: 18px; padding: 24px 28px; margin: 32px 0;
  border-left: 3px solid var(--lime);
}
.intro-card p { font-size: 17px; line-height: 1.65; color: var(--ink); }

.recipe-section { margin: 48px 0; }
.recipe-section h2 {
  font-size: clamp(21px, 3.5vw, 29px); font-weight: 700; letter-spacing: -0.015em;
  color: var(--ink); margin-bottom: 20px;
}
.recipe-section h2 span { color: var(--lime); }

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

.ingredients {
  background: var(--surface); border-radius: 16px; padding: 20px 20px;
  border: 1px solid var(--line); position: sticky; top: 90px;
}
.ingredients h3 {
  font-size: 11px; font-weight: 700; color: var(--lime); text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: 14px;
}
.ingredients ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.ingredients li { font-size: 14px; display: flex; align-items: baseline; gap: 8px; color: var(--ink); }
.ingredients li::before { content: '·'; color: var(--lime); font-weight: 800; font-size: 18px; flex-shrink: 0; }

.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: flex; gap: 16px; padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: none; }
.step-num {
  min-width: 28px; height: 28px; background: var(--surface2); color: var(--lime);
  font-size: 12px; font-weight: 700; border-radius: 8px; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; margin-top: 1px; border: 1px solid var(--line);
}
.step p { font-size: 15.5px; line-height: 1.7; padding-top: 2px; color: #CEC8C0; }

.recipe-divider { border: none; border-top: 1px solid var(--line); margin: 48px 0; }
.tip-box {
  background: rgba(205,245,66,.07); border: 1px solid rgba(205,245,66,.2);
  border-radius: 12px; padding: 16px 20px; margin: 20px 0; font-size: 14.5px; color: var(--ink);
}
.tip-box strong { color: var(--lime); }

@media (max-width: 720px) { .recipe-layout { grid-template-columns: 1fr; } }
