/* =====================================================
   VIVEK VERMA / ALGOSOFT · Premium Website Stylesheet
   ===================================================== */

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

/* ── VARIABLES ─────────────────────────────────────── */
:root {
  --navy:      #0A1628;
  --navy-800:  #0F2040;
  --navy-700:  #1a3158;
  --blue:      #1B5CE8;
  --blue-600:  #1449C6;
  --blue-50:   #EEF4FF;
  --blue-100:  #DBEAFE;
  --green:     #059669;
  --green-50:  #ECFDF5;
  --amber:     #F59E0B;
  --white:     #FFFFFF;
  --bg-soft:   #F8FAFD;
  --bg-gray:   #F1F4F8;
  --border:    #E2E8F0;
  --border-dk: #C7D2E0;
  --tx-1:      #0A1628;
  --tx-2:      #2D3748;
  --tx-3:      #6B7A8D;
  --tx-4:      #9BA8B5;
  --font:      'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --hh:        72px;
  --max-w:     1280px;
  --px:        24px;
  --section-y: 80px;
  --r-sm:      6px;
  --r-md:      10px;
  --r-lg:      14px;
  --r-xl:      20px;
  --r-2xl:     28px;
  --r-full:    9999px;
  --sh-xs:     0 1px 3px rgba(0,0,0,.05);
  --sh-sm:     0 2px 8px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.04);
  --sh-md:     0 4px 16px rgba(0,0,0,.09), 0 2px 4px rgba(0,0,0,.04);
  --sh-lg:     0 10px 40px rgba(0,0,0,.11), 0 4px 8px rgba(0,0,0,.05);
  --sh-blue:   0 8px 32px rgba(27,92,232,.22);
  --t-fast:    .15s ease;
  --t-base:    .2s ease;
  --t-slow:    .3s ease;
}

/* ── RESET ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--tx-1);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }

/* ── TYPOGRAPHY ─────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.2; color: var(--tx-1); }
p { line-height: 1.7; color: var(--tx-2); }
strong { font-weight: 700; }

/* ── LAYOUT ─────────────────────────────────────────── */
.container        { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--px); }
.container-narrow { max-width: 900px;  margin: 0 auto; padding: 0 var(--px); }
.container-wide   { max-width: 1440px; margin: 0 auto; padding: 0 var(--px); }

.section    { padding: var(--section-y) 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 100px 0; }

.section-dark { background: var(--navy); }
.section-dark h1,.section-dark h2,.section-dark h3,.section-dark h4 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,.72); }
.section-soft { background: var(--bg-soft); }
.section-gray { background: var(--bg-gray); }

.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; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 24px; }

