/* ==========================================================================
   Responsive Breakpoints & Advanced Mobile Optimization
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-features {
    justify-content: center;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero-stats {
    justify-content: center;
  }

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

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

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

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

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

@media (max-width: 1024px) {
  .top-bar {
    display: none;
  }

  .site-header {
    height: 70px;
  }

  .nav-inner {
    height: 70px;
  }

  .logo-img {
    height: 42px;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: calc(100vh - 70px);
    background: #091320;
    border-left: 1px solid var(--dark-border);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
    gap: 14px;
    transition: right 0.35s ease, left 0.35s ease;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.6);
    overflow-y: auto;
    z-index: 10001;
    margin: 0;
  }

  html[dir="ltr"] .nav-links {
    right: auto;
    left: -100%;
    border-left: none;
    border-right: 1px solid var(--dark-border);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.6);
  }

  .nav-links.active {
    right: 0;
  }

  html[dir="ltr"] .nav-links.active {
    right: auto;
    left: 0;
  }

  .nav-link {
    font-size: 1.05rem;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 0;
  }

  .nav-cta {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 36px 0 50px;
  }

  .hero-title {
    font-size: 1.85rem;
    line-height: 1.3;
  }

  .hero-desc {
    font-size: 0.98rem;
    margin-bottom: 20px;
  }

  .hero-quick-call-box {
    flex-direction: column;
    text-align: center;
    width: 100%;
    padding: 16px;
  }

  .hero-qc-info {
    flex-direction: column;
  }

  .floating-badge.badge-top-left {
    top: 10px;
    left: 10px;
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .floating-badge.badge-bottom-right {
    bottom: 10px;
    right: 10px;
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .hero-img-box img {
    height: 320px;
  }

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

  .calc-box {
    padding: 22px 16px;
  }

  .calc-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

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

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

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

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

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

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

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

  .cta-actions .btn {
    width: 100%;
  }

  .floating-actions {
    display: none; /* Replaced by bottom sticky bar on mobile */
  }

  .scroll-top-btn {
    bottom: 80px;
    right: 14px;
  }

  .mobile-bottom-bar {
    display: block;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.65rem;
  }

  .hero-features {
    grid-template-columns: 1fr;
    text-align: right;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    width: 100%;
  }

  .google-badge-hero {
    flex-direction: column;
    text-align: center;
    padding: 18px 14px;
  }

  .gb-left {
    flex-direction: column;
  }

  .calc-result-box {
    flex-direction: column;
    text-align: center;
  }

  .calc-result-box .btn {
    width: 100%;
  }

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