/* ================================================================
   BEACONBOLD – RESPONSIVE STYLESHEET
   css/responsive.css
================================================================ */

/* ── Large Desktop (1400px+) ────────────────────────────── */
@media (min-width: 1400px) {
  :root { --container: 1320px; }
  .hero-headline { font-size: 62px; }
}

/* ── Desktop (1024px – 1199px) ─────────────────────────── */
@media (max-width: 1199px) {
  .hero-inner { gap: 50px; }
  .tech-canvas { width: 360px; height: 360px; }

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

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

  .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact-col { grid-column: 1 / -1; }
}

/* ── Tablet (768px – 1023px) ────────────────────────────── */
@media (max-width: 1023px) {

  /* Nav */
  .desktop-nav { display: none; }
  .hamburger   { display: flex; }
  .mobile-menu { display: block; }
  .nav-cta     { display: none; }

  /* Hero */
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 60px;
    padding-top: 80px;
    text-align: center;
    min-height: auto;
    padding-bottom: 60px;
  }
  .hero-content { max-width: 600px; margin: 0 auto; }
  .hero-subtext { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats   { margin-inline: auto; }
  .hero-visual  { display: flex; justify-content: center; }
  .tech-canvas  { width: 320px; height: 320px; }
  .tc-1 { top: 10px; left: -10px; }
  .tc-2 { top: 5px; right: -10px; }
  .tc-3 { bottom: 10px; left: -10px; }
  .tc-4 { bottom: 5px; right: -10px; }
  .scroll-indicator { display: none; }

  /* About */
  .about-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .about-visual { order: -1; }
  .about-img-wrapper { height: 340px; }
  .about-content { max-width: 100%; }

  /* Services */
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }

  /* Why */
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }

  /* CTA */
  .cta-stats { flex-direction: column; gap: 20px; padding: 24px 32px; }
  .cta-stat-sep { width: 60px; height: 1px; }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact-col { grid-column: 1 / -1; }
}

/* ── Mobile (up to 767px) ───────────────────────────────── */
@media (max-width: 767px) {
  :root {
    --section-py: 72px;
    --container: 100%;
  }
  .container { padding: 0 20px; }

  /* Hero */
  .hero-section { min-height: auto; }
  .hero-inner { padding-top: 60px; padding-bottom: 60px; }
  .hero-headline { font-size: clamp(30px, 8vw, 44px); }
  .hero-subtext { font-size: 16px; }
  .hero-stats {
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 300px;
  }
  .stat-divider { width: 60px; height: 1px; }
  .tech-canvas { width: 260px; height: 260px; }
  .tc-1, .tc-2, .tc-3, .tc-4 { display: none; }

  /* Section headings */
  .section-heading { font-size: clamp(24px, 6vw, 34px); }

  /* About */
  .about-img-wrapper { height: 260px; }
  .acv-item { width: 90px; }
  .about-card-visual { width: 240px; height: 240px; }

  /* Services */
  .services-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .service-card { padding: 24px 18px; }
  .sc-desc { font-size: 12.5px; }

  /* Why */
  .why-grid { grid-template-columns: 1fr; gap: 14px; }
  .why-card { padding: 28px 22px; }

  /* CTA */
  .cta-section { padding: 80px 0; }
  .cta-heading { font-size: clamp(28px, 7vw, 40px); }
  .cta-stats { padding: 18px 24px; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 280px; justify-content: center; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-brand { grid-column: 1; }
  .footer-contact-col { grid-column: 1; }
  .footer-top { padding: 56px 0 44px; }
  .footer-bottom-inner { flex-direction: column; gap: 12px; text-align: center; }
  .footer-bottom-links { justify-content: center; }

  /* Back to top */
  .back-to-top { right: 18px; bottom: 18px; }
}

/* ── Small mobile (up to 480px) ─────────────────────────── */
@media (max-width: 480px) {
  .hero-inner { gap: 40px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 280px; justify-content: center; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 22px 20px; }
  .hero-stats { padding: 16px 18px; }
  .stat-number { font-size: 22px; }
  .about-card-visual { width: 200px; height: 200px; }
  .acv-item-3 { bottom: -20px; }
}

/* ── Reduced motion ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal-up,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
  }
}
