/* ════════════════════════════════════════
   ТИХАЯ КУХНЯ — ultra-minimal / wabi-sabi
════════════════════════════════════════ */
:root {
  --cream:    #F9F6F0;
  --white:    #FFFFFF;
  --ink:      #1E1B17;
  --ink-lt:   #3D3830;
  --muted:    #9B948A;
  --clay:     #B8654A;
  --clay-lt:  #F0E0D8;
  --line:     #E4DDD5;
  --line-dk:  #C9BFB4;
}

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

/* ── Шапка ── */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
}
.header-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between; height: 80px;
}
.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 500; font-style: italic;
  color: var(--ink); text-decoration: none; letter-spacing: 0.01em;
}
.logo em { font-style: normal; color: var(--clay); }
.header-nav { display: flex; gap: 40px; list-style: none; }
.header-nav a {
  color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  position: relative; padding-bottom: 2px;
  transition: color 0.2s;
}
.header-nav a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 1px;
  background: var(--clay); transform: scaleX(0); transition: transform 0.25s ease;
}
.header-nav a:hover, .header-nav a.active { color: var(--ink); }
.header-nav a:hover::after, .header-nav a.active::after { transform: scaleX(1); }

/* ── Футер ── */
.site-footer {
  background: var(--ink-lt); color: rgba(255,255,255,0.5);
  font-size: 13px; padding: 64px 40px 0; margin-top: 120px;
}
.footer-inner {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start;
  padding-bottom: 40px;
}
.footer-about .logo { font-size: 28px; color: #fff; }
.footer-about .logo em { color: #D4907A; }
.footer-about p { font-size: 13px; line-height: 1.8; max-width: 300px; color: rgba(255,255,255,0.38); margin-top: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: rgba(255,255,255,0.4); text-decoration: none; font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; transition: color .2s; }
.footer-links a:hover { color: rgba(255,255,255,0.85); }
.footer-bottom {
  max-width: 1120px; margin: 0 auto;
  padding: 22px 0; border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12px; color: rgba(255,255,255,0.22);
}

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

/* ── Крошки ── */
.breadcrumb { font-size: 12px; color: var(--muted); padding: 24px 0 0; letter-spacing: 0.05em; text-transform: uppercase; }
.breadcrumb a { color: var(--clay); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--muted); }

/* ── Заголовок страницы ── */
.page-hero { padding: 56px 40px 40px; }
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 6.5vw, 72px); font-weight: 400;
  color: var(--ink); line-height: 1.05; margin: 16px 0 14px;
  letter-spacing: -0.01em;
}
.page-hero .lead { color: var(--muted); font-size: 17px; max-width: 500px; line-height: 1.7; }
.eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--clay);
}

/* ── Горизонтальный разделитель-декор ── */
.divider-ornament {
  display: flex; align-items: center; gap: 14px; margin: 56px 0;
  color: var(--line-dk); font-size: 14px;
}
.divider-ornament::before, .divider-ornament::after {
  content: ''; flex: 1; height: 1px; background: var(--line);
}

