/* ================================================================
   The Lion's Kingdom IT Solutions LLC — Responsive Styles
   Mobile-first breakpoints:
     sm:  640px+
     md:  768px+
     lg:  1024px+
     xl:  1200px+
   ================================================================ */

/* ----------------------------------------------------------------
   Large desktops (xl: 1200px+) — already handled by max-width
   ---------------------------------------------------------------- */

/* ----------------------------------------------------------------
   Desktops / Laptops (lg: 1024px) — nav collapses below this
   ---------------------------------------------------------------- */
@media (max-width: 1023px) {

  /* Navigation */
  .nav-menu, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  /* Hero two-col → stacked */
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual { order: -1; }

  .hero-logo-wrap {
    width: 220px;
    height: 220px;
  }

  .hero-logo-wrap img {
    width: 180px;
    height: 180px;
  }

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

  .hero-stats {
    max-width: 400px;
    margin: 40px auto 0;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ----------------------------------------------------------------
   Tablets (md: 768px)
   ---------------------------------------------------------------- */
@media (max-width: 768px) {

  :root {
    --section-py: 60px;
    --section-py-sm: 36px;
  }

  /* Grids — classes and inline grid styles */
  .grid-2,
  .grid-3,
  .grid-4,
  .section [style*="grid-template-columns"],
  .section--dark [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

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

  /* Hero stats */
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  /* CTA Banner */
  .cta-banner {
    padding: 40px 28px;
  }

  /* Page hero */
  .page-hero {
    padding: 120px 0 60px;
  }

  /* Section header */
  .section-header {
    margin-bottom: 40px;
  }
}

/* ----------------------------------------------------------------
   Mobile (sm: 640px)
   ---------------------------------------------------------------- */
@media (max-width: 640px) {

  :root {
    --container-px: 16px;
    --section-py:   48px;
  }

  /* Hero */
  .hero {
    padding: 100px 0 60px;
  }

  .hero-logo-wrap {
    width: 180px;
    height: 180px;
  }

  .hero-logo-wrap img {
    width: 150px;
    height: 150px;
  }

  .hero-text h1 {
    font-size: 1.9rem;
  }

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

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

  .hero-stat-value {
    font-size: 1.5rem;
  }

  /* Buttons */
  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .btn-lg {
    padding: 14px 28px;
    font-size: 0.95rem;
  }

  /* CTA banner */
  .cta-banner {
    padding: 36px 20px;
  }

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

  .cta-banner .btn-group {
    flex-direction: column;
    align-items: center;
  }

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

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

  /* Nav logo text — hide tagline on very small */
  .nav-logo-text .brand-tagline {
    display: none;
  }

  /* Service card padding */
  .service-card {
    padding: 28px 20px;
  }

  /* Page hero */
  .page-hero {
    padding: 110px 0 50px;
  }
}

/* ----------------------------------------------------------------
   Very small phones (480px)
   ---------------------------------------------------------------- */
@media (max-width: 480px) {

  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.45rem; }
  h3 { font-size: 1.2rem; }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }
}

/* ----------------------------------------------------------------
   Print styles
   ---------------------------------------------------------------- */
@media print {
  .site-nav,
  .hero-bg,
  .hero-grid,
  .cta-banner,
  .site-footer {
    display: none;
  }

  body {
    background: white;
    color: #000;
  }
}
