/* ==========================================================================
   Proofix Technologies — Home page
   ========================================================================== */

.hero { position: relative; overflow: hidden; background: #f8f6ff;; padding: 56px 0 96px; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border: 1px solid var(--line); border-radius: var(--r-full); font-size: .88rem; color: var(--ink-soft); margin-bottom: 22px; }
.hero-pill img { width: 24px; height: 24px; padding: 6px; box-sizing: border-box; border-radius: 6px; background: var(--primary); filter: none; }
.hero-pill b { color: var(--ink); font-weight: 700; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); line-height: 1.08; letter-spacing: -.02em; font-weight: 700; margin-bottom: 22px; }
.hero h1 em { font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-weight: 400; color: var(--primary); letter-spacing: -.01em; }
.hero h1 .avatars { display: inline-flex; vertical-align: middle; margin: 0 4px; }
.hero h1 .avatars img { width: .62em; height: .62em; border-radius: 50%; object-fit: cover; border: 3px solid #fff; background: var(--primary-100); margin-left: -.14em; }
.hero h1 .avatars img:first-child { margin-left: 0; }
.hero .lead { max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 40px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 20px 44px; }
.hero-stats strong { display: block; font-size: 2rem; line-height: 1.1; font-weight: 500; color: var(--ink); }
.hero-stats span { font-size: .88rem; color: var(--ink-soft); }
.hero-visual { position: relative; max-width: 520px; margin-left: auto; }
.hero-visual > img { width: 100%; aspect-ratio: 1/1; object-fit: cover; object-position: 60% 100%; border-radius: 28px; box-shadow: var(--shadow-lg); display: block;
  background:radial-gradient(120% 90% at 70% 15%, var(--primary-100) 0%, #6b68a2 55%, #1b1650 100%); }
.hv-chips { position: absolute; top: 28px; right: -28px; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.hv-chips span { background: #fff; border-radius: var(--r-full); padding: 8px 16px; font-size: .78rem; font-weight: 600; color: var(--ink); box-shadow: var(--shadow-md); }
.hv-chips img { filter: var(--f-primary); margin-right: 8px; }
.hv-card { position: absolute; border-radius: 20px; box-shadow: var(--shadow-lg); }
.hv-card.blue { background: var(--primary); color: #fff; padding: 20px 22px; max-width: 190px; }
.hv-card.blue strong { display: block; font-size: 1.45rem; line-height: 1.15; font-weight: 600; margin-bottom: 6px; }
.hv-card.blue span { font-size: .8rem; line-height: 1.4; opacity: .85; display: block; }
.hv-card.white { background: #fff; padding: 18px 20px; }
.hv-card.white h3 { font-size: 1rem; margin: 0 0 10px; }
.hv-card .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.hv-card .tags span { border: 1px solid var(--primary-100); background: var(--primary-50); color: var(--primary); border-radius: var(--r-full); padding: 3px 10px; font-size: .72rem; font-weight: 600; }
.hv-a { left: -56px; top: 8%; }
.hv-b { left: -64px; bottom: 6%; }
.hv-c { right: -28px; bottom: -28px; }
.stats-strip { margin-top: -44px; position: relative; z-index: 2; }
.stats-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-md); display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 24px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; color: var(--primary); font-size: 1.05rem; font-weight: 800; }
.stat span { font-size: .88rem; }
.stat img { filter: var(--f-accent-600); font-size: 1.3rem; margin: 0 auto 8px; display: block; }
.journey { display: flex; gap: 0; overflow-x: auto; padding-bottom: 8px; counter-reset: j; scrollbar-width: thin; }
.journey a { flex: 1 0 140px; text-align: center; color: var(--ink); font-weight: 700; font-size: .88rem; position: relative; padding: 0 10px; }
.journey a::before {
  counter-increment: j; content: counter(j); display: flex; margin: 0 auto 12px; width: 46px; height: 46px; border-radius: 50%;
  align-items: center; justify-content: center; background: #fff; border: 2px solid var(--primary); color: var(--primary); font-size: 1rem; position: relative; z-index: 1; transition: var(--ease);
}
.journey a::after { content: ""; position: absolute; top: 22px; left: calc(50% + 23px); right: calc(-50% + 23px); height: 2px; background: var(--primary-100); }
.journey a:last-child::after { display: none; }
.journey a:hover::before { background: var(--primary); color: #fff; }
.domain-tile { display: flex; gap: 16px; align-items: flex-start; padding: 22px; }
.domain-tile .icon-box { margin: 0; flex-shrink: 0; }
.domain-tile h3 { font-size: 1.04rem; margin-bottom: 4px; }
.domain-tile p { margin: 0; font-size: .88rem; }
.step-mini { text-align: left; }
.step-mini .num { font-size: 2.6rem; font-weight: 800; color: var(--primary-100); line-height: 1; margin-bottom: 8px; }
.step-mini h3 { font-size: 1.02rem; }

@media (max-width: 959px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { display: none; }
  .hv-a { left: 8px; top: 6%; padding: 14px 16px; } .hv-b { display: none; } .hv-chips { right: 8px; } .hv-c { right: 8px; bottom: -20px; padding: 14px 16px; }
  .stats-box { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .hero { padding: 36px 0 72px; }
  .hero-grid > * { min-width: 0; }
}
