* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #f8f8fb;
  color: #252733;
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e7e9f0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  max-width: 1150px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}

.logo {
  margin: 0;
  font-size: 28px;
  color: #d97706;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  text-decoration: none;
  color: #353b47;
  font-weight: 700;
  transition: 0.3s;
}

.nav a:hover {
  color: #d97706;
}

.burger {
  display: none;
  border: none;
  background: #fff2df;
  color: #d97706;
  font-size: 24px;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  cursor: pointer;
}

.diet-page {
  max-width: 1150px;
  margin: 0 auto;
  padding: 30px 20px 60px;
}

.diet-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  border: 1px solid #f5d9b0;
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 12px 30px rgba(217, 119, 6, 0.08);
}

.eyebrow {
  display: inline-block;
  background: #ffe7c2;
  color: #c56a05;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}

.diet-hero-text h1 {
  margin: 0 0 16px;
  font-size: 46px;
  line-height: 1.1;
  color: #2f261b;
}

.hero-description {
  font-size: 18px;
  line-height: 1.75;
  color: #67584a;
  margin-bottom: 22px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.btn {
  text-decoration: none;
  padding: 13px 22px;
  border-radius: 14px;
  font-weight: 700;
  transition: 0.3s;
}

.btn.primary {
  background: #d97706;
  color: white;
}

.btn.primary:hover {
  background: #b96304;
}

.btn.secondary {
  background: white;
  color: #d97706;
  border: 1px solid #f0cfaa;
}

.btn.secondary:hover {
  background: #fffaf3;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badges span {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #f1d7b6;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: #786558;
}

.diet-hero-image img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  border-radius: 22px;
}

.section {
  margin-top: 54px;
}

.section h2 {
  font-size: 32px;
  margin: 0 0 16px;
  color: #252d38;
}

.section p {
  color: #5f6777;
  line-height: 1.8;
  font-size: 17px;
}

.info-grid,
.food-grid,
.meal-grid,
.related-grid,
.split-grid,
.phase-grid {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.info-grid {
  grid-template-columns: repeat(3, 1fr);
}

.food-grid {
  grid-template-columns: repeat(3, 1fr);
}

.meal-grid {
  grid-template-columns: repeat(4, 1fr);
}

.related-grid {
  grid-template-columns: repeat(3, 1fr);
}

.split-grid {
  grid-template-columns: 1fr 1fr;
}

.phase-grid {
  grid-template-columns: repeat(2, 1fr);
}

.info-card,
.food-card,
.meal-card,
.faq-item,
.related-card,
.split-card,
.phase-card {
  background: white;
  border: 1px solid #e8ebf2;
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.info-card h3,
.food-card h3,
.meal-card h3,
.faq-item h3,
.related-card h3,
.split-card h3,
.phase-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 21px;
  color: #d97706;
}

.phase-subtitle {
  font-size: 17px;
  font-weight: 700;
  color: #374151 !important;
  margin-bottom: 10px !important;
}

.food-card ul,
.split-card ul {
  margin: 0;
  padding-left: 20px;
  color: #5f6777;
  line-height: 1.9;
}

.image-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 24px;
}

.image-row img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  border-radius: 22px;
}

.meal-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 10px;
}

.faq-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.faq-item p,
.related-card p,
.info-card p,
.meal-card p,
.phase-card p {
  margin: 0;
  color: #5f6777;
  line-height: 1.8;
}

.related-card {
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(217, 119, 6, 0.08);
}

.back-link {
  display: inline-block;
  margin-top: 36px;
  text-decoration: none;
  font-weight: 700;
  color: #d97706;
}

.back-link:hover {
  color: #b96304;
  text-decoration: underline;
}

@media (max-width: 980px) {
  .diet-hero,
  .split-grid,
  .image-row {
    grid-template-columns: 1fr;
  }

  .info-grid,
  .food-grid,
  .related-grid,
  .phase-grid {
    grid-template-columns: 1fr 1fr;
  }

  .meal-grid {
    grid-template-columns: 1fr 1fr;
  }

  .diet-hero-text h1 {
    font-size: 38px;
  }
}

@media (max-width: 768px) {
  .burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    display: none;
    position: absolute;
    top: 78px;
    right: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    background: white;
    border: 1px solid #e8ebf2;
    border-radius: 16px;
    padding: 16px;
    width: 220px;
    box-shadow: 0 12px 24px rgba(217, 119, 6, 0.12);
  }

  .nav.open {
    display: flex;
  }

  .diet-page {
    padding: 22px 14px 50px;
  }

  .diet-hero {
    padding: 20px;
  }

  .diet-hero-text h1 {
    font-size: 32px;
  }

  .hero-description,
  .section p {
    font-size: 16px;
  }

  .section h2 {
    font-size: 28px;
  }
}

@media (max-width: 600px) {
  .info-grid,
  .food-grid,
  .meal-grid,
  .related-grid,
  .phase-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    padding: 16px 14px;
  }

  .logo {
    font-size: 24px;
  }

  .diet-hero-image img {
    min-height: 240px;
  }

  .image-row img {
    height: 220px;
  }
}