/* ═══════════════════════════════════════════════════════════
   iLogix — Individual Service Vertical Pages
   Shared by: web-dev, ai-automation, staffing,
              training, fintech (sub-page of fintralis)
═══════════════════════════════════════════════════════════ */

/* ── Hero variants ─────────────────────────────────────── */
.vpage-hero {
  background: var(--navy);
  padding: 110px 0 0;
  position: relative; overflow: hidden;
}
.vpage-hero-inner {
  display: grid; grid-template-columns: 1fr 420px;
  gap: 60px; align-items: end;
  position: relative; z-index: 2;
}
.vpage-hero-blob {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: 0.14; pointer-events: none;
}
.vpage-eyebrow { margin-bottom: 14px; }
.vpage-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800; line-height: 1.1;
  color: var(--white); letter-spacing: -1px;
  margin-bottom: 16px;
}
.vpage-title .accent { color: var(--red); }
.vpage-sub {
  font-size: 16px; color: rgba(255,255,255,0.6);
  line-height: 1.65; max-width: 500px; margin-bottom: 28px;
}
.vpage-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.vpage-trust {
  display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 48px;
}
.vpage-trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: rgba(255,255,255,0.45);
}
.vpage-trust-dot {
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
}

/* Hero right panel */
.vpage-hero-panel {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 28px 28px 0;
  align-self: end;
}
.vpage-panel-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.07em;
  text-transform: uppercase; color: rgba(255,255,255,0.35);
  margin-bottom: 18px;
}
.vpage-panel-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-bottom: 24px;
}
.vpage-stat-num {
  font-family: var(--font-display); font-size: 30px;
  font-weight: 800; line-height: 1; margin-bottom: 4px;
}
.vpage-stat-label {
  font-size: 11px; color: rgba(255,255,255,0.4); line-height: 1.4;
}

/* ── Shared section layout ─────────────────────────────── */
.vsec { padding: 80px 0; }
.vsec-alt { background: var(--off-white); }
.vsec-dark { background: var(--navy); position: relative; overflow: hidden; }
.vsec-white { background: var(--white); }
.vsec-green { background: linear-gradient(135deg,#E8F9E5,#D0F4E4); border-top: 1px solid rgba(26,171,120,0.2); }

.vsec-header { margin-bottom: 48px; }
.vsec-header.centered { text-align: center; }
.vsec-header.centered .vsec-sub { margin: 0 auto; }
.vsec-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800; color: var(--text-dark);
  letter-spacing: -0.5px; line-height: 1.2;
  margin-bottom: 12px;
}
.vsec-title.white { color: var(--white); }
.vsec-sub {
  font-size: 15px; color: var(--text-mid);
  line-height: 1.65; max-width: 540px;
}
.vsec-sub.white { color: rgba(255,255,255,0.55); }

/* ── What we do — deliverables grid ───────────────────── */
.vdeliver-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.vdeliver-card {
  background: var(--white); border: 1.5px solid var(--border-light);
  border-radius: var(--radius); padding: 28px;
  transition: all 0.25s; position: relative; overflow: hidden;
}
.vdeliver-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(11,22,40,0.09);
  border-color: transparent;
}
.vdeliver-card::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 3px;
  opacity: 0; transition: opacity 0.25s;
}
.vdeliver-card:hover::after { opacity: 1; }
.vdeliver-icon { font-size: 28px; margin-bottom: 14px; }
.vdeliver-title {
  font-family: var(--font-display); font-size: 16px;
  font-weight: 700; color: var(--text-dark); margin-bottom: 8px;
}
.vdeliver-desc {
  font-size: 13px; color: var(--text-mid); line-height: 1.6;
}

/* ── Process steps ─────────────────────────────────────── */
.vprocess-list { display: flex; flex-direction: column; gap: 0; }
.vprocess-step {
  display: flex; gap: 20px; padding: 24px 0;
  border-bottom: 1px solid var(--border-light);
  align-items: flex-start;
}
.vprocess-step:last-child { border-bottom: none; }
.vprocess-num {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 16px; font-weight: 800;
  color: var(--white); flex-shrink: 0;
}
.vprocess-content h4 {
  font-family: var(--font-display); font-size: 16px; font-weight: 700;
  color: var(--text-dark); margin-bottom: 6px;
}
.vprocess-content p {
  font-size: 14px; color: var(--text-mid); line-height: 1.6;
}

