/* ===================================
   DASTA - Responsive Styles
   =================================== */

@media (max-width: 968px){
  /* Navigation */
  .nav-menu{
    position: fixed;
    top: 80px;
    left: -100%;
    flex-direction: column;
    background: var(--bg-white);
    width: 100%;
    padding: 24px 30px 30px;
    box-shadow: 0 10px 30px var(--shadow);
    transition: var(--transition);
    align-items: flex-start;
    gap: 16px;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    border: 0;
  }
  .nav-menu.active{ left: 0; }

  .nav-menu::before,
  .nav-menu::after{
    content: none;
    display: none;
  }

  .nav-menu a:not(.btn-nav)::after{
    display: none;
    content: none;
  }

  .nav-menu a.active{
    color: var(--primary-color);
    font-weight: 700;
  }

  .nav-menu > li{ width: 100%; }

  .has-submenu > a{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 44px;
    padding: 6px 0;
  }

  .has-submenu > a::after{
    content: '';
    width: 8px;
    height: 8px;
    margin-left: 12px;
    border-right: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    transform: rotate(45deg);
    transform-origin: center;
    transition: transform 0.25s ease;
    flex-shrink: 0;
  }

  .submenu{
    position: static;
    opacity: 0;
    visibility: hidden;
    transform: none;
    box-shadow: none;
    background: var(--bg-light);
    margin-top: 0;
    border-radius: 10px;
    max-height: 0;
    padding: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-height 0.32s ease, opacity 0.22s ease, margin-top 0.22s ease, padding 0.22s ease;
  }

  .has-submenu.active .submenu{
    max-height: 220px;
    opacity: 1;
    visibility: visible;
    margin-top: 8px;
    padding: 8px 0;
    pointer-events: auto;
  }

  .has-submenu.active > a::after{
    transform: rotate(-135deg);
  }

  .submenu a{
    padding: 12px 16px;
    margin: 0 8px;
    border-radius: 8px;
    font-size: 18px;
    line-height: 1.3;
  }

  .mobile-menu-toggle{ display:flex; }

  /* Hero */
  .hero-title{ font-size: 42px; }
  .hero-subtitle{ font-size: 18px; }

  /* Stats */
  .stats-grid{
    grid-template-columns: repeat(2, 1fr);
    padding: 30px;
  }

  /* About */
  .about-grid{ grid-template-columns: 1fr; gap: 40px; }

  /* Services */
  .services-grid{ grid-template-columns: 1fr; }

  /* Process */
  .process-grid{ grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid{ grid-template-columns: 1fr; gap: 40px; }

  /* Typography */
  .section-title{ font-size: 32px; }
  .cta-title{ font-size: 36px; }

  /* FAB */
  .floating-buttons{
    right: 20px;
    bottom: 100px;
  }

  .fab-button{
    width: 50px;
    height: 50px;
  }

  .fab-button svg{
    width: 20px;
    height: 20px;
  }

  .map-container{ height: 350px; }

  .cookie-content{
    flex-direction: column;
    text-align: center;
  }

  .cookie-actions{
    width: 100%;
    flex-direction: column;
  }

  .cookie-btn{ width: 100%; }
}

@media (max-width: 640px){
  :root{ --section-padding: 60px; }

  .logo-img{ height: 40px; }

  .hero-title{ font-size: 32px; }
  .hero-subtitle{ font-size: 16px; }
  .hero-buttons{ flex-direction: column; }

  .btn{ padding: 12px 30px; font-size: 15px; }

  .stat-number{ font-size: 42px; }

  .stats-grid{
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 25px;
  }

  .section-title{ font-size: 28px; }
  .service-card{ padding: 30px; }

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

  .floating-buttons{
    right: 15px;
    bottom: 90px;
  }

  .fab-button{
    width: 48px;
    height: 48px;
  }

  .page-title{ font-size: 36px; }
  .page-subtitle{ font-size: 18px; }
}
