/* ==========================================================================
   SARL EL MANAKIB - Site Web Officiel
   Télésurveillance & Télécommunication | Matériels Télécom et Radio
   ========================================================================== */

:root {
  /* Palette de couleurs officielle */
  --primary: #005fa3;
  --primary-dark: #083c6c;
  --primary-deep: #091c33;
  --primary-light: #e8f3fa;
  --primary-hover: #0074c7;
  
  --accent: #f29c11;
  --accent-hover: #d98808;
  --accent-light: #fef7ec;
  
  --dark-navy: #0b1526;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --bg-body: #ffffff;
  --bg-alt: #f8fafc;
  --bg-card: #ffffff;
  --bg-deep: #0b1728;
  
  --border-light: #e2e8f0;
  --border-subtle: #cbd5e1;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(11, 23, 40, 0.07);
  --shadow-lg: 0 10px 25px -5px rgba(11, 23, 40, 0.1);
  --shadow-xl: 0 20px 35px -10px rgba(11, 23, 40, 0.15);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-body);
  line-height: 1.65;
  overflow-x: hidden;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

h1, h2, h3, h4, h5, h6, .brand-name, .hero-title, .section-title, .cta-title {
  font-family: var(--font-heading);
  letter-spacing: -0.025em;
}

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

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

ul {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 60px 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-alt);
}

.section-dark {
  background-color: var(--bg-deep);
  color: #ffffff;
}

/* Header & Typography */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
  border: 1px solid rgba(0, 95, 163, 0.15);
}

.section-badge.badge-accent {
  background-color: var(--accent-light);
  color: var(--accent);
  border-color: rgba(242, 156, 17, 0.25);
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.section-dark .section-title {
  color: #ffffff;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 720px;
  line-height: 1.7;
}

.section-dark .section-desc {
  color: #94a3b8;
}

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

.section-header.text-center {
  text-align: center;
}

.section-header.text-center .section-desc {
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 95, 163, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 95, 163, 0.35);
}

.btn-accent {
  background-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(242, 156, 17, 0.3);
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(242, 156, 17, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

.btn-white {
  background-color: #ffffff;
  color: var(--primary-dark);
}

.btn-white:hover {
  background-color: #f8fafc;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.85rem;
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Top bar with official info */
.topbar {
  background-color: var(--primary-deep);
  color: #cbd5e1;
  font-size: 0.82rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fbb017;
  font-weight: 600;
}

.topbar-info {
  display: flex;
  align-items: center;
  gap: 22px;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #e2e8f0;
}

.topbar-item:hover {
  color: #ffffff;
}

.topbar-item svg {
  width: 14px;
  height: 14px;
  stroke: var(--accent);
}

/* Sticky Main Navigation Header */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.main-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  background-color: #ffffff;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-emblem {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-subtitle-mini {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.brand-tagline {
  font-size: 0.65rem;
  font-weight: 700;
  color: #475569;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}


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

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-main);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.25s ease;
  border-radius: 2px;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-main);
}

.mobile-toggle svg {
  width: 26px;
  height: 26px;
  display: block;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 40px 0 46px;
  background: linear-gradient(135deg, #ffffff 0%, #f4f8fc 50%, #eaf2f9 100%);
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.98fr;
  align-items: center;
  gap: 36px;
}

.hero-content {
  max-width: 620px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background-color: #ffffff;
  color: var(--primary-dark);
  border: 1px solid rgba(0, 95, 163, 0.18);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.hero-tag-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

/* Hero Partner Showcase (Enhanced Position) */
.hero-partner-showcase {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95));
  border: 1px solid rgba(0, 95, 163, 0.2);
  box-shadow: 0 8px 30px rgba(11, 34, 56, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
  border-radius: 16px;
  padding: 8px 20px 8px 10px;
  margin-bottom: 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-partner-showcase:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(11, 34, 56, 0.14), 0 2px 6px rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 95, 163, 0.35);
}

.partner-badge-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 10px;
  padding: 3px 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
}

.partner-badge-img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
}

.partner-badge-text-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.partner-badge-heading {
  display: flex;
  align-items: center;
  gap: 7px;
}

.partner-pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  animation: partnerPulse 2s infinite;
  flex-shrink: 0;
}

@keyframes partnerPulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.partner-badge-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--primary-deep, #0b2238);
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.partner-badge-desc {
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
  line-height: 1.2;
}

