@media (max-width: 1024px) {
  :root {
    --max-width: 960px;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .articles-layout {
    grid-template-columns: 1fr;
  }

  .diet-row {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .reverse-row .diet-img-wrapper {
    grid-column: auto;
  }

  .reverse-row .diet-content {
    grid-column: auto;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .header-container {
    height: 70px;
  }

  .nav-menu, .header-actions {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .timeline::before {
    left: 2rem;
  }

  .timeline-item {
    width: 100%;
    padding-left: 4rem;
    padding-right: 0;
    text-align: left !important;
  }

  .timeline-item:nth-child(even) {
    left: 0;
  }

  .timeline-marker {
    left: 2rem !important;
    transform: translateX(-50%);
  }

  .bmi-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .mobile-nav {
    width: 75%;
    right: -75%;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 1.25rem;
  }

  .hero {
    min-height: 70vh;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-ctas {
    flex-direction: column;
    gap: 0.75rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .stat-card {
    padding: 1.25rem 0.75rem;
  }


  .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-panel {
    padding: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
  }

  .footer-bottom-links {
    flex-direction: column;
    gap: 0.75rem;
  }

  .custom-alert-box {
    padding: 2rem 1.5rem;
  }

  .mobile-nav {
    width: 75%;
    right: -75%;
  }
}

@media (max-width: 1024px) {
  .hero-split-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-split {
    min-height: auto;
    padding: 3rem 0;
  }
  .hero-split-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-split-content h1 {
    font-size: 3rem;
  }
  .hero-split-content p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-split-image-container {
    margin-top: 2rem;
  }
  .hero-floating-badge {
    left: -20px;
  }
  .hero-floating-badge-bottom {
    right: -10px;
  }
}

@media (max-width: 768px) {
  .hero-split-content h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .hero-split-content h1 {
    font-size: 2rem;
  }
  .hero-split-ctas {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .hero-split-ctas .btn {
    width: 100%;
  }
  .hero-floating-badge {
    left: 0;
    top: -20px;
    padding: 0.75rem 1rem;
  }
  .hero-floating-badge-bottom {
    right: 0;
    bottom: -20px;
  }
  .hero-split-image-frame {
    max-width: 320px;
  }
}

