* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #f7f8f7;
  color: #243126;
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e8ece8;
  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: #1d6d37;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  text-decoration: none;
  color: #2f3a31;
  font-weight: 700;
  transition: 0.3s;
}

.nav a:hover {
  color: #2563eb;
}

.burger {
  display: none;
  border: none;
  background: #eef4ff;
  color: #2563eb;
  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;
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.eyebrow {
  display: inline-block;
  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;
}

.hero-description {
  font-size: 18px;
  line-height: 1.75;
  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;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badges span {
  background: white;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.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: #18251c;
}

.section p {
  color: #4d5c50;
  line-height: 1.8;
  font-size: 17px;
}

.info-grid,
.food-grid,
.meal-grid,
.related-grid,
.split-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;
}

.info-card,
.food-card,
.meal-card,
.faq-item,
.related-card,
.split-card {
  background: white;
  border: 1px solid #e6ece7;
  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 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 21px;
}

.food-card ul,
.split-card ul {
  margin: 0;
  padding-left: 20px;
  color: #4d5c50;
  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 {
  margin: 0;
  color: #4d5c50;
  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(0, 0, 0, 0.07);
}

.back-link {
  display: inline-block;
  margin-top: 36px;
  text-decoration: none;
  font-weight: 700;
}

/* HIGH PROTEIN PAGE STYLES */

.protein-page .diet-hero {
  background: linear-gradient(135deg, #eef7ff, #e7f0ff);
  border: 1px solid #d8e5f7;
}

.protein-page .eyebrow {
  background: #dcecff;
  color: #215e9e;
}

.protein-page .diet-hero-text h1 {
  color: #142235;
}

.protein-page .hero-description {
  color: #4d5f73;
}

.protein-page .btn.primary {
  background: #2563eb;
  color: white;
}

.protein-page .btn.primary:hover {
  background: #1d4ed8;
}

.protein-page .btn.secondary {
  background: white;
  color: #2563eb;
  border: 1px solid #bfd3f3;
}

.protein-page .btn.secondary:hover {
  background: #f4f8ff;
}

.protein-page .hero-badges span {
  border: 1px solid #d7e4f5;
  color: #42617d;
}

.protein-page .info-card h3,
.protein-page .food-card h3,
.protein-page .split-card h3,
.protein-page .meal-card h3,
.protein-page .faq-item h3,
.protein-page .related-card h3 {
  color: #215e9e;
}

.protein-page .back-link {
  color: #2563eb;
}

.protein-page .back-link:hover {
  color: #1d4ed8;
}

/* RESPONSIVE */

@media (max-width: 980px) {
  .diet-hero,
  .split-grid,
  .image-row {
    grid-template-columns: 1fr;
  }

  .info-grid,
  .food-grid,
  .related-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 #e6ece7;
    border-radius: 16px;
    padding: 16px;
    width: 220px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  }

  .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 {
    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;
  }
}