@media (max-width: 640px) {
  .hero-partner-showcase {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 14px;
    width: 100%;
  }
  .partner-badge-img {
    height: 38px;
  }
}

.hero-title {
  font-size: clamp(1.95rem, 2.5vw, 2.5rem);
  font-weight: 800;
  color: var(--dark-navy);
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.hero-title-highlight {
  color: var(--primary);
  display: inline;
}

.hero-lead {
  font-size: 0.98rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 18px;
  max-width: 560px;
}

.hero-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.pillar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background-color: #ffffff;
  color: var(--text-main);
  border: 1px solid rgba(0, 95, 163, 0.14);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}

.pillar-badge:hover {
  background-color: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.pillar-badge svg {
  width: 14px;
  height: 14px;
  stroke: var(--primary);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero Media Composition */
.hero-media {
  position: relative;
}

.hero-card-main {
  background-color: #ffffff;
  border-radius: 18px;
  padding: 10px;
  box-shadow: 0 20px 45px -12px rgba(8, 60, 108, 0.18), 0 0 0 1px rgba(0, 95, 163, 0.08);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.hero-card-main:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 55px -12px rgba(8, 60, 108, 0.24), 0 0 0 1px rgba(0, 95, 163, 0.16);
}

.hero-image-wrapper {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 10.5;
  background-color: #0b1526;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-card-main:hover .hero-image-wrapper img {
  transform: scale(1.035);
}

.hero-badge-overlay {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  padding: 11px 15px;
  background: rgba(9, 28, 51, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 10px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.hero-overlay-title {
  font-size: 0.88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
  color: #ffffff;
}

.live-indicator {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseLive 2s infinite;
}

@keyframes pulseLive {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.hero-overlay-sub {
  font-size: 0.74rem;
  color: #cbd5e1;
  line-height: 1.35;
}

/* Floating credential badges */
.hero-float-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 9px 14px;
  box-shadow: 0 10px 24px -4px rgba(11, 23, 40, 0.12), 0 0 0 1px rgba(0, 95, 163, 0.08);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
  transition: transform 0.3s ease;
}

.float-top {
  top: -12px;
  right: -8px;
  animation: floatGently 4.8s ease-in-out infinite;
}

.float-bottom {
  bottom: -14px;
  left: -10px;
  animation: floatGently 5.6s ease-in-out infinite 1.4s;
}

.float-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.float-icon.icon-accent {
  background-color: var(--accent-light);
  color: var(--accent);
}

.float-icon svg {
  width: 18px;
  height: 18px;
}

.float-label {
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.15;
  letter-spacing: 0.03em;
}

.float-val {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--dark-navy);
}

@keyframes floatGently {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* ==========================================================================
   BANDEAU DE CONFIANCE (TRUST STRIP)
   ========================================================================== */
.trust-strip {
  background-color: #ffffff;
  padding: 28px 0;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 16px -6px rgba(0, 0, 0, 0.04);
  position: relative;
  z-index: 10;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background-color: var(--bg-alt);
  border: 1px solid rgba(226, 232, 240, 0.9);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.trust-item:hover {
  background-color: #ffffff;
  border-color: rgba(0, 95, 163, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px -6px rgba(0, 95, 163, 0.1);
}

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-icon.icon-blue {
  background-color: #e0f2fe;
  color: #0284c7;
}

.trust-icon.icon-amber {
  background-color: #fef3c7;
  color: #d97706;
}

.trust-icon.icon-emerald {
  background-color: #dcfce7;
  color: #16a34a;
}

.trust-icon svg {
  width: 22px;
  height: 22px;
}

.trust-info {
  display: flex;
  flex-direction: column;
}

.trust-value {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--dark-navy);
  line-height: 1.25;
}

.trust-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin-top: 2px;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 60px;
  align-items: center;
}

.about-images-cluster {
  position: relative;
}

.about-img-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  background-color: #ffffff;
}

.about-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-card-badge {
  position: absolute;
  bottom: -24px;
  right: -10px;
  background-color: var(--primary-dark);
  color: #ffffff;
  padding: 22px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  max-width: 280px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.about-card-badge .badge-icon {
  width: 32px;
  height: 32px;
  color: var(--accent);
  margin-bottom: 8px;
}

.about-card-badge h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.about-card-badge p {
  font-size: 0.8rem;
  color: #cbd5e1;
  line-height: 1.4;
}

.about-text h3 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--dark-navy);
  margin-bottom: 16px;
  line-height: 1.3;
}

.about-lead {
  font-size: 1.08rem;
  color: var(--text-main);
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 1.7;
}

.about-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 28px;
}

.about-keypoints {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.about-point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
}

.about-point svg {
  width: 20px;
  height: 20px;
  stroke: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.about-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.stat-item h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.stat-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   EXPERTISE SECTION (4 Cards)
   ========================================================================== */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.expertise-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.expertise-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: transparent;
  transition: var(--transition);
}

.expertise-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 95, 163, 0.25);
}

