/* ==========================================================================
   D&D SOLAR ENERGY ZAMBIA — MASTER DESIGN SYSTEM & STYLESHEET
   Brand: Deep Midnight Navy, Electric Purple Glow, Solar Amber, Ultra-Clean White
   Typography: Outfit (Headings) + Inter (Body)
   ========================================================================== */

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

:root {
  /* Core Dark Brand Colors (Hero, Quote CTA, Footer) */
  --bg-deep: #060B1A;
  --bg-main: #0B132B;
  --bg-surface: #101B3E;
  --bg-surface-elevated: #162554;
  --bg-glass: rgba(11, 19, 43, 0.88);
  --bg-glass-card: rgba(22, 37, 84, 0.65);
  --bg-glass-hover: rgba(30, 48, 105, 0.85);

  /* Clean Light Theme Palette (Trust, Solutions, Products, Why Us, Process) */
  --bg-white: #FFFFFF;
  --bg-light: #F8FAFC;
  --bg-light-tint: #F1F5F9;
  --border-light-gray: #E2E8F0;
  --border-light-hover: #CBD5E1;

  /* Primary Brand & Accents */
  --primary-navy: #0B132B;
  --color-navy: #0B1220;
  --color-navy-dark: #070C16;
  --color-navy-surface: #101B3E;
  --navy-900: #0B132B;
  --navy-800: #101B3E;
  --navy-700: #162554;

  /* Warm Antique Gold (Primary Brand Accent from D&D Solar Logo) */
  --color-gold: #fec009;
  --color-gold-hover: #A76E2A;
  --color-gold-light: #FFF9EF;
  --color-gold-subtle: rgba(191, 132, 59, 0.12);
  --color-gold-border: rgba(191, 132, 59, 0.25);
  --color-gold-border-hover: #BF843B;
  --color-gold-glow: rgba(191, 132, 59, 0.35);

  --solar-gold: #BF843B;
  --solar-amber-light: #BF843B;
  --solar-glow: rgba(191, 132, 59, 0.25);

  /* Secondary Digital Accent */
  --color-purple: #6528F7;
  --accent-purple: #6528F7;
  --accent-purple-light: #7C3AED;
  --accent-purple-dark: #4F13E2;
  --accent-purple-glow: rgba(101, 40, 247, 0.35);
  --accent-purple-subtle: rgba(101, 40, 247, 0.1);
  --accent-purple-bg: #EDE9FE;
  --accent-purple-border: #DDD6FE;

  /* WhatsApp Accent Only */
  --color-whatsapp: #25D366;
  --whatsapp-green: #25D366;
  --whatsapp-dark: #128C7E;
  --whatsapp-glow: rgba(37, 211, 102, 0.3);

  /* Neutrals & Typography */
  --text-white: #FFFFFF;
  --text-light: #F8FAFC;
  --text-muted: #94A3B8;
  --text-subtle: #64748B;
  --text-slate-muted: #64748B;
  --text-dark: #0B132B;
  --text-body: #475569;
  --text-body-slate: #475569;

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.15);
  --border-focus: rgba(101, 40, 247, 0.5);

  /* Shadows & Elevations */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.35);
  --shadow-purple: 0 10px 30px rgba(101, 40, 247, 0.25);
  --shadow-card-light: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
  --shadow-card-hover: 0 16px 32px -4px rgba(15, 23, 42, 0.08);

  /* Sizing & Restrained Radiuses (Non-AI, Human-Designed) */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-pill: 9999px;
  --radius-full: 9999px;

  --transition-fast: 0.18s ease;
  --transition-base: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.45s cubic-bezier(0.16, 1, 0.3, 1);

  --container-max: 1240px;
  --header-height: 80px;
  --topbar-height: 40px;
}

/* ==========================================================================
   RESET & GLOBAL BASE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-light);
  background-color: var(--bg-deep);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-white);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.015em;
}

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

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

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

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ==========================================================================
   TOP BAR (COMMERCIAL UTILITY STRIP)
   ========================================================================== */
.top-bar {
  background-color: #040711;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding: 0.5rem 0;
  position: relative;
  z-index: 1001;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-muted);
}

.top-bar-item:hover {
  color: var(--text-white);
}

.top-bar-item svg {
  color: var(--color-gold);
  width: 14px;
  height: 14px;
}

.top-bar-pill {
  background: var(--color-gold-light);
  border: 1px solid var(--color-gold-border);
  color: var(--color-gold-hover);
  padding: 0.15rem 0.65rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.75rem;
}

/* ==========================================================================
   NAVIGATION HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-base);
}

.site-header.scrolled {
  background: rgba(6, 11, 26, 0.94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(191, 132, 59, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 2rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-logo img {
  height: 48px;
  width: auto;
  border-radius: 6px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

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

.brand-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-white);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.brand-name span {
  color: var(--color-gold);
}

.brand-tag {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-subtle);
  font-weight: 600;
}

/* Desktop Nav Links */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.desktop-nav a {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

.desktop-nav a:hover {
  color: var(--color-gold);
}

.desktop-nav a.active {
  color: var(--text-white);
}

.desktop-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--color-gold);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(191, 132, 59, 0.5);
}

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

/* ==========================================================================
   BUTTONS & CTAs
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  border: 1px solid transparent;
  white-space: nowrap;
  text-decoration: none;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.0625rem;
  border-radius: var(--radius-lg);
}

.btn-primary {
  background: linear-gradient(135deg, #6528F7 0%, #4F13E2 100%);
  color: var(--text-white);
  box-shadow: 0 4px 16px var(--accent-purple-glow);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #7C3AED 0%, #5B18E8 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-purple-glow);
  color: var(--text-white);
}

.btn-secondary {
  background: #FFFFFF;
  border: 1px solid var(--color-gold-border);
  color: var(--color-navy);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.btn-secondary:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px var(--color-gold-glow);
}

.quote-banner .btn-secondary,
.hero-photo-banner .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--color-gold-border);
  color: #FFFFFF;
  backdrop-filter: blur(10px);
}

.quote-banner .btn-secondary:hover,
.hero-photo-banner .btn-secondary:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #0B1220;
}

.btn-outline-gold {
  background: transparent;
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
}

.btn-outline-gold:hover {
  background: var(--color-gold);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #1EBE5D 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 16px var(--whatsapp-glow);
  font-weight: 700;
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #22C55E 0%, #15803D 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--whatsapp-glow);
  color: #FFFFFF;
}

.btn-outline-purple {
  background: transparent;
  border: 1px solid var(--accent-purple-light);
  color: var(--accent-purple-light);
}

.btn-outline-purple:hover {
  background: var(--accent-purple);
  color: var(--text-white);
  transform: translateY(-2px);
}

/* ==========================================================================
   MOBILE NAVIGATION DRAWER
   ========================================================================== */
.mobile-nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-white);
  padding: 0.55rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 360px;
  height: 100vh;
  background: var(--bg-deep);
  border-left: 1px solid var(--border-light);
  z-index: 2000;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.7);
  overflow-y: auto;
}

