/* ========================================================
   Vidhaata Technologies — Dark Theme Stylesheet
   Brand: #3876BF (primary) · #192655 (deep navy)
======================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #e2e8f0;
  background: #060a1c;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

:root {
  --primary: #3876BF;
  --primary-dark: #2d62a3;
  --primary-light: #5b94d6;
  --primary-glow: #6ba4e6;
  --navy: #192655;
  --navy-deep: #0f1a3d;

  --bg: #060a1c;
  --bg-alt: #0a1130;
  --bg-card: #0f1a3d;
  --bg-elevated: #142152;
  --bg-input: #0a1130;

  --border: rgba(91, 148, 214, 0.14);
  --border-strong: rgba(91, 148, 214, 0.28);
  --border-bright: rgba(91, 148, 214, 0.5);

  --text: #ffffff;
  --text-soft: #d6dff0;
  --text-muted: #9fb0d0;
  --text-dim: #6b7a9c;

  --gradient: linear-gradient(135deg, #192655 0%, #3876BF 100%);
  --gradient-bright: linear-gradient(135deg, #3876BF 0%, #5b94d6 100%);
  --gradient-soft: linear-gradient(135deg, rgba(56,118,191,0.18) 0%, rgba(25,38,85,0.4) 100%);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 12px 28px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);
  --shadow-brand: 0 14px 36px rgba(56, 118, 191, 0.45);
  --shadow-glow: 0 0 0 1px rgba(91, 148, 214, 0.2), 0 24px 60px rgba(56, 118, 191, 0.18);

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; position: relative; }
.section-sm { padding: 70px 0; }
.section-alt { background: var(--bg-alt); }

h1, h2, h3, h4, h5 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }

p { color: var(--text-soft); }

.gradient-text {
  background: linear-gradient(135deg, #fff 0%, #6ba4e6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(56, 118, 191, 0.15);
  color: var(--primary-glow);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 18px;
  border: 1px solid rgba(56, 118, 191, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--primary-glow); box-shadow: 0 0 8px var(--primary-glow); }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.section-head p { color: var(--text-muted); font-size: 1.08rem; margin-top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-bright);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(56, 118, 191, 0.55); }
.btn-secondary {
  background: rgba(91, 148, 214, 0.08);
  color: var(--text);
  border: 1.5px solid var(--border-strong);
}
.btn-secondary:hover { border-color: var(--primary-light); background: rgba(91, 148, 214, 0.15); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--text); padding: 10px 14px; }
.btn-ghost:hover { color: var(--primary-glow); }
.btn-white { background: #fff; color: var(--navy-deep); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(0,0,0,0.35); }
.btn-outline-white { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.4); }
.btn-outline-white:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

.btn-arrow::after { content: '\2192'; transition: transform 0.25s ease; }
.btn-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6, 10, 28, 0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  color: var(--text);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.brand img { height: 44px; width: auto; }
.brand-fallback {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: var(--gradient-bright);
  color: #fff;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: var(--shadow-brand);
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 10px 14px;
  font-weight: 500;
  color: var(--text-soft);
  border-radius: 10px;
  transition: all 0.2s ease;
  font-size: 0.95rem;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary-glow); background: rgba(91, 148, 214, 0.1); }

.has-dropdown { position: relative; }
.dropdown-toggle::after { content: '\25BE'; margin-left: 4px; font-size: 0.7rem; color: var(--text-dim); }
.dropdown-menu {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: 320px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-strong);
  padding: 10px;
  opacity: 0; visibility: hidden;
  transition: all 0.2s ease;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 12px;
  border-radius: 10px;
  font-size: 0.92rem;
  color: var(--text-soft);
}
.dropdown-menu a:hover { background: rgba(91, 148, 214, 0.1); color: var(--primary-glow); }
.dropdown-menu .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary-glow); flex-shrink: 0; box-shadow: 0 0 8px var(--primary-glow); }
.nav-cta { margin-left: 8px; }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; align-items: center; justify-content: center; background: rgba(91, 148, 214, 0.1); }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; width: 22px; height: 2px; background: var(--text); }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 90px 0 110px;
  background: var(--bg);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(56, 118, 191, 0.35), transparent 45%),
    radial-gradient(circle at 85% 70%, rgba(25, 38, 85, 0.65), transparent 50%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(91,148,214,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91,148,214,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
}
.hero .container { position: relative; z-index: 2; }

.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero p.lead { color: var(--text-soft); font-size: 1.18rem; max-width: 560px; margin-bottom: 30px; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 50px; padding-top: 40px;
  border-top: 1px solid var(--border-strong);
}
.hero-stats .num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.1rem; font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, var(--primary-glow) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.hero-stats .label { color: var(--text-muted); font-size: 0.9rem; margin-top: 8px; }

.hero-visual { position: relative; height: 460px; }
.hero-card {
  position: absolute;
  background: rgba(15, 26, 61, 0.85);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-lg);
  color: var(--text);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px);
}
.hero-card-1 { top: 30px; left: 0; width: 280px; animation: float 6s ease-in-out infinite; }
.hero-card-2 { top: 180px; right: 0; width: 290px; animation: float 6s ease-in-out infinite 1.5s; }
.hero-card-3 { bottom: 10px; left: 50px; width: 300px; animation: float 6s ease-in-out infinite 3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.hero-card .icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(56, 118, 191, 0.18);
  color: var(--primary-glow);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
  border: 1px solid var(--border-strong);
}
.hero-card h4 { font-size: 1rem; margin-bottom: 4px; color: #fff; }
.hero-card .meta { font-size: 0.85rem; color: var(--text-muted); }
.hero-card .bar {
  margin-top: 12px;
  height: 6px; border-radius: 999px;
  background: rgba(91, 148, 214, 0.12);
  overflow: hidden;
  position: relative;
}
.hero-card .bar::after {
  content: '';
  position: absolute; left: 0; top: 0; height: 100%;
  width: var(--w, 70%);
  background: var(--gradient-bright);
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(91, 148, 214, 0.6);
}

/* ---------- Trust strip ---------- */
.trust {
  padding: 36px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust .row {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 50px;
  color: var(--text-dim);
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
  text-transform: uppercase;
}
.trust .label { color: var(--text-muted); font-size: 0.85rem; text-transform: none; }

/* ---------- Service Cards Grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  color: var(--text);
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); border-color: var(--border-bright); background: var(--bg-elevated); }
.service-card:hover::before { transform: scaleX(1); }

.service-card .icon-wrap {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(56, 118, 191, 0.14);
  border: 1px solid var(--border-strong);
  color: var(--primary-glow);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: all 0.3s ease;
}
.service-card:hover .icon-wrap { background: var(--gradient-bright); color: #fff; border-color: transparent; box-shadow: 0 8px 24px rgba(56, 118, 191, 0.4); }
.service-card h3 { margin-bottom: 10px; font-size: 1.2rem; color: #fff; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; }
.service-card .learn-more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px;
  color: var(--primary-glow);
  font-weight: 600;
  font-size: 0.9rem;
}
.service-card .learn-more::after { content: '\2192'; transition: transform 0.25s ease; }
.service-card:hover .learn-more::after { transform: translateX(4px); }

/* ---------- Feature blocks ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.feature-row.reverse > :first-child { order: 2; }
.feature-row + .feature-row { margin-top: 100px; }
.feature-row .visual {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 36px;
  border: 1px solid var(--border);
}
.feature-list { margin-top: 24px; }
.feature-list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border);
  color: var(--text-soft);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li strong { color: #fff; }
.feature-list .check {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--gradient-bright);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  margin-top: 2px;
  box-shadow: 0 4px 12px rgba(56, 118, 191, 0.4);
}

/* ---------- Mini cards used inside visuals ---------- */
.mini-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  color: var(--text);
}
.mini-card .num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, var(--primary-glow) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.mini-card .label { color: var(--text-muted); font-size: 0.88rem; margin-top: 6px; }
.mini-card.solid {
  background: var(--gradient-bright);
  border-color: transparent;
}
.mini-card.solid .num { background: none; -webkit-text-fill-color: #fff; color: #fff; }
.mini-card.solid .label { color: rgba(255,255,255,0.85); }

/* ---------- Stat band ---------- */
.stat-band {
  background: var(--bg-alt);
  color: #fff;
  padding: 70px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-band::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(56,118,191,0.18), transparent 55%),
    radial-gradient(circle at 80% 50%, rgba(25,38,85,0.4), transparent 55%);
}
.stat-band .container { position: relative; z-index: 2; }
.stat-band .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-band .num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 3rem; font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, var(--primary-glow) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-band .label { color: var(--text-muted); margin-top: 6px; font-size: 0.95rem; }