.expertise-card:hover::before {
  background-color: var(--primary);
}

.expertise-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.expertise-num {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary);
  background-color: var(--primary-light);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.expertise-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: var(--transition);
}

.expertise-card:hover .expertise-icon {
  background-color: var(--primary);
  color: #ffffff;
}

.expertise-icon svg {
  width: 24px;
  height: 24px;
}

.expertise-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.3;
}

.expertise-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.expertise-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
}

.expertise-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.expertise-link:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
   SOLUTIONS SECTION
   ========================================================================== */
.solutions-compact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.solution-compact-item {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
}

.solution-compact-item:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 95, 163, 0.35);
  box-shadow: var(--shadow-md);
}

.solution-compact-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.solution-compact-icon svg {
  width: 19px;
  height: 19px;
}

.solution-compact-text {
  min-width: 0;
  overflow: hidden;
}

.solution-compact-text h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 2px;
  line-height: 1.25;
  overflow-wrap: break-word;
}

.solution-compact-text p {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin: 0;
}

/* Fallback for legacy solutions-grid */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.solution-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 95, 163, 0.3);
}

.solution-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.solution-icon-box svg {
  width: 22px;
  height: 22px;
}

.solution-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 10px;
}

.solution-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Sectors bar inside Solutions */
.sectors-banner {
  margin-top: 48px;
  background-color: var(--primary-deep);
  border-radius: var(--radius-lg);
  padding: 36px 42px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.sectors-info h4 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.sectors-info p {
  font-size: 0.95rem;
  color: #94a3b8;
}

.sectors-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sector-pill {
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: #f1f5f9;
}

/* ==========================================================================
   PRODUCTS CATALOG & GALLERY
   ========================================================================== */
.catalog-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 22px;
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 95, 163, 0.25);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 95, 163, 0.3);
}

.product-thumb {
  position: relative;
  background-color: #f8fafc;
  padding: 24px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}

.product-thumb img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.3s ease;
}

.product-card:hover .product-thumb img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  border: 1px solid var(--border-light);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
}

.product-featured-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #fef08a;
  color: #854d0e;
  border: 1px solid #fde047;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.product-card.is-featured-product {
  border-color: #93c5fd;
  box-shadow: 0 4px 14px rgba(0, 95, 163, 0.08);
}

/* Bouton Flottant WhatsApp */
.whatsapp-float-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  z-index: 999;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  text-decoration: none;
}

.whatsapp-float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
  color: #ffffff;
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.whatsapp-float-btn:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

.product-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.product-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 8px;
  line-height: 1.35;
}

.product-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.product-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.product-cta {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.product-zoom-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-zoom-icon svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   INSTALLATION & MISE EN SERVICE (Process Steps)
   ========================================================================== */
.process-timeline,
.process-timeline-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  margin-top: 20px;
}

.process-step {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.process-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 95, 163, 0.3);
}

.step-num-badge {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1;
  opacity: 0.9;
}

.step-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 8px;
  line-height: 1.3;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   UNIFIED SAV & ACCESSORIES BLOCK
   ========================================================================== */
.sav-unified-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  margin-top: 32px;
}

.sav-unified-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  align-items: stretch;
}

.sav-unified-bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sav-bullet-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
}

.sav-bullet-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--primary);
  flex-shrink: 0;
}

.sav-card-box {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.sav-features-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.sav-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.sav-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sav-feature-icon svg {
  width: 22px;
  height: 22px;
}

.sav-feature-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 4px;
}

.sav-feature-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Accessories Tags */
.accessories-box {
  background-color: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 22px;
  border: 1px solid var(--border-light);
}