/* ── SECTION HEADER ─────────────────────────────────── */
.sh { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.sh.left { text-align: left; max-width: none; margin-left: 0; margin-right: 0; }
.sh-eye {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 12px;
}
.sh-eye::before { content:''; width:18px; height:2px; background:var(--blue); flex-shrink:0; }
.sh-title {
  font-size: clamp(1.6rem,3vw,2.4rem); font-weight: 800;
  line-height: 1.2; letter-spacing: -.022em; margin-bottom: 14px;
}
.sh-sub { font-size: 1.05rem; color: var(--tx-3); line-height: 1.7; }
.section-dark .sh-title { color: var(--white); }
.section-dark .sh-sub   { color: rgba(255,255,255,.65); }

/* ── HEADER ──────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--hh);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--t-base), border-color var(--t-base);
}
.site-header.scrolled { box-shadow: var(--sh-md); border-bottom-color: var(--border); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--hh); gap: 28px;
}
.site-logo { display: flex; flex-direction: column; gap: 1px; flex-shrink: 0; }
.logo-name { font-size: 1.1rem; font-weight: 800; color: var(--navy); letter-spacing: -.01em; line-height: 1.15; }
.logo-sub  { font-size: .62rem; font-weight: 700; color: var(--blue); letter-spacing: .08em; text-transform: uppercase; }

/* ── NAV ─────────────────────────────────────────────── */
.main-nav { display: flex; align-items: center; flex: 1; justify-content: center; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-list > li { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 4px; padding: 8px 11px;
  font-size: .85rem; font-weight: 600; color: var(--tx-2);
  border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--blue); background: var(--blue-50); }
.nav-link .chevron {
  width: 13px; height: 13px; flex-shrink: 0;
  transition: transform var(--t-base);
}
.has-mega.open .nav-link .chevron { transform: rotate(180deg); }
.header-cta { flex-shrink: 0; }

/* ── MEGA MENU ───────────────────────────────────────── */
.mega-menu {
  position: absolute; top: calc(100% + 6px);
  left: 50%; transform: translateX(-50%) translateY(-8px);
  min-width: 500px; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--sh-lg); padding: 14px;
  opacity: 0; visibility: hidden;
  transition: opacity var(--t-base), visibility var(--t-base), transform var(--t-base);
  pointer-events: none;
}
.has-mega.open .mega-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); pointer-events: auto;
}
.mega-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 3px; }
.mega-item {
  display: flex; align-items: flex-start; gap: 11px; padding: 11px;
  border-radius: var(--r-md); transition: background var(--t-fast); cursor: pointer;
}
a.mega-item:hover { background: var(--bg-soft); }
.mega-item.disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }
.mega-icon {
  width: 34px; height: 34px; background: var(--blue-50); border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center; font-size: .95rem; flex-shrink: 0;
}
.mega-title { font-size: .82rem; font-weight: 700; color: var(--tx-1); margin-bottom: 1px; }
.mega-desc  { font-size: .72rem; color: var(--tx-3); line-height: 1.3; }
.cs-badge {
  display: inline-flex; padding: 2px 7px;
  background: var(--bg-gray); color: var(--tx-3);
  font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  border-radius: var(--r-full); margin-top: 3px;
}

/* ── HAMBURGER ───────────────────────────────────────── */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; background: none; border: none;
  border-radius: var(--r-sm); transition: background var(--t-fast);
}
.hamburger:hover { background: var(--bg-gray); }
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--tx-1); border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-base);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU ─────────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed; inset: 0; z-index: 999;
  background: var(--white);
  overflow-y: auto;
  padding: calc(var(--hh) + 16px) 20px 36px;
}
.mobile-menu.open { display: block; }
.mob-nav-list { display: flex; flex-direction: column; gap: 3px; }
.mob-link {
  display: block; padding: 13px 14px; font-weight: 600; font-size: .95rem;
  color: var(--tx-2); border-radius: var(--r-md);
  transition: background var(--t-fast), color var(--t-fast);
}
.mob-link:hover { background: var(--blue-50); color: var(--blue); }
.mob-acc-trigger {
  display: flex; justify-content: space-between; align-items: center; width: 100%;
  padding: 13px 14px; font-weight: 600; font-size: .95rem; color: var(--tx-2);
  background: none; border: none; cursor: pointer; text-align: left; border-radius: var(--r-md);
  transition: background var(--t-fast);
}
.mob-acc-trigger:hover { background: var(--bg-soft); }
.mob-acc-body { display: none; padding: 6px 0 6px 14px; flex-direction: column; gap: 1px; }
.mob-acc-body.open { display: flex; }
.mob-sub-link {
  display: block; padding: 9px 14px; font-size: .85rem; font-weight: 500;
  color: var(--tx-3); border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
}
.mob-sub-link:hover { color: var(--blue); background: var(--blue-50); }
.mob-cta { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }

