/* ==========================================================================
   THEME STYLING & DESIGN SYSTEM: MST SELINA KHATUN - TECHNICAL & LOCAL SEO EXPERT
   Visual Identity: Clean Minimalist Editorial & High-Authority Technical Search
   Reference Aesthetic: NEXORA-inspired light clean canvas, stipple fine art, left-aligned header nav
   Typography: Playfair Display (Headings) + DM Sans (Body)
   Brand Colors:
     - Primary: #059669 (Emerald Green)
     - Primary Dark: #047857 / #065f46
     - Accent: #F59E0B (Amber Gold)
     - Surfaces: Alternating #FFFFFF (Crisp White) and #F3F4F6 (Light Slate Gray)
     - Dark Accent: #1F2937 (Deep Charcoal) & #111827 (Obsidian Slate Footer)
   Card Geometry: Sharp Brutalist Edges (border-radius: 4px / 0px), translateY hover with 4px solid bottom border
   Button Shapes: Refined Extreme Pills (border-radius: 50px)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400..800;1,9..40,400..700&family=Playfair+Display:ital,wght@0,500..900;1,500..800&display=swap');

:root {
  /* Master Color Palette */
  --primary: #059669;
  --primary-hover: #047857;
  --primary-dark: #065f46;
  --primary-light: #ecfdf5;
  --primary-glow: rgba(5, 150, 105, 0.25);
  --primary-gradient: linear-gradient(135deg, #059669 0%, #10b981 100%);
  --primary-gradient-hover: linear-gradient(135deg, #047857 0%, #059669 100%);

  --accent-amber: #f59e0b;
  --accent-gold: #d97706;
  --accent-emerald: #10b981;
  --accent-rose: #ef4444;

  /* Surfaces & Alternating Section Backgrounds */
  --bg-body: #ffffff;
  --bg-alt: #f3f4f6;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-header: rgba(250, 249, 246, 0.94);
  --bg-dark-header: #1f2937;
  --bg-dark-footer: #111827;
  --bg-dark-card: #1f2937;

  /* Crisp Borders */
  --border-light: #e5e7eb;
  --border-card: #e5e7eb;
  --border-subtle: #d1d5db;
  --border-dark: #374151;
  --border-primary: rgba(5, 150, 105, 0.3);

  /* Typography Hierarchy */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --text-heading: #111827;
  --text-body: #4b5563;
  --text-muted: #6b7280;
  --text-dim: #9ca3af;
  --text-white: #ffffff;
  --text-primary: #1f2937;

  /* Brutalist & Pill Radii */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-card: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 50px;

  /* Shadows & Elevation */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.04);
  --shadow-card-hover: 0 16px 36px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 10px 25px rgba(5, 150, 105, 0.2);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-body);
  color: var(--text-body);
  overflow-x: hidden;
  padding-top: 80px; /* Header Offset */
}

body.nav-locked {
  overflow: hidden;
}

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

p {
  color: var(--text-body);
  font-size: 1.05rem;
  line-height: 1.7;
}

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

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

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

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Reading Progress Preloader Bar */
.site-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  z-index: 99999;
}
.preloader-bar {
  height: 100%;
  width: 0%;
  background: var(--primary);
  transition: width 0.2s ease;
}

/* ==========================================================================
   MINIMALIST EDITORIAL HEADER (NAV-ONLY LEFT-ALIGNED — NO LOGO)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-header);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: var(--transition-fast);
}

.site-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  transition: var(--transition-fast);
}

.site-header.is-scrolled .header-inner {
  padding: 10px 24px;
}

/* Left Group: Navigation Only (Logo removed) */
.header-left-cluster {
  display: flex;
  align-items: center;
  gap: 4px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--font-heading);
  flex-shrink: 0;
}

.brand-badge-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.45);
  flex-shrink: 0;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-logo:hover .brand-badge-avatar {
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.65);
}

.brand-badge-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-pill);
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.15rem;
  box-shadow: 0 3px 10px rgba(5, 150, 105, 0.35);
}

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

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

.brand-role {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-top: 2px;
  font-family: var(--font-body);
}

/* Nav Menu: Sleek glass capsule with animated pill button interactions */
.header-left-cluster {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 18px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #4b5563;
  border-radius: 50px;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  text-decoration: none;
  background: transparent;
  user-select: none;
}

