﻿/* ==========================================================================
   Towervsp Services - Responsive Media Queries & Mobile System
   ========================================================================== */

/* Laptops & Tablets (max-width: 1024px) */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.8rem;
  }

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

  .products-suite-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

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

  .contact-container {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 36px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

/* Tablets & Mobile Screens (max-width: 768px) */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .section {
    padding: 70px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-section {
    padding: 50px 0 70px 0;
  }

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

  .hero-lead {
    font-size: 1.05rem;
  }

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

  .leadership-header {
    flex-direction: column;
    text-align: center;
    gap: 18px;
  }

  .leadership-avatar-wrapper {
    margin: 0 auto;
  }

  .leader-socials {
    justify-content: center;
  }

  .mobile-toggle {
    display: flex;
  }

  /* Mobile Navigation Drawer */
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-medium);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 14px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-md);
  }

  .nav-menu.open {
    max-height: 500px;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    padding: 10px 14px;
    font-size: 1rem;
    border-radius: var(--radius-xs);
  }

  .nav-link:hover {
    background: #f1f5f9;
  }

  .header-actions .btn-sm {
    display: none;
  }

  .pipeline-step-card {
    flex-direction: column;
    gap: 14px;
    padding: 20px;
  }

  .corporate-box {
    padding: 24px;
  }

  .cta-banner {
    padding: 40px 20px;
  }

  .cta-banner h2 {
    font-size: 1.8rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Phones (max-width: 480px) */
@media (max-width: 480px) {
  .hero-stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-number {
    font-size: 1.8rem;
  }

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

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

  .leadership-card {
    padding: 24px 18px;
  }

  .leader-name {
    font-size: 1.5rem;
  }

  .info-val {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}
