/* ==========================================================================
   DEVA AQUA SOLUTIONS - PREMIUM DESIGN SYSTEM & STYLESHEET
   Engineered Water & Wastewater Management Systems
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-dark: #1b5e20;
  --bg-card: #144719;
  --bg-card-hover: #1c5e22;
  --bg-surface: #0f3813;
  --bg-glass: rgba(20, 71, 25, 0.75);
  --bg-glass-card: rgba(20, 71, 25, 0.65);
  --border-color: rgba(255, 255, 255, 0.12);
  --border-focus: rgba(74, 222, 128, 0.5);
  
  --primary: #0088ff;
  --primary-light: #38b6ff;
  --primary-gradient: linear-gradient(135deg, #00d2ff 0%, #0066ff 100%);
  --cyan-accent: #00e5ff;
  --emerald: #10b981;
  --emerald-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --amber: #f59e0b;
  --danger: #ef4444;
  
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-white: #ffffff;
  
  /* Brand specific colors */
  --brand-3m: #ff2a2a;
  --brand-grundfos: #007ac2;
  --brand-kehems: #e63946;
  --brand-susbio: #2ecc71;
  --brand-huliot: #00a859;
  
  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Effects */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(74, 222, 128, 0.3);
  --shadow-glow-emerald: 0 0 30px rgba(16, 185, 129, 0.25);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  background-color: var(--bg-dark);
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition);
}

/* ==========================================================================
   TABBED SECTION VIEW SYSTEM (ZERO-SCROLL DIRECT VIEW SWITCHING)
   ========================================================================== */
.page-section {
  display: none !important;
  min-height: calc(100vh - 140px);
}

.page-section.active-section {
  display: block !important;
  animation: fadeInView 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#hero.page-section.active-section {
  display: flex !important;
}

.brand-strip-section {
  display: none !important;
}

#hero.active-section + .brand-strip-section {
  display: block !important;
  animation: fadeInView 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInView {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.text-center { text-align: center; }
.text-success { color: var(--emerald); }
.text-primary { color: var(--primary-light); }
.text-danger { color: var(--danger); }

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-white);
  font-weight: 700;
  line-height: 1.25;
}

.gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.25);
  color: var(--cyan-accent);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.7;
}

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

.btn-primary {
  background: var(--primary-gradient);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(0, 136, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 136, 255, 0.5);
  filter: brightness(1.1);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-white);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--cyan-accent);
  color: var(--cyan-accent);
  transform: translateY(-2px);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-white);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   TOP DIRECT CONTACT BAR
   ========================================================================== */
.top-bar {
  background: #0f3813;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.82rem;
  padding: 7px 0;
  position: relative;
  z-index: 50;
}

.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--emerald);
  font-weight: 600;
  font-size: 0.75rem;
}

.top-bar-brand-list {
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.8px;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.top-bar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-weight: 500;
}

.top-bar-link:hover {
  color: var(--cyan-accent);
}

.admin-desk-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(0, 136, 255, 0.15);
  border: 1px solid rgba(0, 136, 255, 0.3);
  color: var(--primary-light);
  font-size: 0.78rem;
  font-weight: 600;
}

.admin-desk-btn:hover {
  background: rgba(0, 136, 255, 0.3);
  color: #fff;
}

.lead-count-badge {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-full);
  padding: 1px 7px;
  font-size: 0.72rem;
  font-weight: 700;
}

/* ==========================================================================
   PRIMARY HEADER & NAV
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 56, 19, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
  transition: var(--transition);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #ffffff;
  line-height: 1.1;
  white-space: nowrap;
}

.logo-subtitle {
  font-size: 0.65rem;
  letter-spacing: 1.8px;
  color: var(--cyan-accent);
  font-weight: 600;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--cyan-accent);
  transition: var(--transition);
}

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

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

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: var(--transition);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
  overflow: hidden;
}

.hero-background-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.75) saturate(1);
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(34, 197, 94, 0.2) 0%, );
}

.hero-content-grid {
  position: relative;
  z-index: 5;
  max-width: 980px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: var(--radius-full);
  color: var(--cyan-accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan-accent);
  box-shadow: 0 0 10px var(--cyan-accent);
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.hero-heading {
  font-size: 3.4rem;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-description {
  font-size: 1.15rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 34px;
  max-width: 800px;
}

.hero-features-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 38px;
}

.hero-stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(15, 56, 19, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  padding: 12px 18px;
  border-radius: var(--radius-md);
}

.stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0, 210, 255, 0.15);
  color: var(--cyan-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.stat-info h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
}

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

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Quick Form Card */
.hero-form-card {
  background: rgba(15, 56, 19, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), var(--shadow-glow);
}