.mobile-nav-drawer.active {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-drawer-close {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-white);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-list {
  list-style: none;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-nav-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-family: 'Outfit', sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.mobile-nav-list a:hover,
.mobile-nav-list a.active {
  background: rgba(191, 132, 59, 0.12);
  border-color: rgba(191, 132, 59, 0.35);
  color: var(--color-gold);
}

.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   HERO SECTION (WHITE / LIGHT EDITORIAL TREATMENT)
   ========================================================================== */
.hero {
  position: relative;
  padding: 5.5rem 0 6rem;
  background-color: #FFFFFF;
  background-image: radial-gradient(#E2E8F0 0.85px, transparent 0.85px);
  background-size: 28px 28px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light-gray);
}

.hero::before {
  display: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--color-gold-light);
  border: 1px solid var(--color-gold-border);
  color: var(--color-gold-hover);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-pill);
  font-family: 'Outfit', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.75rem;
}

.hero-badge-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--color-gold);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(191, 132, 59, 0.25);
  animation: heroPulse 2s infinite;
}

@keyframes heroPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(191, 132, 59, 0.5); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(191, 132, 59, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(191, 132, 59, 0); }
}

.hero-title {
  font-size: clamp(2.5rem, 4.6vw, 3.85rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1.5rem;
  color: #0B132B;
  letter-spacing: -0.025em;
}

.hero-title-accent {
  color: var(--accent-purple);
  display: inline;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.65;
  color: #4B5563;
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.15rem;
  margin-bottom: 2.75rem;
}

/* Secondary CTA on Hero: Light/White button with dark text & subtle border */
.hero .btn-secondary,
.hero-btn-secondary {
  background: #FFFFFF;
  color: #0B132B;
  border: 1px solid var(--color-gold-border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.hero .btn-secondary:hover,
.hero-btn-secondary:hover {
  background: var(--color-gold-light);
  border-color: var(--color-gold);
  color: #0B132B;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(191, 132, 59, 0.15);
}

/* Hero Bottom Trust Indicators (Editorial Trust Strip on White) */
.hero-trust-indicators {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid #E2E8F0;
}

.hero-trust-item {
  display: flex;
  flex-direction: column;
}

.hero-trust-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0B132B;
  letter-spacing: -0.01em;
}

.hero-trust-label {
  font-size: 0.8125rem;
  color: #64748B;
}

.hero-trust-divider {
  width: 1px;
  height: 36px;
  background-color: #E2E8F0;
  display: block;
}

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

.hero-image-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 45px -10px rgba(11, 19, 43, 0.12), 0 8px 20px -6px rgba(11, 19, 43, 0.06);
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
}

.hero-image-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.hero-image-card:hover img {
  transform: scale(1.02);
}

.hero-floating-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(191, 132, 59, 0.25);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 10px 25px -3px rgba(11, 19, 43, 0.1), 0 4px 8px -2px rgba(11, 19, 43, 0.05);
}

.hero-floating-badge .floating-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--color-gold-light);
  border: 1px solid var(--color-gold-border);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-floating-badge .floating-text h5 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0B132B;
  margin-bottom: 0.15rem;
}

.hero-floating-badge .floating-text p {
  font-size: 0.78125rem;
  color: #64748B;
}

/* ==========================================================================
   TRUST & VALUE PROPOSITION STRIP (LIGHT THEME)
   ========================================================================== */
.trust-strip {
  background: var(--bg-white);
  border-top: 1px solid var(--border-light-gray);
  border-bottom: 1px solid var(--border-light-gray);
  padding: 3rem 0;
  position: relative;
}

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

.trust-card {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.25rem 1.25rem;
  border-radius: var(--radius-md);
  background: var(--color-gold-light);
  border: 1px solid var(--color-gold-border);
  transition: all var(--transition-base);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
}