/* ── BUTTONS ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; font-size: .875rem; font-weight: 700;
  border-radius: var(--r-full); cursor: pointer;
  border: 2px solid transparent; line-height: 1;
  transition: all var(--t-base); text-decoration: none; white-space: nowrap;
}
.btn-primary  { background: var(--blue);  color: var(--white); border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-600); border-color: var(--blue-600); box-shadow: var(--sh-blue); transform: translateY(-1px); }
.btn-secondary{ background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-secondary:hover { background: var(--blue); color: var(--white); box-shadow: var(--sh-blue); }
.btn-ghost    { background: transparent; color: var(--tx-1); border-color: var(--border); }
.btn-ghost:hover { background: var(--bg-soft); border-color: var(--border-dk); }
.btn-white    { background: var(--white); color: var(--blue); border-color: var(--white); }
.btn-white:hover { background: var(--blue-50); transform: translateY(-1px); }
.btn-dark     { background: rgba(255,255,255,.1); color: var(--white); border-color: rgba(255,255,255,.2); }
.btn-dark:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.35); }
.btn-sm  { padding: 8px 18px; font-size: .8rem; }
.btn-lg  { padding: 15px 34px; font-size: .95rem; }
.btn-xl  { padding: 18px 40px; font-size: 1rem; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ── HERO ────────────────────────────────────────────── */
.hero {
  padding: calc(var(--hh) + 30px) 0 80px;
  position: relative; overflow: hidden;
}
.hero-home {
  background: linear-gradient(148deg, #EEF4FF 0%, #FAFBFF 55%, #EDFAF5 100%);
  min-height: 92vh; display: flex; align-items: center;
}
.hero-page {
  background: var(--navy);
  padding: calc(var(--hh) + 48px) 0 60px;
}
.hero-page h1 { color: var(--white); }
.hero-page p  { color: rgba(255,255,255,.72); }

.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.hero-inner.centered {
  grid-template-columns: 1fr; text-align: center;
  max-width: 820px; margin: 0 auto;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; background: var(--blue-50);
  border: 1px solid var(--blue-100); border-radius: var(--r-full);
  font-size: .75rem; font-weight: 700; color: var(--blue);
  letter-spacing: .07em; text-transform: uppercase; margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(2.1rem,4.5vw,3.7rem); font-weight: 800;
  line-height: 1.1; letter-spacing: -.028em; margin-bottom: 22px; color: var(--navy);
}
.hero-title .accent { color: var(--blue); }
.hero-sub {
  font-size: 1.08rem; line-height: 1.78; color: var(--tx-3);
  margin-bottom: 32px; max-width: 540px;
}
.hero-inner.centered .hero-sub { max-width: 640px; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-inner.centered .hero-actions { justify-content: center; }
.hero-badges {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: 32px;
}
.hero-inner:not(.centered) .hero-badges { flex-wrap: nowrap; }
.hero-badge {
  display: flex; align-items: center; gap: 7px; padding: 7px 14px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-full);
  font-size: .78rem; font-weight: 600; color: var(--tx-2); box-shadow: var(--sh-xs);
  white-space: nowrap;
}
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }
.badge-dot.green { background: var(--green); }

/* Hero visual + photo */
.hero-visual { position: relative; }
.hero-photo-wrap {
  width: 100%; max-width: 488px; aspect-ratio: 4/5;
  border-radius: var(--r-2xl); overflow: hidden; margin-left: auto;
  background: var(--bg-gray); position: relative;
  box-shadow: var(--sh-lg);
  height:500px;
}
.photo-placeholder {
  width: 100%; height: 104%;
  background: linear-gradient(145deg,#DCE6F5 0%,#C5D3E8 100%);
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 0px; color: var(--tx-3);
}
.photo-placeholder .av {  border-radius: 50%; background: rgba(255,255,255,.55); border: 2px solid rgba(255,255,255,.7); }
.photo-placeholder .av-name { font-size: .95rem; font-weight: 700; color: var(--navy-700); }
.photo-placeholder .av-role { font-size: .78rem; opacity: .7; }
.float-card {
  position: absolute; background: var(--white); border-radius: var(--r-lg);
  box-shadow: var(--sh-lg); padding: 12px 16px;
  display: flex; align-items: center; gap: 9px; font-size: .82rem; font-weight: 600;
  color: var(--tx-1);
  animation: floatUD 3.5s ease-in-out infinite;
}
.float-card:nth-of-type(2) { animation-delay: 1.6s; }
@keyframes floatUD { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-9px)} }

/* ── CREDIBILITY STRIP ───────────────────────────────── */
.cred-strip { background: var(--navy); padding: 28px 0; border-top: 1px solid rgba(255,255,255,.06); }
.cred-inner { display: flex; align-items: center; justify-content: space-around; gap: 20px; flex-wrap: wrap; }
.cred-item  { display: flex; align-items: center; gap: 11px; color: rgba(255,255,255,.82); }
.cred-icon  {
  width: 38px; height: 38px; background: rgba(255,255,255,.07); border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0;
}
.cred-label { font-size: .85rem; font-weight: 600; }