.accessories-box h5 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.accessories-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.acc-tag {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
}

/* ==========================================================================
   PARTNERS / TECHNOLOGIES SECTION
   ========================================================================== */
.partners-section {
  padding: 64px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.partners-wrap {
  text-align: center;
}

.partners-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.partner-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}

.partner-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 95, 163, 0.3);
}

.partner-card img {
  max-height: 38px;
  width: auto;
  object-fit: contain;
}

.partner-text-brand {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--primary-deep);
}

.partner-badge-status {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  background-color: var(--accent-light);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   WHY CHOOSE US (POURQUOI EL MANAKIB)
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.why-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 95, 163, 0.25);
}

.why-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.why-icon.icon-accent {
  background-color: var(--accent-light);
  color: var(--accent);
}

.why-icon svg {
  width: 24px;
  height: 24px;
}

.why-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 12px;
}

.why-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   FINAL CTA BANNER
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  color: #ffffff;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.cta-banner::after {
  content: '';
  position: absolute;
  top: -50%;
  right: 0;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(0, 95, 163, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  max-width: 640px;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 1.05rem;
  color: #cbd5e1;
  line-height: 1.65;
}

.cta-actions {
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: flex-start;
}

.contact-info-panel {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.contact-info-panel h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark-navy);
  margin-bottom: 12px;
}

.contact-intro {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--primary);
  flex-shrink: 0;
}

.contact-item-content h5 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-item-content p,
.contact-item-content a {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--dark-navy);
  line-height: 1.5;
}

.contact-item-content a:hover {
  color: var(--primary);
}

.contact-legal-box {
  background-color: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  border: 1px solid var(--border-light);
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-legal-box strong {
  color: var(--dark-navy);
}

/* Contact Form */
.contact-form-panel {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 38px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width {
  grid-column: 1 / -1;
  margin-bottom: 20px;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  font-size: 0.95rem;
  color: var(--text-main);
  background-color: #ffffff;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 95, 163, 0.15);
}

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

.form-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Form Toast Notification */
.form-toast {
  display: none;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  margin-top: 18px;
  font-size: 0.9rem;
  font-weight: 500;
  align-items: center;
  gap: 10px;
}

.form-toast.success {
  display: flex;
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-toast.error {
  display: flex;
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Map Frame */
.map-wrapper {
  margin-top: 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  height: 360px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
  background-color: var(--primary-deep);
  color: #94a3b8;
  padding: 80px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand-desc {
  font-size: 0.92rem;
  line-height: 1.7;
  margin-top: 18px;
  margin-bottom: 24px;
  color: #cbd5e1;
}

.footer-agrement-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  color: #f1f5f9;
}

.footer-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background-color: var(--accent);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: #cbd5e1;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

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

.footer-legal-inline {
  display: flex;
  gap: 16px;
}

/* ==========================================================================
   MODAL LIGHTBOX
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 23, 40, 0.82);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.modal-container {
  background-color: #ffffff;
  border-radius: 16px;
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  box-shadow: 0 24px 50px rgba(7, 42, 74, 0.24), 0 4px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-light);
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: grid;
  grid-template-columns: 290px 1fr;
  overflow: hidden;
}

.modal-overlay.active .modal-container {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  color: var(--text-main);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.modal-close-btn:hover {
  background-color: var(--primary);
  color: #ffffff;
  transform: rotate(90deg);
}

.modal-close-btn svg {
  width: 18px;
  height: 18px;
}

/* Colonne Gauche : Image + Actions Rapides */
.modal-image-col {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-right: 1px solid var(--border-light);
  text-align: center;
}

.modal-image-wrapper {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  padding: 8px;
}

.modal-image-col img {
  max-width: 100%;
  max-height: 165px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.08));
  transition: transform 0.25s ease;
}

.modal-image-col img:hover {
  transform: scale(1.04);
}

.modal-left-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.btn-whatsapp-order {
  background-color: #25D366;
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.86rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.28);
  transition: all 0.2s;
  border: none;
  width: 100%;
}

.btn-whatsapp-order:hover {
  background-color: #1eb956;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.38);
}

.btn-pdf-download {
  background-color: #f0f7ff;
  color: #005fa3;
  border: 1.5px solid #005fa3;
  padding: 9px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: all 0.2s;
  width: 100%;
}

.btn-pdf-download:hover {
  background-color: #005fa3;
  color: #ffffff;
  transform: translateY(-1px);
}

.modal-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.modal-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 4px;
}