.trust-card:hover {
  background: var(--bg-white);
  border-color: var(--color-gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(191, 132, 59, 0.12);
}

.trust-icon-box {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: rgba(191, 132, 59, 0.12);
  border: 1px solid var(--color-gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  flex-shrink: 0;
}

.trust-card-body h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.03em;
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.trust-card-body p {
  font-size: 0.8125rem;
  color: var(--text-slate-muted);
  line-height: 1.4;
}

/* ==========================================================================
   SECTION & BACKGROUND RHYTHM UTILITIES
   ========================================================================== */
.section {
  padding: 6.5rem 0;
  position: relative;
}

.section-white {
  background-color: var(--bg-white);
  color: var(--text-dark);
}

.section-light {
  background-color: var(--bg-light);
  color: var(--text-dark);
  border-top: 1px solid var(--border-light-gray);
  border-bottom: 1px solid var(--border-light-gray);
}

.section-surface {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.section-darker {
  background-color: var(--bg-deep);
  color: var(--text-white);
}

.section-dark-cta {
  background-color: var(--bg-main);
  color: var(--text-white);
}

/* ==========================================================================
   HERO SYSTEM: PHOTOGRAPHIC HERO BANNERS (SOLUTIONS & CONTACT)
   ========================================================================== */
.hero-photo-banner {
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  padding: 5.5rem 0 4.5rem;
  color: #FFFFFF;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.hero-photo-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.38); /* Neutral dark/black overlay ensuring clear white text without hiding real D&D imagery */
  z-index: 1;
}

.hero-photo-banner .container {
  position: relative;
  z-index: 2;
}

.hero-photo-banner .section-header {
  margin-bottom: 0;
}

.hero-photo-banner .section-tag {
  color: #FFF9EF;
  background: rgba(191, 132, 59, 0.35);
  border: 1px solid rgba(191, 132, 59, 0.55);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-photo-banner .section-title {
  color: #FFFFFF !important;
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.hero-photo-banner .section-description {
  color: #F8FAFC !important;
  font-size: 1.1rem;
  line-height: 1.65;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* Solutions page photographic background */
.hero-photo-solutions {
  background-image: url('../images/DND%20solar%20zambia.jpg');
  background-position: center 38%;
}

/* Contact page photographic background */
.hero-photo-contact {
  background-image: url('../images/DND%20SOLAR%20ZAMBIA%20CONTACT%20US.jpg');
  background-position: center center;
}

/* ==========================================================================
   HERO SYSTEM: CLEAN WHITE INNER-PAGE HERO BANNERS (SERVICES, PROJECTS, ABOUT, PRODUCTS)
   ========================================================================== */
.hero-white-banner {
  background-color: #FFFFFF;
  color: var(--navy-900);
  padding: 5rem 0 3.5rem;
  border-bottom: 1px solid var(--border-light-gray);
  position: relative;
}

.hero-white-banner .section-header {
  margin-bottom: 0;
}

.hero-white-banner .section-tag {
  color: var(--color-gold);
  margin-bottom: 0.85rem;
}

.hero-white-banner .section-title {
  color: var(--navy-900) !important;
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.hero-white-banner .section-description {
  color: var(--text-body-slate) !important;
  font-size: 1.075rem;
  line-height: 1.65;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.75rem;
}

.section-tag {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text-white);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-description {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Light Theme Overrides for Headers & Content */
.section-white h1, .section-white h2, .section-white h3, .section-white h4, .section-white h5, .section-white h6,
.section-light h1, .section-light h2, .section-light h3, .section-light h4, .section-light h5, .section-light h6,
.section-surface h1, .section-surface h2, .section-surface h3, .section-surface h4, .section-surface h5, .section-surface h6 {
  color: var(--text-dark);
}

.section-white .section-title,
.section-light .section-title,
.section-surface .section-title {
  color: var(--text-dark);
}

.section-white .section-tag,
.section-light .section-tag,
.section-surface .section-tag {
  color: var(--color-gold);
}

.section-white p,
.section-light p,
.section-surface p,
.section-white .section-description,
.section-light .section-description,
.section-surface .section-description {
  color: var(--text-body-slate);
}

.section-white li,
.section-light li,
.section-surface li {
  color: var(--text-body-slate);
}

/* ==========================================================================
   SOLAR SOLUTIONS CARDS (EDITORIAL WHITE DESIGN)
   ========================================================================== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
}

.solution-card {
  background: var(--bg-white);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-card-light);
}

.solution-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-gold);
  box-shadow: 0 16px 32px -4px rgba(191, 132, 59, 0.12);
}

.solution-img-wrap {
  height: 240px;
  overflow: hidden;
  position: relative;
  background: var(--primary-navy);
}

.solution-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.solution-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(11, 19, 43, 0.9);
  border: 1px solid var(--color-gold-border);
  backdrop-filter: blur(8px);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-gold);
}

.solution-body {
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.solution-body h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.solution-body p {
  font-size: 0.9375rem;
  color: var(--text-body-slate);
  line-height: 1.6;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.solution-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--color-gold);
  transition: all var(--transition-fast);
}

.solution-link svg {
  transition: transform var(--transition-fast);
}

.solution-card:hover .solution-link {
  color: var(--color-gold-hover);
}

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

/* ==========================================================================
   PRODUCT CATALOGUE — CLEAN E-COMMERCE SHOWROOM
   ========================================================================== */

/* ── Search Bar ── */
.product-search-wrap {
  max-width: 560px;
  margin: 0 auto 2rem;
  position: relative;
}

.product-search-wrap input {
  width: 100%;
  padding: 0.75rem 1.25rem 0.75rem 3rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-light-gray);
  background: #FFFFFF;
  color: var(--text-dark);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: 0 1px 4px rgba(15,23,42,0.04);
}

.product-search-wrap input:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px var(--color-gold-subtle);
}

.product-search-wrap svg {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-slate-muted);
  pointer-events: none;
}

/* ── Category Filter Pills ── */
.product-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

.filter-btn {
  background: transparent;
  border: 1.5px solid var(--border-light-gray);
  color: var(--text-body-slate);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-pill);
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: var(--color-gold-light);
}

.filter-btn.active {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #FFFFFF;
  box-shadow: 0 3px 10px var(--color-gold-glow);
}

/* ── Product Grid: 4-col desktop ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem 1.75rem;
}

/* ── Individual Product Item ── */
.product-card {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
  transition: none;
}

/* ── Image Area ── */
.product-image-container {
  background: #F8F8F6;
  border-radius: var(--radius-md);
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  margin-bottom: 1rem;
  transition: box-shadow var(--transition-base);
}

.product-card:hover .product-image-container {
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.09);
}

.product-image-container img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform var(--transition-base);
  will-change: transform;
}

.product-card:hover .product-image-container img {
  transform: scale(1.05) translateY(-4px);
}

/* ── Category Badge (floating over image corner) ── */
.product-badge {
  display: none; /* Hidden — category shown as text label below image */
}

/* ── Product Info Below Image ── */
.product-content {
  padding: 0;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category-text {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--color-gold);
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  margin-bottom: 0.3rem;
  line-height: 1;
}

.product-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  font-family: 'Outfit', sans-serif;
  line-height: 1.35;
  margin-bottom: 0.35rem;
  transition: color var(--transition-fast);
}

.product-card:hover .product-title {
  color: var(--color-navy);
}

.product-desc {
  font-size: 0.825rem;
  color: var(--text-body-slate);
  line-height: 1.5;
  margin-bottom: 0.65rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

/* ── Action Link ── */
.product-actions {
  display: flex;
  align-items: center;
  gap: 0;
  padding-top: 0;
  border-top: none;
}

.product-actions .btn-secondary,
.product-actions a.btn {
  background: transparent;
  border: none;
  color: var(--text-subtle);
  font-size: 0.8rem;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  padding: 0;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  letter-spacing: 0.02em;
  transition: color var(--transition-fast), gap var(--transition-fast);
  box-shadow: none;
}

.product-actions .btn-secondary::after,
.product-actions a.btn::after {
  content: '→';
  color: var(--color-gold);
  transition: transform var(--transition-fast);
  display: inline-block;
}

.product-actions .btn-secondary:hover,
.product-actions a.btn:hover {
  background: transparent;
  border: none;
  color: var(--color-gold);
  gap: 0.5rem;
  box-shadow: none;
}

.product-actions .btn-secondary:hover::after,
.product-actions a.btn:hover::after {
  transform: translateX(3px);
}

.product-actions .btn-whatsapp,
.product-actions button.btn-whatsapp {
  display: none; /* Hide in catalogue; detail page has it */
}

/* ==========================================================================
   CONVERSION / QUOTE CTA BANNER (HIGH-CONTRAST DARK ACCENT)
   ========================================================================== */
.quote-banner {
  background: linear-gradient(135deg, #060B1A 0%, #0B132B 55%, #18103F 100%),
              radial-gradient(circle at 100% 0%, rgba(191, 132, 59, 0.18) 0%, transparent 55%);
  border: 1px solid rgba(191, 132, 59, 0.35);
  border-radius: var(--radius-xl);
  padding: 4.5rem 3.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(6, 11, 26, 0.45);
}

.quote-banner-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  align-items: center;
  gap: 3.5rem;
  position: relative;
  z-index: 2;
}

.quote-banner h2 {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.quote-banner p {
  font-size: 1.1rem;
  color: #CBD5E1;
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 620px;
}

.quote-banner-actions {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   WHY CHOOSE US (CLEAN WHITE CARDS)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-box {
  background: var(--bg-white);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  transition: all var(--transition-base);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.02);
}

.feature-box:hover {
  border-color: var(--color-gold);
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(191, 132, 59, 0.08);
}

.feature-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 0.85rem;
  letter-spacing: 0.05em;
}

.feature-box h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.65rem;
}

.feature-box p {
  font-size: 0.9375rem;
  color: var(--text-body-slate);
  line-height: 1.6;
}

/* ==========================================================================
   HOW IT WORKS (CLEAN LIGHT PROCESS)
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  position: relative;
}

.step-card {
  background: var(--bg-white);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  position: relative;
  transition: all var(--transition-base);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.02);
}

.step-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(191, 132, 59, 0.08);
}

.step-badge {
  font-family: 'Outfit', sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 0.85rem;
}

.step-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.875rem;
  color: var(--text-slate-muted);
  line-height: 1.55;
}

/* ==========================================================================
   FORMS & INPUTS
   ========================================================================== */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 0.45rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: rgba(6, 11, 26, 0.7);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-white);
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-purple-light);
  box-shadow: 0 0 0 3px var(--accent-purple-glow);
  background: rgba(6, 11, 26, 0.95);
}

