/* ==========================================================================
   JQSystem E.I.R.L. - Master Stylesheet (Crisp Light Tech Theme)
   High-Tech Custom Software Development Design System (Ultra Mobile Responsive)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;600;700&family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700;800&display=swap');

:root {
  /* Brand Palette (Derived from JQSystem Logo) */
  --brand-green: #7AB800;
  --brand-green-hover: #679B00;
  --brand-green-glow: rgba(122, 184, 0, 0.25);
  
  --brand-blue: #0B65C6;
  --brand-blue-hover: #084DA1;
  --brand-blue-glow: rgba(11, 101, 198, 0.25);

  --accent-orange: #FF7E1D;
  --accent-purple: #8A2BE2;
  --accent-teal: #00B4D8;
  --accent-red: #E63946;

  /* Light High-Tech Theme Colors */
  --bg-main: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFFFF;
  --bg-nav: rgba(255, 255, 255, 0.94);
  --border-color: rgba(15, 23, 42, 0.08);
  --border-glow: rgba(122, 184, 0, 0.4);

  /* Typography */
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-code: 'Fira Code', monospace;

  /* Text Colors (High Contrast) */
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-subtle: #64748B;

  /* Layout & Transitions */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card: 0 10px 30px rgba(15, 23, 42, 0.06);
  --shadow-hover: 0 18px 40px rgba(11, 101, 198, 0.12);
}

/* Base Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

/* Background Soft Ambient Light Glows */
body::before {
  content: '';
  position: fixed;
  top: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(122, 184, 0, 0.12) 0%, rgba(255,255,255,0) 70%);
  z-index: -1;
  pointer-events: none;
  filter: blur(80px);
}

body::after {
  content: '';
  position: fixed;
  bottom: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(11, 101, 198, 0.1) 0%, rgba(255,255,255,0) 70%);
  z-index: -1;
  pointer-events: none;
  filter: blur(100px);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
}

.text-gradient {
  background: linear-gradient(135deg, var(--brand-green) 0%, #5B9B00 40%, var(--brand-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-code {
  font-family: var(--font-code);
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Glassmorphism Light Card Style */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.glass-card:hover {
  border-color: rgba(122, 184, 0, 0.4);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

/* Buttons & CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-green) 0%, #88C025 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 18px var(--brand-green-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #679B00 0%, #7AB800 100%);
  box-shadow: 0 6px 24px rgba(122, 184, 0, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.btn-secondary:hover {
  background: #F1F5F9;
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  transform: translateY(-2px);
}

.btn-blue {
  background: linear-gradient(135deg, var(--brand-blue) 0%, #157BEA 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 18px var(--brand-blue-glow);
}

.btn-blue:hover {
  background: linear-gradient(135deg, #084DA1 0%, #157BEA 100%);
  box-shadow: 0 6px 24px rgba(11, 101, 198, 0.4);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.875rem;
}

/* Navbar (Dark Theme Accent) */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11, 16, 29, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.85rem 0;
  transition: var(--transition);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.3);
}

.navbar .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand Logo Styling */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-code);
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
}

.logo-bracket-left {
  color: var(--brand-green);
  font-size: 1.6rem;
  font-weight: 800;
}

.logo-bracket-right {
  color: var(--brand-blue);
  font-size: 1.6rem;
  font-weight: 800;
}

.logo-text {
  color: var(--brand-green);
  font-size: 1.2rem;
  letter-spacing: -0.5px;
}

.logo-subtext {
  color: var(--brand-blue);
  font-weight: 600;
}

.logo-cursor {
  color: var(--brand-green);
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-weight: 500;
  color: #94A3B8;
  font-size: 0.95rem;
  position: relative;
  padding: 0.25rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-green);
  font-weight: 700;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-green), #A2DF2B);
  transition: var(--transition);
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(122, 184, 0, 0.6);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #F8FAFC;
  font-size: 1.6rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 6.5rem 0 5rem 0;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(122, 184, 0, 0.12);
  border: 1px solid rgba(122, 184, 0, 0.3);
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-pill);
  color: #5B8A00;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  line-height: 1.35;
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 600px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero Tech Code Window Graphic */
.hero-visual {
  position: relative;
  width: 100%;
}