/* ── STATS ───────────────────────────────────────────── */
.stats-row {
  display: grid; grid-template-columns: repeat(4,1fr);
  background: var(--border); gap: 1px; border-radius: var(--r-xl);
  border: 1px solid var(--border); overflow: hidden;
}
.stat-cell {
  background: var(--white); padding: 32px 20px;
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 5px;
}
.stat-num {
  font-size: 2.4rem; font-weight: 800; color: var(--blue);
  letter-spacing: -.03em; line-height: 1;
}
.stat-label { font-size: .82rem; color: var(--tx-3); font-weight: 500; }

/* ── SERVICE CARDS ───────────────────────────────────── */
.svc-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 28px; display: flex; flex-direction: column; gap: 13px;
  transition: all var(--t-base); text-decoration: none; color: inherit; position: relative; overflow: hidden;
}
.svc-card::before {
  content:''; position: absolute; top:0; left:0; right:0; height:3px;
  background: var(--blue); transform: scaleX(0); transition: transform var(--t-base); transform-origin: left;
}
a.svc-card:hover { box-shadow: var(--sh-lg); border-color: var(--blue-100); transform: translateY(-3px); }
a.svc-card:hover::before { transform: scaleX(1); }
.svc-card.disabled { opacity: .72; }
.svc-card .card-icon {
  width: 50px; height: 50px; background: var(--blue-50); border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center; font-size: 1.35rem;
}
.svc-card .card-title { font-size: 1rem; font-weight: 700; color: var(--tx-1); }
.svc-card .card-desc  { font-size: .845rem; color: var(--tx-3); line-height: 1.6; flex: 1; }
.svc-card .card-link  {
  display: flex; align-items: center; gap: 5px; font-size: .8rem; font-weight: 700;
  color: var(--blue); margin-top: 4px;
}
.svc-card .card-link svg { width:14px; height:14px; transition: transform var(--t-fast); }
a.svc-card:hover .card-link svg { transform: translateX(4px); }

/* ── INDUSTRY CARDS ──────────────────────────────────── */
.ind-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 26px; display: flex; flex-direction: column; gap: 11px;
  transition: all var(--t-base); text-decoration: none; color: inherit;
}
a.ind-card:hover { box-shadow: var(--sh-lg); border-color: var(--blue-100); transform: translateY(-3px); }
.ind-card.disabled { opacity: .72; cursor: default; }
.ind-card .card-icon {
  width: 52px; height: 52px; background: var(--blue-50); border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}
.ind-card .card-title { font-size: 1rem; font-weight: 700; }
.ind-card .card-desc  { font-size: .84rem; color: var(--tx-3); line-height: 1.6; flex: 1; }

/* ── BLOG CARDS ──────────────────────────────────────── */
.blog-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: all var(--t-base); text-decoration: none; color: inherit;
}
.blog-card:hover { box-shadow: var(--sh-lg); transform: translateY(-3px); }
.blog-img {
  height: 196px; overflow: hidden;
  background: linear-gradient(135deg, var(--blue-50) 0%, var(--bg-gray) 100%);
  display: flex; align-items: center; justify-content: center; font-size: 3.5rem; color: var(--blue-100);
}
.blog-body { padding: 22px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.blog-meta { display: flex; align-items: center; gap: 10px; font-size: .73rem; color: var(--tx-4); font-weight: 500; }
.blog-meta .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--tx-4); }
.blog-title { font-size: .98rem; font-weight: 700; line-height: 1.42; color: var(--tx-1); }
.blog-excerpt { font-size: .83rem; color: var(--tx-3); line-height: 1.6; flex: 1; }
.blog-link { display: flex; align-items: center; gap: 5px; font-size: .78rem; font-weight: 700; color: var(--blue); margin-top: 8px; }
.blog-link svg { width:13px; height:13px; transition: transform var(--t-fast); }
.blog-card:hover .blog-link svg { transform: translateX(4px); }