.form-control::placeholder {
  color: var(--text-subtle);
}

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

/* ==========================================================================
   MODAL DIALOG (QUOTE REQUEST)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 7, 17, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
  padding: 1.5rem;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  max-width: 560px;
  width: 100%;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(101, 40, 247, 0.25);
  position: relative;
  overflow: hidden;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-backdrop.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 1.75rem 2rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 1.35rem;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-white);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}

.modal-body {
  padding: 1.75rem 2rem;
}

/* ==========================================================================
   FLOATING CONTACT MENU (UPGRADED CALL & WHATSAPP)
   ========================================================================== */
.floating-contact-wrapper {
  position: fixed;
  bottom: 5.5rem;
  right: 2rem;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none;
}

.floating-contact-wrapper > * {
  pointer-events: auto;
}

/* Secondary options dropdown menu */
.floating-contact-dropdown {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
  margin-bottom: 0.65rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px) scale(0.96);
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.22s ease;
  will-change: transform, opacity;
}

.floating-contact-wrapper.active .floating-contact-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* Secondary contact buttons */
.floating-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.15rem;
  min-height: 44px;
  background: #0A1330;
  color: #FFFFFF;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.2;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  white-space: nowrap;
}

/* Option 1: Call Us Directly */
.floating-contact-call {
  border: 1px solid rgba(191, 132, 59, 0.45);
}

.floating-contact-call:hover,
.floating-contact-call:focus-visible {
  background: #121F4A;
  border-color: var(--color-gold);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(191, 132, 59, 0.35);
  outline: none;
}

/* Option 2: Continue to WhatsApp */
.floating-contact-wa {
  border: 1px solid rgba(37, 211, 102, 0.45);
}

.floating-contact-wa:hover,
.floating-contact-wa:focus-visible {
  background: #121F4A;
  border-color: #25D366;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.35);
  outline: none;
}

/* Secondary icon container badges */
.floating-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
}

.floating-call-icon {
  background: rgba(191, 132, 59, 0.18);
  color: #E2A755;
  border: 1px solid rgba(191, 132, 59, 0.3);
}

.floating-wa-icon {
  background: rgba(37, 211, 102, 0.18);
  color: #25D366;
  border: 1px solid rgba(37, 211, 102, 0.3);
}

.floating-contact-label {
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.875rem;
}

/* Main floating WhatsApp trigger button */
.floating-whatsapp {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  padding: 0.72rem 1.25rem;
  min-height: 46px;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.38);
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.2;
  transition: all var(--transition-base);
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  box-sizing: border-box;
  white-space: nowrap;
}

.floating-whatsapp:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #1EBE5A 0%, #0F7E71 100%);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.55);
  color: #FFFFFF;
}

.floating-whatsapp:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 3px;
}

/* Dual icons: WhatsApp icon <-> Close X icon */
.floating-toggle-icons {
  position: relative;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.floating-toggle-icons .icon-whatsapp {
  position: absolute;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  transform: rotate(0deg) scale(1);
  opacity: 1;
}

.floating-toggle-icons .icon-close {
  position: absolute;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  transform: rotate(-90deg) scale(0.6);
  opacity: 0;
  stroke: #FFFFFF;
}

.floating-contact-wrapper.active .floating-toggle-icons .icon-whatsapp {
  transform: rotate(90deg) scale(0.6);
  opacity: 0;
}

.floating-contact-wrapper.active .floating-toggle-icons .icon-close {
  transform: rotate(0deg) scale(1);
  opacity: 1;
}

/* Pause pulse animation when menu is active */
.floating-contact-wrapper.active .whatsapp-pulse-ring {
  opacity: 0;
  animation: none;
}

.whatsapp-pulse-ring {
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: var(--radius-pill);
  border: 2px solid rgba(37, 211, 102, 0.45);
  animation: wa-pulse 2.2s infinite;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.12); opacity: 0; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: #060B1A;
  border-top: 2px solid var(--color-gold);
  padding: 5rem 0 2rem;
  margin-top: auto;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-col-desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 1.25rem 0 1.5rem;
  color: var(--text-muted);
}

.footer-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gold);
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

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

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

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9375rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
}

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

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.footer-contact-item svg {
  color: var(--color-gold);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(191, 132, 59, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #0B1220;
  transform: translateY(-3px);
  box-shadow: 0 4px 14px var(--color-gold-glow);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(191, 132, 59, 0.2);
  font-size: 0.875rem;
  color: var(--text-subtle);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-bottom a:hover {
  color: var(--color-gold);
}

.footer-bottom span {
  color: var(--color-gold);
  font-weight: 500;
}

.dev-credit {
  color: var(--color-gold) !important;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.dev-credit:hover {
  color: #FDE047 !important;
  text-decoration: underline;
}

/* ==========================================================================
   BADGES & PLACEHOLDERS (COMPLIANCE RULE)
   ========================================================================== */
.client-placeholder-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(245, 158, 11, 0.12);
  border: 1px dashed rgba(245, 158, 11, 0.45);
  color: var(--solar-amber-light);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   BREADCRUMBS & PRODUCT DETAIL EXTENSIONS (STAGE 2)
   ========================================================================== */
.breadcrumb-strip {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border-light-gray);
  padding: 1rem 0;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  font-size: 0.875rem;
  color: var(--text-slate-muted);
}

.breadcrumb-list a {
  color: var(--text-body-slate);
  transition: color var(--transition-fast);
}

.breadcrumb-list a:hover {
  color: var(--accent-purple);
}

.breadcrumb-separator {
  color: #CBD5E1;
  font-size: 0.75rem;
}

.breadcrumb-current {
  color: var(--text-dark);
  font-weight: 600;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.detail-media-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light-gray);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-card-light);
  position: sticky;
  top: 100px;
}

.detail-media-card img {
  max-height: 420px;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
  transition: transform var(--transition-slow);
}

