/* ========================================
   LOKENGO – Responsive Styles
   ======================================== */

/* ---- Tablet (max 1024px) ---- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-2xl);
  }

  .steps {
    flex-wrap: wrap;
    justify-content: center;
  }

  .steps::before {
    display: none;
  }

  .step {
    flex: 0 0 calc(33.333% - var(--sp-xl));
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__visual {
    max-width: 240px;
    margin: 0 auto;
  }

  .demo-locker__body {
    width: 180px;
    height: 220px;
  }

  .demo-locker__screen {
    width: 100px;
    height: 30px;
    font-size: 14px;
    letter-spacing: 4px;
    margin-top: 14px;
  }

  .hero-animation {
    max-width: 240px;
  }

  .hero-anim-label {
    padding: var(--sp-sm) var(--sp-md);
  }

  .hero-anim-label__title {
    font-size: var(--fs-xs);
  }

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

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

/* ---- Mobile Large (max 768px) ---- */
@media (max-width: 768px) {
  .info-strip {
    display: none;
  }

  .header .container {
    height: 64px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 360px;
    height: 100vh;
    background: var(--clr-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem var(--sp-xl) var(--sp-xl);
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform var(--duration-slow) var(--ease-smooth), visibility var(--duration-slow);
    z-index: var(--z-overlay);
    overflow-y: auto;
  }

  .nav.open {
    transform: translateX(0);
    visibility: visible;
  }

  .nav__list {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .nav__link {
    display: block;
    width: 100%;
    padding: var(--sp-md) var(--sp-lg);
    font-size: var(--fs-body);
    border-bottom: 1px solid var(--clr-border);
    border-radius: 0;
  }

  .nav__link.active::after {
    display: none;
  }

  .nav .btn {
    width: 100%;
    margin-top: var(--sp-lg);
  }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: calc(var(--z-overlay) - 1);
  }

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

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

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

  .footer__bottom {
    flex-direction: column;
    gap: var(--sp-md);
    text-align: center;
  }

  .section-header {
    margin-bottom: var(--sp-2xl);
  }

  .step {
    flex: 0 0 100%;
  }

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

  .store-card {
    flex-direction: column;
    text-align: center;
  }

  .pricing-card--popular {
    transform: scale(1);
  }

  .pricing-card--popular:hover {
    transform: translateY(-8px);
  }

  .testimonials-track .testimonial-card {
    padding: var(--sp-lg);
  }

  .hero-section {
    text-align: center;
    padding-top: 6rem;
  }

  .hero-section .btn {
    margin: 0 auto;
  }

  .page-hero {
    padding: 5rem 0 3rem;
  }
}

/* ---- Mobile Small (max 480px) ---- */
@media (max-width: 480px) {
  .hero__title {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }

  .counter-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-md);
  }

  .counter-item__number {
    font-size: 2rem;
  }

  .btn--lg {
    padding: 0.8rem 1.5rem;
    font-size: var(--fs-body);
  }

  .offer-card {
    padding: var(--sp-xl);
  }

  .offer-card__discount {
    font-size: 2.5rem;
  }

  .footer__newsletter-form {
    flex-direction: column;
  }

  .section {
    padding-top: clamp(3rem, 6vw, 5rem);
    padding-bottom: clamp(3rem, 6vw, 5rem);
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-lg);
  }

  .team-card-enhanced {
    padding: var(--sp-lg);
  }

  .team-card-enhanced__photo {
    width: 100px;
    height: 100px;
  }
}

