/* ============================================================
   BARUA CONSULTING — Shared Stylesheet
   ============================================================ */

/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ===== VARIABLES ===== */
:root {
  --bg-primary: #050d1a;
  --bg-secondary: #0a1628;
  --bg-card: rgba(10, 22, 50, 0.7);
  --accent-blue: #0057ff;
  --accent-blue-light: #3380ff;
  --accent-cyan: #00d4ff;
  --accent-teal: #00c8a0;
  --accent-glow: rgba(0, 84, 255, 0.25);
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: rgba(0, 212, 255, 0.15);
  --border-hover: rgba(0, 212, 255, 0.45);
  --shadow-card: 0 4px 40px rgba(0, 84, 255, 0.1);
  --shadow-hover: 0 8px 60px rgba(0, 212, 255, 0.2);
  --gradient-primary: linear-gradient(135deg, #0057ff 0%, #00d4ff 100%);
  --gradient-text: linear-gradient(135deg, #ffffff 0%, #00d4ff 60%, #00c8a0 100%);
  --gradient-card: linear-gradient(135deg, rgba(0, 87, 255, 0.08) 0%, rgba(0, 212, 255, 0.04) 100%);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --nav-height: 80px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===== ANIMATED GRID BACKGROUND ===== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 87, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 87, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridScroll 30s linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes gridScroll {
  from { transform: translateY(0); }
  to   { transform: translateY(60px); }
}

/* ===== SCROLL PROGRESS BAR ===== */
#progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: var(--gradient-primary);
  width: 0%;
  z-index: 10000;
  transition: width 0.1s linear;
  box-shadow: 0 0 12px var(--accent-cyan);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: var(--gradient-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerText 4s linear infinite;
}

@keyframes shimmerText {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ===== NAVIGATION ===== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  padding: 0 clamp(20px, 5vw, 60px);
  z-index: 1000;
  transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}

#navbar.scrolled {
  background: rgba(5, 13, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border), 0 8px 32px rgba(0, 0, 0, 0.3);
}

.nav-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.nav-logo img {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.4));
  transition: filter var(--transition);
  animation: logoPulse 3s ease-in-out infinite;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-logo-text .logo-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.nav-logo-text .logo-inc {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@keyframes logoPulse {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.4)); }
  50%       { filter: drop-shadow(0 0 16px rgba(0, 212, 255, 0.7)); }
}

.nav-logo:hover img { filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.9)); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 16px; right: 16px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

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

.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav-drawer {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: rgba(5, 13, 26, 0.97);
  backdrop-filter: blur(20px);
  padding: 24px clamp(20px, 5vw, 60px) 40px;
  border-bottom: 1px solid var(--border);
  transform: translateY(-100%);
  opacity: 0;
  transition: transform var(--transition), opacity var(--transition);
  z-index: 999;
}

.nav-drawer.open {
  transform: translateY(0);
  opacity: 1;
}

.nav-drawer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-drawer ul a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.nav-drawer ul a:hover {
  color: var(--text-primary);
  background: var(--gradient-card);
  border-color: var(--border);
}

.nav-drawer .drawer-cta {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.15) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn:hover::before { transform: translateX(100%); }

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(0, 87, 255, 0.5);
}

.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--accent-cyan);
  border: 1.5px solid var(--accent-cyan);
}

.btn-outline:hover {
  background: rgba(0, 212, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.2);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border-color: var(--border-hover);
}

.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-sm { padding: 9px 20px; font-size: 0.875rem; }
.btn-full { width: 100%; justify-content: center; }

/* Pulse ring for primary CTA */
.btn-pulse {
  animation: btnPulseRing 2.5s ease-in-out infinite;
}

@keyframes btnPulseRing {
  0%   { box-shadow: 0 4px 24px rgba(0, 87, 255, 0.35), 0 0 0 0 rgba(0, 87, 255, 0.4); }
  50%  { box-shadow: 0 4px 24px rgba(0, 87, 255, 0.35), 0 0 0 12px rgba(0, 87, 255, 0); }
  100% { box-shadow: 0 4px 24px rgba(0, 87, 255, 0.35), 0 0 0 0 rgba(0, 87, 255, 0); }
}