.spec-table-wrap {
  background: var(--bg-white);
  border: 1px solid var(--border-light-gray);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 2rem;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.spec-table tr {
  border-bottom: 1px solid var(--border-light-gray);
}

.spec-table tr:last-child {
  border-bottom: none;
}

.spec-table tr:nth-child(even) {
  background: var(--bg-light);
}

.spec-table td {
  padding: 0.85rem 1.25rem;
}

.spec-table td:first-child {
  font-weight: 600;
  color: var(--text-dark);
  width: 35%;
  border-right: 1px solid var(--border-light-gray);
}

.spec-table td:last-child {
  color: var(--text-body-slate);
}

.modal-success-state {
  text-align: center;
  padding: 1rem 0.5rem;
}

/* ==========================================================================
   PAGE-SPECIFIC COMPONENT GRIDS & UTILITIES
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.contact-channels-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.featured-project-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light-gray);
  box-shadow: var(--shadow-card-light);
  margin-bottom: 4rem;
}

.featured-project-grid > div:first-child {
  min-height: 380px;
}

.featured-project-grid > div:last-child {
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.responsive-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.product-badge-link {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #0B1220;
  background: var(--color-gold-light);
  border: 1px solid var(--color-gold-border);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.product-badge-link:hover {
  background: var(--color-gold);
  color: #FFFFFF;
  border-color: var(--color-gold);
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.service-product-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-gold);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.service-product-link:hover {
  color: var(--color-gold-hover);
  transform: translateX(3px);
}

.hide-mobile {
  display: block;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   (320px, 360px, 375px, 390px, 414px, 430px, 600px, 768px, 834px, 1024px, 1280px, 1440px)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-media-wrap {
    max-width: 650px;
    margin: 0 auto;
  }

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

  .detail-media-card {
    position: static;
    padding: 2rem;
  }

  .detail-media-card img {
    max-height: 340px;
  }

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

  .featured-project-grid {
    grid-template-columns: 1fr;
  }

  .featured-project-grid > div:first-child {
    min-height: 320px;
  }

  .featured-project-grid > div:last-child {
    padding: 2.5rem 2rem;
  }

  .contact-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

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

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem 1.25rem;
  }

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

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

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

  .quote-banner-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  .desktop-nav,
  .header-actions .btn-quote-desktop {
    display: none;
  }

  .mobile-nav-toggle {
    display: flex;
  }

  .section {
    padding: 4rem 0;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
  }

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

  .product-image-container {
    height: 200px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

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

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

  .responsive-split > div:nth-child(2) {
    order: -1;
  }

  .service-row > div:nth-child(2) {
    order: -1;
  }

  .hide-mobile {
    display: none !important;
  }

  .featured-project-grid > div:first-child {
    min-height: 280px;
  }

  .featured-project-grid > div:last-child {
    padding: 2rem 1.5rem;
  }

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

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

  .hero-trust-indicators {
    flex-wrap: wrap;
    gap: 1.25rem;
  }

  .hero-trust-divider {
    display: none;
  }

  .floating-contact-wrapper {
    bottom: 5rem;
    right: 1.25rem;
  }

  .floating-whatsapp {
    padding: 0.72rem 1.15rem;
    font-size: 0.875rem;
  }

  .quote-banner {
    padding: 3rem 2rem;
  }

  .hero-photo-banner {
    padding: 4.25rem 0 3.25rem;
  }

  .hero-photo-solutions {
    background-position: center center;
  }

  .hero-white-banner {
    padding: 4rem 0 2.75rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero {
    padding: 2.5rem 0 2.5rem;
  }

  .hero-title {
    font-size: clamp(1.85rem, 6vw, 2.25rem);
  }

  .hero-image-card img {
    height: 280px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-photo-banner {
    padding: 3.5rem 0 2.5rem;
  }

  .hero-photo-banner .section-title {
    font-size: clamp(1.75rem, 5.5vw, 2.15rem);
  }

  .hero-photo-banner .section-description {
    font-size: 0.95rem;
  }

  .hero-white-banner {
    padding: 3.25rem 0 2.25rem;
  }

  .hero-white-banner .section-title {
    font-size: clamp(1.75rem, 5.5vw, 2.15rem);
  }

  .hero-white-banner .section-description {
    font-size: 0.95rem;
  }

  /* product-actions is now flex, no grid override needed */

  .detail-media-card {
    padding: 1.5rem 1rem;
  }

  .detail-media-card img {
    max-height: 240px;
  }

  .spec-table td {
    padding: 0.75rem 0.85rem;
    font-size: 0.8125rem;
  }

  .spec-table td:first-child {
    width: 42%;
  }

  .quote-banner {
    padding: 2.25rem 1.25rem;
  }

  .quote-banner h2 {
    font-size: 1.65rem;
  }

  .quote-banner-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .quote-banner-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .featured-project-grid > div:first-child {
    min-height: 220px;
  }

  .featured-project-grid > div:last-child {
    padding: 1.5rem 1rem;
  }

  .modal-content {
    margin: 1rem;
    max-height: calc(100vh - 2rem);
  }
}

@media (max-width: 360px) {
  .container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .hero-title {
    font-size: 1.7rem;
  }

  .brand-text .brand-name {
    font-size: 1.2rem;
  }

  .btn-lg {
    padding: 0.85rem 1.25rem;
    font-size: 0.9375rem;
  }

  .floating-contact-wrapper {
    bottom: 0.75rem;
    right: 0.65rem;
    max-width: calc(100vw - 1.3rem);
  }

  .floating-whatsapp {
    padding: 0.58rem 0.88rem;
    font-size: 0.78rem;
    gap: 0.45rem;
    min-height: 44px;
  }

  .floating-contact-item {
    padding: 0.52rem 0.8rem;
    font-size: 0.78rem;
    gap: 0.5rem;
    min-height: 44px;
  }
}

/* ==========================================================================
   PRODUCT GRID — ADDITIONAL BREAKPOINTS
   ========================================================================== */

/* 4-col → 3-col at mid-desktop */
@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem 1.5rem;
  }
}

/* Tiny phones: keep 2-col with smaller images */
@media (max-width: 360px) {
  .product-image-container {
    height: 160px;
    padding: 1rem;
  }

  .product-filters {
    gap: 0.35rem;
  }

  .filter-btn {
    font-size: 0.75rem;
    padding: 0.4rem 0.85rem;
  }
}

/* ==========================================================================
   SOCIAL MEDIA CATALOGUE GATEWAY SECTION
   ========================================================================== */

/* ── Section Wrapper ─────────────────────────────────────────────────────── */
.smcat-section {
  background: var(--bg-white);
  border-top: 1px solid var(--border-light-gray);
  padding-top: 4.5rem;
  padding-bottom: 4rem;
}

.smcat-title {
  letter-spacing: 0.04em;
}

.smcat-description {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Platform Cards Grid ─────────────────────────────────────────────────── */
.smcat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.75rem;
  margin-bottom: 2rem;
}

/* ── Individual Card ─────────────────────────────────────────────────────── */
.smcat-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #FFFFFF;
  border: 1.5px solid var(--border-light-gray);
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    border-color var(--transition-base);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.smcat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px -8px rgba(11, 19, 43, 0.13);
}

/* Card top accent stripe */
.smcat-card::before {
  content: '';
  display: block;
  height: 4px;
  width: 100%;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  transition: height var(--transition-base);
}

.smcat-card:hover::before {
  height: 6px;
}

