/* ==========================================================================
   RESPONSIVE & MOBILE-FIRST OPTIMIZATIONS
   ========================================================================== */

/* Touch Target Sizes & Fluid Typography for Mobile Accessibility */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-headline {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
  }

  .hero-subtext {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-social-wrap {
    justify-content: center;
  }

  .bio-grid,
  .community-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

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

/* Medium Tablets & Mobile Devices (Max 768px) */
@media (max-width: 768px) {
  .navbar {
    padding: 0.85rem 0;
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 48px;
    border-radius: var(--radius-sm);
  }

  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    height: calc(100vh - 72px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2.5rem 1.5rem;
    gap: 1.75rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
    width: 100%;
    text-align: center;
  }

  .nav-actions {
    display: none;
  }

  .hero-section {
    padding-top: 7rem;
    padding-bottom: 4rem;
  }

  .hero-headline {
    font-size: clamp(1.85rem, 6vw, 2.5rem);
  }

  .hero-subtext {
    font-size: 1rem;
  }

  .floating-badge {
    padding: 0.6rem 0.9rem;
  }

  .floating-badge-1 {
    top: 3%;
    left: -2%;
  }

  .floating-badge-2 {
    bottom: 3%;
    right: -2%;
  }

  .section-title {
    font-size: clamp(1.75rem, 5vw, 2.25rem);
  }

  .proposals-grid,
  .activities-grid {
    grid-template-columns: 1fr;
  }

  .growth-banner {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
    padding: 1.5rem;
  }

  .banner-left {
    flex-direction: column;
    text-align: center;
  }

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

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

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

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

/* Small SmartPhones (Max 480px) */
@media (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-headline {
    font-size: 1.75rem;
  }

  .btn-primary-wa,
  .btn-secondary-join {
    width: 100%;
    min-height: 52px;
  }

  .tab-btn {
    padding: 0.75rem 1rem;
    font-size: 0.88rem;
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  .form-card,
  .wa-spotlight-card {
    padding: 1.25rem;
  }

  .floating-wa-btn {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 54px;
    height: 54px;
    font-size: 1.6rem;
  }
}