.code-window {
  background: #0F172A;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
  overflow: hidden;
  width: 100%;
}

.window-header {
  background: #1E293B;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #FF5F56; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #27C93F; }

.window-title {
  margin-left: auto;
  font-family: var(--font-code);
  font-size: 0.8rem;
  color: #94A3B8;
}

.code-content {
  padding: 1.5rem;
  font-family: var(--font-code);
  font-size: clamp(0.75rem, 2vw, 0.9rem);
  color: #F8FAFC;
  line-height: 1.8;
  overflow-x: auto;
}

.code-keyword { color: #F472B6; }
.code-func { color: #A2DF2B; }
.code-string { color: #38BDF8; }
.code-comment { color: #64748B; }

/* Floating Cubes */
.floating-cube {
  position: absolute;
  width: 45px;
  height: 45px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  animation: float 4s ease-in-out infinite;
}

.cube-1 {
  top: -20px;
  right: -20px;
  background: linear-gradient(135deg, var(--brand-green), #A2DF2B);
  animation-delay: 0s;
}

.cube-2 {
  bottom: -20px;
  left: -20px;
  background: linear-gradient(135deg, var(--brand-blue), #38BDF8);
  animation-delay: 1.5s;
}

.cube-3 {
  top: 45%;
  right: -30px;
  background: linear-gradient(135deg, var(--accent-orange), #FFBD2E);
  animation-delay: 2.5s;
  width: 35px;
  height: 35px;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(8deg); }
}

/* Trust Bar / Metrics */
.stats-section {
  padding: 3rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: #FFFFFF;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-number {
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--brand-green);
  font-family: var(--font-title);
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  color: var(--brand-green);
  font-family: var(--font-code);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Services Section */
.services-section {
  padding: 6rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  padding: 2.25rem;
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(122, 184, 0, 0.1);
  color: var(--brand-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(122, 184, 0, 0.2);
}

.service-card:nth-child(even) .service-icon {
  background: rgba(11, 101, 198, 0.1);
  color: var(--brand-blue);
  border-color: rgba(11, 101, 198, 0.2);
}

.service-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.service-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.service-link {
  color: var(--brand-green);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
}

.service-link i {
  transition: var(--transition);
}

.service-link:hover i {
  transform: translateX(4px);
}

/* Products Section (CMS Showcase) */
.products-section {
  padding: 6rem 0;
  background: #F1F5F9;
}

.category-filter {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  padding-bottom: 0.5rem;
}

.filter-btn {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  box-shadow: 0 2px 5px rgba(0,0,0,0.02);
  white-space: nowrap;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--brand-green);
  color: #FFFFFF;
  border-color: var(--brand-green);
  font-weight: 600;
  box-shadow: 0 4px 15px var(--brand-green-glow);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #E2E8F0;
}

.product-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img-wrapper img {
  transform: scale(1.08);
}

.product-category-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  color: var(--brand-blue);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-color);
}

.product-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.product-desc {
  color: var(--text-muted);
  font-size: 0.925rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.product-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.tech-badge {
  background: #F1F5F9;
  border: 1px solid var(--border-color);
  color: var(--text-subtle);
  font-family: var(--font-code);
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  gap: 0.5rem;
}

/* Modal View */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 2.5rem;
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.2);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: #F1F5F9;
  border: none;
  color: var(--text-main);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--accent-red);
  color: #FFF;
}

/* Contact & Location Section */
.contact-section {
  padding: 6rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info-card {
  padding: 2.5rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.info-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: rgba(122, 184, 0, 0.1);
  color: var(--brand-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  border: 1px solid rgba(122, 184, 0, 0.2);
}

.info-title {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.info-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Map Container */
#leaflet-map {
  width: 100%;
  height: 280px;
  border-radius: var(--radius-md);
  margin-top: 1.5rem;
  border: 1px solid var(--border-color);
  z-index: 1;
}

/* Contact Form */
.contact-form-card {
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: #F8FAFC;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--brand-green);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px var(--brand-green-glow);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.alert-message {
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  display: none;
}

.alert-success {
  background: rgba(122, 184, 0, 0.12);
  border: 1px solid var(--brand-green);
  color: #5B8A00;
}

.alert-error {
  background: rgba(230, 57, 70, 0.12);
  border: 1px solid var(--accent-red);
  color: #C5221F;
}

/* Footer (Dark Theme) */
.footer {
  background: #070B14;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4rem 0 2rem 0;
  color: #F8FAFC;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-about p {
  color: #94A3B8;
  font-size: 0.925rem;
  margin-top: 1rem;
}

.footer-title {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  color: #F8FAFC;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: #94A3B8;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--brand-green);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #64748B;
  font-size: 0.875rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Top Announcement Bar */
.top-bar {
  background: #070B14;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.45rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* About Grid */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* Floating WhatsApp CTA Button */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: #FFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.5);
  color: #FFF;
}

/* ==========================================================================
   Mobile Responsive Navigation & Breakpoints
   ========================================================================== */

/* Tablet & Smaller Desktops (< 992px) */
@media (max-width: 991px) {
  .top-bar {
    display: none;
  }

  .navbar {
    padding: 0.75rem 0;
  }

  .hero {
    padding: 3.5rem 0 3rem 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.75rem;
    text-align: center;
  }

  .hero-content {
    align-items: center;
    text-align: center;
    margin: 0 auto;
    max-width: 680px;
    width: 100%;
  }

  .hero-badge {
    margin: 0 auto 1.25rem auto;
    justify-content: center;
    text-align: center;
  }

  .hero-title {
    text-align: center;
    margin: 0 auto 1rem auto;
    max-width: 640px;
  }

  .hero-subtitle {
    margin: 0 auto 2rem auto;
    text-align: center;
    max-width: 580px;
  }

  .hero-actions {
    justify-content: center;
    margin: 0 auto;
  }

  .hero-visual {
    max-width: 540px;
    margin: 0 auto;
    width: 100%;
  }

  .floating-cube {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: #0B101D;
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

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

/* Mobile Devices & Phablets (< 769px) */
@media (max-width: 768px) {
  .hero {
    padding: 2.75rem 0 2.25rem 0;
  }

  .hero-badge {
    font-size: 0.82rem;
    padding: 0.4rem 0.95rem;
    margin: 0 auto 1.15rem auto;
    max-width: 95%;
    line-height: 1.35;
  }

  .hero-title {
    font-size: clamp(1.85rem, 6.5vw, 2.35rem);
    line-height: 1.2;
    margin: 0 auto 1rem auto;
    text-align: center;
    max-width: 100%;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0 auto 1.75rem auto;
    max-width: 520px;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 360px;
    gap: 0.75rem;
    margin: 0 auto;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.4rem;
    font-size: 0.95rem;
  }

  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
    font-size: 1.7rem;
  }

  .services-section, .products-section, .contact-section {
    padding: 3.5rem 0;
  }

  .section-header {
    margin-bottom: 2.25rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .section-desc {
    font-size: 0.95rem;
  }

  .category-filter {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.75rem;
    gap: 0.5rem;
    margin-bottom: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-info-card, .contact-form-card {
    padding: 1.75rem;
  }

  .modal-container {
    padding: 1.75rem;
    width: 95vw;
    max-height: 90vh;
  }
}

/* Small Smartphone Screens (< 481px) */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .brand-logo {
    font-size: 1.1rem;
  }

  .logo-bracket-left, .logo-bracket-right {
    font-size: 1.35rem;
  }

  .logo-text {
    font-size: 1.05rem;
  }

  .hero {
    padding: 2.25rem 0 1.75rem 0;
  }

  .hero-badge {
    font-size: 0.78rem;
    padding: 0.35rem 0.8rem;
    margin-bottom: 1rem;
  }

  .hero-title {
    font-size: clamp(1.65rem, 7.5vw, 1.95rem);
    line-height: 1.22;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
  }

  .hero-actions .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }

  .code-content {
    padding: 1rem;
    font-size: 0.72rem;
    line-height: 1.6;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 0.75rem;
  }

  .stat-number {
    font-size: 1.6rem;
  }

  .stat-label {
    font-size: 0.78rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
    padding-top: 1.5rem;
  }

  .service-card, .product-body, .contact-info-card, .contact-form-card {
    padding: 1.35rem;
  }

  .floating-whatsapp {
    bottom: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
    font-size: 1.55rem;
  }

  #leaflet-map {
    height: 220px;
  }
}
