/* ============================================================
   pitanie-kormyaschey-mamy-v-pervyj-mesyac.css
   Выборка классов из main-style.css для страницы
   «Питание кормящей мамы в первый месяц»

   Блоки:
   2.  Введение (intro-card)
   4.  Питание по неделям (stages-timeline + варианты --week, --ref)
   5.  Принципы (principles-grid)
   6.  Что расширяем / что откладываем (split-cols)
   7.  Режим дня (day-structure, day-meals, day-benefits, day-cta-block)
   8.  Типичные ошибки (mistakes-list)
   ============================================================ */


/* ════════════════════════════════════════════════
   БЛОК 2. ВВЕДЕНИЕ (intro-card)
   ════════════════════════════════════════════════ */
.intro-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--sh-sm);
  overflow: hidden; display: grid; grid-template-columns: 5px 1fr;
}
.intro-stripe { background: linear-gradient(175deg, var(--rose-soft), var(--sky-soft)); }
.intro-body {
  padding: 32px 36px; display: grid;
  grid-template-columns: 200px 1fr; gap: 32px; align-items: start;
}
.intro-title {
  font-family: var(--ff-head); font-size: 26px; font-weight: 500;
  color: var(--dark); line-height: 1.25;
}
.intro-title em { font-style: italic; color: var(--rose); }
.intro-accent {
  margin-top: 20px; padding: 16px 20px; border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--rose-bg), var(--sky-bg));
  border: 1px solid var(--rose-soft); font-size: 14.5px; font-weight: 600;
  color: var(--dark); line-height: 1.55; display: flex; gap: 10px; align-items: center;
}
.intro-accent::before { content: '💡'; font-size: 18px; flex-shrink: 0; font-style: normal; line-height: 1; }


/* ════════════════════════════════════════════════
   БЛОК 4. ПИТАНИЕ ПО НЕДЕЛЯМ
   stages-timeline + stage-block (+ варианты --week, --ref)
   ════════════════════════════════════════════════ */
.stages-timeline { display: flex; flex-direction: column; gap: 20px; }

.stage-block {
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--sh-sm); transition: box-shadow .2s;
}
.stage-block:hover { box-shadow: var(--sh-md); }