/* ---------- Process steps ---------- */
.process-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  position: relative;
}
.process-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  transition: all 0.3s ease;
}
.process-step:hover { box-shadow: var(--shadow-glow); transform: translateY(-4px); border-color: var(--border-bright); background: var(--bg-elevated); }
.process-step .num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  background: var(--gradient-bright);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 14px;
}
.process-step h3 { font-size: 1.1rem; margin-bottom: 8px; color: #fff; }
.process-step p { color: var(--text-muted); font-size: 0.92rem; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 840px; margin: 0 auto; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: all 0.2s ease;
}
.faq-item[open] { border-color: var(--border-bright); background: var(--bg-elevated); }
.faq-item summary {
  list-style: none;
  padding: 20px 24px;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 700;
  color: #fff;
  font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--primary-glow);
  font-weight: 400;
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item .faq-body {
  padding: 0 24px 22px;
  color: var(--text-soft);
  font-size: 0.97rem;
}
.faq-item .faq-body em { color: var(--primary-glow); font-style: normal; }

/* ---------- CTA Band ---------- */
.cta {
  background: var(--gradient);
  color: #fff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(91,148,214,0.4), transparent 50%),
              radial-gradient(circle at 80% 100%, rgba(255,255,255,0.08), transparent 55%);
}
.cta .container { position: relative; z-index: 2; }
.cta h2 { color: #fff; margin-bottom: 16px; }
.cta p { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 640px; margin: 0 auto 28px; }
.cta-actions { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: #03061a;
  color: var(--text-muted);
  padding: 70px 0 30px;
  border-top: 1px solid var(--border);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 50px; margin-bottom: 50px; }
.footer-brand p { color: var(--text-muted); margin-top: 18px; max-width: 300px; font-size: 0.95rem; }
.footer-brand .brand { color: #fff; }
.footer-col h5 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: var(--text-muted); font-size: 0.93rem; transition: color 0.2s ease; }
.footer-col ul a:hover { color: var(--primary-glow); }
.footer-col p, .footer-col a { font-size: 0.93rem; }

.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(91, 148, 214, 0.08);
  border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-soft);
  transition: all 0.2s ease;
}
.socials a:hover { background: var(--gradient-bright); color: #fff; transform: translateY(-2px); border-color: transparent; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 26px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  font-size: 0.88rem;
  color: var(--text-dim);
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  background: var(--bg);
  color: #fff;
  padding: 70px 0 100px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(56, 118, 191, 0.35), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(25, 38, 85, 0.6), transparent 50%);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(91,148,214,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91,148,214,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 75%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; }
.page-hero p { color: var(--text-soft); font-size: 1.15rem; max-width: 680px; margin-top: 18px; }

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
}
.page-hero-grid .page-hero-content { max-width: 620px; }
.page-hero-grid .page-hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-top: 30px;
}

.page-hero-visual {
  position: relative;
  min-height: 420px;
  display: flex; align-items: center; justify-content: center;
}

