/* ==========================================================================
   DIGITAL STORM PICTURES PVT LTD — RESPONSIVE STYLES
   Mobile, Tablet, and Ultrawide Optimization
   ========================================================================== */

/* --- TABLETS & MEDIUM SCREENS (<= 1100px) --- */
@media (max-width: 1100px) {
  .hero-layout-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-copy-col {
    text-align: center;
    align-items: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-hud-strip {
    justify-content: center;
  }

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

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

  .cta-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .cta-banner-frame {
    padding: 2.25rem 1.75rem;
  }

  .trust-strip-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

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

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

/* --- SMALL TABLETS & PHONES (<= 820px) --- */
@media (max-width: 820px) {
  :root {
    --header-height: 72px;
  }

  .brand-logo-img {
    height: 50px;
  }

  .map-floating-bar {
    position: static;
    margin: 1.25rem;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
  }

  .map-directions-action {
    width: 100%;
    justify-content: center;
  }

  .map-details-footer {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.25rem;
  }

  body.menu-open {
    overflow: hidden;
  }

  .site-header {
    z-index: 99999;
    background: rgba(3, 6, 10, 0.98);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .site-header.scrolled {
    background: rgba(3, 6, 10, 0.98);
  }

  .header-inner {
    position: relative;
    z-index: 100000;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    width: 100dvw;
    height: calc(100vh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    background: #03060a;
    background: rgba(3, 6, 10, 0.98);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    flex-direction: column;
    padding: 1.5rem 1.25rem 3.5rem 1.25rem;
    gap: 0.75rem;
    align-items: stretch;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 99999;
    border-top: 1px solid rgba(0, 229, 255, 0.2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.95);
    display: flex;
  }

  .main-nav.active {
    transform: translateX(0);
  }

  .mobile-toggle {
    display: flex;
    background: rgba(11, 20, 34, 0.85);
    border: 1px solid rgba(0, 229, 255, 0.35);
    color: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 6px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100001;
    flex-shrink: 0;
    transition: all var(--transition-fast);
  }

  .mobile-toggle:hover,
  .mobile-toggle.active {
    background: rgba(0, 229, 255, 0.15);
    border-color: var(--brand-cyan);
    color: var(--brand-cyan);
  }

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

  .main-nav .nav-link {
    font-size: 1.05rem;
    width: 100%;
    padding: 0.85rem 1.15rem;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .main-nav .nav-link:hover,
  .main-nav .nav-link.active {
    color: var(--brand-cyan);
    background: rgba(0, 229, 255, 0.08);
    border-color: rgba(0, 229, 255, 0.3);
  }

  .main-nav .nav-link.active::after {
    display: none;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-menu {
    position: static;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(7, 12, 20, 0.95);
    border: 1px solid rgba(0, 229, 255, 0.18);
    border-radius: var(--radius-sm);
    box-shadow: none;
    display: none;
    margin-top: 0.5rem;
    padding: 0.5rem;
    gap: 0.35rem;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    display: flex;
    flex-direction: column;
  }

  .dropdown-item {
    padding: 0.75rem 0.85rem;
    border-radius: var(--radius-xs);
    background: rgba(255, 255, 255, 0.02);
  }

  .dropdown-item:hover {
    background: rgba(0, 229, 255, 0.08);
  }

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

  .filmography-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
  }

  .poster-title {
    font-size: 0.95rem;
  }

  .trusted-logos-row.row-5,
  .trusted-logos-row.row-4 {
    grid-template-columns: repeat(3, 1fr);
    max-width: 100%;
    gap: 1rem;
  }

  .metrics-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .metric-card {
    padding: 2rem 1.5rem;
  }

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

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

@media (max-width: 560px) {
  .trusted-logos-row.row-5,
  .trusted-logos-row.row-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .metrics-strip {
    grid-template-columns: 1fr;
  }

  .cta-form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .cta-form-inner {
    padding: 1.5rem 1.15rem;
    gap: 1.15rem;
  }

  .form-input,
  .form-select,
  .form-textarea {
    padding: 0.9rem 1.1rem;
    min-height: 48px;
    font-size: 0.975rem;
  }

  .form-textarea {
    min-height: 140px;
  }

  .cta-chip span {
    padding: 0.5rem 0.85rem;
    font-size: 0.8rem;
  }

  .cta-actions {
    flex-direction: column;
  }

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

/* --- VERY SMALL PHONES (<= 480px) --- */
@media (max-width: 480px) {
  .hero-main-title {
    font-size: 2.25rem;
  }

  .hero-hud-strip {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

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

  .filmography-filter-bar {
    gap: 0.4rem;
  }

  .filter-btn {
    padding: 0.45rem 0.85rem;
    font-size: 0.775rem;
  }
}