.nav-link:hover {
  color: #111827;
  background: rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.nav-link.active {
  color: #ffffff !important;
  background: #111827 !important;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(17, 24, 39, 0.28);
  transform: translateY(-1px);
}

.nav-link:active {
  transform: scale(0.94);
}

/* Header Actions on the Right */
.header-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-heading);
  cursor: pointer;
  padding: 6px;
}

.mobile-nav-backdrop {
  display: none;
}

.drawer-brand-header,
.drawer-cta-item {
  display: none;
}

/* ==========================================================================
   BUTTONS & ACTION STYLES (GLASSMORPHIC & TACTILE SHIMMER ANIMATIONS)
   ========================================================================== */
.btn-pill, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Glass Shimmer Reflection Sweep on Hover */
.btn-pill::before, .btn::before, .btn-hero-dark::before, .btn-hero-whatsapp::before, .btn-gradient::before, .btn-primary::before, .btn-whatsapp::before {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transform: skewX(-25deg);
  transition: 0.75s ease;
  pointer-events: none;
  z-index: 2;
}

.btn-pill:hover::before, .btn:hover::before, .btn-hero-dark:hover::before, .btn-hero-whatsapp:hover::before, .btn-gradient:hover::before, .btn-primary:hover::before, .btn-whatsapp:hover::before {
  left: 150%;
}

.btn-pill:active, .btn:active, .btn-hero-dark:active, .btn-hero-whatsapp:active {
  transform: translateY(1px) scale(0.97) !important;
}

.btn-gradient, .btn-primary {
  background: var(--primary-gradient);
  color: #ffffff !important;
  box-shadow: 0 4px 18px var(--primary-glow);
}

.btn-gradient:hover, .btn-primary:hover {
  background: var(--primary-gradient-hover);
  box-shadow: 0 10px 28px rgba(5, 150, 105, 0.45);
  transform: translateY(-3px) scale(1.03);
  color: #ffffff !important;
}

.btn-dark {
  background: #111827;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(17, 24, 39, 0.2);
}

.btn-dark:hover {
  background: #1f2937;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.38);
  transform: translateY(-3px) scale(1.03);
  color: #ffffff !important;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.6);
  color: var(--text-heading);
  border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.15);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.85);
  color: var(--text-heading);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm), inset 0 1px 1px rgba(255, 255, 255, 0.9);
}

.btn-glass:hover {
  background: #ffffff;
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 24px rgba(5, 150, 105, 0.18);
}

.btn-whatsapp {
  background: #10b981;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-whatsapp:hover {
  background: #059669;
  box-shadow: 0 10px 28px rgba(16, 185, 129, 0.45);
  transform: translateY(-3px) scale(1.03);
  color: #ffffff !important;
}

/* ==========================================================================
   HERO COMMAND CENTER: EXACT REFERENCE MATCH (PINTEREST NEXORA)
   Large Fine-Art Stipple Hands Artwork with SEO Text Overlaying Upper Canvas
   ========================================================================== */
.hero-command-center {
  padding: 30px 0 35px;
  background-color: #faf9f6;
  background-image: radial-gradient(rgba(0, 0, 0, 0.045) 1px, transparent 1px);
  background-size: 14px 14px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}

.hero-stage-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.hero-canvas-art {
  position: relative;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}

.hero-hands-artwork {
  width: 100%;
  max-width: 1320px;
  height: auto;
  display: block;
  margin: 0 auto;
  mix-blend-mode: multiply;
  filter: contrast(1.08) brightness(1.03);
  mask-image: radial-gradient(ellipse 95% 85% at 50% 50%, black 65%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 95% 85% at 50% 50%, black 65%, transparent 100%);
}

.hero-overlay-content {
  position: absolute;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 860px;
  padding: 0 20px;
  text-align: center;
  z-index: 10;
  pointer-events: none;
}

.hero-overlay-content > * {
  pointer-events: auto;
}