/* ── CASE STUDY CARDS ────────────────────────────────── */
.cs-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg);
  overflow: hidden; transition: all var(--t-base); text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
}
a.cs-card:hover { box-shadow: var(--sh-lg); transform: translateY(-3px); }
.cs-card.disabled { opacity: .72; cursor: default; }
.cs-img {
  height: 172px;
  background: linear-gradient(135deg, var(--navy-800) 0%, #1E3A6E 100%);
  display: flex; align-items: center; justify-content: center; font-size: 3rem;
  color: rgba(255,255,255,.25);
}
.cs-body { padding: 22px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.cs-cat  { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); }
.cs-title{ font-size: 1rem; font-weight: 700; line-height: 1.35; color: var(--tx-1); }
.cs-desc { font-size: .84rem; color: var(--tx-3); line-height: 1.6; }
.cs-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.cs-tag  {
  padding: 3px 9px; background: var(--bg-gray); color: var(--tx-2);
  font-size: .7rem; font-weight: 600; border-radius: var(--r-full);
}

/* ── REGION CARDS ────────────────────────────────────── */
.region-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 24px; display: flex; flex-direction: column; gap: 10px;
  transition: all var(--t-base); text-decoration: none; color: inherit;
}
.region-card:hover { box-shadow: var(--sh-lg); border-color: var(--blue-100); transform: translateY(-2px); }
.region-flag { font-size: 2.4rem; }
.region-name { font-size: 1.05rem; font-weight: 700; color: var(--tx-1); }
.region-desc { font-size: .83rem; color: var(--tx-3); line-height: 1.5; flex: 1; }
.region-link { font-size: .78rem; font-weight: 700; color: var(--blue); margin-top: 4px; }

/* ── TESTIMONIALS ────────────────────────────────────── */
.testi-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 30px; display: flex; flex-direction: column; gap: 15px;
}
.testi-stars { display: flex; gap: 3px; color: var(--amber); font-size: .95rem; }
.testi-quote { font-size: .93rem; line-height: 1.78; color: var(--tx-2); font-style: italic; flex: 1; }
.testi-author { display: flex; align-items: center; gap: 11px; }
.testi-av {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-100), var(--blue-50));
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 800; color: var(--blue); flex-shrink: 0;
}
.testi-name { font-size: .87rem; font-weight: 700; color: var(--tx-1); }
.testi-role { font-size: .76rem; color: var(--tx-3); }

/* ── PROCESS TIMELINE ────────────────────────────────── */
.process-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 0; position: relative;
}
.process-grid::before {
  content:''; position: absolute; top: 27px; z-index: 0;
  left: calc(12.5% + 18px); right: calc(12.5% + 18px);
  height: 2px; background: var(--blue-100);
}
.process-step {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 0 10px; position: relative; z-index: 1;
}
.proc-num {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  font-size: 1rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
  box-shadow: 0 0 0 6px var(--blue-50);
}
.proc-title { font-size: .875rem; font-weight: 700; color: var(--tx-1); margin-bottom: 5px; }
.proc-desc  { font-size: .78rem; color: var(--tx-3); line-height: 1.5; }
.section-dark .proc-title { color: var(--white); }
.section-dark .proc-desc  { color: rgba(255,255,255,.55); }
.section-dark .process-grid::before { background: rgba(255,255,255,.1); }
.section-dark .proc-num   { box-shadow: 0 0 0 6px rgba(255,255,255,.08); }