.form-card-header {
  margin-bottom: 22px;
}

.header-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.form-card-header h3 {
  font-size: 1.45rem;
  margin-bottom: 6px;
}

.form-card-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.hero-quick-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  background: rgba(10, 40, 15, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 0.9rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--cyan-accent);
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.35);
  background: rgba(15, 56, 19, 0.95);
}

.form-group select option {
  background: #144719;
  color: #ffffff;
}

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

.submit-btn {
  margin-top: 6px;
  padding: 14px;
  font-size: 1rem;
}

.form-guarantee {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.4;
  margin-top: 4px;
}

.form-guarantee strong {
  color: var(--text-muted);
}

/* ==========================================================================
   BRAND PARTNERS MARQUEE STRIP
   ========================================================================== */
.brand-strip-section {
  background: #144719;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 24px 0;
}

.brand-strip-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.brand-strip-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-dim);
}

.brand-badges-list {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.brand-badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.brand-badge-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.brand-logo-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.brand-logo-text.3m-logo { color: var(--brand-3m); }
.brand-logo-text.grundfos-logo { color: var(--brand-grundfos); }
.brand-logo-text.kehems-logo { color: var(--brand-kehems); }
.brand-logo-text.susbio-logo { color: var(--brand-susbio); }
.brand-logo-text.huliot-logo { color: var(--brand-huliot); }

.brand-role {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-weight: 500;
}

/* ==========================================================================
   THE 4 CORE PRODUCTS SECTION
   ========================================================================== */
.products-section {
  padding: 100px 0;
  background: radial-gradient(circle at 50% 10%, rgba(74, 222, 128, 0.08) 0%, transparent 60%);
}

.product-filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.filter-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.filter-btn.active {
  background: var(--primary-gradient);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(0, 136, 255, 0.4);
}

/* Product Cards Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

.product-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 210, 255, 0.35);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.product-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 10;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(15, 56, 19, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 210, 255, 0.4);
  color: var(--cyan-accent);
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-badge.secondary-badge {
  border-color: rgba(16, 185, 129, 0.4);
  color: var(--emerald);
}

.product-image-container {
  position: relative;
  height: 320px;
  background: linear-gradient(180deg, #103b14 0%, #16521c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.product-img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.5));
}

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

.product-brand-tag {
  position: absolute;
  bottom: 16px;
  right: 18px;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tag-3m { background: #ff2a2a; color: #fff; }
.tag-grundfos { background: #007ac2; color: #fff; }
.tag-kehems { background: #e63946; color: #fff; }
.tag-susbio { background: #16a34a; color: #fff; }
.tag-huliot { background: #00a859; color: #fff; }

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

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.product-category {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cyan-accent);
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-rating {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--amber);
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-title {
  font-size: 1.45rem;
  margin-bottom: 14px;
  line-height: 1.3;
}

.product-summary {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 22px;
}

.product-features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  background: rgba(10, 40, 15, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 16px;
  border-radius: var(--radius-md);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
}

.feature-item i {
  color: var(--emerald);
  margin-top: 3px;
  flex-shrink: 0;
}

.feature-item strong {
  color: #f8fafc;
  display: block;
  font-size: 0.9rem;
}

.feature-item span {
  color: var(--text-muted);
  font-size: 0.84rem;
}

.product-specs-pill-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.spec-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-size: 0.78rem;
  font-weight: 600;
}

.product-card-footer {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 12px;
}

/* Allied Card Span */
.product-card.allied-card {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
}

.product-card.allied-card .product-image-container {
  height: 100%;
  border-bottom: none;
  border-right: 1px solid var(--border-color);
}

/* ==========================================================================
   WATER LOOP MATRIX SECTION (FROM SLIDE 9)
   ========================================================================== */
.water-loop-section {
  padding: 90px 0;
  background: #144719;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.loop-matrix-grid {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 14px;
}

.loop-step-card {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.loop-step-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan-accent);
  box-shadow: var(--shadow-glow);
}