.modal-gallery[hidden] {
  display: none;
}

.modal-thumb {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 54px;
  padding: 4px 2px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.modal-thumb img {
  width: 36px;
  height: 36px;
  max-height: none;
  object-fit: contain;
}

.modal-thumb span {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--text-muted);
}

.modal-thumb:hover,
.modal-thumb.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(0, 95, 163, 0.12);
}

/* Colonne Droite : Données Techniques & Spécifications */
.modal-info-col {
  padding: 22px 26px 18px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  max-height: 88vh;
}

.modal-tags-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
  padding-right: 28px;
}

.modal-brand-badge {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary);
  background-color: var(--primary-light);
  border: 1px solid rgba(0, 95, 163, 0.2);
  padding: 2px 8px;
  border-radius: 5px;
  letter-spacing: 0.2px;
}

.modal-category-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: #334155;
  background-color: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 2px 8px;
  border-radius: 5px;
}

.modal-agrement-badge {
  font-size: 0.70rem;
  font-weight: 700;
  color: #166534;
  background-color: #dcfce7;
  border: 1px solid #86efac;
  padding: 2px 7px;
  border-radius: 5px;
}

.modal-title {
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--dark-navy);
  margin-bottom: 2px;
  line-height: 1.25;
  letter-spacing: -0.2px;
}

.modal-subtitle {
  font-size: 0.82rem;
  font-weight: 600;
  color: #0284c7;
  margin-bottom: 8px;
  line-height: 1.3;
}

.modal-desc {
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.45;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.modal-specs-container {
  background-color: #f8fafc;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 12px;
  border: 1px solid var(--border-light);
}

.modal-specs-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--dark-navy);
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid #e2e8f0;
}

.modal-specs-header svg {
  color: var(--primary);
}

.modal-specs-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 12px;
}

.modal-specs-grid li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-main);
  line-height: 1.35;
}