/* unified card style for hero visuals */
.hv-card {
  background: rgba(15, 26, 61, 0.85);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 22px;
  color: var(--text);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
}
.hv-floating { position: absolute; }
.hv-glow {
  position: absolute; inset: -20px;
  background: radial-gradient(circle, rgba(56,118,191,0.25), transparent 70%);
  filter: blur(40px);
  z-index: -1;
}

.breadcrumb {
  display: flex; gap: 8px; align-items: center;
  font-size: 0.9rem; color: var(--text-muted);
  margin-bottom: 22px;
}
.breadcrumb a { color: var(--text-soft); }
.breadcrumb a:hover { color: var(--primary-glow); }
.breadcrumb .sep { color: var(--text-dim); }

/* ---------- About specifics ---------- */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: all 0.3s ease;
}
.value-card:hover { box-shadow: var(--shadow-glow); transform: translateY(-4px); border-color: var(--border-bright); background: var(--bg-elevated); }
.value-card .icon-wrap {
  width: 50px; height: 50px;
  border-radius: 12px;
  background: var(--gradient-bright);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 8px 20px rgba(56, 118, 191, 0.4);
}
.value-card h3 { font-size: 1.1rem; margin-bottom: 8px; color: #fff; }
.value-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Service inner — pricing / packages ---------- */
.package-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.package {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.3s ease;
  position: relative;
  color: var(--text);
}
.package:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); border-color: var(--border-bright); }
.package.featured {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-brand);
}
.package.featured h3, .package.featured .price { color: #fff; }
.package.featured p, .package.featured li { color: rgba(255,255,255,0.85); }
.package.featured .desc { color: rgba(255,255,255,0.78); }
.package .badge {
  position: absolute; top: -12px; right: 22px;
  background: var(--gradient-bright);
  color: #fff;
  font-size: 0.78rem;
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 14px rgba(56, 118, 191, 0.5);
}
.package h3 { font-size: 1.15rem; margin-bottom: 6px; color: #fff; }
.package .desc { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 18px; }
.package .price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2rem; font-weight: 800;
  color: #fff;
  margin-bottom: 18px;
}
.package .price small { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }
.package.featured .price small { color: rgba(255,255,255,0.78); }
.package ul { margin-bottom: 22px; }
.package ul li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 8px 0;
  font-size: 0.93rem;
  color: var(--text-soft);
}
.package ul li::before {
  content: '\2713';
  color: var(--primary-glow);
  font-weight: 800;
  flex-shrink: 0;
}
.package.featured ul li::before { color: #fff; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: start; }
.contact-card {
  background: var(--gradient);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-brand);
}
.contact-card h3 { color: #fff; margin-bottom: 14px; }
.contact-card p { color: rgba(255,255,255,0.86); margin-bottom: 26px; }
.contact-info li {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  font-size: 0.95rem;
}
.contact-info li:last-child { border-bottom: none; }
.contact-info .ic {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.15);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  font-family: inherit;
  font-size: 0.95rem;
  color: #fff;
  background: var(--bg-input);
  transition: all 0.2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--bg-elevated);
  box-shadow: 0 0 0 4px rgba(56,118,191,0.18);
}
.field select { color: #fff; }
.field select option { background: var(--bg-card); color: #fff; }
.field textarea { min-height: 130px; resize: vertical; }
.contact-form button { width: 100%; }

/* ---------- Deliverables grid ---------- */
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.deliverable {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex; gap: 14px;
  align-items: flex-start;
  transition: all 0.25s ease;
}
.deliverable:hover { border-color: var(--border-bright); background: var(--bg-elevated); transform: translateY(-3px); box-shadow: var(--shadow-glow); }
.deliverable .ico {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--gradient-bright);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(56, 118, 191, 0.32);
}
.deliverable h4 { font-size: 0.98rem; margin-bottom: 4px; color: #fff; }
.deliverable p { color: var(--text-muted); font-size: 0.88rem; margin: 0; line-height: 1.55; }

/* ---------- Comparison table ---------- */
.compare-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.compare-wrap .scroll { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare-table th, .compare-table td {
  padding: 16px 22px;
  text-align: left;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border);
}
.compare-table thead th {
  background: var(--bg-elevated);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.78rem;
  border-bottom: 1px solid var(--border-strong);
}
.compare-table thead th.us {
  background: linear-gradient(135deg, rgba(56,118,191,0.25) 0%, rgba(56,118,191,0.15) 100%);
  color: var(--primary-glow);
  position: relative;
}
.compare-table thead th.us::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--gradient-bright);
}
.compare-table tbody td:first-child { color: var(--text-soft); font-weight: 500; }
.compare-table tbody td.us { background: rgba(56,118,191,0.08); }
.compare-table .yes { color: #4ade80; font-weight: 700; }
.compare-table .no { color: #f87171; font-weight: 700; }
.compare-table .partial { color: #fbbf24; font-weight: 700; }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover td { background: rgba(91, 148, 214, 0.04); }
.compare-table tbody tr:hover td.us { background: rgba(56, 118, 191, 0.14); }

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}
.testimonial {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: all 0.3s ease;
  position: relative;
}
.testimonial:hover { border-color: var(--border-bright); transform: translateY(-4px); box-shadow: var(--shadow-glow); background: var(--bg-elevated); }
.testimonial .stars { color: #fbbf24; margin-bottom: 14px; font-size: 0.95rem; letter-spacing: 2px; }
.testimonial .quote { color: var(--text-soft); font-size: 0.96rem; line-height: 1.7; margin-bottom: 22px; }
.testimonial .quote::before {
  content: '"';
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 3rem;
  line-height: 0.8;
  color: var(--primary);
  opacity: 0.4;
  margin-bottom: 6px;
}
.testimonial .author {
  display: flex; align-items: center; gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.testimonial .avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--gradient-bright);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(56, 118, 191, 0.35);
  flex-shrink: 0;
}
.testimonial .name { color: #fff; font-weight: 700; font-size: 0.92rem; line-height: 1.3; }
.testimonial .role { color: var(--text-muted); font-size: 0.82rem; line-height: 1.3; }

/* ---------- Blog article body (single post) ---------- */
.blog-article {
  padding: 70px 0 90px;
  background: var(--bg);
}
.blog-article-content {
  max-width: 760px;
  margin: 0 auto;
}
.blog-article-content > p {
  font-size: 1.06rem;
  line-height: 1.8;
  color: var(--text-soft);
  margin-bottom: 22px;
}
.blog-article-content > p.lead {
  font-size: 1.18rem;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.blog-article-content h2 {
  font-size: 1.7rem;
  margin: 50px 0 18px;
  color: #fff;
  letter-spacing: -0.02em;
}
.blog-article-content h3 {
  font-size: 1.25rem;
  margin: 32px 0 14px;
  color: #fff;
}
.blog-article-content ul, .blog-article-content ol {
  margin: 0 0 24px 0;
  padding-left: 22px;
}
.blog-article-content ul li, .blog-article-content ol li {
  list-style: disc;
  margin-bottom: 12px;
  color: var(--text-soft);
  line-height: 1.7;
  padding-left: 6px;
}
.blog-article-content ol li { list-style: decimal; }
.blog-article-content ul li::marker { color: var(--primary-glow); }
.blog-article-content ol li::marker { color: var(--primary-glow); font-weight: 700; }
.blog-article-content blockquote {
  border-left: 3px solid var(--primary);
  padding: 8px 0 8px 22px;
  margin: 30px 0;
  font-size: 1.15rem;
  color: var(--text);
  font-style: italic;
}
.blog-article-content code {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 8px;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.92em;
  color: var(--primary-glow);
}
.blog-article-content strong { color: #fff; font-weight: 700; }
.blog-article-content a {
  color: var(--primary-glow);
  text-decoration: underline;
  text-decoration-color: rgba(91, 148, 214, 0.4);
  text-underline-offset: 3px;
}
.blog-article-content a:hover { text-decoration-color: var(--primary-glow); }
.blog-article-content .takeaway-box {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  margin: 32px 0;
}
.blog-article-content .takeaway-box h3 {
  margin-top: 0;
  font-size: 1.05rem;
  color: var(--primary-glow);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.blog-article-content .takeaway-box ul { margin-bottom: 0; }

/* Author bio card */
.author-bio {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 30px;
  max-width: 760px;
  margin: 0 auto;
  transition: all 0.3s ease;
}
.author-bio:hover { border-color: var(--border-bright); background: var(--bg-elevated); }
.author-bio .avatar {
  width: 70px;
  height: 70px;
  font-size: 1.3rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gradient-bright);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(56,118,191,0.4);
}
.author-bio h4 { color: #fff; font-size: 1.1rem; margin-bottom: 4px; }
.author-bio .role { color: var(--primary-glow); font-size: 0.9rem; margin-bottom: 10px; }
.author-bio .bio { color: var(--text-soft); font-size: 0.93rem; line-height: 1.65; margin: 0; }

/* Article header meta row */
.article-meta-row {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 0.92rem; color: var(--text-muted);
  margin-top: 28px;
}
.article-meta-row .author-mini {
  display: flex; align-items: center; gap: 10px;
}
.article-meta-row .author-mini .avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gradient-bright);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(56,118,191,0.35);
}
.article-meta-row .author-mini strong { color: var(--text); font-weight: 600; }
.article-meta-row .sep { color: var(--text-dim); }

/* ---------- Quote page form ---------- */
.quote-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-md);
}
.form-section {
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border);
}
.form-section:last-of-type { padding-bottom: 0; margin-bottom: 0; border-bottom: none; }
.form-section .section-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--gradient-bright);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  margin-right: 12px;
  box-shadow: 0 4px 12px rgba(56,118,191,0.35);
}
.form-section h3 {
  display: flex; align-items: center;
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: #fff;
}
.form-section .section-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 22px;
  margin-left: 44px;
}