/* ── Tech stack pills ──────────────────────────────────── */
.vstack-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(130px,1fr));
  gap: 12px;
}
.vstack-pill {
  background: var(--white); border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm); padding: 14px 16px;
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; color: var(--text-dark);
  transition: all 0.2s;
}
.vstack-pill:hover { border-color: var(--red); color: var(--red); }
.vstack-pill .stack-icon { font-size: 18px; }

/* ── Two-col layout ────────────────────────────────────── */
.vtwo-col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.vtwo-col.flip { direction: rtl; }
.vtwo-col.flip > * { direction: ltr; }

/* ── Feature list ──────────────────────────────────────── */
.vfeature-list { display: flex; flex-direction: column; gap: 14px; }
.vfeature-item {
  display: flex; gap: 12px; align-items: flex-start;
}
.vfeature-check {
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: var(--white);
  flex-shrink: 0; margin-top: 1px;
}
.vfeature-item h5 {
  font-family: var(--font-display); font-size: 14px;
  font-weight: 700; color: var(--text-dark); margin-bottom: 3px;
}
.vfeature-item p { font-size: 13px; color: var(--text-mid); line-height: 1.55; }

/* ── Dark card grid (for dark sections) ────────────────── */
.vdark-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.vdark-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius); padding: 24px;
  transition: all 0.25s;
}
.vdark-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.16);
  transform: translateY(-3px);
}
.vdark-card-icon { font-size: 24px; margin-bottom: 12px; }
.vdark-card h4 {
  font-family: var(--font-display); font-size: 15px;
  font-weight: 700; color: var(--white); margin-bottom: 6px;
}
.vdark-card p { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.55; }

/* ── Upwork badge block ─────────────────────────────────── */
.vupwork-strip {
  background: var(--white); border: 1.5px solid var(--border-light);
  border-radius: var(--radius); padding: 24px 28px;
  display: flex; align-items: center; gap: 24px;
  margin-top: 32px;
}
.vupwork-logo {
  font-family: var(--font-display); font-size: 22px; font-weight: 800;
  color: var(--upwork); flex-shrink: 0;
}
.vupwork-strip p { font-size: 14px; color: var(--text-mid); line-height: 1.55; flex: 1; }

/* ── CTA strip ─────────────────────────────────────────── */
.vcta-strip {
  background: var(--navy); padding: 64px 0;
  position: relative; overflow: hidden; text-align: center;
}
.vcta-strip h2 {
  font-family: var(--font-display); font-size: clamp(26px,3.5vw,40px);
  font-weight: 800; color: var(--white); letter-spacing: -0.5px;
  margin-bottom: 12px; line-height: 1.2;
}
.vcta-strip p {
  font-size: 16px; color: rgba(255,255,255,0.55);
  margin-bottom: 28px; max-width: 460px; margin-left: auto;
  margin-right: auto; line-height: 1.6;
}
.vcta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Reveal animation ──────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 960px) {
  .vpage-hero-inner { grid-template-columns: 1fr; }
  .vpage-hero-panel { border-radius: var(--radius); margin-top: 40px; padding-bottom: 28px; }
  .vdeliver-grid { grid-template-columns: 1fr 1fr; }
  .vtwo-col { grid-template-columns: 1fr; gap: 36px; }
  .vtwo-col.flip { direction: ltr; }
  .vdark-grid { grid-template-columns: 1fr 1fr; }
  .vstack-grid { grid-template-columns: repeat(auto-fill, minmax(110px,1fr)); }
}
@media (max-width: 600px) {
  .vsec { padding: 56px 0; }
  .vdeliver-grid { grid-template-columns: 1fr; }
  .vdark-grid { grid-template-columns: 1fr; }
  .vpage-panel-stats { grid-template-columns: 1fr 1fr; }
  .vupwork-strip { flex-direction: column; gap: 14px; }
}
