﻿/* ==========================================================================
   ELITECH CORE - RESPONSIVE STYLES
   ========================================================================== */

/* Tablet Breakpoint (max-width: 1024px) */
@media (max-width: 1024px) {
  :root {
    --header-height: 72px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-badge {
    margin: 0 auto 1.5rem;
  }

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

  .hero-trust-micro {
    justify-content: center;
  }

  .ecosystem-card {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }

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

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

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

/* Mobile Breakpoint (max-width: 768px) */
@media (max-width: 768px) {
  .section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  /* Mobile Navigation Drawer */
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    z-index: 1001;
  }

  .mobile-toggle svg {
    width: 26px;
    height: 26px;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 82%;
    max-width: 380px;
    height: 100vh;
    background: var(--color-navy-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 2rem;
    gap: 1.25rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    transition: right var(--transition-normal);
    z-index: 999;
    overflow-y: auto;
  }

  .nav-menu.is-open {
    right: 0;
  }

  .nav-link {
    font-size: 1.15rem;
    color: var(--color-white);
    width: 100%;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-dropdown {
    position: static;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: none;
    border: none;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
  }

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

  .nav-mobile-cta {
    margin-top: 1.5rem;
    width: 100%;
  }

  .nav-mobile-cta .btn {
    width: 100%;
  }

  /* Overlay */
  .nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 998;
  }

  .nav-overlay.is-active {
    display: block;
  }

  /* Ecosystem Card adjustments on Mobile */
  .ecosystem-card {
    padding: 1.25rem;
  }

  .ecosystem-visual-wrap {
    height: 320px;
  }

  .eco-center-hub {
    width: 86px;
    height: 86px;
  }

  .eco-center-hub img {
    width: 32px;
  }

  .eco-hub-label {
    font-size: 0.5625rem;
  }

  .eco-ring-1 { width: 170px; height: 170px; }
  .eco-ring-2 { width: 260px; height: 260px; }

  .eco-node {
    padding: 0.4rem 0.65rem;
  }

  .eco-node-name {
    font-size: 0.6875rem;
  }

  .node-pos-2 { right: 0; }
  .node-pos-3 { right: 0; }
  .node-pos-5 { left: 0; }
  .node-pos-6 { left: 0; }

  .ecosystem-metrics-bar {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  /* Problem Banner */
  .problem-conclusion-banner {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  /* VIP Service */
  .vip-benefits-list {
    grid-template-columns: 1fr;
  }

  /* Process Timeline */
  .process-timeline {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  /* Form Grid */
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.col-span-2 {
    grid-column: span 1;
  }

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

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

  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
    padding: 0.65rem 1rem;
    font-size: 0.8125rem;
  }
}

/* Small Smartphone (max-width: 480px) */
@media (max-width: 480px) {
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

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

  .hero-trust-micro {
    flex-direction: column;
    gap: 0.75rem;
  }

  .trust-logos {
    gap: 1.5rem 2rem;
  }

  .portfolio-filter-bar {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }

  .filter-btn {
    flex-shrink: 0;
  }
}