/* Pricing ranges */
.pricing-ranges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all 0.25s ease;
}
.pricing-card:hover { border-color: var(--border-bright); background: var(--bg-elevated); transform: translateY(-3px); }
.pricing-card .service-name { color: var(--primary-glow); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.pricing-card .price-range { color: #fff; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.45rem; font-weight: 800; margin-bottom: 4px; }
.pricing-card .price-meta { color: var(--text-muted); font-size: 0.82rem; margin-bottom: 14px; }
.pricing-card .price-desc { color: var(--text-soft); font-size: 0.88rem; line-height: 1.55; }

/* Quote how-it-works steps */
.quote-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  position: relative;
}
.quote-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s ease;
  position: relative;
}
.quote-step:hover { border-color: var(--border-bright); background: var(--bg-elevated); transform: translateY(-3px); box-shadow: var(--shadow-glow); }
.quote-step .step-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: var(--gradient-bright);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 6px 16px rgba(56,118,191,0.35);
}
.quote-step .step-time {
  color: var(--primary-glow);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.quote-step h3 { font-size: 1.1rem; margin-bottom: 8px; color: #fff; }
.quote-step p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }

@media (max-width: 700px) {
  .author-bio { flex-direction: column; align-items: center; text-align: center; }
  .quote-form { padding: 28px 22px; }
}

/* ---------- Blog feature image (real photo support) ---------- */
.blog-image { position: relative; }
.blog-image img.feat {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  display: block;
}
.blog-image .tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,26,61,0.5) 0%, rgba(56,118,191,0.32) 60%, rgba(25,38,85,0.55) 100%);
  z-index: 1;
}
.blog-image .blog-category,
.blog-image .badge-featured { position: relative; z-index: 2; }

/* Existing decorative overlays (::before grid, ::after radial) sit above image, below badge */
.blog-card .blog-image::before { z-index: 1; }
.blog-card .blog-image::after { z-index: 1; }