/* ── FAQ ─────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden;
}
.section-soft .faq-item { background: var(--white); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 18px 22px; font-size: .92rem; font-weight: 700; color: var(--tx-1);
  cursor: pointer; user-select: none; transition: background var(--t-fast);
}
.faq-q:hover { background: var(--bg-soft); }
.faq-ic {
  width: 26px; height: 26px; background: var(--blue-50); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-size: .9rem; color: var(--blue); font-weight: 700; line-height: 1;
  transition: transform var(--t-base), background var(--t-base), color var(--t-base);
}
.faq-item.open .faq-ic { transform: rotate(45deg); background: var(--blue); color: var(--white); }
.faq-a {
  display: none; padding: 0 22px 18px; font-size: .87rem; color: var(--tx-3);
  line-height: 1.75; border-top: 1px solid var(--border); padding-top: 14px;
}
.faq-item.open .faq-a { display: block; }

/* ── FORMS ───────────────────────────────────────────── */
.form-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.form-grp  { display: flex; flex-direction: column; gap: 5px; }
.form-grp.full { grid-column: 1 / -1; }
.form-label { font-size: .82rem; font-weight: 700; color: var(--tx-1); }
.form-label .req { color: #EF4444; margin-left: 2px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 11px 14px; font-size: .88rem;
  border: 1.5px solid var(--border); border-radius: var(--r-md);
  color: var(--tx-1); background: var(--white);
  transition: border-color var(--t-fast), box-shadow var(--t-fast); outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(27,92,232,.1);
}
.form-input.err, .form-select.err, .form-textarea.err {
  border-color: #EF4444; box-shadow: 0 0 0 3px rgba(239,68,68,.1);
}
.form-textarea { resize: vertical; min-height: 110px; }
.form-err { font-size: .76rem; color: #EF4444; display: none; }
.form-err.show { display: block; }

/* ── MODAL ───────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(10,22,40,.62);
  backdrop-filter: blur(4px); z-index: 10000;
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.modal-overlay.show { display: flex; }
.modal-box {
  background: var(--white); border-radius: var(--r-xl); padding: 48px 40px;
  max-width: 460px; width: 100%; text-align: center; position: relative;
  box-shadow: var(--sh-lg);
  animation: modalPop .3s cubic-bezier(.34,1.56,.64,1);
}
@keyframes modalPop { from{opacity:0;transform:scale(.88) translateY(20px)} to{opacity:1;transform:scale(1) translateY(0)} }
.modal-ic {
  width: 70px; height: 70px; border-radius: 50%; background: var(--green-50);
  border: 2px solid var(--green); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px; font-size: 1.9rem;
}
.modal-title { font-size: 1.35rem; font-weight: 800; margin-bottom: 10px; }
.modal-text  { font-size: .92rem; color: var(--tx-3); line-height: 1.65; margin-bottom: 26px; }

/* ── BREADCRUMB ──────────────────────────────────────── */
.breadcrumb-bar { padding: 11px 0; background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.breadcrumb { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; font-size: .78rem; color: var(--tx-3); }
.breadcrumb a { color: var(--blue); font-weight: 500; transition: color var(--t-fast); }
.breadcrumb a:hover { color: var(--blue-600); }
.breadcrumb .cur { color: var(--tx-2); font-weight: 600; }

/* ── CTA SECTION ─────────────────────────────────────── */
.cta-block {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-800) 100%);
  padding: 80px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-block::before {
  content:''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% -20%, rgba(27,92,232,.3) 0%, transparent 60%);
  pointer-events: none;
}
.cta-block h2 {
  font-size: clamp(1.75rem,3vw,2.5rem); font-weight: 800;
  color: var(--white); margin-bottom: 14px; letter-spacing: -.022em;
}
.cta-block p { font-size: 1.03rem; color: rgba(255,255,255,.68); max-width: 520px; margin: 0 auto 30px; line-height: 1.72; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── CONTACT CARDS ───────────────────────────────────── */
.contact-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 28px; display: flex; align-items: flex-start; gap: 16px;
}
.contact-icon {
  width: 46px; height: 46px; background: var(--blue-50); border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0;
}
.contact-label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--tx-3); margin-bottom: 4px; }
.contact-val   { font-size: .95rem; font-weight: 700; color: var(--tx-1); margin-bottom: 2px; }
.contact-sub   { font-size: .82rem; color: var(--tx-3); }

/* ── FEATURE LIST ────────────────────────────────────── */
.feat-list { display: flex; flex-direction: column; gap: 11px; }
.feat-item { display: flex; align-items: flex-start; gap: 11px; }
.feat-check {
  width: 22px; height: 22px; border-radius: 50%; background: var(--green-50);
  border: 1.5px solid var(--green); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: .65rem; color: var(--green); margin-top: 1px; font-weight: 700;
}
.feat-text { font-size: .88rem; color: var(--tx-2); line-height: 1.55; }
.feat-text strong { color: var(--tx-1); }

