/* ============================================
   Medicar - Responsive Styles
   ============================================ */

/* ---- 1024px ---- */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

/* ---- 900px ---- */
@media (max-width: 900px) {
  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__image img {
    height: 300px;
  }

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

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

/* ---- 768px ---- */
@media (max-width: 768px) {
  .header__inner {
    padding: 10px 20px;
  }

  .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: -1;
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
  }

  .nav__list {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .nav__link {
    font-size: 20px;
    padding: 12px 24px;
  }

  .nav__cta {
    display: none;
  }

  .hamburger {
    display: flex;
    z-index: 1001;
  }

  .hero {
    min-height: 80vh;
  }

  .hero__stats {
    gap: 32px;
  }

  .stat__num {
    font-size: 26px;
  }

  .services__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .team__grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
  }

  .section {
    padding: 60px 0;
  }

  .section__header {
    margin-bottom: 40px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__brand img {
    margin: 0 auto 16px;
  }

  .footer__contact li,
  .footer__hours li {
    justify-content: center;
  }
}

/* ---- 480px ---- */
@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__stats {
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
  }

  .about__image img {
    height: 240px;
  }

  .schedule__card {
    padding: 24px 20px;
  }

  .contact__item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact__btn {
    width: 100%;
    justify-content: center;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
    font-size: 26px;
    bottom: 16px;
    right: 16px;
  }
}
