﻿/* Responsive layout for desktop, laptop, tablet and mobile */
.nav-links.open {
  display: flex; flex-direction: column; position: absolute; top: 74px; right: 1rem; background: var(--panel-bg); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 1rem; border-radius: 18px; width: min(260px, calc(100vw - 2rem));
}

@media (max-width: 1200px) {
  .container { width: min(1100px, calc(100% - 2rem)); }
}

@media (max-width: 992px) {
  .card-grid, .stat-grid, .features-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .contact-cta { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav-links { display: none; }
  .brand img { width: 48px; height: 48px; }
  .brand-name { font-size: 0.8rem; }
  .hero-content { padding-top: 4.2rem; }
  .testimonial-slider { grid-template-columns: 1fr; }
  .slider-btn { display: none; }
  .card-grid, .stat-grid, .features-grid, .team-grid { grid-template-columns: 1fr; }
  .hero-actions { gap: 0.75rem; }
  .hero-actions .btn { width: 100%; }
  .floating-btn.call { right: 1.2rem; bottom: 5.4rem; }
  .top-header .container { flex-direction: column; align-items: flex-start; }
  .contact-cta { padding: 1.25rem; }
}

@media (max-width: 576px) {
  .container { width: min(100%, calc(100% - 1.2rem)); }
  .hero h1, .page-hero h1, .section-heading h2, .intro-grid h2 { font-size: clamp(1.6rem, 7vw, 2.4rem); }
  .hero-actions .btn { width: 100%; }
  .contact-cta { padding: 1.25rem; }
}

@media (max-width: 360px) {
  .brand-name { font-size: 0.7rem; }
  .nav-wrap { min-height: 68px; }
  .hero-content { padding: 4rem 0 3.5rem; }
}