/* ── TAGS / PILLS ────────────────────────────────────── */
.tag  { display: inline-flex; padding: 3px 10px; background: var(--blue-50); color: var(--blue); font-size: .7rem; font-weight: 700; border-radius: var(--r-full); text-transform: uppercase; letter-spacing: .04em; }
.tag-green { background: var(--green-50); color: var(--green); }

/* ── TECH STACK ──────────────────────────────────────── */
.tech-stack { display: flex; gap: 8px; flex-wrap: wrap; }
.tech-pill  {
  padding: 5px 13px; background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--r-full); font-size: .78rem; font-weight: 600; color: var(--tx-2);
  transition: all var(--t-fast);
}
.tech-pill:hover { background: var(--blue-50); border-color: var(--blue-100); color: var(--blue); }

/* ── HIGHLIGHT BOX ───────────────────────────────────── */
.hl-box { background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: var(--r-lg); padding: 22px 26px; }
.hl-box.green { background: var(--green-50); border-color: rgba(5,150,105,.2); }

/* ── EXPERTISE CARDS (Founder) ───────────────────────── */
.exp-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 24px; text-align: center; transition: all var(--t-base);
}
.exp-card:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.exp-icon { font-size: 2.2rem; margin-bottom: 10px; }
.exp-title{ font-size: .92rem; font-weight: 700; margin-bottom: 5px; }
.exp-desc { font-size: .8rem; color: var(--tx-3); line-height: 1.5; }

/* ── ARTICLE LAYOUT (Blog) ───────────────────────────── */
.article-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: flex-start; }
.article-body { font-size: .97rem; line-height: 1.82; color: var(--tx-2); }
.article-body h2 { font-size: 1.55rem; font-weight: 800; margin: 38px 0 14px; color: var(--tx-1); letter-spacing: -.02em; }
.article-body h3 { font-size: 1.18rem; font-weight: 700; margin: 26px 0 10px; color: var(--tx-1); }
.article-body p  { margin-bottom: 18px; }
.article-body ul { margin-bottom: 18px; display: flex; flex-direction: column; gap: 7px; }
.article-body ul li { display: flex; align-items: flex-start; gap: 9px; }
.article-body ul li::before { content:'→'; color: var(--blue); flex-shrink: 0; font-weight: 700; font-size: .9em; margin-top: .1em; }
.article-body blockquote {
  border-left: 3px solid var(--blue); padding: 14px 18px;
  background: var(--blue-50); border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: 22px 0; font-style: italic; color: var(--tx-2);
}
.article-sidebar { position: sticky; top: calc(var(--hh) + 22px); }
.toc-box { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px; margin-bottom: 20px; }
.toc-box h4 { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; color: var(--tx-2); }
.toc-links { display: flex; flex-direction: column; gap: 8px; }
.toc-links a { font-size: .83rem; color: var(--tx-3); font-weight: 500; line-height: 1.4; transition: color var(--t-fast); }
.toc-links a:hover { color: var(--blue); }

/* ── FILTER BAR ──────────────────────────────────────── */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 38px; }
.filter-btn {
  padding: 8px 18px; border: 1.5px solid var(--border); border-radius: var(--r-full);
  background: var(--white); color: var(--tx-2); font-size: .83rem; font-weight: 600;
  cursor: pointer; transition: all var(--t-fast);
}
.filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.filter-btn.active { background: var(--blue); border-color: var(--blue); color: var(--white); }

/* ── BACK TO TOP ─────────────────────────────────────── */
.back-top {
  position: fixed; bottom: 26px; right: 26px; z-index: 500;
  width: 42px; height: 42px; border-radius: var(--r-full);
  background: var(--blue); color: var(--white); border: none;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: var(--sh-blue); font-size: 1rem;
  transition: all var(--t-base);
  opacity: 0; visibility: hidden;
}
.back-top.vis { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--blue-600); transform: translateY(-3px); }