.modal-specs-grid .spec-check-icon {
  width: 13px;
  height: 13px;
  stroke: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.modal-bottom-bar {
  margin-top: auto;
  padding-top: 4px;
}

.btn-form-quote {
  background-color: #f8fafc;
  color: #334155;
  border: 1px solid #cbd5e1;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.78rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  width: 100%;
  justify-content: center;
}

.btn-form-quote:hover {
  background-color: #e2e8f0;
  color: #0f172a;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Tablets & Mobile)
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  
  .hero-pillars,
  .hero-actions {
    justify-content: center;
  }
  
  .hero-media {
    max-width: 580px;
    margin: 0 auto;
  }
  
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .process-timeline {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
}

@media (max-width: 860px) {
  .main-header {
    height: 72px;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-light);
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .header-actions .btn {
    display: none;
  }
  
  .topbar-info {
    display: none;
  }
  
  .about-grid,
  .sav-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .why-grid {
    grid-template-columns: 1fr;
  }
  
  .process-timeline {
    grid-template-columns: 1fr;
  }
  
  .modal-container {
    grid-template-columns: 1fr;
    max-height: 92vh;
  }
  
  .modal-image-col {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding: 24px;
  }

  .modal-image-col img {
    max-height: 220px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  
  .section {
    padding: 26px 0;
  }
  
  .section-header {
    margin-bottom: 16px;
  }
  
  .section-title {
    font-size: 1.35rem;
    line-height: 1.25;
    margin-bottom: 6px;
  }
  
  .section-badge {
    font-size: 0.72rem;
    padding: 4px 10px;
    margin-bottom: 8px;
  }
  
  .section-desc {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .topbar {
    text-align: center;
    font-size: 0.74rem;
    padding: 5px 0;
  }
  
  .topbar-badge {
    justify-content: center;
    width: 100%;
    text-align: center;
  }
  
  .brand-logo {
    gap: 8px;
  }
  
  .brand-emblem {
    width: 38px;
    height: 38px;
  }
  
  .brand-name {
    font-size: 1.05rem;
  }
  
  .brand-tagline {
    font-size: 0.56rem;
  }
  
  .hero-title {
    font-size: 1.75rem;
    line-height: 1.22;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  
  .hero-lead {
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 16px;
  }
  
  .hero-float-badge {
    display: none;
  }

  /* 1. SOLUTIONS: ultra-compact horizontal mini-items */
  .solutions-compact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  
  .solution-compact-item {
    padding: 7px 8px;
    gap: 7px;
    border-radius: 8px;
    min-width: 0;
  }
  
  .solution-compact-icon {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    flex-shrink: 0;
  }
  
  .solution-compact-icon svg {
    width: 13px;
    height: 13px;
  }
  
  .solution-compact-text {
    min-width: 0;
    overflow: hidden;
  }

  .solution-compact-text h4 {
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 2px;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  
  .solution-compact-text p {
    font-size: 0.62rem;
    line-height: 1.2;
    overflow-wrap: break-word;
  }

  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  
  .solution-card {
    padding: 13px 12px;
    border-radius: 12px;
  }
  
  .solution-icon-box {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    margin-bottom: 8px;
  }
  
  .solution-icon-box svg {
    width: 17px;
    height: 17px;
  }
  
  .solution-title {
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.25;
  }
  
  .solution-desc {
    font-size: 0.74rem;
    line-height: 1.38;
    color: var(--text-muted);
  }

  /* 2. EXPERTISES: 2-column compact cards */
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  
  .expertise-card {
    padding: 13px 12px;
    border-radius: 12px;
  }
  
  .expertise-header {
    margin-bottom: 8px;
  }
  
  .expertise-num {
    font-size: 0.74rem;
    padding: 2px 6px;
  }
  
  .expertise-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }
  
  .expertise-icon svg {
    width: 16px;
    height: 16px;
  }
  
  .expertise-title {
    font-size: 0.9rem;
    margin-bottom: 4px;
    line-height: 1.25;
  }
  
  .expertise-desc {
    font-size: 0.74rem;
    line-height: 1.38;
    margin-bottom: 8px;
  }
  
  .expertise-link {
    font-size: 0.76rem;
    gap: 4px;
  }
  
  .expertise-link svg {
    width: 13px;
    height: 13px;
  }

  /* 3. PRODUCTS: 2-column e-commerce style catalog */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  
  .catalog-filters {
    gap: 6px;
    margin-bottom: 18px;
  }
  
  .filter-btn {
    padding: 6px 12px;
    font-size: 0.78rem;
  }
  
  .product-card {
    border-radius: 12px;
  }
  
  .product-thumb {
    height: 120px;
    padding: 10px;
  }
  
  .product-badge {
    font-size: 0.62rem;
    padding: 2px 6px;
    top: 6px;
    left: 6px;
  }
  
  .product-body {
    padding: 9px 10px 11px;
  }
  
  .product-category {
    font-size: 0.66rem;
    margin-bottom: 2px;
  }
  
  .product-title {
    font-size: 0.86rem;
    margin-bottom: 4px;
  }
  
  .product-desc {
    font-size: 0.72rem;
    line-height: 1.35;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  .product-action-bar {
    padding-top: 5px;
  }
  
  .product-cta {
    font-size: 0.74rem;
  }
  
  .product-zoom-icon {
    width: 22px;
    height: 22px;
  }
  
  .product-zoom-icon svg {
    width: 12px;
    height: 12px;
  }

  /* 4. PROCESS / TIMELINE: 2-column compact modern grid */
  .process-timeline,
  .process-timeline-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 12px;
  }
  
  .process-step {
    padding: 10px 10px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    border-radius: 10px;
    text-align: left;
  }

  .step-num-badge {
    font-size: 1.15rem;
    margin-bottom: 2px;
  }
  
  .step-title {
    font-size: 0.84rem;
    margin-bottom: 2px;
  }
  
  .step-desc {
    font-size: 0.7rem;
    line-height: 1.3;
  }

  /* UNIFIED SAV & ACCESSORIES ON MOBILE */
  .sav-unified-card {
    padding: 16px 14px;
    border-radius: 12px;
    margin-top: 14px;
  }

  .sav-unified-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .sav-unified-info h3 {
    font-size: 1.05rem !important;
  }

  .sav-unified-bullets {
    gap: 8px;
  }

  .sav-bullet-item {
    font-size: 0.78rem;
    gap: 8px;
  }

  .sav-bullet-item svg {
    width: 15px;
    height: 15px;
  }

  /* 6. TRUST STRIP: 2-column compact */
  .trust-strip {
    padding: 14px 0;
  }
  
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  
  .trust-item {
    padding: 9px 11px;
    gap: 9px;
    border-radius: 10px;
  }
  
  .trust-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }
  
  .trust-icon svg {
    width: 16px;
    height: 16px;
  }
  
  .trust-value {
    font-size: 0.82rem;
  }
  
  .trust-desc {
    font-size: 0.68rem;
    line-height: 1.25;
  }

  /* 7. ABOUT SECTION */
  .about-img-card {
    height: 170px;
  }
  
  .about-img-card img {
    height: 100%;
    object-fit: cover;
  }
  
  .about-card-badge {
    padding: 9px 12px;
    left: 8px;
    bottom: 8px;
    right: 8px;
  }
  
  .about-card-badge h4 {
    font-size: 0.85rem;
  }
  
  .about-card-badge p {
    font-size: 0.72rem;
  }
  
  .about-lead {
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 10px;
  }
  
  .about-desc {
    font-size: 0.8rem;
    line-height: 1.55;
    margin-bottom: 14px;
  }
  
  .about-keypoints {
    gap: 8px;
    margin-bottom: 16px;
  }
  
  .about-point {
    font-size: 0.8rem;
  }
  
  .about-point svg {
    width: 15px;
    height: 15px;
  }
  
  .about-stats-row {
    padding-top: 12px;
    gap: 8px;
  }
  
  .stat-item h4 {
    font-size: 0.88rem;
  }
  
  .stat-item p {
    font-size: 0.7rem;
  }

  /* 8. SECTORS BANNER */
  .sectors-banner {
    margin-top: 20px;
    padding: 16px 14px;
    border-radius: 12px;
    gap: 12px;
  }
  
  .sectors-info h4 {
    font-size: 0.98rem;
  }
  
  .sectors-info p {
    font-size: 0.78rem;
  }
  
  .sectors-pills {
    gap: 6px;
  }
  
  .sector-pill {
    padding: 4px 10px;
    font-size: 0.72rem;
  }

  /* 9. MAINTENANCE & SAV */
  .sav-card {
    padding: 13px;
    border-radius: 10px;
  }
  
  .sav-item {
    gap: 10px;
    margin-bottom: 12px;
  }
  
  .sav-icon {
    width: 32px;
    height: 32px;
  }
  
  .sav-content h4 {
    font-size: 0.88rem;
    margin-bottom: 2px;
  }
  
  .sav-content p {
    font-size: 0.75rem;
  }

  /* 10. PARTNERS */
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  
  .partner-card {
    padding: 12px 8px;
    border-radius: 10px;
  }
  
  .partner-card img {
    max-height: 24px;
  }
  
  .partner-name {
    font-size: 0.74rem;
  }

  /* 11. CTA FINAL */
  .cta-banner {
    padding: 24px 16px;
    border-radius: 12px;
    text-align: center;
  }
  
  .cta-title {
    font-size: 1.25rem;
    line-height: 1.25;
    margin-bottom: 6px;
  }
  
  .cta-desc {
    font-size: 0.8rem;
    line-height: 1.45;
    margin-bottom: 16px;
  }
  
  .cta-actions {
    width: 100%;
  }
  
  .cta-actions .btn {
    width: 100%;
    padding: 10px 16px;
    font-size: 0.88rem;
  }

  /* 12. CONTACT */
  .contact-info-panel,
  .contact-form-card {
    padding: 16px 14px;
    border-radius: 12px;
  }
  
  .contact-info-panel h3 {
    font-size: 1.15rem;
  }
  
  .contact-intro {
    font-size: 0.8rem;
    margin-bottom: 14px;
  }
  
  .contact-item {
    gap: 10px;
    margin-bottom: 10px;
  }
  
  .contact-item-icon {
    width: 32px;
    height: 32px;
  }
  
  .contact-item-content h5 {
    font-size: 0.78rem;
  }
  
  .contact-item-content p {
    font-size: 0.78rem;
  }
  
  .form-group {
    margin-bottom: 10px;
  }
  
  .form-label {
    font-size: 0.78rem;
    margin-bottom: 3px;
  }
  
  .form-input,
  .form-select,
  .form-textarea {
    padding: 8px 11px;
    font-size: 0.84rem;
    border-radius: 8px;
  }
  
  .map-wrapper {
    height: 190px;
    border-radius: 10px;
    margin-top: 12px;
  }

  /* 13. FOOTER */
  .main-footer,
  .footer {
    padding: 28px 0 16px;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 18px;
  }
  
  .footer-brand-desc {
    font-size: 0.78rem;
    line-height: 1.45;
    margin-bottom: 10px;
  }

  .footer-heading {
    font-size: 0.88rem;
    margin-bottom: 8px;
  }
  
  .footer-links li {
    margin-bottom: 4px;
  }
  
  .footer-links a {
    font-size: 0.76rem;
  }
  
  .footer-bottom {
    padding-top: 14px;
    font-size: 0.7rem;
  }

  /* Mobile Modal Enhancements */
  .modal-overlay {
    padding: 10px 8px;
    align-items: center;
    backdrop-filter: blur(6px);
  }

  .modal-container {
    display: flex;
    flex-direction: column;
    max-height: 92vh;
    border-radius: 14px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-width: 460px;
    margin: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  }

  .modal-close-btn {
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    z-index: 100;
  }

  .modal-image-col {
    padding: 14px 12px 10px;
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    gap: 8px;
    flex-shrink: 0;
    background-color: #f8fafc;
  }

  .modal-image-wrapper {
    height: 130px;
    padding: 4px;
  }

  .modal-image-col img {
    max-height: 120px;
    max-width: 80%;
    object-fit: contain;
  }

  .modal-left-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    width: 100%;
  }

  .btn-whatsapp-order,
  .btn-pdf-download {
    padding: 8px 6px;
    font-size: 0.74rem;
    white-space: nowrap;
    border-radius: 7px;
  }

  .btn-whatsapp-order svg,
  .btn-pdf-download svg {
    width: 15px;
    height: 15px;
  }

  .modal-gallery {
    gap: 6px;
    margin-top: 2px;
  }

  .modal-thumb {
    width: 44px;
    padding: 3px 2px;
    border-radius: 6px;
  }

  .modal-thumb img {
    width: 28px;
    height: 28px;
  }

  .modal-thumb span {
    font-size: 0.60rem;
  }

  .modal-info-col {
    padding: 12px 14px 16px;
    flex: 1 1 auto;
    max-height: none;
    overflow-y: visible;
  }

  .modal-tags-row {
    padding-right: 0;
    margin-bottom: 6px;
  }

  .modal-title {
    font-size: 1.12rem;
    margin-bottom: 3px;
    line-height: 1.25;
  }

  .modal-subtitle {
    font-size: 0.78rem;
    margin-bottom: 6px;
  }

  .modal-desc {
    font-size: 0.78rem;
    line-height: 1.4;
    -webkit-line-clamp: 2;
    margin-bottom: 8px;
  }

  .modal-specs-container {
    padding: 8px 10px;
    margin-bottom: 8px;
    border-radius: 6px;
  }

  .modal-specs-header {
    font-size: 0.68rem;
    margin-bottom: 6px;
    padding-bottom: 4px;
  }

  .modal-specs-grid {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .modal-specs-grid li {
    font-size: 0.74rem;
    line-height: 1.3;
    gap: 5px;
  }

  .modal-bottom-bar {
    padding-top: 2px;
  }

  .btn-form-quote {
    padding: 7px 10px;
    font-size: 0.74rem;
  }

  /* Floating WhatsApp Button Mobile Optimization */
  .whatsapp-float-btn {
    bottom: 18px;
    right: 18px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float-btn svg {
    width: 26px;
    height: 26px;
  }

  .whatsapp-tooltip {
    display: none;
  }
}

@media (max-width: 380px) {
  .solutions-compact-grid,
  .solutions-grid,
  .expertise-grid,
  .why-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   ANIMATIONS & SCROLL REVEALS
   ========================================================================== */
.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }
.delay-5 { transition-delay: 0.40s; }
.delay-6 { transition-delay: 0.48s; }

/* Micro-interactions & Card polish */
.expertise-card,
.solution-card,
.product-card,
.process-step,
.why-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
}

.expertise-card:hover,
.solution-card:hover,
.product-card:hover,
.process-step:hover,
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px -8px rgba(0, 95, 163, 0.12);
  border-color: rgba(0, 95, 163, 0.3);
}

.btn .btn-icon {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}