.hero-main-title {
  font-family: var(--font-body);
  font-size: clamp(2.3rem, 4.4vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin-bottom: 14px;
  color: #111827;
}

.hero-sub-text {
  font-size: clamp(0.98rem, 1.6vw, 1.15rem);
  color: #4b5563;
  max-width: 640px;
  margin: 0 auto 22px;
  line-height: 1.55;
  font-weight: 450;
}

/* Hero Action Group: 2 Buttons Centered Directly Below the Hands */
.hero-cta-cluster {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: 0 auto;
}

.hero-cta-below-hands {
  margin-top: -65px;
  margin-bottom: 25px;
  position: relative;
  z-index: 10;
}

.btn-hero-dark {
  background: #111827;
  color: #ffffff !important;
  padding: 14px 34px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50px;
  box-shadow: 0 4px 18px rgba(17, 24, 39, 0.25);
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #111827;
  text-decoration: none;
}

.btn-hero-dark:hover {
  background: #000000;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
  color: #ffffff !important;
}

.btn-hero-whatsapp {
  background: #10b981;
  color: #ffffff !important;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50px;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.25);
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #10b981;
  text-decoration: none;
}

.btn-hero-whatsapp:hover {
  background: #059669;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 28px rgba(16, 185, 129, 0.45);
  color: #ffffff !important;
}

@media (max-width: 860px) {
  .hero-command-center {
    padding: 70px 0 25px;
  }
  .hero-canvas-art {
    display: flex;
    flex-direction: column-reverse;
  }
  .hero-overlay-content {
    position: relative;
    top: 0;
    left: auto;
    transform: none;
    margin-bottom: -30px;
    z-index: 5;
  }
  .hero-main-title {
    font-size: 2.1rem;
  }
  .hero-sub-text {
    font-size: 0.95rem;
  }
  .hero-hands-artwork {
    margin-top: 15px;
  }
  .hero-cta-below-hands {
    margin-top: 15px;
    margin-bottom: 10px;
  }
}

/* ==========================================================================
   SECTION 2: LEAD SEARCH STRATEGIST & PERFORMANCE HUD
   Full-Sized, Prominent Presentation of Website Owner (MST Selina Khatun)
   ========================================================================== */
.expert-performance-section {
  padding: 60px 0 50px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.expert-performance-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 28px;
  align-items: stretch;
}

/* Bento Card 1: MST Selina Khatun Profile Card */
.expert-full-profile-card {
  background: rgba(255, 255, 255, 0.82) !important;
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.95) !important;
  border-radius: var(--radius-card);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04), inset 0 1px 2px rgba(255, 255, 255, 0.95);
  border-bottom: 4px solid var(--primary) !important;
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.expert-full-profile-card:hover {
  transform: translateY(-8px) scale(1.015) !important;
  box-shadow: 0 24px 48px rgba(5, 150, 105, 0.14), inset 0 1px 2px rgba(255, 255, 255, 1) !important;
  border-color: rgba(16, 185, 129, 0.5) !important;
}

.profile-avatar-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 18px;
  flex-shrink: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-avatar-wrap:hover {
  transform: scale(1.08) rotate(2deg);
}

.profile-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
  box-shadow: 0 4px 18px var(--primary-glow);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-avatar-wrap:hover .profile-avatar-img {
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.5);
  border-color: #34d399;
}

.profile-hologram-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px dashed rgba(5, 150, 105, 0.45);
  animation: rotate-ring 25s linear infinite;
}

@keyframes rotate-ring {
  100% { transform: rotate(360deg); }
}

.profile-expert-name {
  font-family: var(--font-body);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #ffffff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 900;
}

.profile-expert-title {
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.profile-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  background: var(--primary-light);
  border: 1px solid rgba(5, 150, 105, 0.25);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 16px;
}

.profile-bio-text {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 22px;
  text-align: center;
}

.profile-action-row {
  width: 100%;
  margin-top: auto;
}

/* Bento Card 2: Live Performance HUD & 3 Stats */
.expert-performance-hud-card {
  background: rgba(255, 255, 255, 0.82) !important;
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.95) !important;
  border-radius: var(--radius-card);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04), inset 0 1px 2px rgba(255, 255, 255, 0.95);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.expert-performance-hud-card:hover {
  transform: translateY(-8px) scale(1.012) !important;
  box-shadow: 0 24px 48px rgba(5, 150, 105, 0.14), inset 0 1px 2px rgba(255, 255, 255, 1) !important;
  border-color: rgba(16, 185, 129, 0.5) !important;
}

.metrics-box-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 10px;
}

.metrics-box-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-heading);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.metrics-realtime-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 700;
}

.metrics-stats-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 22px;
}