/* ── Сетка карточек ── */
.cards-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 32px; margin: 40px 0;
}
.card {
  background: transparent; overflow: hidden;
  text-decoration: none; color: inherit; display: block;
  transition: transform 0.25s;
}
.card:hover { transform: translateY(-4px); }
.card-img { aspect-ratio: 3/2; overflow: hidden; background: var(--line); }
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 18px 0 0; }
.card-tag {
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--clay); margin-bottom: 6px; display: block;
}
.card-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; font-weight: 500;
  line-height: 1.2; margin-bottom: 8px; color: var(--ink);
}
.card-body p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── Подписка ── */
.subscribe-block {
  background: var(--white); border: 1px solid var(--line); padding: 72px 40px;
  margin: 80px 0; text-align: center; position: relative;
}
.subscribe-block::before {
  content: '✦';
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--cream); padding: 0 16px;
  font-size: 18px; color: var(--clay);
}
.subscribe-block h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 4.5vw, 44px); font-weight: 400;
  color: var(--ink); margin-bottom: 12px; letter-spacing: -0.01em;
}
.subscribe-block p { color: var(--muted); font-size: 16px; margin-bottom: 32px; max-width: 440px; margin-left: auto; margin-right: auto; line-height: 1.7; }
.subscribe-form { display: flex; gap: 0; max-width: 440px; margin: 0 auto; border: 1px solid var(--line-dk); background: var(--white); }
.subscribe-form input[type="email"] {
  flex: 1; padding: 15px 20px; border: none;
  font-family: 'Inter', sans-serif; font-size: 15px; color: var(--ink); outline: none;
  background: transparent;
}
.subscribe-form input[type="email"]::placeholder { color: var(--muted); }
.subscribe-form button {
  padding: 15px 28px; border: none; border-left: 1px solid var(--line-dk); cursor: pointer;
  background: var(--clay); color: #fff;
  font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
  transition: background .2s; white-space: nowrap;
}
.subscribe-form button:hover { background: #a3573c; }
.subscribe-note { color: var(--muted); font-size: 12px; margin-top: 16px; }
.subscribe-success {
  display: none; color: var(--clay); font-size: 16px; margin-top: 20px;
  font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 400;
}

/* ── Адаптив ── */
@media (max-width: 720px) {
  .header-inner, .footer-inner, .wrap, .page-hero { padding-left: 20px; padding-right: 20px; }
  .header-nav { gap: 20px; }
  .header-nav a { font-size: 12px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .subscribe-form { flex-direction: column; border: 1px solid var(--line-dk); }
  .subscribe-form button { border-left: none; border-top: 1px solid var(--line-dk); }
  .subscribe-block { padding: 48px 22px; }
  .cards-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 480px) { .header-nav { display: none; } }

/* ── Реквизиты ── */
.footer-requisites {
  max-width: 1120px; margin: 0 auto;
  padding: 16px 0; border-top: 1px solid rgba(255,255,255,0.07);
  font-size: 12px; color: rgba(255,255,255,0.18); line-height: 1.7;
}

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

/* ── Cookie ── */
.cookie-banner {
  position: fixed; bottom: 24px; left: 24px; right: 24px; z-index: 9999;
  max-width: 860px; margin: 0 auto;
  background: var(--ink-lt); border: 1px solid rgba(255,255,255,0.08);
  padding: 20px 28px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
  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: 24px; flex-wrap: wrap; }
.cookie-text { flex: 1; font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.6; min-width: 200px; }
.cookie-text a { color: #D4907A; text-decoration: none; }
.cookie-text a:hover { text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn-accept {
  background: var(--clay); color: #fff; border: none;
  padding: 10px 24px; font-family: 'Inter', sans-serif; font-size: 13px;
  font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  cursor: pointer; transition: background .2s;
}
.cookie-btn-accept:hover { background: #a3573c; }
.cookie-btn-decline {
  background: transparent; color: rgba(255,255,255,0.4);
  border: 1px solid rgba(255,255,255,0.15); padding: 10px 18px;
  font-family: 'Inter', sans-serif; font-size: 13px;
  cursor: pointer; transition: color .2s, border-color .2s;
}
.cookie-btn-decline:hover { color: rgba(255,255,255,0.75); border-color: rgba(255,255,255,0.35); }
@media (max-width: 600px) {
  .cookie-inner { flex-direction: column; }
  .cookie-actions { width: 100%; }
  .cookie-btn-accept, .cookie-btn-decline { flex: 1; text-align: center; }
}

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

.intro-card {
  border-top: 1px solid var(--line-dk);
  border-bottom: 1px solid var(--line-dk);
  padding: 28px 0; margin: 36px 0;
}
.intro-card p { font-family: 'Cormorant Garamond', serif; font-size: 21px; font-weight: 400; line-height: 1.65; color: var(--ink-lt); font-style: italic; }

.recipe-section { margin: 60px 0; }
.recipe-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 4vw, 38px); font-weight: 400;
  color: var(--ink); margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.recipe-meta { display: flex; gap: 28px; flex-wrap: wrap; font-size: 12px; color: var(--muted); margin-bottom: 28px; letter-spacing: 0.06em; text-transform: uppercase; }
.recipe-meta span { display: flex; align-items: center; gap: 7px; }
.recipe-meta span::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--clay); }

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

.ingredients { position: sticky; top: 100px; }
.ingredients h3 {
  font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase;
  letter-spacing: 0.1em; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.ingredients ul { list-style: none; display: flex; flex-direction: column; }
.ingredients li {
  font-size: 14px; color: var(--ink-lt); padding: 9px 0;
  border-bottom: 1px solid var(--line); display: flex; gap: 0; line-height: 1.4;
}

.steps { display: flex; flex-direction: column; }
.step { display: flex; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.step:first-child { border-top: 1px solid var(--line); }
.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px; font-weight: 400; color: var(--clay);
  min-width: 24px; letter-spacing: 0.05em; margin-top: 3px; flex-shrink: 0;
}
.step p { font-size: 16px; line-height: 1.75; color: var(--ink-lt); }

.recipe-divider {
  border: none; margin: 72px 0; height: 1px; background: var(--line);
  position: relative;
}
.recipe-divider::after {
  content: '· · ·'; position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--cream); padding: 0 16px; color: var(--line-dk); letter-spacing: 6px; font-size: 14px;
}

.tip-box {
  background: var(--clay-lt); padding: 20px 24px; margin: 24px 0;
  font-size: 14.5px; color: var(--ink-lt); border-left: 2px solid var(--clay);
}
.tip-box strong { color: var(--clay); }

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