/* ==========================================================================
   Markavex — Responsive Stylesheet
   ========================================================================== */

/* Large desktops down */
@media (max-width: 1199.98px) {
  .hero-badge.badge-tl { left: 0; }
  .hero-badge.badge-br { right: 0; }
  .pf-mark { font-size: 4rem; }
}

/* Tablets / small desktops */
@media (max-width: 991.98px) {
  .section { padding: 72px 0; }
  .section-sm { padding: 48px 0; }

  .site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
  }

  .navbar-collapse {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-top: 12px;
    box-shadow: var(--shadow-md);
  }

  .navbar-nav .nav-link { padding: 10px 6px !important; }
  .navbar-nav .nav-link::after { display: none; }

  .header-actions { margin-top: 14px; }
  .header-social { margin-top: 10px; }

  .hero { padding: 130px 0 72px; text-align: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-stats { justify-content: center; }
  .hero-cta { justify-content: center; }
  .hero-image-wrap { margin-top: 48px; max-width: 480px; margin-left: auto; margin-right: auto; }

  .founder-card .inner { text-align: center; }
  .founder-photo { align-self: center; margin-top: 24px; }
  .founder-quote { text-align: left; }

  .cta-block { padding: 52px 26px; }
}

/* Landscape phones / small tablets */
@media (max-width: 767.98px) {
  .section { padding: 60px 0; }

  .hero h1 { font-size: 2.2rem; }
  .hero-lead { font-size: 1.05rem; }

  .hero-stats { gap: 24px; }
  .hero-stats .stat-num { font-size: 1.4rem; }

  .hero-badge { padding: 10px 14px; }
  .hero-badge .icon { width: 36px; height: 36px; }

  .card-glass { padding: 28px 24px; }

  .timeline::before { left: 22px; }
  .timeline-step { padding-left: 64px; }
  .timeline-step .step-num { width: 46px; height: 46px; font-size: 1rem; }

  .footer-social a { width: 38px; height: 38px; }

  .page-banner { padding: 120px 0 56px; }

  .float-btn { width: 50px; height: 50px; }
  .float-btn svg { width: 22px; height: 22px; }

  .cta-block { border-radius: 24px; }
}

/* Small phones */
@media (max-width: 575.98px) {
  .section { padding: 52px 0; }
  .container, .container-fluid { padding-left: 20px; padding-right: 20px; }

  .btn { width: 100%; }
  .hero-cta, .cta-buttons { flex-direction: column; width: 100%; }
  .btn-inline-auto { width: auto; }

  .hero h1 { font-size: 1.95rem; }
  .section-title { font-size: 1.7rem; }

  .hero-badge.badge-tl,
  .hero-badge.badge-br { position: static; margin: 12px auto 0; display: inline-flex; }

  .hero-stats { gap: 20px; }

  .contact-card { padding: 24px; }

  .founder-card { border-radius: 22px; }
  .cta-block { padding: 44px 20px; }

  .pf-mark { font-size: 3rem; }

  .back-to-top { left: 16px; bottom: 16px; }
  .float-btns { right: 16px; bottom: 16px; }
}