/* ===== SECTION LAYOUTS ===== */
section { position: relative; z-index: 1; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

.section-pad { padding: 100px 0; }
.section-pad-sm { padding: 60px 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 50px;
  padding: 6px 16px;
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 6px var(--accent-cyan);
  animation: dot-pulse 2s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

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

/* ===== CARDS ===== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition);
}

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

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

.card-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  background: rgba(0, 87, 255, 0.12);
  border: 1px solid rgba(0, 87, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent-cyan);
  margin-bottom: 20px;
  transition: all var(--transition);
}

.card:hover .card-icon {
  background: rgba(0, 87, 255, 0.2);
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
  transform: scale(1.1) rotate(5deg);
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  transition: color var(--transition);
}

.card:hover h3 { color: var(--accent-cyan); }

.card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

.stat-item {
  text-align: center;
  padding: 20px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: var(--border);
}

.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  min-height: 380px;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 60px) 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -200px; left: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0, 87, 255, 0.12) 0%, transparent 70%);
  animation: orbFloat 12s ease-in-out infinite;
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
  animation: orbFloat 10s ease-in-out infinite reverse;
  pointer-events: none;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(30px, -20px) scale(1.05); }
  66%       { transform: translate(-20px, 30px) scale(0.95); }
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 16px; }
.page-hero p { font-size: 1.1rem; color: var(--text-secondary); max-width: 560px; }

/* ===== FOOTER ===== */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand img {
  height: 48px;
  width: auto;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.3));
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

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

.footer-col ul a {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-col ul a:hover { color: var(--accent-cyan); }

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p { font-size: 0.85rem; color: var(--text-muted); }

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.footer-socials a:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(0, 212, 255, 0.08);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.2);
}

/* ===== GLOW DIVIDER ===== */
.glow-divider {
  width: 80px; height: 3px;
  background: var(--gradient-primary);
  border-radius: 3px;
  margin: 16px 0 32px;
  box-shadow: 0 0 16px rgba(0, 87, 255, 0.4);
}

.glow-divider.center { margin: 16px auto 32px; }

/* ===== SCROLL ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.fade-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-left.visible { opacity: 1; transform: translateX(0); }

.fade-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-right.visible { opacity: 1; transform: translateX(0); }

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }
.stagger-7 { transition-delay: 0.7s; }
.stagger-8 { transition-delay: 0.8s; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, rgba(0, 87, 255, 0.12) 0%, rgba(0, 212, 255, 0.06) 100%);
  border: 1px solid rgba(0, 87, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(0, 87, 255, 0.06) 0%, transparent 50%);
  animation: ctaGlow 6s ease-in-out infinite;
}

@keyframes ctaGlow {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.1); }
}

.cta-banner h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin-bottom: 16px; }
.cta-banner p  { font-size: 1.05rem; color: var(--text-secondary); margin-bottom: 32px; }

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ===== CALENDLY STRIP ===== */
.calendly-strip {
  background: linear-gradient(90deg, rgba(0, 200, 160, 0.08) 0%, rgba(0, 87, 255, 0.08) 100%);
  border: 1px solid rgba(0, 200, 160, 0.2);
  border-radius: var(--radius);
  padding: 28px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.calendly-strip h3 { font-size: 1.2rem; margin-bottom: 4px; }
.calendly-strip p { font-size: 0.9rem; color: var(--text-secondary); margin: 0; }

/* ===== FORM STYLES ===== */
.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  padding: 13px 16px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--accent-blue);
  background: rgba(0, 87, 255, 0.04);
  box-shadow: 0 0 0 3px rgba(0, 87, 255, 0.12);
}

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

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

select.form-control { cursor: pointer; }
select.form-control option { background: var(--bg-secondary); }

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

/* ===== UTILITIES ===== */
.text-cyan   { color: var(--accent-cyan); }
.text-blue   { color: var(--accent-blue-light); }
.text-teal   { color: var(--accent-teal); }
.text-muted  { color: var(--text-muted); }
.text-center { text-align: center; }

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

.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

/* Custom cursor disabled */
#cursor { display: none; }

/* ===== TWO-COL RESPONSIVE GRID ===== */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.two-col-grid--top { align-items: start; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .two-col-grid { gap: 48px; }
}

@media (max-width: 900px) {
  .two-col-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --nav-height: 70px; }

  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-drawer { display: block; }

  /* Nav logo — shrink text on small screens */
  .nav-logo-text .logo-name { font-size: 0.9rem; }
  .nav-logo-text .logo-inc  { font-size: 0.65rem; }
  .nav-logo img { height: 38px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item::after { display: none !important; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand p { max-width: 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .calendly-strip { flex-direction: column; text-align: center; }
  .section-pad { padding: 70px 0; }

  /* CTA banner buttons */
  .cta-banner { padding: 40px 24px; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn { width: 100%; justify-content: center; max-width: 360px; }

  /* Page hero */
  .page-hero { min-height: auto; padding: calc(var(--nav-height) + 40px) 0 60px; }

  /* Section headers */
  .section-subtitle { font-size: 0.95rem; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  /* Stats — 2 per row */
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: 1.8rem; }

  /* Cards */
  .card { padding: 24px 20px; }

  /* Calendly strip button full width */
  .calendly-strip .btn { width: 100%; justify-content: center; }

  /* Section padding tighter on small phones */
  .section-pad { padding: 56px 0; }
  .section-pad-sm { padding: 40px 0; }
}

@media (max-width: 480px) {
  /* Nav logo — hide text on very small screens */
  .nav-logo-text { display: none; }
  .nav-logo img { height: 36px; }

  .btn-lg { padding: 14px 24px; font-size: 0.95rem; }

  /* Footer bottom stack */
  .footer-bottom p:last-child { display: none; }
}
