/* ==========================================================================
   RaB Technologies - State-of-the-Art Agency Design System & Stylesheet
   Luxury Dark Aesthetic • Bento Grid • Radial Spotlights • Micro-Animations
   ========================================================================== */

:root {
  /* Default Accent: Electric Cyan & Indigo */
  --accent-primary: #06B6D4;
  --accent-secondary: #3B82F6;
  --accent-tertiary: #8B5CF6;
  --accent-glow: rgba(6, 182, 212, 0.4);
  --accent-gradient: linear-gradient(135deg, #06B6D4 0%, #3B82F6 50%, #8B5CF6 100%);
  --accent-gradient-hover: linear-gradient(135deg, #22D3EE 0%, #60A5FA 50%, #A78BFA 100%);

  /* Background Palette */
  --bg-darkest: #07090E;
  --bg-dark: #0B0F19;
  --bg-card: rgba(15, 23, 42, 0.7);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.035);
  --bg-glass-strong: rgba(255, 255, 255, 0.08);

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.2);
  --border-focus: rgba(6, 182, 212, 0.5);

  /* Typography */
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-accent: #38BDF8;

  /* Fonts */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shadows */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 12px 30px -5px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.75);
  --shadow-glow: 0 0 35px var(--accent-glow);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-max: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
}


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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-darkest);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  position: relative;
  background: radial-gradient(circle at 10% 15%, rgba(6, 182, 212, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 90% 30%, rgba(99, 102, 241, 0.08) 0%, transparent 45%),
              radial-gradient(circle at 50% 85%, rgba(59, 130, 246, 0.06) 0%, transparent 50%),
              var(--bg-darkest);
  min-height: 100vh;
}

/* Background Grid Pattern */
.bg-grid-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  pointer-events: none;
  z-index: 0;
}

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

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

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

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

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.section-badge .dot {
  width: 7px;
  height: 7px;
  background-color: var(--accent-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-primary);
  animation: pulse-glow 2s infinite ease-in-out;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

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

.section-header h2 {
  font-size: 2.6rem;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.15rem;
  color: var(--text-secondary);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(7, 9, 14, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(7, 9, 14, 0.95);
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-symbol {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.brand-logo-svg {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.brand-logo:hover .brand-logo-symbol {
  transform: scale(1.05);
}

.brand-logo:hover .brand-logo-svg {
  transform: scale(1.03);
  filter: drop-shadow(0 0 12px var(--accent-glow));
}

.brand-logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-name-rab {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
  letter-spacing: -0.02em;
}

.brand-name-tech {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  color: #94A3B8;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-top: 4px;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

.nav-links li {
  white-space: nowrap;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.4rem 0.5rem;
  position: relative;
  white-space: nowrap;
  display: inline-block;
  letter-spacing: -0.01em;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.hub-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
  background: var(--bg-glass);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  white-space: nowrap;
  flex-shrink: 0;
}

.hub-status-indicator .online-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10B981;
  box-shadow: 0 0 8px #10B981;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #FFFFFF;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  background: var(--accent-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px var(--accent-glow);
}

.btn-secondary {
  background: var(--bg-glass);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--bg-glass-strong);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.6rem;
  cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 5.5rem 0 6.5rem 0;
  position: relative;
}

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

.hero-content h1 {
  font-size: 3.8rem;
  margin-bottom: 1.5rem;
  line-height: 1.12;
}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 2.2rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-visual {
  position: relative;
}

.hero-card-frame {
  position: relative;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.65), var(--shadow-glow);
  transition: var(--transition-smooth);
}

.hero-card-frame:hover {
  transform: translateY(-6px) scale(1.015);
  border-color: var(--border-focus);
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
}

.hero-floating-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(11, 15, 25, 0.88);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
}

.badge-glow-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
}

.badge-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

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

/* ==========================================================================
   Trust Strip
   ========================================================================== */
.trust-strip {
  padding: 2.5rem 0;
  background: rgba(15, 23, 42, 0.45);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.trust-flex {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.trust-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--text-primary);
}

.trust-text span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Services Bento Grid with Cursor Spotlight
   ========================================================================== */
.services-section {
  padding: 7.5rem 0;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Radial Cursor Spotlight */
.bento-card::after {
  content: '';
  position: absolute;
  top: var(--mouse-y, -1000px);
  left: var(--mouse-x, -1000px);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.bento-card:hover::after {
  opacity: 0.25;
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: 1;
}

.bento-card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
  border-color: var(--border-focus);
  box-shadow: var(--shadow-glow);
}

.bento-card:hover::before {
  opacity: 1;
}

.bento-card.highlight {
  grid-column: span 2;
  background: radial-gradient(circle at top right, rgba(6, 182, 212, 0.12), transparent 60%),
              var(--bg-card);
}

.card-icon-svg {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  margin-bottom: 1.5rem;
}

.card-icon-svg svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent-primary);
  stroke-width: 2;
  fill: none;
}