/* ── Platform-specific stripe colours ───────────────────────────────────── */
.smcat-card--tiktok::before     { background: #010101; }
.smcat-card--instagram::before  { background: linear-gradient(90deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.smcat-card--facebook::before   { background: #1877F2; }

.smcat-card--tiktok:hover   { border-color: #333333; }
.smcat-card--instagram:hover{ border-color: #e6683c; }
.smcat-card--facebook:hover { border-color: #1877F2; }

/* ── Icon Wrapper ────────────────────────────────────────────────────────── */
.smcat-card-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 1.75rem auto 0;
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.smcat-card:hover .smcat-card-icon-wrap {
  transform: scale(1.08);
}

.smcat-card-icon-wrap--tiktok {
  background: #F7F7F7;
  color: #010101;
}

.smcat-card-icon-wrap--instagram {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #FFFFFF;
}

.smcat-card-icon-wrap--facebook {
  background: #1877F2;
  color: #FFFFFF;
}

/* ── Card Body ───────────────────────────────────────────────────────────── */
.smcat-card-body {
  padding: 1.25rem 1.75rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}

/* Platform label badge */
.smcat-platform-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-pill);
  line-height: 1.5;
}

.smcat-platform-label--tiktok {
  background: #F0F0F0;
  color: #010101;
}

.smcat-platform-label--instagram {
  background: linear-gradient(90deg, #f09433 0%, #bc1888 100%);
  color: #FFFFFF;
}

.smcat-platform-label--facebook {
  background: #E7F0FD;
  color: #1877F2;
}

/* Card title */
.smcat-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.35;
  margin: 0;
}

/* Card description */
.smcat-card-desc {
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.6;
  margin: 0;
}

/* ── Card CTA Button row ─────────────────────────────────────────────────── */
.smcat-card-cta {
  padding: 1rem 1.75rem 1.75rem;
  display: flex;
  justify-content: center;
}

.smcat-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.01em;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
  cursor: pointer;
  text-align: center;
}

.smcat-btn--tiktok {
  background: #F0F0F0;
  color: #010101;
}

.smcat-card--tiktok:hover .smcat-btn--tiktok {
  background: #010101;
  color: #FFFFFF;
}

.smcat-btn--instagram {
  background: linear-gradient(90deg, #f09433 0%, #bc1888 100%);
  color: #FFFFFF;
}

.smcat-card--instagram:hover .smcat-btn--instagram {
  filter: brightness(1.08);
}

.smcat-btn--facebook {
  background: #E7F0FD;
  color: #1877F2;
}

.smcat-card--facebook:hover .smcat-btn--facebook {
  background: #1877F2;
  color: #FFFFFF;
}

/* ── WhatsApp CTA Strip ──────────────────────────────────────────────────── */
.smcat-whatsapp-wrap {
  margin-top: 2.25rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--border-light-gray);
}

.smcat-whatsapp-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: #F0FDF6;
  border: 1.5px solid rgba(37, 211, 102, 0.25);
  border-radius: var(--radius-xl);
  padding: 1.5rem 2rem;
  flex-wrap: wrap;
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

.smcat-whatsapp-card:hover {
  border-color: rgba(37, 211, 102, 0.55);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.1);
}

.smcat-whatsapp-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--color-whatsapp);
  border-radius: 50%;
  color: #FFFFFF;
  flex-shrink: 0;
}

.smcat-whatsapp-content {
  flex: 1;
  min-width: 200px;
}

.smcat-whatsapp-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.075rem;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 0.3rem;
  line-height: 1.3;
}

.smcat-whatsapp-desc {
  font-size: 0.875rem;
  color: var(--text-body);
  margin: 0;
  line-height: 1.55;
}

.smcat-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #FFFFFF;
  background: var(--color-whatsapp);
  border-radius: var(--radius-pill);
  padding: 0.75rem 1.6rem;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.01em;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.smcat-whatsapp-btn:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}

/* ── Responsive: Tablet (768px–1023px) ──────────────────────────────────── */
@media (max-width: 1023px) {
  .smcat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  /* Facebook spans full width on tablet so it centres on row 2 */
  .smcat-card--facebook {
    grid-column: 1 / -1;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }
}

/* ── Responsive: Mobile (≤ 639px) ───────────────────────────────────────── */
@media (max-width: 639px) {
  .smcat-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .smcat-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .smcat-card--facebook {
    grid-column: unset;
    max-width: 100%;
  }

  .smcat-whatsapp-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.25rem;
  }

  .smcat-whatsapp-btn {
    width: 100%;
    justify-content: center;
  }

  .smcat-card-icon-wrap {
    width: 56px;
    height: 56px;
  }
}

/* ── Very small phones ───────────────────────────────────────────────────── */
@media (max-width: 360px) {
  .smcat-card-body {
    padding: 1rem 1.25rem 0.75rem;
  }
  .smcat-card-cta {
    padding: 0.75rem 1.25rem 1.25rem;
  }
}

/* ==========================================================================
   RESPONSIVE AUDIT — COMPREHENSIVE FIXES
   All breakpoints: 320px · 360px · 375px · 390px · 430px · 480px ·
                    640px · 768px · 834px · 1024px · 1280px · 1440px · 1920px
   ========================================================================== */

/* ── MOBILE MENU HINT ────────────────────────────────────────────────────── */
.menu-hint-wrap {
  display: none;
}

@media (max-width: 768px) {
  .header-actions {
    gap: 0.5rem;
  }

  .menu-hint-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.32rem 0.7rem 0.32rem 0.75rem;
    background: rgba(191, 132, 59, 0.12);
    border: 1px solid rgba(191, 132, 59, 0.38);
    border-radius: 50px;
    cursor: pointer;
    user-select: none;
    text-decoration: none;
    opacity: 1;
    pointer-events: auto;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  }

  .menu-hint-wrap:hover,
  .menu-hint-wrap:active {
    background: rgba(191, 132, 59, 0.22);
    border-color: var(--color-gold);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(191, 132, 59, 0.3);
  }

  .menu-hint-text {
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    color: #f7ca7d;
    letter-spacing: 0.02em;
    white-space: nowrap;
    line-height: 1;
  }

  .menu-hint-arrow {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1;
    display: inline-block;
    animation: hintArrowBounce 1.2s ease-in-out infinite alternate;
  }
}

@keyframes hintArrowBounce {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(2.5px, -2.5px);
  }
}

/* ── HAMBURGER: LARGER TAP TARGET ───────────────────────────────────────── */
.mobile-nav-toggle {
  min-width: 44px;
  min-height: 44px;
  padding: 0.6rem;
}

/* ── MOBILE NAV DRAWER: SLIDE-IN FROM RIGHT ─────────────────────────────── */
.mobile-nav-drawer {
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Focus styles for keyboard accessibility */
.mobile-nav-toggle:focus-visible,
.mobile-drawer-close:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

.desktop-nav a:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ── PRODUCT FILTERS: HORIZONTAL SCROLL ON MOBILE ───────────────────────── */
@media (max-width: 640px) {
  .product-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: flex-start;
    padding-bottom: 0.5rem;
    /* Extend to edges of screen */
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .product-filters::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    flex-shrink: 0;
  }
}


/* ── LARGE DESKTOP (1440px+): PREVENT OVER-STRETCHING ───────────────────── */
@media (min-width: 1440px) {
  .hero-image-card img {
    height: 520px;
  }

  .solution-img-wrap {
    height: 260px;
  }
}

@media (min-width: 1920px) {
  .hero-grid {
    gap: 5rem;
  }

  .hero-title {
    font-size: 4rem;
  }

  .section {
    padding: 7rem 0;
  }
}

