/* ============================================
   RESPONSIVE.CSS — Breakpoints & Mobile Rules
   ============================================ */

/* --- Tablet (max-width: 1024px) --- */
@media (max-width: 1024px) {
  :root {
    --fs-5xl: 2.5rem;
    --fs-4xl: 2rem;
  }

  .section {
    padding: var(--space-16) 0;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
    text-align: center;
  }

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

  .hero-desc {
    max-width: 600px;
  }

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

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

  .hero-shape {
    width: 320px;
    height: 320px;
  }

  .hero-icon-large svg {
    width: 120px;
    height: 120px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .about-content {
    text-align: center;
  }

  .about-list {
    align-items: center;
  }

  .about-item {
    max-width: 480px;
  }

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

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

  .services-grid .service-card:last-child {
    grid-column: span 2;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }

  .steps-grid {
    flex-wrap: wrap;
    gap: var(--space-6);
  }

  .step-connector {
    display: none;
  }

  .step-card {
    flex: 0 0 calc(50% - var(--space-6));
    max-width: none;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .faq-header {
    position: static;
    text-align: center;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .footer-brand {
    grid-column: span 2;
  }
}

/* --- Mobile Large (max-width: 768px) --- */
@media (max-width: 768px) {
  :root {
    --fs-5xl: 2rem;
    --fs-4xl: 1.75rem;
    --fs-3xl: 1.5rem;
    --navbar-height: 64px;
  }

  .section {
    padding: var(--space-12) 0;
  }

  .section-header {
    margin-bottom: var(--space-10);
  }

  /* Navbar Mobile */
  .navbar-toggle {
    display: flex;
  }

  .navbar-menu {
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-6);
    gap: var(--space-1);
    transform: translateX(100%);
    transition: transform var(--duration-slow) var(--ease);
    overflow-y: auto;
    z-index: 400;
  }

  .navbar-menu.open {
    transform: translateX(0);
  }

  .nav-link {
    padding: var(--space-4);
    font-size: var(--fs-base);
    border-radius: var(--radius-md);
  }

  .navbar-cta {
    margin-top: var(--space-4);
    text-align: center;
  }

  /* Hero Mobile */
  .hero {
    padding-top: calc(var(--navbar-height) + var(--space-10));
    padding-bottom: var(--space-16);
  }

  .hero-title {
    font-size: 1.875rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-trust {
    flex-direction: column;
    gap: var(--space-3);
    align-items: center;
  }

  .hero-shape {
    width: 260px;
    height: 260px;
  }

  .hero-icon-large svg {
    width: 90px;
    height: 90px;
  }

  .floating-card {
    padding: var(--space-2) var(--space-3);
    font-size: var(--fs-xs);
  }

  /* Stats Mobile */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
  }

  .stat-card {
    padding: var(--space-6);
  }

  .stat-number {
    font-size: var(--fs-3xl);
  }

  /* Features Mobile */
  .features-grid {
    grid-template-columns: 1fr;
  }

  /* Services Mobile */
  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-grid .service-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  /* Steps Mobile */
  .steps-grid {
    gap: var(--space-4);
  }

  .step-card {
    flex: 0 0 100%;
    padding: var(--space-6);
  }

  .step-number {
    font-size: var(--fs-4xl);
  }

  /* Testimonials Mobile */
  .testimonial-card {
    padding: var(--space-6);
  }

  .testimonial-text {
    font-size: var(--fs-base);
  }

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

  .contact-form,
  .info-card {
    padding: var(--space-6);
  }

  /* Footer Mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer-brand {
    grid-column: auto;
    text-align: center;
  }

  .footer-brand .navbar-brand {
    justify-content: center;
  }

  .footer-desc {
    margin: 0 auto var(--space-6);
  }

  .footer-social {
    justify-content: center;
  }

  .footer-links {
    text-align: center;
  }

  /* Toast Mobile */
  .toast-container {
    left: var(--space-4);
    right: var(--space-4);
  }

  .toast {
    min-width: auto;
    max-width: none;
  }

  /* Back to Top */
  .back-to-top {
    bottom: var(--space-4);
    right: var(--space-4);
    width: 42px;
    height: 42px;
  }
}

/* --- Mobile Small (max-width: 480px) --- */
@media (max-width: 480px) {
  :root {
    --fs-5xl: 1.75rem;
    --fs-4xl: 1.5rem;
  }

  .container {
    padding: 0 var(--space-4);
  }

  .hero-shape {
    width: 200px;
    height: 200px;
  }

  .hero-icon-large svg {
    width: 70px;
    height: 70px;
  }

  .floating-card-1 { right: -15%; }
  .floating-card-2 { left: -10%; }
  .floating-card-3 { right: 0; }

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

  .stat-number {
    font-size: var(--fs-2xl);
  }

  .stat-label {
    font-size: var(--fs-xs);
  }
}