.card-title {
  font-size: 1.45rem;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.card-description {
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.tech-tag {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: var(--text-accent);
  font-weight: 500;
}

.card-link {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  position: relative;
  z-index: 1;
}

.card-link:hover {
  gap: 10px;
}

/* ==========================================================================
   Interactive Tech Ecosystem Showcase
   ========================================================================== */
.ecosystem-section {
  padding: 6rem 0;
  background: radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 0.7), transparent 70%);
}

.ecosystem-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.eco-tab-btn {
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.eco-tab-btn:hover,
.eco-tab-btn.active {
  background: var(--accent-gradient);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}

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

.eco-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: var(--transition-fast);
}

.eco-item:hover {
  transform: translateY(-4px);
  border-color: var(--border-focus);
}

.eco-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-glass-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.eco-item-info strong {
  display: block;
  font-size: 1.05rem;
  color: var(--text-primary);
}

.eco-item-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   5-Step Process Section
   ========================================================================== */
.process-section {
  padding: 7rem 0;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  position: relative;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  transition: var(--transition-normal);
  cursor: pointer;
}

.step-card:hover,
.step-card.active-step {
  transform: translateY(-6px);
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-glow);
}

.step-number {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 2px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-primary);
  margin: 0 auto 1.25rem auto;
}

.step-card:hover .step-number,
.step-card.active-step .step-number {
  background: var(--accent-gradient);
  color: #FFFFFF;
  border-color: transparent;
}

.step-title {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

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

/* ==========================================================================
   Case Studies & Filter
   ========================================================================== */
.work-section {
  padding: 7.5rem 0;
}

.case-filter-bar {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.case-filter-btn {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.case-filter-btn:hover,
.case-filter-btn.active {
  background: var(--accent-primary);
  color: #FFFFFF;
  border-color: var(--accent-primary);
}

.work-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-lg);
  margin-bottom: 2.5rem;
}

.work-info h3 {
  font-size: 2.3rem;
  margin-bottom: 1rem;
}

.work-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--accent-primary);
  font-weight: 600;
}

.work-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--bg-glass);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.metric-box strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: #10B981;
}

.metric-box span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.work-visual-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-md);
}

.work-visual-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Interactive Scope & Cost Estimator
   ========================================================================== */
.estimator-section {
  padding: 7rem 0;
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.08), transparent 60%);
}

.estimator-box {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-lg);
}

.estimator-options-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.option-btn {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--text-secondary);
}

.option-btn:hover,
.option-btn.selected {
  background: rgba(6, 182, 212, 0.14);
  border-color: var(--accent-primary);
  color: var(--text-primary);
  box-shadow: 0 0 20px var(--accent-glow);
}

.option-btn .icon {
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
  display: block;
}

.option-btn span {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
}

.estimator-results {
  background: rgba(11, 15, 25, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.result-detail h4 {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.result-detail p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-section {
  padding: 7rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  color: #FBBF24;
  margin-bottom: 1.25rem;
  font-size: 1.15rem;
}

.testimonial-quote {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-primary);
  margin-bottom: 1.75rem;
  font-style: italic;
}

.testimonial-client {
  display: flex;
  align-items: center;
  gap: 14px;
}

.client-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #FFFFFF;
}

.client-info strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-primary);
}

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

/* ==========================================================================
   Global Hubs & Contact Form
   ========================================================================== */