/* ── TABLET (769px – 1023px): REFINED COLUMN ADJUSTMENTS ────────────────── */
@media (min-width: 769px) and (max-width: 1023px) {
  /* Navbar gap tightened at tablet so links don't crowd */
  .desktop-nav {
    gap: 1.25rem;
  }

  .desktop-nav a {
    font-size: 0.85rem;
  }

  /* Products: 3 col on tablet */
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem 1.25rem;
  }

  /* Trust strip: 2x2 */
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  /* Section spacing */
  .section {
    padding: 5rem 0;
  }

  /* Hero */
  .hero {
    padding: 4rem 0 4.5rem;
  }

  .hero-image-card img {
    height: 380px;
  }

  /* Quote banner */
  .quote-banner {
    padding: 3.5rem 2.5rem;
  }

  /* Footer: 2+2 */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

/* ── MEDIUM MOBILE (481px – 768px) ──────────────────────────────────────── */
@media (max-width: 768px) {
  /* Header hint area — show toggle button clearly */
  .header-inner {
    gap: 0.75rem;
  }

  /* Products: 2 col */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 1rem;
  }

  .product-image-container {
    height: 200px;
    padding: 1.25rem;
  }

  /* Section spacing */
  .section {
    padding: 3.75rem 0;
  }

  /* Solutions: 1 col already set, but ensure img height */
  .solution-img-wrap {
    height: 220px;
  }

  /* Quote banner: stacked */
  .quote-banner-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Hero: single col */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-media-wrap {
    max-width: 100%;
  }

  .hero-image-card img {
    height: 340px;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .hero-trust-indicators {
    flex-wrap: wrap;
    gap: 1rem;
  }

  /* Footer fully stacked */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Feature grid: 1 col */
  .features-grid {
    grid-template-columns: 1fr;
  }

  /* Steps grid: 1 col */
  .steps-grid {
    grid-template-columns: 1fr;
  }

  /* Trust: 1 col */
  .trust-grid {
    grid-template-columns: 1fr;
  }

  /* Contact: 1 col */
  .contact-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  /* About grid: 1 col */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  /* Featured project: 1 col */
  .featured-project-grid {
    grid-template-columns: 1fr;
  }

  .featured-project-grid > div:first-child {
    min-height: 280px;
  }

  .featured-project-grid > div:last-child {
    padding: 2rem 1.5rem;
  }

  /* Service row: 1 col */
  .service-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Responsive split: 1 col */
  .responsive-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Solutions grid: 1 col */
  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Photo hero banners */
  .hero-photo-banner {
    padding: 4rem 0 3rem;
  }

  .hero-white-banner {
    padding: 3.75rem 0 2.5rem;
  }

  /* Floating Contact Menu & Footer Clearance */
  .floating-contact-wrapper {
    bottom: 1.25rem;
    right: 1rem;
    max-width: calc(100vw - 2rem);
  }

  .floating-whatsapp {
    padding: 0.68rem 1.05rem;
    font-size: 0.84rem;
    gap: 0.55rem;
    min-height: 44px;
  }

  .floating-contact-item {
    padding: 0.6rem 1rem;
    font-size: 0.84rem;
    gap: 0.65rem;
    min-height: 44px;
  }

  .site-footer {
    padding-bottom: 5.5rem;
  }

  /* Modal */
  .modal-content {
    margin: 0.75rem;
    max-height: calc(100vh - 1.5rem);
  }

  .modal-header {
    padding: 1.25rem 1.25rem 1rem;
  }

  .modal-body {
    padding: 1.25rem 1.25rem;
  }

  /* Detail grid */
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .detail-media-card {
    position: static;
    padding: 1.5rem;
  }
}

