/* ─── RESPONSIVE ──────────────────────────────── */

/* Hero mobile: SVG fades in fully, holds, then settles at 35% */
@keyframes heroSvgReveal {
  0%   { opacity: 0;    }
  12%  { opacity: 1;    }
  55%  { opacity: 1;    }
  100% { opacity: 0.35; }
}

/* Tablet */
@media (max-width: 1024px) {
  .services-grid  { grid-template-columns: repeat(2, 1fr); }
  .why-grid       { grid-template-columns: repeat(2, 1fr); }
  .hero-visual    { flex: 0 0 360px; }
}

/* Mobile */
@media (max-width: 768px) {
  .section { padding: 64px 0; }

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

  /* Hamburger menu */
  .nav-hamburger { display: flex; }

  /* Logo size on mobile */
  .nav-logo-img { width: 32px; height: 32px; }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--bg-border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 16px 24px 24px;
  }

  .nav-links.open { display: flex; }

  .nav-link {
    padding: 12px 0;
    font-size: 1rem;
    width: 100%;
    border-bottom: 1px solid var(--bg-border);
  }

  .nav-cta {
    margin-top: 16px;
    width: 100%;
    text-align: center;
    padding: 12px 20px;
  }

  /* Hero: illustration centered at top as decoration */
  .hero-inner  { flex-direction: column; gap: 0; position: relative; }
  .hero-visual {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width: 260px;
    max-width: none;
    transform: none !important;
    transition: none !important;
    animation: heroSvgReveal 3.8s ease-out forwards;
    pointer-events: none;
    z-index: 0;
  }
  .hero-content { position: relative; z-index: 1; }
  .hero-content.fade-in { transition-delay: 1.4s; }
  .hero-illustration { width: 100%; height: auto; }
  .hero { padding: 100px 0 64px; }

  .hero-stats   { flex-wrap: wrap; gap: 16px; }
  .stat-divider { display: none; }

  /* Grids */
  .services-grid  { grid-template-columns: 1fr; gap: 16px; }
  .why-grid       { grid-template-columns: 1fr; gap: 16px; }

  /* Contact */
  .contact-card { padding: 40px 24px; }

  /* Footer */
  .footer-inner  { flex-direction: column; align-items: center; text-align: center; }
  .footer-logo,
  .footer-copy,
  .footer-email  { text-align: center; }
}

/* Small mobile */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .nav-logo-img { width: 28px; height: 28px; }

  .hero-title       { font-size: 1.75rem; }
  .hero-description { font-size: 0.9375rem; }
  .section-title    { font-size: 1.5rem; }

  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; text-align: center; }

  .hero-stats { gap: 12px; }

  .contact-card { padding: 32px 20px; }}