.stat-metric-cell {
  background: rgba(255, 255, 255, 0.72) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
  border-radius: var(--radius-sm);
  padding: 20px 18px;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.stat-metric-cell:hover {
  border-color: var(--primary) !important;
  background: #ffffff !important;
  transform: translateY(-6px) scale(1.03) !important;
  box-shadow: 0 14px 28px rgba(5, 150, 105, 0.15) !important;
}

.metric-cell-val {
  font-family: var(--font-body);
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 4px;
}

.metric-cell-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.metric-cell-pill {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 600;
}

.mini-growth-chart-wrap {
  width: 100%;
  height: 90px;
  margin-top: 10px;
  position: relative;
  background: rgba(16, 185, 129, 0.03);
  border-radius: var(--radius-sm);
  padding: 6px;
  overflow: hidden;
}

.mini-growth-chart-wrap svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.chart-caption-strip {
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  font-weight: 500;
}

@media (max-width: 991px) {
  .expert-performance-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .metrics-stats-trio {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ==========================================================================
   SECTION 3: TRUST PILLARS RIBBON (4 PILLARS)
   ========================================================================== */
.trust-ribbon-section {
  padding: 45px 0 50px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-light);
}

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

.trust-ribbon-card {
  background: rgba(255, 255, 255, 0.82) !important;
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  border-radius: var(--radius-card);
  padding: 22px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.trust-ribbon-card:hover {
  transform: translateY(-6px) scale(1.02) !important;
  border-color: var(--primary) !important;
  border-bottom: 3px solid var(--primary) !important;
  box-shadow: 0 18px 36px rgba(5, 150, 105, 0.15) !important;
}

.trust-ribbon-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  border: 1px solid rgba(5, 150, 105, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.trust-ribbon-card:hover .trust-ribbon-icon {
  transform: scale(1.15) rotate(5deg);
}

.trust-ribbon-card h4 {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 3px;
}

.trust-ribbon-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 991px) {
  .trust-ribbon-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .trust-ribbon-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   GLASSMORPHIC CARDS & DYNAMIC HOVER MICRO-ANIMATIONS
   ========================================================================== */
.bento-card, 
.bento-srv-card, 
.case-card, 
.case-split-card,
.review-luxury-card, 
.audit-terminal-card,
.process-step-card, 
.blog-card, 
.single-article-card {
  background: rgba(255, 255, 255, 0.82) !important;
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  border-radius: var(--radius-card);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.035), 
              inset 0 1px 1px rgba(255, 255, 255, 0.95);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.bento-card:hover, 
.bento-srv-card:hover, 
.case-card:hover, 
.case-split-card:hover,
.review-luxury-card:hover, 
.audit-terminal-card:hover,
.process-step-card:hover, 
.blog-card:hover {
  transform: translateY(-8px) scale(1.012) !important;
  box-shadow: 0 24px 48px rgba(5, 150, 105, 0.12), 
              0 4px 12px rgba(0, 0, 0, 0.04),
              inset 0 1px 2px rgba(255, 255, 255, 1) !important;
  border-color: rgba(16, 185, 129, 0.5) !important;
  border-bottom: 4px solid var(--primary) !important;
}

/* Bento Capabilities Grid */
.bento-services-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.srv-card-wide { grid-column: span 8; }
.srv-card-narrow { grid-column: span 4; }
.srv-card-full {
  grid-column: span 12;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 36px;
}

.bento-srv-card {
  padding: 36px;
  display: flex;
  flex-direction: column;
}

.srv-badge-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 12px;
  border-radius: var(--radius-xs);
  margin-bottom: 16px;
  width: fit-content;
}

.bento-srv-card h3 {
  font-size: 1.55rem;
  margin-bottom: 12px;
  color: var(--text-heading);
}

.bento-srv-card p {
  color: var(--text-body);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.srv-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.srv-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-heading);
}

.srv-check-icon {
  color: var(--primary);
  font-weight: 800;
}

/* ==========================================================================
   CASE STUDIES SPLIT CARD & GRIDS
   ========================================================================== */
.case-studies-section {
  background: var(--bg-alt);
  padding: 90px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.case-split-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 44px;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.case-split-card:hover {
  transform: translateY(-6px);
  border-bottom: 4px solid var(--primary);
  box-shadow: var(--shadow-card-hover);
}

.case-split-card.reverse {
  direction: rtl;
}
.case-split-card.reverse > * {
  direction: ltr;
}

.case-split-img, .case-right-visual {
  overflow: hidden;
  border-radius: var(--radius-card);
  position: relative;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.case-split-img img, .case-right-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-card);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

.case-split-card:hover .case-right-visual img,
.case-split-card:hover .case-split-img img {
  transform: scale(1.05);
  filter: contrast(1.06) saturate(1.08);
}

.case-stat-badge {
  display: flex;
  gap: 18px;
  margin: 22px 0 26px;
}

.case-stat-item {
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 16px 20px;
}

.case-stat-item .val {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.case-stat-item .desc {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ==========================================================================
   4-STEP SYSTEMATIC PROTOCOL
   ========================================================================== */
.process-section {
  padding: 90px 0;
  background: #ffffff;
}

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

.process-step-card {
  background: var(--bg-alt);
  padding: 34px 24px;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}

.process-step-card h4 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.process-step-card p {
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ==========================================================================
   TESTIMONIALS & REVIEWS LUXURY CARDS
   ========================================================================== */
.reviews-section {
  background: var(--bg-alt);
  padding: 90px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.reviews-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.review-luxury-card {
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-stars {
  color: var(--accent-amber);
  font-size: 1.15rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.review-quote-text {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 24px;
  font-style: italic;
}

.review-author-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--border-light);
  padding-top: 18px;
}

.review-avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-xs);
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  font-size: 0.95rem;
}

.review-author-name {
  font-weight: 700;
  color: var(--text-heading);
  font-size: 0.95rem;
}

.review-author-role {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   DIAGNOSTIC AUDIT TERMINAL SECTION (HIGH CONVERTING)
   ========================================================================== */
.audit-terminal-section {
  padding: 90px 0;
  background: #ffffff;
}

.audit-terminal-card {
  background: var(--bg-dark-header);
  border-radius: var(--radius-card);
  padding: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  box-shadow: var(--shadow-lg);
  color: #ffffff;
}

.terminal-info-side h2 {
  color: #ffffff;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 16px;
}

.terminal-info-side p {
  color: #9ca3af;
  line-height: 1.7;
  margin-bottom: 24px;
}

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

.terminal-perks-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e5e7eb;
  font-weight: 600;
  font-size: 0.95rem;
}

.terminal-form-side {
  background: #111827;
  border: 1px solid #374151;
  border-radius: var(--radius-card);
  padding: 32px;
}

.terminal-form-group {
  margin-bottom: 18px;
}

.terminal-form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #d1d5db;
  margin-bottom: 6px;
}

.terminal-form-input, .terminal-form-select {
  width: 100%;
  padding: 12px 16px;
  background: #1f2937;
  border: 1px solid #374151;
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.terminal-form-input:focus, .terminal-form-select:focus {
  outline: none;
  border-color: var(--primary);
  background: #111827;
}

/* ==========================================================================
   GLOBAL SECTION INTRO BLOCKS (HEADINGS & EYEBROWS - CENTERED)
   ========================================================================== */
.section-intro-block {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 52px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
  border: 1px solid rgba(5, 150, 105, 0.2);
  text-align: center;
}

.section-headline {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  line-height: 1.22;
  margin-bottom: 14px;
  text-align: center;
}

.section-intro-block p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
}

/* ==========================================================================
   FAQ ACCORDION (CENTERED & MODERN)
   ========================================================================== */
.faq-modern-section, .faq-section {
  padding: 95px 0;
  background: #ffffff;
  position: relative;
}

.faq-modern-list, .faq-container {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-modern-item, .faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  margin-bottom: 0;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.faq-modern-item:hover, .faq-item:hover {
  border-color: rgba(5, 150, 105, 0.4);
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.08);
  transform: translateY(-2px);
}

.faq-modern-item.is-open, .faq-item.is-active, .faq-modern-item.is-active {
  border-color: var(--primary);
  border-bottom: 3px solid var(--primary);
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.12);
}

.faq-modern-trigger, .faq-trigger {
  width: 100%;
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-heading);
  cursor: pointer;
  text-align: left;
  line-height: 1.45;
  transition: color 0.2s ease;
}

.faq-modern-trigger:hover, .faq-trigger:hover {
  color: var(--primary);
}

.faq-toggle-icon, .faq-indicator {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-modern-item:hover .faq-toggle-icon,
.faq-modern-item:hover .faq-indicator {
  background: var(--primary-light);
}

.faq-modern-item.is-open .faq-toggle-icon,
.faq-modern-item.is-active .faq-toggle-icon,
.faq-modern-item.is-open .faq-indicator,
.faq-item.is-active .faq-indicator {
  transform: rotate(45deg);
  background: var(--primary);
  color: #ffffff;
}

.faq-modern-content, .faq-content {
  display: none;
  padding: 0 28px 24px 28px;
  color: var(--text-body);
  font-size: 0.98rem;
  line-height: 1.7;
}

.faq-modern-item.is-open .faq-modern-content,
.faq-modern-item.is-active .faq-modern-content,
.faq-modern-item.is-open .faq-content,
.faq-item.is-active .faq-content {
  display: block;
  animation: faqFadeSlide 0.35s ease-out;
}

@keyframes faqFadeSlide {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   CONVERSION CTA STRIP
   ========================================================================== */
.final-cyber-cta, .final-cta-section {
  padding: 90px 0;
  background: #ffffff;
}

.cyber-cta-card, .final-cta-card {
  background: #111827;
  border-radius: var(--radius-card);
  padding: 60px 40px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid #1f2937;
}

.cyber-cta-title {
  color: #ffffff;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 16px;
}

.cyber-cta-sub {
  color: #9ca3af;
  max-width: 640px;
  margin: 0 auto 34px;
  font-size: 1.1rem;
}

/* ==========================================================================
   SOLID OBSIDIAN FOOTER WITH EMERALD ACCENTS (HIGH CONTRAST & READABILITY)
   ========================================================================== */
.site-footer-modern, .site-footer {
  background: #090d16 !important;
  border-top: 3px solid var(--primary);
  padding: 80px 0 35px;
  color: #f3f4f6 !important;
  position: relative;
  z-index: 10;
}

.site-footer-modern a, .site-footer a {
  color: #cbd5e1;
  text-decoration: none;
}

.site-footer-modern .brand-name, .site-footer .brand-name {
  color: #ffffff !important;
}

.site-footer-modern .brand-role, .site-footer .brand-role {
  color: #34d399 !important;
}

.site-footer-modern a:hover, .site-footer a:hover {
  color: #34d399 !important;
}

.site-footer-modern p, .site-footer p {
  color: #cbd5e1 !important;
  font-size: 0.95rem;
  line-height: 1.7;
}

.site-footer-modern strong {
  color: #ffffff !important;
}

.footer-top-grid, .footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col-title {
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff !important;
  margin-bottom: 22px;
  font-family: var(--font-body);
}

.footer-links-list, .footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.footer-links-list a, .footer-links a {
  color: #cbd5e1 !important;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.25s ease;
  display: inline-block;
}

.footer-links-list a:hover, .footer-links a:hover {
  color: #34d399 !important;
  transform: translateX(6px);
}

.footer-social-row {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.social-circle-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-xs);
  background: #1e293b;
  border: 1px solid #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f1f5f9 !important;
  transition: all 0.25s ease;
}

.social-circle-btn:hover {
  background: var(--primary);
  color: #ffffff !important;
  border-color: var(--primary);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.footer-bottom-bar, .footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
  color: #94a3b8 !important;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-bar p {
  color: #94a3b8 !important;
  margin: 0;
}

.dev-credit-link {
  color: #34d399 !important;
  font-weight: 700;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.dev-credit-link:hover {
  color: #ffffff !important;
}

/* Floating WhatsApp Pulse Button */
.floating-pulse-wa {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 10px 25px rgba(5, 150, 105, 0.4);
  z-index: 999;
  transition: var(--transition-smooth);
}

.floating-pulse-wa:hover {
  transform: scale(1.08) translateY(-4px);
  box-shadow: 0 14px 30px rgba(5, 150, 105, 0.6);
}

/* ==========================================================================
   SUBPAGES: SERVICES, PORTFOLIO, BLOG, STANDALONE ARTICLES
   ========================================================================== */
.hero-section {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-light);
}

.page-hero-container {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 20px 70px;
}

.services-stack {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 60px 0;
}

.case-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  padding: 44px;
}

.case-card.reverse {
  direction: rtl;
}
.case-card.reverse > * {
  direction: ltr;
}

.case-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 12px;
  border-radius: var(--radius-xs);
  margin-bottom: 14px;
}

.tech-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.tech-pill {
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  color: var(--text-heading);
  padding: 4px 12px;
  border-radius: var(--radius-xs);
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

/* Blog Cards */
.blog-preview-section {
  background: var(--bg-body);
}

.blog-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

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

.blog-card-thumb {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #e5e7eb;
}

.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.blog-category-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #ffffff;
  color: var(--primary-dark);
  border: 1px solid var(--border-light);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-xs);
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

.blog-card-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 10px;
}