.stage-block-header { display: flex; align-items: center; gap: 16px; padding: 22px 28px; }
.stage-block:nth-child(1) .stage-block-header { background: linear-gradient(135deg, #FFF2F5, #FFF9F0); }
.stage-block:nth-child(2) .stage-block-header { background: linear-gradient(135deg, var(--sky-bg), var(--mint-bg)); }
.stage-block:nth-child(3) .stage-block-header { background: linear-gradient(135deg, var(--mint-bg), #F0FFFB); }
.stage-block:nth-child(4) .stage-block-header { background: linear-gradient(135deg, var(--peach-bg), #FFF8F0); }

.stage-block-num {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-head); font-size: 18px; font-weight: 600; flex-shrink: 0;
}
.stage-block:nth-child(1) .stage-block-num { background: var(--rose-soft); color: var(--rose); }
.stage-block:nth-child(2) .stage-block-num { background: var(--sky-soft); color: var(--blue); }
.stage-block:nth-child(3) .stage-block-num { background: var(--mint-soft); color: var(--mint-dark); }
.stage-block:nth-child(4) .stage-block-num { background: #FFE4C8; color: #B86A1A; }

/* Вариант --week: приглушённый блок предыдущего этапа */
.stage-block--week { opacity: .85; border-style: dashed; }
.stage-block--week:hover { opacity: 1; }
.stage-block--week.stage-block:nth-child(1) .stage-block-header,
.stage-block--week.stage-block:nth-child(2) .stage-block-header {
  background: linear-gradient(135deg, var(--light), #F8F9FB) !important;
}
.stage-block--week .stage-block-header { background: linear-gradient(135deg, var(--light), #F8F9FB); }
.stage-block--week.stage-block:nth-child(1) .stage-block-num,
.stage-block--week.stage-block:nth-child(2) .stage-block-num {
  background: rgba(26,37,53,.07) !important; color: var(--muted) !important;
}

/* Иконка-стрелка для ссылочного блока */
.stage-block-num--ref {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
  background: rgba(26,37,53,.07); color: var(--muted); border: 1.5px solid var(--border);
}
.stage-block-num--ref::before { content: '↩'; font-style: normal; }

.stage-block-meta { }
.stage-block-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--muted); margin-bottom: 4px;
}
.stage-block-title { font-family: var(--ff-head); font-size: 20px; font-weight: 500; color: var(--dark); }

.stage-block-body { padding: 24px 28px; background: var(--white); }

.stage-block-accent {
  font-size: 14px; font-weight: 700; color: var(--dark);
  padding: 12px 16px; margin-bottom: 14px; border-radius: var(--r-sm);
}
.stage-block:nth-child(1) .stage-block-accent { background: var(--rose-1); border-left: 3px solid var(--rose-5); }
.stage-block:nth-child(2) .stage-block-accent { background: var(--blue-1); border-left: 3px solid var(--sky); }
.stage-block:nth-child(3) .stage-block-accent { background: var(--mint-bg); border-left: 3px solid var(--mint); }
.stage-block:nth-child(4) .stage-block-accent { background: var(--peach-bg); border-left: 3px solid #E8904A; }

/* Вариант accent для ссылочного блока */
.stage-block-accent--ref {
  font-size: 14px; font-weight: 400; color: var(--muted); padding: 10px 14px;
  border-radius: var(--r-sm); background: var(--light);
  border-left: 3px solid var(--border) !important; margin-bottom: 12px;
}

.stage-block-items { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.stage-tag {
  padding: 6px 14px; border-radius: 999px; font-size: 13px;
  font-weight: 500; color: var(--mid); background: var(--light); border: 1px solid var(--border);
}

.stage-cta {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px;
  border-radius: var(--r-sm); background: var(--sky-bg);
  border: 1.5px solid var(--sky-soft); font-size: 13.5px; font-weight: 700;
  color: var(--blue); text-decoration: none; transition: all .2s;
}
.stage-cta::after { content: '→'; }
.stage-cta:hover { background: var(--sky); color: var(--white); border-color: transparent; }

/* Вариант cta для ссылочного блока */
.stage-cta--ref {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px;
  border-radius: var(--r-sm); background: var(--light);
  border: 1.5px solid var(--border); font-size: 13px; font-weight: 600;
  color: var(--muted); text-decoration: none; transition: all .2s;
}
.stage-cta--ref::after { content: '→'; }
.stage-cta--ref:hover { background: var(--sky-bg); color: var(--blue); border-color: var(--sky-soft); }


/* ════════════════════════════════════════════════
   БЛОК 5. ПРИНЦИПЫ (principles-grid)
   ════════════════════════════════════════════════ */
.principles-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.principle-card {
  border-radius: var(--r-md); padding: 22px;
  border: 1px solid var(--border); overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.principle-card:nth-child(1) { background: linear-gradient(135deg, var(--rose-bg), #FFF9F0); }
.principle-card:nth-child(2) { background: linear-gradient(135deg, var(--sky-bg), #F5FAFF); }
.principle-card:nth-child(3) { background: linear-gradient(135deg, var(--mint-bg), #F5FFFB); }
.principle-card:nth-child(4) { background: linear-gradient(135deg, var(--peach-bg), #FFF8F0); }
.principle-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.principle-icon {
  width: 46px; height: 46px; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 14px; box-shadow: var(--sh-sm);
}
.principle-title { font-size: 15.5px; font-weight: 700; color: var(--dark); margin-bottom: 7px; }
.principle-text { font-size: 13.5px; color: var(--mid); line-height: 1.65; font-weight: 300; }


/* ════════════════════════════════════════════════
   БЛОК 6. ЧТО РАСШИРЯЕМ / ЧТО ОТКЛАДЫВАЕМ (split-cols)
   ════════════════════════════════════════════════ */
.split-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.split-col { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); }

.split-col-header { padding: 18px 22px; display: flex; align-items: center; gap: 12px; }
.split-col--yes .split-col-header {
  background: linear-gradient(135deg, var(--mint-bg), #F0FFFB);
  border-bottom: 1px solid var(--mint-soft);
}
.split-col--no .split-col-header {
  background: linear-gradient(135deg, #FFF7F0, #FFF0F0);
  border-bottom: 1px solid var(--rose-soft);
}

.split-col-icon {
  width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; border: 1px solid var(--border); box-shadow: var(--sh-sm); flex-shrink: 0;
}
.split-col-title { font-family: var(--ff-head); font-size: 17px; font-weight: 500; color: var(--dark); }
.split-col-sub { font-size: 12px; color: var(--muted); font-weight: 400; margin-top: 2px; }

.split-col-body { padding: 20px 22px; background: var(--white); display: flex; flex-direction: column; gap: 6px; }
.split-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border-radius: var(--r-sm); font-size: 13.5px; color: var(--mid);
  line-height: 1.55; font-weight: 400; border: 1px solid var(--border);
  background: var(--white); transition: background .18s;
}
.split-item:hover { background: var(--light); }
.split-col--yes .split-item-dot { color: var(--mint); font-size: 16px; flex-shrink: 0; }
.split-col--no .split-item-dot { color: var(--rose-5); font-size: 16px; flex-shrink: 0; }

.split-col-link {
  display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 14px;
  border-radius: var(--r-sm); text-decoration: none; font-size: 13px;
  font-weight: 700; transition: all .2s;
}
.split-col-link::before { content: '👉'; font-style: normal; flex-shrink: 0; }
.split-col-link::after { content: '→'; }
.split-col--yes .split-col-link { background: var(--mint-bg); color: var(--mint-dark); border: 1px solid var(--mint-soft); }
.split-col--yes .split-col-link:hover { background: var(--mint); color: var(--white); border-color: transparent; }
.split-col--no .split-col-link { background: var(--rose-bg); color: var(--rose); border: 1px solid var(--rose-soft); }
.split-col--no .split-col-link:hover { background: var(--rose); color: var(--white); border-color: transparent; }

.split-note {
  display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 14px 20px;
  border-radius: var(--r-md); background: var(--sky-bg); border: 1px solid var(--sky-soft);
  font-size: 13.5px; color: var(--mid); line-height: 1.6; font-weight: 400;
}
.split-note::before { content: '💡'; font-size: 17px; flex-shrink: 0; font-style: normal; line-height: 1; }


/* ════════════════════════════════════════════════
   БЛОК 7. РЕЖИМ ДНЯ
   day-structure, day-meals, day-meal, day-benefits,
   day-benefit, day-cta-block, day-final-note
   ════════════════════════════════════════════════ */
.day-structure {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin-bottom: 16px; align-items: start;
}
.day-structure-text p {
  font-size: 15px; color: var(--mid); line-height: 1.78; font-weight: 300; margin-bottom: 12px;
}
.day-structure-text p:last-child { margin-bottom: 0; }

.day-meals {
  display: flex; flex-direction: column; gap: 6px;
  background: var(--light); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 18px 20px;
}
.day-meal {
  display: flex; align-items: center; gap: 10px; padding: 8px 12px;
  border-radius: var(--r-sm); background: var(--white); border: 1px solid var(--border);
  font-size: 14px; font-weight: 600; color: var(--dark); transition: background .15s;
}
.day-meal:hover { background: var(--rose-bg); border-color: var(--rose-soft); }
.day-meal--light {
  background: transparent; border-color: transparent;
  font-weight: 400; color: var(--muted); font-size: 13px;
}
.day-meal--light:hover { background: var(--light); border-color: var(--border); }
.day-meal::before { font-style: normal; flex-shrink: 0; font-size: 18px; }
.day-meal--breakfast::before { content: '🍳'; }
.day-meal--snack::before     { content: '🍎'; }
.day-meal--lunch::before     { content: '🥣'; }
.day-meal--tea::before       { content: '🫖'; }
.day-meal--dinner::before    { content: '🌿'; }
.day-meal--night::before     { content: '🌙'; }
.day-meal-label { line-height: 1.3; }

.day-benefits { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.day-benefit {
  display: flex; align-items: center; gap: 7px; padding: 7px 16px;
  border-radius: 999px; background: var(--mint-bg); border: 1px solid var(--mint-soft);
  font-size: 13px; font-weight: 600; color: var(--mint-dark);
}
.day-benefit::before { content: '✓'; color: var(--mint); font-weight: 700; font-style: normal; }

.day-cta-block {
  margin-top: 24px; padding: 24px; border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--rose-1), var(--blue-1));
  border: 1px solid var(--rose-soft); display: flex; flex-direction: column;
  align-items: flex-start; gap: 16px;
}
.day-cta-text { font-size: 14.5px; color: var(--mid); line-height: 1.7; font-weight: 300; margin: 0; }

.day-final-note {
  margin-top: 16px; padding: 14px 20px; border-radius: var(--r-md);
  background: var(--peach-bg); border: 1px solid rgba(255,107,60,.15);
  font-size: 14px; font-weight: 600; color: var(--dark); line-height: 1.55;
  display: flex; align-items: center; gap: 10px;
}
.day-final-note::before { content: '💡'; font-size: 17px; flex-shrink: 0; font-style: normal; line-height: 1; }


/* ════════════════════════════════════════════════
   БЛОК 8. ТИПИЧНЫЕ ОШИБКИ (mistakes-*)
   ════════════════════════════════════════════════ */
.mistakes-list { display: flex; flex-direction: column; gap: 12px; }
.mistake-item {
  display: grid; grid-template-columns: 52px 1fr; gap: 16px;
  align-items: start; padding: 18px 20px; border-radius: var(--r-md);
  border: 1px solid var(--border); background: var(--white);
  transition: transform .18s, box-shadow .18s;
}
.mistake-item:hover { transform: translateX(4px); box-shadow: var(--sh-sm); }
.mistake-num {
  width: 52px; height: 52px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-head); font-size: 22px; font-weight: 600;
  font-style: italic; flex-shrink: 0;
}
.mistake-item:nth-child(1) .mistake-num { background: var(--rose-1); color: var(--rose); }
.mistake-item:nth-child(2) .mistake-num { background: var(--sky-bg); color: var(--blue); }
.mistake-item:nth-child(3) .mistake-num { background: var(--peach-bg); color: #C97A40; }
.mistake-item:nth-child(4) .mistake-num { background: var(--mint-bg); color: var(--mint); }
.mistake-title { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 5px; }
.mistake-text { font-size: 13.5px; color: var(--mid); line-height: 1.6; font-weight: 300; }
.mistake-arrow {
  font-size: 12px; color: var(--muted); display: flex; align-items: center;
  gap: 4px; background: var(--light); border-radius: 8px;
  padding: 3px 10px; width: fit-content; margin-top: 6px;
}
.mistake-arrow::before { content: '→'; font-style: normal; }
.mistakes-conclusion {
  margin-top: 20px; padding: 20px 24px; border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--rose-2), var(--blue-2));
  border: 1px solid rgba(255,255,255,.6); box-shadow: var(--sh-sm);
  font-size: 15px; font-weight: 600; color: var(--dark); line-height: 1.65;
  display: flex; gap: 12px; align-items: center;
}
.mistakes-conclusion::before { content: '💬'; font-size: 20px; flex-shrink: 0; font-style: normal; }


/* ════════════════════════════════════════════════
   АДАПТИВНОСТЬ
   ════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .principles-grid { grid-template-columns: 1fr 1fr; }
  .split-cols { grid-template-columns: 1fr; }
  .day-structure { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .intro-body { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
  .principles-grid { grid-template-columns: 1fr; }
  .stage-block-header { padding: 18px 20px; }
  .stage-block-body { padding: 20px; }
  .stage-block-title { font-size: 17px; }
  .day-cta-block { padding: 18px; }
  .day-cta-block .btn { width: 100%; justify-content: center; }
  .day-benefits { flex-direction: column; }
  .mistakes-list .mistake-item { grid-template-columns: 42px 1fr; gap: 12px; }
  .mistakes-list .mistake-num { width: 42px; height: 42px; font-size: 18px; }
}