/* ---------- Post hero feature image (individual blog post pages) ---------- */
.post-feature {
  padding: 10px 0 30px;
  background: var(--bg);
  position: relative;
}
.post-feature .container { max-width: 920px; }
.post-feature .feature-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
}
.post-feature .feature-wrap img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.post-feature .feature-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(6,10,28,0.4) 100%);
  pointer-events: none;
}

/* ---------- Blog grid + cards ---------- */
.blog-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 50px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}
.blog-featured:hover { border-color: var(--border-bright); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-featured .blog-image {
  background: var(--gradient);
  min-height: 360px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 30px;
}
.blog-featured .blog-image::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(91,148,214,0.45), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,0.10), transparent 50%);
}
.blog-featured .blog-image::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}
.blog-featured .blog-image .badge-featured {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}
.blog-featured .blog-content { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.blog-featured .blog-meta { display: flex; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.blog-featured h2 { font-size: 1.8rem; line-height: 1.25; margin-bottom: 14px; color: #fff; }
.blog-featured .excerpt { color: var(--text-soft); font-size: 1rem; margin-bottom: 22px; }
.blog-featured .blog-author { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--border); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-6px); border-color: var(--border-bright); background: var(--bg-elevated); box-shadow: var(--shadow-glow); }
.blog-card .blog-image {
  height: 180px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  padding: 18px;
}
.blog-card .blog-image::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 30px 30px;
}
.blog-card .blog-image::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(91,148,214,0.3), transparent 60%);
}
.blog-image .blog-category {
  position: relative;
  z-index: 2;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

/* Category-based gradients */
.blog-image[data-cat="seo"] { background: linear-gradient(135deg, #192655 0%, #3876BF 100%); }
.blog-image[data-cat="aeo"] { background: linear-gradient(135deg, #2d62a3 0%, #5b94d6 100%); }
.blog-image[data-cat="geo"] { background: linear-gradient(135deg, #0f1a3d 0%, #6ba4e6 100%); }
.blog-image[data-cat="wordpress"] { background: linear-gradient(135deg, #142152 0%, #4a7fc4 100%); }
.blog-image[data-cat="guest-post"] { background: linear-gradient(135deg, #192655 0%, #2d62a3 100%); }
.blog-image[data-cat="strategy"] { background: linear-gradient(135deg, #3876BF 0%, #192655 100%); }

.blog-card .blog-content { padding: 24px; display: flex; flex-direction: column; flex-grow: 1; }
.blog-card .blog-meta { display: flex; gap: 12px; margin-bottom: 12px; font-size: 0.82rem; color: var(--text-muted); }
.blog-card .blog-meta .dot-sep { color: var(--text-dim); }
.blog-card h3 { font-size: 1.1rem; line-height: 1.35; margin-bottom: 10px; color: #fff; flex-grow: 0; }
.blog-card .excerpt { color: var(--text-muted); font-size: 0.92rem; line-height: 1.55; margin-bottom: 18px; flex-grow: 1; }
.blog-card .blog-author { display: flex; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid var(--border); }
.blog-card .blog-author .avatar { width: 32px; height: 32px; font-size: 0.8rem; }
.blog-card .blog-author .name { color: var(--text-soft); font-weight: 600; font-size: 0.85rem; }
.blog-card .blog-author .read-more { margin-left: auto; color: var(--primary-glow); font-weight: 600; font-size: 0.85rem; }
.blog-card .blog-author .read-more::after { content: '\2192'; margin-left: 4px; transition: transform 0.25s ease; }
.blog-card:hover .blog-author .read-more::after { transform: translateX(4px); }

.blog-card.hidden { display: none; }
.blog-featured .blog-image[data-cat="geo"] { background: linear-gradient(135deg, #0f1a3d 0%, #6ba4e6 100%); }

/* ---------- Newsletter ---------- */
.newsletter {
  background: var(--gradient);
  border-radius: var(--radius-xl);
  padding: 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.newsletter::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(91,148,214,0.4), transparent 50%),
              radial-gradient(circle at 80% 100%, rgba(255,255,255,0.10), transparent 50%);
}
.newsletter .container-inner { position: relative; z-index: 2; max-width: 560px; margin: 0 auto; }
.newsletter h2 { color: #fff; margin-bottom: 14px; }
.newsletter p { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin-bottom: 26px; }
.newsletter-form {
  display: flex;
  gap: 10px;
  background: rgba(255,255,255,0.12);
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(10px);
}
.newsletter-form input {
  flex: 1;
  padding: 12px 18px;
  border: none;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.6); }
.newsletter-form input:focus { outline: none; }
.newsletter-form button {
  padding: 12px 22px;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.25s ease;
}
.newsletter-form button:hover { transform: scale(1.03); box-shadow: 0 8px 20px rgba(0,0,0,0.25); }

/* ---------- Contact methods cards ---------- */
.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}
.contact-method {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: all 0.3s ease;
}
.contact-method:hover { border-color: var(--border-bright); background: var(--bg-elevated); transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.contact-method .ico-wrap {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--gradient-bright);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 8px 20px rgba(56,118,191,0.4);
}
.contact-method h3 { font-size: 1.05rem; margin-bottom: 6px; color: #fff; }
.contact-method .meta { color: var(--text-muted); font-size: 0.82rem; margin-bottom: 12px; }
.contact-method a { color: var(--primary-glow); font-weight: 600; font-size: 0.95rem; word-break: break-word; }
.contact-method a:hover { text-decoration: underline; }
.contact-method span:not(.ico-wrap):not(.meta) { color: var(--text-soft); font-weight: 600; font-size: 0.95rem; display: block; }

@media (max-width: 980px) {
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured .blog-image { min-height: 200px; }
  .blog-featured .blog-content { padding: 30px; }
  .newsletter { padding: 36px 24px; }
  .newsletter-form { flex-direction: column; border-radius: var(--radius-lg); }
  .newsletter-form button { border-radius: var(--radius-md); }
}

/* ---------- Portfolio: Filter tabs ---------- */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 44px;
}
.filter-tab {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--text-soft);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}
.filter-tab:hover { border-color: var(--primary-light); color: var(--primary-glow); transform: translateY(-2px); }
.filter-tab.active {
  background: var(--gradient-bright);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(56, 118, 191, 0.4);
}

/* ---------- Portfolio: Project cards ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.project-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.project-card:hover { transform: translateY(-6px); border-color: var(--border-bright); background: var(--bg-elevated); box-shadow: var(--shadow-glow); }
.project-card:hover::before { transform: scaleX(1); }
.project-card .meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.project-card .tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(91, 148, 214, 0.12);
  color: var(--primary-glow);
  border: 1px solid var(--border-strong);
}
.project-card .tag.industry {
  background: rgba(91, 148, 214, 0.06);
  color: var(--text-muted);
  border-color: var(--border);
}
.project-card h3 { font-size: 1.18rem; margin-bottom: 8px; color: #fff; }
.project-card .desc { color: var(--text-muted); font-size: 0.92rem; line-height: 1.55; margin-bottom: 22px; flex-grow: 1; }
.project-card .metric {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 18px;
}
.project-card .metric-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff, var(--primary-glow));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.project-card .metric-label { color: var(--text-muted); font-size: 0.78rem; margin-top: 4px; }
.project-card .case-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--primary-glow);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: auto;
}
.project-card .case-link::after { content: '\2192'; transition: transform 0.25s ease; }
.project-card:hover .case-link::after { transform: translateX(4px); }

/* Hidden state for filtered cards */
.project-card.hidden { display: none; }

/* ---------- Featured case study ---------- */
.featured-case {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.featured-case .case-content {
  padding: 44px;
}
.featured-case .case-tags {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 20px;
}
.featured-case h3 {
  font-size: 1.6rem;
  margin-bottom: 14px;
  color: #fff;
}
.featured-case .case-content > p {
  color: var(--text-soft);
  margin-bottom: 22px;
  line-height: 1.7;
}
.featured-case .case-points {
  display: flex; flex-direction: column; gap: 14px;
  margin-bottom: 26px;
}
.featured-case .case-points li {
  display: flex; gap: 12px; align-items: flex-start;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}
.featured-case .case-points li strong { color: var(--primary-glow); min-width: 100px; display: inline-block; }
.featured-case .case-metrics {
  background: var(--gradient);
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-content: center;
  position: relative;
  overflow: hidden;
}
.featured-case .case-metrics::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(91,148,214,0.4), transparent 60%);
}
.featured-case .case-metric {
  position: relative;
  z-index: 2;
  padding: 22px 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-md);
  backdrop-filter: blur(6px);
}
.featured-case .case-metric .num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.featured-case .case-metric .label {
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  margin-top: 6px;
}

/* ---------- Industries chips ---------- */
.industries-chips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}
.industry-chip {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  transition: all 0.25s ease;
}
.industry-chip:hover { border-color: var(--border-bright); background: var(--bg-elevated); transform: translateY(-3px); box-shadow: var(--shadow-glow); }
.industry-chip .ico {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(56, 118, 191, 0.14);
  color: var(--primary-glow);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border-strong);
}
.industry-chip .name { color: #fff; font-weight: 600; font-size: 0.95rem; }

/* ---------- Tools grid ---------- */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
}
.tool {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex; align-items: center; gap: 12px;
  transition: all 0.25s ease;
}
.tool:hover { border-color: var(--border-bright); background: var(--bg-elevated); transform: translateY(-2px); }
.tool .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gradient-bright);
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--primary-glow);
}
.tool span { color: var(--text); font-weight: 600; font-size: 0.92rem; }

@media (max-width: 980px) {
  .featured-case { grid-template-columns: 1fr; }
  .featured-case .case-content { padding: 32px; }
  .featured-case .case-metrics { padding: 32px; }
}

/* ---------- Use Cases / Best For ---------- */
.use-cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.use-case {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  overflow: hidden;
}
.use-case::before {
  content: '';
  position: absolute; top: 0; left: 0; bottom: 0; width: 3px;
  background: var(--gradient-bright);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s ease;
}
.use-case:hover { border-color: var(--border-bright); background: var(--bg-elevated); transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.use-case:hover::before { transform: scaleY(1); }
.use-case .uc-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--gradient-bright);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  flex-shrink: 0;
  min-width: 36px;
}
.use-case h4 { font-size: 1.02rem; margin-bottom: 6px; color: #fff; line-height: 1.35; }
.use-case p { color: var(--text-muted); font-size: 0.9rem; margin: 0; line-height: 1.6; }

/* ---------- Stats inline (smaller version of stat-band) ---------- */
.stats-inline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-bright);
  transform: scaleX(0.3);
  transform-origin: center;
  transition: transform 0.4s ease;
}
.stat-card:hover { border-color: var(--border-bright); background: var(--bg-elevated); transform: translateY(-4px); }
.stat-card:hover::before { transform: scaleX(1); }
.stat-card .num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, var(--primary-glow) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.stat-card .label { color: var(--text-muted); margin-top: 10px; font-size: 0.92rem; }

@media (max-width: 700px) {
  .compare-table th, .compare-table td { padding: 14px 16px; font-size: 0.86rem; }
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.7s ease-out both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; position: absolute; top: 78px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 16px; background: var(--bg-card); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); gap: 0; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 16px; border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav-links a:last-child { border-bottom: none; }
  .nav-toggle { display: inline-flex; }
  .has-dropdown:hover .dropdown-menu { display: none; }
  .dropdown-menu { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: none; width: 100%; padding: 0 0 8px 16px; background: transparent; }
  .has-dropdown:hover .dropdown-menu, .has-dropdown:focus-within .dropdown-menu { transform: none; }
  .nav-cta { margin: 10px 16px; align-self: flex-start; }

  .hero { padding: 60px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { height: 380px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 38px; padding-top: 30px; }
  .hero-stats .num { font-size: 1.6rem; }

  .page-hero { padding: 50px 0 70px; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .page-hero-visual { min-height: 360px; }

  .feature-row { grid-template-columns: 1fr; gap: 36px; }
  .feature-row.reverse > :first-child { order: 0; }

  .stat-band .stats { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .stat-band .num { font-size: 2.2rem; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }

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

  .section { padding: 70px 0; }
}

@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-card { width: 240px !important; }
  .hero-card-3 { display: none; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .page-hero-visual { min-height: 300px; }
}

/* ========================================================
   COMPREHENSIVE RESPONSIVE — All breakpoints refined
======================================================== */

/* Tablet landscape (≤ 1024px) */
@media (max-width: 1024px) {
  .container { padding: 0 22px; }
  .section { padding: 80px 0; }
  .hero { padding: 70px 0 90px; }
  .hero-card-1 { width: 260px; }
  .hero-card-2 { width: 270px; }
  .featured-case .case-content { padding: 36px; }
  .featured-case .case-metrics { padding: 36px; }
  .package { padding: 28px 22px; }
  .quote-form { padding: 36px 30px; }
  .blog-featured .blog-content { padding: 32px; }
  .author-bio { padding: 26px; }
}

/* Tablet portrait (≤ 980px) — refinements */
@media (max-width: 980px) {
  .hero h1 { font-size: clamp(2rem, 6vw, 2.8rem); }
  .hero p.lead { font-size: 1.05rem; }
  .page-hero h1 { font-size: clamp(1.9rem, 5.5vw, 2.6rem); }
  .page-hero p { font-size: 1.05rem; }
  .compare-table th, .compare-table td { padding: 14px 16px; }
  .nav-cta { display: none; }
  .nav-links.open .nav-cta { display: inline-flex; }
}

/* Tablet portrait small (≤ 768px) */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 60px 0; }
  .page-hero { padding: 50px 0 60px; }
  .hero { padding: 60px 0 70px; }
  .cta { padding: 60px 0; }

  /* Typography scale */
  h1 { font-size: clamp(1.9rem, 5.5vw, 2.6rem); }
  h2 { font-size: clamp(1.6rem, 4.5vw, 2.2rem); }
  h3 { font-size: 1.2rem; }

  /* Form grids stack */
  .form-grid { grid-template-columns: 1fr; }

  /* Hero stats refined */
  .hero-stats { gap: 14px; padding-top: 30px; margin-top: 32px; }
  .hero-stats .num { font-size: 1.5rem; }

  /* Stat band 4→2 cols */
  .stat-band { padding: 56px 0; }
  .stat-band .num { font-size: 2rem; }

  /* Featured case metrics → 1 col */
  .featured-case .case-metrics { grid-template-columns: 1fr; gap: 16px; }
  .featured-case h3 { font-size: 1.4rem; }

  /* Section heads */
  .section-head { margin-bottom: 44px; }

  /* Hero floating service-page card → static */
  .hv-floating {
    position: static !important;
    width: 100% !important;
    max-width: 280px;
    margin: 16px auto 0 !important;
    bottom: auto !important;
    right: auto !important;
    left: auto !important;
    top: auto !important;
    animation: none !important;
  }

  /* Process / quote steps spacing */
  .process-step { padding: 24px; }
  .quote-step { padding: 24px; }

  /* Quote form padding */
  .quote-form { padding: 28px 22px; }
  .form-section { padding-bottom: 26px; margin-bottom: 26px; }
  .form-section .section-desc { margin-left: 0; margin-top: 8px; }

  /* Compare table — slightly tighter */
  .compare-table th, .compare-table td { padding: 12px 14px; font-size: 0.85rem; }

  /* Newsletter padding */
  .newsletter { padding: 36px 22px; }
  .newsletter h2 { font-size: 1.5rem; }

  /* Pricing tier cards padding */
  .package { padding: 26px 22px; }

  /* Blog article body */
  .blog-article { padding: 50px 0 70px; }
  .blog-article-content > p { font-size: 1rem; }
  .blog-article-content > p.lead { font-size: 1.1rem; }
  .blog-article-content h2 { font-size: 1.5rem; margin: 38px 0 14px; }

  /* Filter tabs wrap better */
  .filter-tabs { gap: 8px; margin-bottom: 32px; }
  .filter-tab { padding: 8px 16px; font-size: 0.85rem; }

  /* Trust strip */
  .trust .row { gap: 28px; font-size: 0.78rem; }
  .trust { padding: 28px 0; }
}

/* Mobile (≤ 560px) — extended fixes */
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .section { padding: 50px 0; }

  /* Header */
  .nav { height: 70px; }
  .brand { font-size: 1.1rem; }
  .brand img { height: 38px; }
  .brand-fallback { width: 38px; height: 38px; font-size: 1rem; }

  /* HOME hero — fix floating cards overlap */
  .hero-visual {
    height: auto !important;
    min-height: auto;
    padding: 8px 0;
  }
  .hero-card {
    position: relative !important;
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 auto 16px !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    animation: none !important;
  }
  .hero-card-3 { display: block; }

  /* Hero h1 */
  .hero h1 { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .hero p.lead { font-size: 1rem; }

  /* Page hero h1 */
  .page-hero h1 { font-size: clamp(1.6rem, 6.5vw, 2.1rem); }
  .page-hero p { font-size: 1rem; }

  /* Hero stats — smaller numbers */
  .hero-stats .num { font-size: 1.3rem; }
  .hero-stats .label { font-size: 0.78rem; }

  /* Stat band → 2 cols already, tighten */
  .stat-band .num { font-size: 1.8rem; }
  .stat-band .label { font-size: 0.82rem; }

  /* Buttons */
  .btn { padding: 12px 22px; font-size: 0.9rem; }
  .btn-primary, .btn-white { width: 100%; justify-content: center; max-width: 280px; }
  .hero-actions, .page-hero-actions, .cta-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn, .page-hero-actions .btn, .cta-actions .btn { width: 100%; justify-content: center; }

  /* Service page hero — hide floating card on smallest */
  .hv-floating { display: none; }
  .hv-card { padding: 18px !important; }

  /* All grids → 1 col on mobile */
  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .package-grid { grid-template-columns: 1fr; }
  .pricing-ranges { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .deliverables-grid { grid-template-columns: 1fr; }
  .use-cases { grid-template-columns: 1fr; }
  .quote-steps { grid-template-columns: 1fr; }

  /* 2-column grids → 2 col still on small mobile */
  .stats-inline { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card { padding: 18px 14px; }
  .stat-card .num { font-size: 1.6rem; }
  .industries-chips { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tools-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .contact-methods { grid-template-columns: 1fr 1fr; gap: 14px; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .process-step { padding: 20px 18px; }
  .process-step .num { font-size: 1.8rem; margin-bottom: 10px; }
  .process-step h3 { font-size: 1rem; }
  .process-step p { font-size: 0.85rem; }

  /* Card padding tight */
  .service-card { padding: 24px 22px; }
  .project-card { padding: 24px 22px; }
  .testimonial { padding: 24px; }
  .value-card { padding: 24px; }
  .deliverable { padding: 20px; }
  .use-case { padding: 22px; gap: 14px; }
  .package { padding: 24px 20px; }
  .package .price { font-size: 1.7rem; }
  .pricing-card { padding: 20px; }
  .contact-method { padding: 22px 18px; }
  .industry-chip { padding: 14px 16px; gap: 12px; }
  .industry-chip .ico { width: 32px; height: 32px; }

  /* Compare table */
  .compare-table th, .compare-table td { padding: 11px 12px; font-size: 0.8rem; }

  /* Featured-case full width */
  .featured-case .case-content { padding: 28px 22px; }
  .featured-case .case-metrics { padding: 28px 22px; }
  .featured-case .case-points li { font-size: 0.9rem; }
  .featured-case .case-points li strong { min-width: auto; }

  /* Blog article */
  .blog-article { padding: 40px 0 60px; }
  .blog-article-content h2 { font-size: 1.35rem; }
  .blog-article-content > p.lead { font-size: 1.05rem; }
  .post-feature { padding: 4px 0 20px; }
  .post-feature .feature-wrap { border-radius: var(--radius-lg); }

  /* Section heads */
  .section-head { margin-bottom: 32px; }
  .section-head p { font-size: 0.95rem; }

  /* Newsletter */
  .newsletter { padding: 28px 18px; }
  .newsletter h2 { font-size: 1.3rem; }
  .newsletter p { font-size: 0.95rem; }

  /* CTA band */
  .cta { padding: 50px 0; }
  .cta h2 { font-size: 1.6rem; }
  .cta p { font-size: 0.98rem; }

  /* Footer */
  .site-footer { padding: 50px 0 24px; }

  /* Trust strip */
  .trust .row { gap: 18px; font-size: 0.74rem; }
  .trust .label { display: block; width: 100%; text-align: center; }

  /* Quote form */
  .quote-form { padding: 22px 18px; }
  .form-section h3 { font-size: 1rem; }
  .form-section .section-num { width: 28px; height: 28px; font-size: 0.78rem; margin-right: 10px; }

  /* Author bio (already vertical at 700px) */
  .author-bio { padding: 22px; gap: 16px; }
  .author-bio .avatar { width: 60px; height: 60px; font-size: 1.1rem; }
  .author-bio h4 { font-size: 1rem; }

  /* Article meta row wraps */
  .article-meta-row { gap: 10px; font-size: 0.85rem; }

  /* Navigation dropdown stays open and items stack on mobile */
  .nav-links a { font-size: 0.95rem; }
  .dropdown-menu a { font-size: 0.88rem; padding: 9px 12px; }

  /* Featured blog single-col */
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured .blog-image { min-height: 180px; }
  .blog-featured .blog-content { padding: 24px; }
  .blog-featured h2 { font-size: 1.4rem; }
  .blog-featured .excerpt { font-size: 0.95rem; }
}

/* Small mobile (≤ 380px) */
@media (max-width: 380px) {
  .container { padding: 0 14px; }
  .section { padding: 44px 0; }

  /* Even tighter typography */
  .hero h1 { font-size: 1.7rem; }
  .page-hero h1 { font-size: 1.6rem; }
  h2 { font-size: 1.4rem; }

  /* Stat band → 1 col */
  .stat-band .stats { grid-template-columns: 1fr; }

  /* Hero stats → 1 col stack */
  .hero-stats { grid-template-columns: 1fr; gap: 16px; text-align: center; }

  /* Process grid → 1 col */
  .process-grid { grid-template-columns: 1fr; }

  /* Stats inline → 1 col */
  .stats-inline { grid-template-columns: 1fr; }

  /* Industries / tools → 1 col */
  .industries-chips { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr; }
  .contact-methods { grid-template-columns: 1fr; }

  /* Header tighter */
  .nav { height: 64px; }
  .brand { font-size: 1rem; gap: 8px; }
  .brand img { height: 34px; }
  .brand-fallback { width: 34px; height: 34px; font-size: 0.9rem; }

  /* Compact buttons */
  .btn { padding: 11px 20px; font-size: 0.88rem; }

  /* Eyebrow smaller */
  .eyebrow { font-size: 0.75rem; padding: 6px 12px; }
}


/* Smooth scroll + offset for anchor links so section does not hide under sticky header */
html { scroll-behavior: smooth; }
section[id], [id="quote-form"] { scroll-margin-top: 90px; }


/* Mobile nav button safety + scroll lock when menu open */
.nav-toggle { position: relative; z-index: 1100; cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; }
.nav-toggle * { pointer-events: none; }
body.menu-open { overflow: hidden; }
.site-header { position: relative; z-index: 1000; }
@media (max-width: 980px) {
  .nav-links { z-index: 999; box-shadow: 0 8px 30px rgba(0,0,0,0.4); }
}