.contact-section {
  padding: 7rem 0;
  background: radial-gradient(circle at 15% 50%, rgba(6, 182, 212, 0.06), transparent 50%),
              radial-gradient(circle at 85% 50%, rgba(99, 102, 241, 0.06), transparent 50%);
}

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

.hub-cards-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hub-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: var(--transition-normal);
}

.hub-card:hover {
  border-color: var(--accent-primary);
  transform: translateX(4px);
}

.hub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.hub-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  color: var(--text-primary);
}

.hub-time {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  background: var(--bg-glass);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  color: var(--accent-primary);
  font-weight: 600;
}

.hub-details p {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.hub-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-accent);
  font-weight: 600;
  margin-top: 0.5rem;
}

.hub-phone:hover {
  text-decoration: underline;
}

.contact-form-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  box-shadow: var(--shadow-lg);
}

.contact-form-box h3 {
  font-size: 1.85rem;
  margin-bottom: 0.5rem;
}

.contact-form-box p {
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
}

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

@media (max-width: 640px) {
  .form-row-2col {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

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

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(11, 15, 25, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 12px var(--accent-glow);
  background: rgba(11, 15, 25, 0.95);
}

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

/* ==========================================================================
   Interactive Theme Accent Switcher Widget
   ========================================================================== */
.theme-switcher-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
}

.theme-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.accent-pill {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition-fast);
}

.accent-pill:hover,
.accent-pill.active {
  transform: scale(1.2);
  border-color: #FFFFFF;
}

.pill-cyan { background: #06B6D4; }
.pill-purple { background: #A855F7; }
.pill-emerald { background: #10B981; }
.pill-amber { background: #F59E0B; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #05070A;
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0 5.5rem 0;
}

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

.footer-brand p {
  margin: 1rem 0 1.5rem 0;
  max-width: 340px;
  font-size: 0.95rem;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  padding-bottom: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding-right: 250px; /* Safe buffer zone: prevents toolbar from ever overlapping links */
  padding-left: 190px;  /* Safe buffer zone: prevents WhatsApp badge from overlapping copyright */
}

@media (max-width: 1200px) {
  .footer-bottom {
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 90px; /* Ample vertical buffer when stacked on tablet/mobile */
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }
}

.legal-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.legal-links a {
  color: var(--text-muted);
}

.legal-links a:hover {
  color: var(--text-primary);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1200px) {
  .hub-status-indicator {
    display: none;
  }
  .nav-links {
    gap: 1.1rem;
  }
  .nav-links a {
    font-size: 0.88rem;
    padding: 0.35rem 0.4rem;
  }
}

@media (max-width: 992px) {
  .nav-links, .hub-status-indicator {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-description {
    margin: 0 auto 2rem auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-social-proof {
    justify-content: center;
  }

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

  .bento-card.highlight {
    grid-column: span 2;
  }

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

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

  .work-showcase-grid {
    grid-template-columns: 1fr;
  }

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

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

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.3rem;
  }

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

  .bento-card.highlight {
    grid-column: span 1;
  }

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

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

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

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

  .footer-top {
    grid-template-columns: 1fr;
  }
}


/* WhatsApp Direct CTA */
.btn-whatsapp {
  background: #25D366;
  color: #07090E !important;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  font-size: 0.88rem;
  white-space: nowrap;
}

.btn-whatsapp:hover {
  background: #1EBE5D;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* Floating WhatsApp Quick Connect Badge */
.floating-whatsapp-badge {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 998;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(11, 15, 25, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(37, 211, 102, 0.4);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  color: #FFFFFF;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  transition: var(--transition-fast);
}

.floating-whatsapp-badge:hover {
  border-color: #25D366;
  background: rgba(15, 23, 42, 0.98);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
}

.whatsapp-icon-bubble {
  font-size: 1.15rem;
}

.whatsapp-text-label {
  color: #F8FAFC;
}

.whatsapp-online-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 0 10px #25D366;
  display: inline-block;
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 640px) {
  .floating-whatsapp-badge .whatsapp-text-label {
    display: none;
  }
  .floating-whatsapp-badge {
    padding: 10px;
    border-radius: 50%;
  }
}