.blog-card-body h3 {
  font-size: 1.35rem;
  color: var(--text-heading);
  line-height: 1.35;
  margin-bottom: 12px;
}

.blog-card-body p {
  color: var(--text-body);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.blog-card-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.blog-card-link {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.92rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.blog-card-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Reader Modal & Standalone Article */
.fullscreen-reader-overlay {
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 999999;
  overflow-y: auto;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.fullscreen-reader-overlay.active {
  display: block;
  opacity: 1;
}
.reader-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}
.reader-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 50px 24px 100px;
}
.reader-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 24px;
}
.reader-callout {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  padding: 24px;
  margin: 30px 0;
  border-radius: var(--radius-xs);
}
.reader-content {
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--text-body);
}
.reader-close-btn {
  padding: 8px 18px;
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  cursor: pointer;
  font-weight: 700;
}
.reader-progress-track {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: var(--border-light);
}
.reader-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--primary);
}
.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.article-breadcrumb a {
  color: var(--primary);
  font-weight: 600;
}

/* Mobile Brand Logo on Header Bar */
.mobile-brand-logo {
  display: none;
}

/* Standalone Mobile Nav Drawer */
.mobile-nav-drawer {
  display: none;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .header-left-cluster { gap: 20px; }
  .nav-menu { gap: 2px; }
  .nav-link { padding: 6px 10px; font-size: 0.88rem; }
  .bento-services-grid { grid-template-columns: 1fr; }
  .srv-card-wide, .srv-card-narrow, .srv-card-full { grid-column: span 12; }
  .srv-card-full { grid-template-columns: 1fr; }
  .case-split-card { grid-template-columns: 1fr; }
  .reviews-grid-3 { grid-template-columns: 1fr; }
  .audit-terminal-card { grid-template-columns: 1fr; }
  .footer-top-grid, .footer-top { grid-template-columns: 1fr 1fr; }
  .case-card { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid-3 { grid-template-columns: 1fr; }
  .metrics-stats-trio { grid-template-columns: 1fr; }
}

@media (max-width: 991px) {
  body { padding-top: 72px; }

  body.nav-locked {
    overflow: hidden !important;
    touch-action: none;
  }

  /* Header on Mobile: Elevated z-index & Crisp Solid Surface */
  .site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    overflow: visible !important;
  }

  .header-inner {
    padding: 10px 16px !important;
  }

  /* Mobile Brand Logo on Header Bar */
  .mobile-brand-logo {
    display: flex !important;
    align-items: center;
    gap: 10px;
    text-decoration: none;
  }

  .mobile-brand-logo .brand-badge-avatar {
    width: 38px;
    height: 38px;
  }

  .mobile-brand-logo .brand-name {
    font-size: 1.05rem;
    font-weight: 800;
  }

  .mobile-brand-logo .brand-role {
    font-size: 0.62rem;
  }

  /* Show CTA Button on Mobile Header so it doesn't look empty */
  .header-desktop-cta {
    display: inline-flex !important;
    padding: 9px 18px !important;
    font-size: 0.85rem !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
  }

  /* Full Screen Dimming & Blurring Backdrop */
  .mobile-nav-backdrop {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: rgba(15, 23, 42, 0.65) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    z-index: 99990 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease !important;
  }

  .mobile-nav-backdrop.is-open,
  .mobile-nav-backdrop.open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  /* Mobile Toggle Hamburger Button */
  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    cursor: pointer;
    padding: 8px;
    border-radius: 10px;
    z-index: 1001 !important;
    position: relative;
    transition: all 0.25s ease;
  }

  .mobile-toggle:hover {
    background: #f1f5f9;
  }

  .mobile-toggle.is-active {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
  }

  .mobile-toggle svg {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .mobile-toggle.is-active svg {
    transform: rotate(90deg);
  }

  /* Standalone Ultra-Premium Solid Mobile Drawer */
  .mobile-nav-drawer {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: min(320px, 85vw) !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: #ffffff !important;
    color: #0f172a !important;
    z-index: 999999 !important;
    border: none !important;
    border-right: 1px solid rgba(226, 232, 240, 0.95) !important;
    border-radius: 0 24px 24px 0 !important;
    box-shadow: 16px 0 50px rgba(0, 0, 0, 0.25) !important;
    transform: translateX(-105%) !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-y !important;
  }

  .mobile-nav-drawer.is-open,
  .mobile-nav-drawer.open {
    transform: translateX(0) !important;
  }

  .drawer-inner {
    padding: 24px 20px 36px !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 100% !important;
  }

  .drawer-brand-header {
    display: block !important;
    padding-bottom: 16px !important;
    margin-bottom: 16px !important;
    border-bottom: 1px solid #e2e8f0 !important;
  }

  .drawer-header-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
  }

  .drawer-brand-name {
    font-family: var(--font-heading) !important;
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    line-height: 1.2 !important;
    display: block !important;
  }

  .drawer-brand-role {
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    color: var(--primary) !important;
    display: block !important;
    margin-top: 2px !important;
    font-family: var(--font-body) !important;
  }

  .drawer-close-btn {
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    color: #64748b !important;
    border-radius: 8px !important;
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    transition: all 0.2s ease !important;
  }

  .drawer-close-btn:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
  }

  .mobile-drawer-menu {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    flex-grow: 1 !important;
  }

  .mobile-drawer-menu li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    width: 100% !important;
  }

  .drawer-link {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    padding: 13px 18px !important;
    font-size: 1.02rem !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    background: #f8fafc !important;
    border: 1px solid rgba(226, 232, 240, 0.85) !important;
    border-radius: 12px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03) !important;
    text-decoration: none !important;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
    user-select: none !important;
    box-sizing: border-box !important;
  }

  .drawer-link:hover, .drawer-link:focus {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    transform: translateX(4px) !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
  }

  .drawer-link.active {
    background: #0f172a !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border-color: #0f172a !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25) !important;
    transform: none !important;
  }

  .drawer-cta-wrapper {
    margin-top: 20px !important;
    padding-top: 16px !important;
    border-top: 1px solid #e2e8f0 !important;
  }

  .drawer-audit-btn {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 13px 20px !important;
    font-size: 0.95rem !important;
    display: flex !important;
    color: #ffffff !important;
  }

  /* Desktop nav-menu on mobile: hide horizontal bar */
  .nav-menu {
    display: none !important;
  }

  .nav-menu .nav-link.active,
  .nav-menu li.current-menu-item > a,
  .nav-menu li.current_page_item > a,
  .nav-menu a.active {
    background: #0f172a !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border-color: #0f172a !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25) !important;
    transform: none !important;
  }

  /* Mobile Drawer Bottom Action CTA */
  .drawer-cta-item {
    display: block !important;
    margin-top: 14px !important;
    padding-top: 14px !important;
    border-top: 1px solid #e2e8f0 !important;
  }

  .drawer-audit-btn {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 13px 20px !important;
    font-size: 0.95rem !important;
    display: flex !important;
    color: #ffffff !important;
  }

  .hero-main-title { font-size: 2.5rem; }
  .process-grid { grid-template-columns: 1fr; }
  
  /* Modern Footer Center Alignment on Mobile */
  .site-footer-modern {
    text-align: center !important;
  }
  .site-footer-modern .footer-top-grid,
  .site-footer-modern .footer-top {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
    text-align: center !important;
  }
  .site-footer-modern .brand-logo {
    justify-content: center !important;
    margin: 0 auto !important;
  }
  .site-footer-modern .brand-text-wrap {
    align-items: center !important;
    text-align: center !important;
  }
  .site-footer-modern p {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }
  .site-footer-modern .footer-social-row {
    justify-content: center !important;
    margin-top: 18px !important;
  }
  .site-footer-modern .footer-col-title {
    text-align: center !important;
  }
  .site-footer-modern .footer-links-list {
    text-align: center !important;
    padding: 0 !important;
  }
  .site-footer-modern .footer-links-list li {
    text-align: center !important;
    margin-bottom: 10px !important;
  }
  .site-footer-modern .footer-links-list li a {
    display: inline-flex !important;
    justify-content: center !important;
    text-align: center !important;
  }
  .site-footer-modern .btn-whatsapp {
    margin: 0 auto !important;
    max-width: 280px !important;
  }
  .footer-bottom-bar {
    flex-direction: column !important;
    text-align: center !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
  }
  .footer-bottom-bar p {
    text-align: center !important;
  }

  .audit-terminal-card { padding: 30px 20px; }
  .cyber-cta-card { padding: 40px 20px; }
  .faq-modern-section, .faq-section { padding: 60px 0; }
  .section-intro-block { margin-bottom: 32px; padding: 0 10px; }
  .section-headline { font-size: 1.85rem; }
  .faq-modern-trigger, .faq-trigger { padding: 18px 20px; font-size: 1rem; }
  .faq-modern-content, .faq-content { padding: 0 20px 20px 20px; font-size: 0.95rem; }
}

@media (max-width: 480px) {
  .mobile-brand-logo .brand-text-wrap {
    display: none !important;
  }
  .header-desktop-cta {
    padding: 7px 12px !important;
    font-size: 0.78rem !important;
  }
}