.step-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.12);
  line-height: 1;
  margin-bottom: 10px;
}

.step-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 210, 255, 0.15);
  color: var(--cyan-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.step-brand {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--primary-light);
  margin-bottom: 6px;
}

.loop-step-card h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.loop-step-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.step-tag {
  margin-top: auto;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald);
  text-align: center;
}

.loop-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 1.2rem;
  padding: 0 4px;
}

/* ==========================================================================
   SYSTEM SIZER / CALCULATOR SECTION
   ========================================================================== */
.calculator-section {
  padding: 100px 0;
}

.calculator-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-lg);
}

.calc-header {
  text-align: center;
  margin-bottom: 40px;
}

.calc-header h2 {
  font-size: 2.2rem;
  margin: 12px 0 8px;
}

.calc-header p {
  color: var(--text-muted);
  font-size: 1rem;
}

.calc-body-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
}

.calc-group {
  margin-bottom: 24px;
}

.calc-group label {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 10px;
}

.chip-select-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-btn {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.chip-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.chip-btn.active {
  background: var(--primary-gradient);
  color: #ffffff;
  border-color: transparent;
}

.range-slider {
  width: 100%;
  accent-color: var(--primary);
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  outline: none;
}

.checkbox-pill-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.check-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(10, 40, 15, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.check-pill:has(input:checked) {
  border-color: var(--cyan-accent);
  color: #ffffff;
  background: rgba(0, 210, 255, 0.08);
}

/* Sizer Output */
.calc-results-box {
  background: linear-gradient(145deg, #103b14 0%, #185a1f 100%);
  border: 1px solid rgba(74, 222, 128, 0.35);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.results-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cyan-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.calc-results-box h3 {
  font-size: 1.35rem;
  margin-bottom: 20px;
}

.recommendations-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
  flex-grow: 1;
}

.rec-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
}

.rec-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--primary);
  color: #fff;
  flex-shrink: 0;
}

.rec-item strong {
  display: block;
  font-size: 0.92rem;
  color: #ffffff;
}

.rec-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   MARKET SEGMENTS (FROM SLIDE 10)
   ========================================================================== */
.segments-section {
  padding: 90px 0;
  background: #144719;
}

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

.segment-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  transition: var(--transition);
}

.segment-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 210, 255, 0.3);
  box-shadow: var(--shadow-md);
}

.segment-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(0, 136, 255, 0.15);
  color: var(--cyan-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.segment-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.segment-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.segment-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.segment-features li {
  font-size: 0.82rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.segment-features li i {
  color: var(--emerald);
  font-size: 0.75rem;
}

/* ==========================================================================
   TURNKEY LIFECYCLE PROTOCOL (FROM SLIDE 11)
   ========================================================================== */
.lifecycle-section {
  padding: 100px 0;
}

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

.protocol-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  position: relative;
  transition: var(--transition);
}

.protocol-card:hover {
  border-color: var(--cyan-accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.protocol-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 14px;
}

.protocol-card h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.protocol-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   MAIN INQUIRY & VISITOR INFO NOTIFICATION DISPATCH SECTION
   ========================================================================== */
.inquiry-section {
  padding: 100px 0;
  background: radial-gradient(circle at 30% 50%, rgba(74, 222, 128, 0.12) 0%, transparent 60%), #144719;
  border-top: 1px solid var(--border-color);
}

.inquiry-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: flex-start;
}

.inquiry-left h2 {
  font-size: 2.5rem;
  margin: 12px 0 16px;
  line-height: 1.2;
}

.inquiry-left p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 30px;
}

.direct-contact-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.direct-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  transition: var(--transition);
}