/* ── SMALL MOBILE (≤ 480px) ──────────────────────────────────────────────── */
@media (max-width: 480px) {
  /* Container */
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Hero */
  .hero {
    padding: 2.5rem 0 2.5rem;
  }

  .hero-title {
    font-size: clamp(1.85rem, 7vw, 2.35rem);
    line-height: 1.15;
  }

  .hero-subtitle {
    font-size: 0.975rem;
    max-width: 100%;
  }

  .hero-image-card img {
    height: 260px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-badge {
    font-size: 0.72rem;
    padding: 0.3rem 0.75rem;
    margin-bottom: 1.25rem;
  }

  /* Section spacing */
  .section {
    padding: 3rem 0;
  }

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

  /* Photo hero banners */
  .hero-photo-banner {
    padding: 3.25rem 0 2.5rem;
  }

  .hero-photo-banner .section-title {
    font-size: clamp(1.65rem, 6vw, 2rem);
  }

  .hero-photo-banner .section-description {
    font-size: 0.9375rem;
  }

  .hero-white-banner {
    padding: 3rem 0 2.25rem;
  }

  .hero-white-banner .section-title {
    font-size: clamp(1.65rem, 6vw, 2rem);
  }

  /* Products grid: 2-col maintained */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 0.75rem;
  }

  .product-image-container {
    height: 180px;
    padding: 1rem;
  }

  .product-title {
    font-size: 0.9rem;
  }

  .product-desc {
    font-size: 0.78rem;
    -webkit-line-clamp: 2;
  }

  /* Quote banner */
  .quote-banner {
    padding: 2.25rem 1.25rem;
  }

  .quote-banner h2 {
    font-size: clamp(1.5rem, 5.5vw, 2rem);
  }

  .quote-banner p {
    font-size: 1rem;
  }

  .quote-banner-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .quote-banner-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Feature boxes */
  .feature-box {
    padding: 1.75rem 1.5rem;
  }

  /* Step cards */
  .step-card {
    padding: 1.75rem 1.5rem;
  }

  /* Trust cards: horizontal layout maintained */
  .trust-card {
    padding: 1rem 1rem;
  }

  /* Solution image height */
  .solution-img-wrap {
    height: 200px;
  }

  .solution-body {
    padding: 1.5rem 1.25rem;
  }

  /* Footer */
  .footer-grid {
    gap: 1.75rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  /* Floating Contact Menu */
  .floating-contact-wrapper {
    bottom: 1rem;
    right: 0.85rem;
    max-width: calc(100vw - 1.7rem);
  }

  .floating-whatsapp {
    padding: 0.62rem 0.95rem;
    font-size: 0.8125rem;
    min-height: 44px;
  }

  .floating-contact-item {
    padding: 0.58rem 0.9rem;
    font-size: 0.8125rem;
    min-height: 44px;
  }

  /* Detail page */
  .detail-media-card {
    padding: 1.25rem 1rem;
  }

  .detail-media-card img {
    max-height: 240px;
  }

  /* Spec table */
  .spec-table td {
    padding: 0.75rem 0.85rem;
    font-size: 0.8125rem;
  }

  .spec-table td:first-child {
    width: 42%;
  }

  /* Forms */
  .form-control {
    font-size: 1rem; /* prevent zoom on iOS */
    padding: 0.9rem 1rem;
  }

  /* Featured project */
  .featured-project-grid > div:first-child {
    min-height: 220px;
  }

  .featured-project-grid > div:last-child {
    padding: 1.5rem 1rem;
  }

  /* Contact details inline */
  .contact-cards-grid {
    gap: 1.25rem;
  }

  /* Nav hint text size on very small screens */
  .menu-hint-text {
    font-size: 0.65rem;
  }
}

/* ── VERY SMALL (≤ 360px) ────────────────────────────────────────────────── */
@media (max-width: 360px) {
  .container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .hero-title {
    font-size: 1.7rem;
  }

  .brand-name {
    font-size: 1.15rem;
  }

  .brand-tag {
    display: none;
  }

  .btn-lg {
    padding: 0.85rem 1.25rem;
    font-size: 0.9375rem;
  }

  /* Floating Contact Menu on small screens */
  .floating-contact-wrapper {
    bottom: 0.75rem;
    right: 0.65rem;
    max-width: calc(100vw - 1.3rem);
  }

  .floating-whatsapp {
    padding: 0.55rem 0.85rem;
    font-size: 0.78rem;
    gap: 0.45rem;
    min-height: 44px;
  }

  .floating-contact-item {
    padding: 0.52rem 0.8rem;
    font-size: 0.78rem;
    gap: 0.5rem;
    min-height: 44px;
  }

  .floating-contact-icon {
    width: 24px;
    height: 24px;
  }

  .floating-toggle-icons {
    width: 20px;
    height: 20px;
  }

  /* Products 2-col maintained but tighter */
  .products-grid {
    gap: 0.75rem 0.5rem;
  }

  .product-image-container {
    height: 155px;
    padding: 0.85rem;
  }

  .product-title {
    font-size: 0.825rem;
  }

  .filter-btn {
    font-size: 0.72rem;
    padding: 0.38rem 0.75rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  /* Mobile nav hint: compact on very tiny screen */
  .menu-hint-wrap {
    padding: 0.22rem 0.45rem 0.22rem 0.5rem;
    gap: 0.2rem;
  }

  .menu-hint-text {
    font-size: 0.62rem;
  }

  .menu-hint-arrow {
    font-size: 0.8rem;
  }

  /* Trust cards */
  .trust-card {
    padding: 0.85rem 0.85rem;
    gap: 0.85rem;
  }

  .trust-icon-box {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
  }

  /* Solutions */
  .solution-body {
    padding: 1.25rem 1rem;
  }

  .solution-body h3 {
    font-size: 1.15rem;
  }

  /* Detail */
  .detail-media-card {
    padding: 1rem 0.75rem;
  }

  /* Modal */
  .modal-content {
    margin: 0.5rem;
  }

  .modal-header {
    padding: 1rem;
  }

  .modal-body {
    padding: 1rem;
  }

  /* Footer */
  .footer-grid {
    gap: 1.5rem;
  }
}

/* ── PREVENT HORIZONTAL OVERFLOW (root cause fixes) ─────────────────────── */

/* Ensure no child of main sections ever bleeds outside */
.hero,
.trust-strip,
.section,
.hero-photo-banner,
.hero-white-banner,
.site-footer,
.breadcrumb-strip {
  max-width: 100vw;
  overflow-x: hidden;
}

/* Images never overflow */
img {
  max-width: 100%;
  height: auto;
}

/* Buttons never overflow on narrow containers */
.btn {
  max-width: 100%;
  word-break: break-word;
}

/* Top bar wraps cleanly on tablets rather than overflowing */
@media (max-width: 640px) {
  .top-bar {
    display: none;
  }
}

/* ── SOLUTIONS PAGE INLINE STYLE OVERRIDES ───────────────────────────────── */
/* The solutions page uses inline styles for solution rows. Ensure they wrap. */
@media (max-width: 768px) {
  /* Inline flex product badge rows */
  div[style*="display: flex"][style*="flex-wrap: wrap"] {
    gap: 0.4rem !important;
  }

  /* Inline style solution rows (Responsive split) */
  .responsive-split > div > h2 {
    font-size: clamp(1.5rem, 5vw, 2rem) !important;
  }

  /* Services page inline styles */
  .service-row > div > h2 {
    font-size: clamp(1.5rem, 5vw, 2rem) !important;
  }
}

/* ── FORM INPUTS: PREVENT IOS ZOOM ──────────────────────────────────────── */
/* iOS zooms in when input font-size < 16px */
@media (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="search"],
  select,
  textarea {
    font-size: 1rem !important;
  }

  .product-search-wrap input {
    font-size: 1rem;
  }
}

/* ── PRODUCT SEARCH: FULL WIDTH ON MOBILE ───────────────────────────────── */
@media (max-width: 640px) {
  .product-search-wrap {
    max-width: 100%;
  }
}

/* ── HERO FLOATING BADGE: COMPACT ON MOBILE ─────────────────────────────── */
@media (max-width: 480px) {
  .hero-floating-badge {
    padding: 0.65rem 1rem;
    bottom: 1rem;
    left: 1rem;
    gap: 0.65rem;
  }

  .hero-floating-badge .floating-icon {
    width: 34px;
    height: 34px;
  }

  .hero-floating-badge .floating-text h5 {
    font-size: 0.8375rem;
  }

  .hero-floating-badge .floating-text p {
    font-size: 0.7rem;
  }
}

/* ── SPEC TABLE: RESPONSIVE ON MOBILE ───────────────────────────────────── */
@media (max-width: 480px) {
  .spec-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .spec-table {
    min-width: 320px;
  }
}

/* ── BREADCRUMB: WRAP ON MOBILE ─────────────────────────────────────────── */
@media (max-width: 480px) {
  .breadcrumb-list {
    font-size: 0.8125rem;
    gap: 0.35rem;
  }
}

/* ── SECTION TYPOGRAPHY CLAMPS ───────────────────────────────────────────── */
@media (max-width: 480px) {
  .section-title {
    font-size: clamp(1.6rem, 6vw, 2.25rem);
  }

  .section-description {
    font-size: 1rem;
  }
}

/* ── CONTACT PAGE: RESPONSIVE LAYOUT ────────────────────────────────────── */
@media (max-width: 768px) {
  /* Social link rows in contact.html */
  .contact-channels-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ── FOOTER BOTTOM: WRAP ─────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 0.5rem;
  }
}

/* ── ABOUT PAGE: IMAGE ───────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-grid img {
    border-radius: var(--radius-lg);
    max-height: 320px;
    object-fit: cover;
    width: 100%;
  }
}

/* ── PROJECTS PAGE: RESPONSIVE GRID ─────────────────────────────────────── */
@media (max-width: 768px) {
  .featured-project-grid {
    grid-template-columns: 1fr;
    border-radius: var(--radius-lg);
  }
}

/* ── MOBILE NAV: ENSURE FULL HEIGHT ACCESSIBLE DRAWER ───────────────────── */
.mobile-nav-drawer {
  overscroll-behavior: contain;
}

/* ── TOUCH TARGETS: ALL INTERACTIVE ELEMENTS ─────────────────────────────── */
@media (max-width: 768px) {
  .mobile-nav-list a {
    min-height: 48px;
    padding: 0.9rem 1rem;
  }

  .filter-btn {
    min-height: 38px;
  }

  .social-link {
    width: 44px;
    height: 44px;
  }

  .btn {
    min-height: 44px;
  }
}