/* ── FOOTER ──────────────────────────────────────────── */
.site-footer { background: var(--navy); padding: 64px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px;
  padding-bottom: 52px; border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.ft-name { font-size: 1.1rem; font-weight: 800; color: var(--white); letter-spacing: -.01em; }
.ft-role { font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.38); margin-top: 2px; }
.ft-bio  { font-size: .845rem; line-height: 1.72; color: rgba(255,255,255,.52); max-width: 290px; }
.ft-social { display: flex; gap: 8px; }
.ft-social a {
  width: 34px; height: 34px; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.55); font-size: .78rem; font-weight: 700;
  transition: all var(--t-fast);
}
.ft-social a:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.footer-col h4 {
  font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em;
  color: var(--white); margin-bottom: 14px;
}
.ft-links { display: flex; flex-direction: column; gap: 9px; }
.ft-links a { font-size: .845rem; color: rgba(255,255,255,.52); font-weight: 500; transition: color var(--t-fast); }
.ft-links a:hover { color: var(--white); }
.footer-bottom {
  padding: 22px 0; display: flex; align-items: center;
  justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: .78rem; color: var(--white);
}
.footer-bottom p { color: var(--white); }
.footer-bottom a { color: var(--white); transition: color var(--t-fast); }
.footer-bottom a:hover { color: rgba(255,255,255,.7); }
.ft-bottom-links { display: flex; gap: 18px; }

/* ── UTILITIES ───────────────────────────────────────── */
.text-center { text-align: center; }
.text-blue   { color: var(--blue); }
.text-green  { color: var(--green); }
.text-muted  { color: var(--tx-3); }
.text-white  { color: var(--white); }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }
.mt-auto { margin-top: auto; }
.flex    { display: flex; }
.flex-col{ flex-direction: column; }
.items-c { align-items: center; }
.gap-3   { gap: 12px; }
.gap-4   { gap: 16px; }
.gap-6   { gap: 24px; }
.gap-8   { gap: 32px; }
.hidden  { display: none !important; }
.divider { height: 1px; background: var(--border); margin: 32px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ── RESPONSIVE: TABLET ──────────────────────────────── */
@media (max-width: 1024px) {
  .float-card { display: none; }
  :root { --section-y: 64px; }
  .main-nav, .header-cta { display: none; }
  .hamburger { display: flex; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-photo-wrap { max-width: 360px; margin: 0 auto; height:371px;}
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .process-grid { grid-template-columns: repeat(2,1fr); gap: 32px; }
  .process-grid::before { display: none; }
  .article-wrap { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
}

/* ── RESPONSIVE: MOBILE ──────────────────────────────── */
@media (max-width: 640px) {
  :root { --section-y: 48px; --px: 16px; --hh: 64px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .hero-title { font-size: 2rem; text-align: center; }
  .hero-eyebrow { margin-left: auto; margin-right: auto; }
  .hero-sub { text-align: center; }
  .hero-badges { justify-content: center; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-col h4 {
    cursor: pointer; display: flex; justify-content: space-between; align-items: center;
    padding-bottom: 11px; border-bottom: 1px solid rgba(255,255,255,.08);
    margin-bottom: 0; user-select: none;
  }
  .footer-col h4::after {
    content: '+'; font-size: 1rem; font-weight: 400; line-height: 1;
    color: rgba(255,255,255,.35); transition: transform .22s ease, color .15s;
    flex-shrink: 0;
  }
  .footer-col h4.ft-open::after { content: '−'; color: rgba(255,255,255,.65); }
  .footer-col .ft-links {
    max-height: 0; overflow: hidden;
    transition: max-height .3s ease, margin-top .25s ease;
    margin-top: 0;
  }
  .footer-col h4.ft-open + .ft-links { max-height: 800px; margin-top: 12px; }
  .cta-btns { flex-direction: column; align-items: center; }
  .process-grid { grid-template-columns: 1fr; gap: 28px; }
  .form-grid { grid-template-columns: 1fr; }
  .cred-inner { justify-content: flex-start; gap: 16px; }
  .sh { margin-bottom: 36px; }
}