.direct-card:hover {
  transform: translateX(4px);
  border-color: var(--cyan-accent);
  box-shadow: var(--shadow-sm);
}

.direct-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 136, 255, 0.15);
  color: var(--cyan-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.whatsapp-direct-card .direct-icon {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald);
}

.whatsapp-direct-card {
  cursor: pointer;
}

.direct-label {
  font-size: 0.76rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  display: block;
}

.direct-val {
  font-size: 1.15rem;
  color: #ffffff;
  display: block;
  font-weight: 700;
}

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

.corporate-badge-box {
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--cyan-accent);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.corporate-badge-box h4 {
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: var(--cyan-accent);
  display: flex;
  align-items: center;
  gap: 8px;
}

.corporate-badge-box p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Inquiry Form Card */
.inquiry-form-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 210, 255, 0.3);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.form-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cyan-accent);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.inquiry-form-card h3 {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.inquiry-form-card > p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.styled-inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.notification-routing-preview {
  background: rgba(10, 40, 15, 0.7);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.preview-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: #cbd5e1;
}

.preview-item strong {
  color: #ffffff;
}

.form-privacy-note {
  font-size: 0.75rem;
  color: var(--text-dim);
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.form-privacy-note i {
  color: var(--emerald);
  margin-top: 2px;
}

/* ==========================================================================
   MODAL SYSTEMS
   ========================================================================== */
.custom-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.custom-modal.active {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 540px;
  background: var(--bg-card);
  border: 1px solid rgba(0, 210, 255, 0.3);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), var(--shadow-glow);
  text-align: center;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-content.modal-lg {
  max-width: 780px;
  text-align: left;
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 1.8rem;
  color: var(--text-muted);
  line-height: 1;
}

.modal-close-btn:hover {
  color: #ffffff;
}

.success-icon-badge {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 2px solid var(--emerald);
  color: var(--emerald);
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-glow-emerald);
}

.modal-content h2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.modal-lead-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.success-dispatch-summary {
  background: rgba(10, 40, 15, 0.7);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  margin-bottom: 26px;
}

.dispatch-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.86rem;
}

.dispatch-row i {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.dispatch-row div {
  flex-grow: 1;
}

.dispatch-row strong {
  display: block;
  font-size: 0.84rem;
  color: #cbd5e1;
}

.dispatch-row span {
  color: #ffffff;
}

.status-pill {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 700;
}

.status-pill.sent {
  background: rgba(0, 136, 255, 0.2);
  color: var(--primary-light);
}

.status-pill.ready {
  background: rgba(16, 185, 129, 0.2);
  color: var(--emerald);
}

.modal-actions-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Animations */
.animate-slide-up {
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   ADMIN / LEADS DRAWER
   ========================================================================== */
.admin-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: none;
}

.admin-drawer.active {
  display: block;
}

.admin-drawer-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.admin-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 620px;
  height: 100%;
  background: #0f3813;
  border-left: 1px solid rgba(74, 222, 128, 0.3);
  display: flex;
  flex-direction: column;
  z-index: 10;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.7);
}

.admin-drawer-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-header-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-header-title i {
  font-size: 1.5rem;
  color: var(--cyan-accent);
}

.admin-header-title h3 {
  font-size: 1.2rem;
}

.admin-header-title p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.admin-close-btn {
  font-size: 1.8rem;
  color: var(--text-muted);
}

.admin-close-btn:hover { color: #fff; }

.admin-settings-accordion {
  border-bottom: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.02);
}

.settings-header {
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.settings-body {
  padding: 16px 24px 20px;
  border-top: 1px solid var(--border-color);
  background: rgba(0, 0, 0, 0.2);
}

.settings-tip {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.admin-stats-row {
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--border-color);
  background: rgba(10, 40, 15, 0.6);
}

.admin-stat-card {
  background: rgba(255, 255, 255, 0.04);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cyan-accent);
}

.stat-lbl {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.admin-leads-list {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lead-item-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 16px;
  transition: var(--transition);
}

.lead-item-card:hover {
  border-color: rgba(0, 210, 255, 0.3);
}

.lead-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.lead-name {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.lead-time {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.lead-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.lead-meta-row a {
  color: var(--cyan-accent);
}

.lead-meta-row a:hover {
  text-decoration: underline;
}

.lead-product-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(0, 136, 255, 0.15);
  color: var(--primary-light);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.lead-message-box {
  background: rgba(0, 0, 0, 0.25);
  padding: 8px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  color: #cbd5e1;
  margin-bottom: 12px;
}

.lead-actions {
  display: flex;
  gap: 8px;
}

/* ==========================================================================
   FLOATING ACTION BUTTONS
   ========================================================================== */
.floating-contact-bar {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  position: relative;
  transition: var(--transition);
}

.float-whatsapp {
  background: #25d366;
}

.float-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.float-call {
  background: var(--primary-gradient);
}

.float-call:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 136, 255, 0.5);
}

.float-inquiry {
  background: #475569;
}

.float-inquiry:hover {
  transform: scale(1.1);
  background: #64748b;
}

.float-tooltip {
  position: absolute;
  right: 64px;
  background: rgba(15, 56, 19, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: var(--transition);
}

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

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.custom-toast {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--cyan-accent);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  color: #fff;
  font-size: 0.88rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: toastIn 0.3s forwards;
  max-width: 380px;
}

.custom-toast.success {
  border-left-color: var(--emerald);
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: #0d3311;
  border-top: 1px solid var(--border-color);
  padding: 70px 0 20px;
}

.footer-content-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 16px 0;
}

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

.footer-oem-tags span {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  color: var(--cyan-accent);
}

.footer-col-title {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: #fff;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--cyan-accent);
  transform: translateX(3px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.85rem;
}

.footer-contact-item i {
  color: var(--cyan-accent);
  margin-top: 4px;
}

.footer-contact-item span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-dim);
}

.footer-contact-item a {
  color: #ffffff;
  font-weight: 500;
}

.footer-contact-item a:hover {
  color: var(--cyan-accent);
}

.footer-admin-link {
  color: var(--primary-light);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: underline;
  padding: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
}

.footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.footer-bottom-links a {
  color: var(--text-dim);
}

.footer-bottom-links a:hover {
  color: var(--cyan-accent);
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-content-grid {
    max-width: 100%;
  }

  .hero-features-row {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-heading {
    font-size: 2.8rem;
  }
  
  .loop-matrix-grid {
    flex-direction: column;
  }
  
  .loop-arrow {
    transform: rotate(90deg);
    padding: 8px 0;
  }
  
  .calc-body-grid {
    grid-template-columns: 1fr;
  }
  
  .segments-grid,
  .lifecycle-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .inquiry-wrapper {
    grid-template-columns: 1fr;
  }
  
  .footer-content-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-actions #quickQuoteNavBtn {
    display: none;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 68px;
    left: 0;
    width: 100%;
    background: #0f3813;
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-120%);
    transition: var(--transition);
  }
  
  .nav-menu.mobile-open {
    transform: translateY(0);
  }
  
  .hero-heading {
    font-size: 2.2rem;
  }
  
  .hero-features-row {
    grid-template-columns: 1fr;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .product-card.allied-card {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }
  
  .product-card.allied-card .product-image-container {
    height: 280px;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }
  
  .segments-grid,
  .lifecycle-steps-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-content-grid {
    grid-template-columns: 1fr;
  }
  
  .top-bar-left .top-bar-brand-list {
    display: none;
  }
}
/* ===== MOBILE LAYOUT FIX ===== */

html,
body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

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

.container,
.hero-section,
.hero-content-grid,
.page-section {
    width: 100%;
    max-width: 100%;
}

.hero-section {
    min-height: 90vh;
    overflow: hidden;
}

.hero-background-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive mobile layout */
@media (max-width: 768px) {
    .container {
        width: 100%;
        max-width: 100%;
        padding-left: 12px;
        padding-right: 12px;
    }

    .hero-section {
        min-height: 85vh;
        padding: 40px 0;
    }

    .hero-content-grid {
        width: 100%;
        padding: 0 12px;
    }

    .page-section {
        min-width: 0;
    }
}
