/* ============================================================================
   home-v2.css — redesigned homepage sections (below the hero)
   Short copy, animated graphics. All motion is disabled under
   prefers-reduced-motion. Uses the shared navy tokens.
   ========================================================================== */

.hv2 { position: relative; padding: clamp(48px, 6.5vw, 84px) 0; background: var(--color-bg); overflow: hidden; }
.hv2:nth-of-type(even) { background: var(--color-bg-subtle); }
.hv2-head { max-width: 720px; margin: 0 auto clamp(28px, 3.6vw, 44px); text-align: center; }
.hv2-head--left { margin-left: 0; text-align: left; }
.hv2-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-brand-500); }
.hv2-eyebrow::before { content: ''; width: 28px; height: 2px; border-radius: 2px; background: currentColor; }
.hv2-eyebrow--light { color: #8AB3FF; }
.hv2-title { margin: 0; font-family: var(--font-display); font-size: clamp(1.6rem, 2.9vw, 2.3rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.025em; color: var(--color-text-primary); }
.hv2-title em { font-style: normal; color: var(--color-brand-500); background: linear-gradient(120deg, #154378, #3D6BA0 60%, #6f9be0); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hv2-title--light { color: #fff; }
.hv2-title--light em { background: linear-gradient(120deg, #fff, #8AB3FF); -webkit-background-clip: text; background-clip: text; }
.hv2-sub { margin: 12px 0 0; font-size: 1rem; line-height: 1.7; color: var(--color-text-tertiary); max-width: 52ch; }
.hv2-head:not(.hv2-head--left) .hv2-sub { margin-inline: auto; }

/* ── 1 · Why Firmeza ───────────────────────────────────────────────────── */
.hv2-why { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.hv2-why__tile { position: relative; padding: 32px 26px; border-radius: 24px; background: var(--color-bg); border: 1px solid var(--color-border); transition: transform 360ms var(--ease-out), box-shadow 360ms var(--ease-out), border-color 360ms; overflow: hidden; }
.hv2-why__tile::after { content: ''; position: absolute; inset: auto -30% -60% -30%; height: 80%; background: radial-gradient(closest-side, rgba(21, 67, 120, 0.14), transparent); opacity: 0; transition: opacity 400ms; }
.hv2-why__tile:hover { transform: translateY(-8px); border-color: rgba(21, 67, 120, 0.3); box-shadow: 0 28px 50px -24px rgba(21, 67, 120, 0.35); }
.hv2-why__tile:hover::after { opacity: 1; }
.hv2-why__ic { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 22px; border-radius: 20px; color: #fff; background: linear-gradient(145deg, #154378, #3D6BA0); box-shadow: 0 14px 28px -10px rgba(21, 67, 120, 0.55); animation: hv2Float 5s ease-in-out infinite; }
.hv2-why__tile:nth-child(2) .hv2-why__ic { animation-delay: -1.2s; } .hv2-why__tile:nth-child(3) .hv2-why__ic { animation-delay: -2.4s; } .hv2-why__tile:nth-child(4) .hv2-why__ic { animation-delay: -3.6s; }
.hv2-why__tile h3 { margin: 0 0 6px; font-size: 1.25rem; font-weight: 800; color: var(--color-text-primary); }
.hv2-why__tile p { margin: 0; color: var(--color-text-tertiary); line-height: 1.55; }
@keyframes hv2Float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* ── 2 · About + orbit ─────────────────────────────────────────────────── */
.hv2-about__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.hv2-pts { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 18px; }
.hv2-pts li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: 18px; background: var(--color-bg); border: 1px solid var(--color-border); transition: transform 300ms var(--ease-out), border-color 300ms; }
.hv2-pts li:hover { transform: translateX(8px); border-color: rgba(21, 67, 120, 0.3); }
.hv2-pt__ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: var(--color-brand-500); background: rgba(21, 67, 120, 0.09); }
.hv2-pts h3 { margin: 0 0 2px; font-size: 1.05rem; font-weight: 800; color: var(--color-text-primary); }
.hv2-pts p { margin: 0; font-size: 0.96rem; color: var(--color-text-tertiary); }
.hv2-orbit { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; margin-inline: auto; display: grid; place-items: center; }
.hv2-orbit__ring { position: absolute; border-radius: 50%; border: 1.5px dashed rgba(21, 67, 120, 0.28); }
.hv2-orbit__ring--1 { inset: 6%; animation: hv2Spin 60s linear infinite; }
.hv2-orbit__ring--2 { inset: 24%; border-style: solid; border-color: rgba(21, 67, 120, 0.14); }
.hv2-orbit__core { position: relative; z-index: 2; display: grid; place-items: center; width: 28%; aspect-ratio: 1; border-radius: 50%; background: #fff; box-shadow: 0 0 0 10px rgba(21, 67, 120, 0.07), 0 0 0 22px rgba(21, 67, 120, 0.04), 0 24px 50px -12px rgba(21, 67, 120, 0.4); }
.hv2-orbit__core img { width: 56%; height: auto; }
.hv2-orbit__core::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(21, 67, 120, 0.35); animation: hv2Pulse 3s ease-out infinite; }
.hv2-orbit__spin { position: absolute; inset: 6%; border-radius: 50%; animation: hv2Spin 26s linear infinite; }
.hv2-orbit__node { position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; margin: -28px; display: grid; place-items: center; border-radius: 18px; color: #fff; background: linear-gradient(145deg, #154378, #3D6BA0); box-shadow: 0 14px 26px -8px rgba(21, 67, 120, 0.55); transform: rotate(var(--a)) translateY(calc(-1 * var(--r, 215px))) rotate(calc(-1 * var(--a))); animation: hv2Counter 26s linear infinite; }
.hv2-orbit__node svg { display: block; }
.hv2-orbit__pill { position: absolute; z-index: 3; padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--color-brand-500); background: #fff; border: 1px solid rgba(21, 67, 120, 0.16); box-shadow: 0 10px 24px -10px rgba(21, 67, 120, 0.35); animation: hv2Float 6s ease-in-out infinite; }
.hv2-orbit__pill--a { top: 14%; right: 4%; } .hv2-orbit__pill--b { bottom: 16%; left: 2%; animation-delay: -2s; } .hv2-orbit__pill--c { bottom: 8%; right: 12%; animation-delay: -4s; }
@keyframes hv2Spin { to { transform: rotate(360deg); } }
@keyframes hv2Counter { to { transform: rotate(calc(var(--a) - 360deg)) translateY(calc(-1 * var(--r, 215px))) rotate(calc(-1 * (var(--a) - 360deg))); } }
@keyframes hv2Pulse { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.55); opacity: 0; } }

/* ── 3 · Services ──────────────────────────────────────────────────────── */
.hv2-svcs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.hv2-svc__a { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: 340px; padding: 26px; border-radius: 26px; overflow: hidden; text-decoration: none; color: #fff; isolation: isolate; box-shadow: 0 20px 40px -26px rgba(10, 33, 66, 0.5); transition: transform 420ms var(--ease-out), box-shadow 420ms var(--ease-out); }
.hv2-svc__a::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--img) center / cover no-repeat; transition: transform 900ms var(--ease-out); }
.hv2-svc__a::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 30, 58, 0.15) 0%, rgba(10, 30, 58, 0.55) 45%, rgba(10, 30, 58, 0.94) 100%); }
.hv2-svc__a:hover { transform: translateY(-8px); box-shadow: 0 34px 60px -24px rgba(10, 33, 66, 0.65); }
.hv2-svc__a:hover::before { transform: scale(1.08); }
.hv2-svc__ic { position: absolute; top: 22px; left: 22px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; color: #fff; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.3); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform 400ms var(--ease-spring, ease); }
.hv2-svc__a:hover .hv2-svc__ic { transform: rotate(-8deg) scale(1.08); }
.hv2-svc__t { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.01em; }
.hv2-svc__d { font-size: 0.97rem; line-height: 1.5; color: rgba(255, 255, 255, 0.84); max-width: 28ch; }
.hv2-svc__go { position: absolute; top: 22px; right: 22px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #154378; opacity: 0; transform: translate(-8px, 8px) scale(0.8); transition: opacity 300ms, transform 400ms var(--ease-out); }
.hv2-svc__a:hover .hv2-svc__go { opacity: 1; transform: none; }

/* ── 4 · Work scroller ─────────────────────────────────────────────────── */
.hv2-work__scroller { overflow-x: auto; scroll-snap-type: x proximity; padding: 8px max(16px, calc((100vw - 1200px) / 2)) 28px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.hv2-work__track { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; width: max-content; }
.hv2-work__card { flex: none; width: min(78vw, 420px); scroll-snap-align: start; }
.hv2-work__card a { position: relative; display: block; border-radius: 26px; overflow: hidden; text-decoration: none; background: var(--color-bg); border: 1px solid var(--color-border); transition: transform 400ms var(--ease-out), box-shadow 400ms var(--ease-out); }
.hv2-work__card a:hover { transform: translateY(-8px) rotate(-0.4deg); box-shadow: 0 30px 56px -26px rgba(21, 67, 120, 0.5); }
.hv2-work__img { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #dde5f2; }
.hv2-work__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.hv2-work__card a:hover img { transform: scale(1.07); }
.hv2-work__meta { display: grid; gap: 2px; padding: 18px 22px 22px; }
.hv2-work__cat { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-brand-500); }
.hv2-work__name { font-size: 1.25rem; font-weight: 800; color: var(--color-text-primary); }
.hv2-work__go { position: absolute; right: 18px; bottom: 20px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #fff; background: var(--color-brand-500); transition: transform 300ms var(--ease-out); }
.hv2-work__card a:hover .hv2-work__go { transform: translateX(4px); }
.hv2-work__foot { text-align: center; margin-top: 12px; }
.hv2-work__foot .btn svg { margin-left: 8px; vertical-align: -3px; }

/* ── 5 · Process ───────────────────────────────────────────────────────── */
.hv2-steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; text-align: center; }
.hv2-steps__line { position: absolute; top: 34px; left: calc(100% / 12); right: calc(100% / 12); height: 3px; border-radius: 3px; background: rgba(21, 67, 120, 0.14); }
.hv2-steps__fill { position: absolute; inset: 0; border-radius: 3px; background: linear-gradient(90deg, #154378, #6f9be0); transform: scaleX(0); transform-origin: left; transition: transform 2.2s var(--ease-out); }
.hv2-steps.is-in .hv2-steps__fill { transform: scaleX(1); }
.hv2-step { position: relative; display: grid; justify-items: center; gap: 8px; }
.hv2-step__node { position: relative; z-index: 1; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; color: var(--color-brand-500); background: var(--color-bg); border: 3px solid rgba(21, 67, 120, 0.18); box-shadow: 0 10px 24px -12px rgba(21, 67, 120, 0.4); transition: background 400ms, color 400ms, border-color 400ms, transform 400ms var(--ease-out); transition-delay: calc(var(--i) * 0.32s); }
.hv2-steps.is-in .hv2-step__node { color: #fff; background: linear-gradient(145deg, #154378, #3D6BA0); border-color: #fff; transform: scale(1.06); box-shadow: 0 16px 30px -10px rgba(21, 67, 120, 0.6); }
.hv2-step__num { font-size: 12px; font-weight: 800; letter-spacing: 0.14em; color: var(--color-text-tertiary); }
.hv2-step h3 { margin: 0; font-size: 1.15rem; font-weight: 800; color: var(--color-text-primary); }

/* ── 6 · Tech marquee ──────────────────────────────────────────────────── */
.hv2-marq { overflow: hidden; margin-top: 18px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.hv2-marq__track { list-style: none; margin: 0; padding: 0; display: flex; gap: 16px; width: max-content; animation: hv2Marq 40s linear infinite; }
.hv2-marq--rev .hv2-marq__track { animation-direction: reverse; animation-duration: 48s; }
.hv2-marq:hover .hv2-marq__track { animation-play-state: paused; }
.hv2-marq li { display: inline-flex; align-items: center; gap: 12px; padding: 14px 26px 14px 18px; border-radius: 999px; font-weight: 700; color: var(--color-text-primary); background: var(--color-bg); border: 1px solid var(--color-border); box-shadow: 0 8px 20px -12px rgba(21, 67, 120, 0.3); transition: transform 300ms var(--ease-out), border-color 300ms; }
.hv2-marq li:hover { transform: translateY(-5px); border-color: rgba(21, 67, 120, 0.4); }
.hv2-marq img { width: 26px; height: 26px; object-fit: contain; }
:root[data-theme="dark"] .hv2-marq img[src$="/nextjs.svg"], :root[data-theme="dark"] .hv2-marq img[src$="/vercel.svg"] { filter: invert(1); }
@keyframes hv2Marq { to { transform: translateX(-50%); } }

/* ── 7 · Stats band ────────────────────────────────────────────────────── */
.hv2-stats { background: linear-gradient(160deg, #071a33 0%, #0e2f55 55%, #154378 100%) !important; color: #fff; }
.hv2-stats__bg span { position: absolute; border-radius: 50%; filter: blur(70px); background: rgba(138, 179, 255, 0.25); animation: hv2Drift 14s ease-in-out infinite alternate; }
.hv2-stats__bg span:nth-child(1) { width: 380px; height: 380px; top: -120px; left: -80px; }
.hv2-stats__bg span:nth-child(2) { width: 300px; height: 300px; bottom: -100px; right: 8%; background: rgba(61, 107, 160, 0.45); animation-delay: -5s; }
.hv2-stats__bg span:nth-child(3) { width: 200px; height: 200px; top: 30%; right: 30%; background: rgba(138, 179, 255, 0.14); animation-delay: -9s; }
@keyframes hv2Drift { to { transform: translate(60px, 40px) scale(1.15); } }
.hv2-statrow { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.hv2-stat { padding: 30px 20px; text-align: center; border-radius: 24px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16);  transition: transform 360ms var(--ease-out), background 360ms; }
.hv2-stat:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.12); }
.hv2-stat__num { display: block; font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 800; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #fff, #b9d0ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hv2-stat__num b { font-weight: inherit; }
.hv2-stat__lbl { display: block; margin-top: 10px; font-size: 0.95rem; color: rgba(255, 255, 255, 0.74); }
.hv2-promises { position: relative; list-style: none; margin: 34px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hv2-promises li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 700; color: #dbe8ff; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); }

/* ── 8 · Partner band ──────────────────────────────────────────────────── */
.hv2-partners { padding: clamp(40px, 6vw, 72px) 0; }
.hv2-pband { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(28px, 4vw, 48px); border-radius: 30px; background: var(--color-bg); border: 1px solid var(--color-border); box-shadow: 0 30px 60px -36px rgba(21, 67, 120, 0.4); position: relative; overflow: hidden; }
.hv2-pband::before { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(21, 67, 120, 0.07), transparent 55%); }
.hv2-pband > * { position: relative; }
.hv2-pband__t { margin: 0 0 6px; font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -0.02em; color: var(--color-text-primary); }
.hv2-pband__t em { font-style: normal; color: var(--color-brand-500); }
.hv2-pband p { margin: 0; color: var(--color-text-tertiary); }
.hv2-pband .btn svg { margin-left: 8px; vertical-align: -3px; }

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .hv2-why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hv2-about__grid { grid-template-columns: 1fr; }
  .hv2-svcs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hv2-statrow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .hv2-why, .hv2-svcs { grid-template-columns: 1fr; }
  .hv2-svc__a { min-height: 280px; }
  .hv2-orbit { --r: 150px; max-width: 380px; }
  .hv2-orbit__node { --r: 150px; width: 46px; height: 46px; margin: -23px; border-radius: 14px; }
  .hv2-steps { grid-template-columns: 1fr; gap: 0; text-align: left; padding-left: 4px; }
  .hv2-steps__line { top: 34px; bottom: 34px; left: 38px; right: auto; width: 3px; height: auto; }
  .hv2-steps__fill { transform: scaleY(0); transform-origin: top; }
  .hv2-steps.is-in .hv2-steps__fill { transform: scaleY(1); }
  .hv2-step { grid-template-columns: 68px auto 1fr; justify-items: start; align-items: center; gap: 14px; padding: 10px 0; }
  .hv2-step__num { order: 3; margin-left: auto; padding-right: 8px; }
  .hv2-step h3 { order: 2; }
}
@media (prefers-reduced-motion: reduce) {
  .hv2 *, .hv2 *::before, .hv2 *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .hv2-steps__fill { transform: none; }
  .hv2-steps .hv2-step__node { color: #fff; background: #154378; }
}

/* ── Our work: filterable grid ─────────────────────────────────────────── */
.hv2-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto clamp(28px, 4vw, 44px); padding: 6px; width: fit-content; max-width: 100%; border-radius: 999px; background: var(--color-bg); border: 1px solid var(--color-border); box-shadow: 0 10px 28px -18px rgba(21, 67, 120, 0.35); }
.hv2-tab { padding: 10px 20px; border: 0; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 700; color: var(--color-text-secondary); background: transparent; cursor: pointer; transition: background 240ms, color 240ms, transform 240ms; }
.hv2-tab:hover { color: var(--color-brand-500); }
.hv2-tab.is-active { color: #fff; background: linear-gradient(135deg, #154378, #2c5d9b); box-shadow: 0 8px 18px -8px rgba(21, 67, 120, 0.7); }
.hv2-tab:focus-visible { outline: 3px solid rgba(21, 67, 120, 0.35); outline-offset: 2px; }
.hv2-wks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.hv2-wk { animation: hv2WkIn 520ms var(--ease-out) both; }
.hv2-wk[hidden] { display: none; }
.hv2-wk:nth-child(3n+2) { animation-delay: 70ms; } .hv2-wk:nth-child(3n) { animation-delay: 140ms; }
@keyframes hv2WkIn { from { opacity: 0; transform: translateY(22px) scale(0.97); } to { opacity: 1; transform: none; } }
.hv2-wk a { position: relative; display: block; border-radius: 24px; overflow: hidden; text-decoration: none; isolation: isolate; aspect-ratio: 4 / 3; background: #0d2a4e; box-shadow: 0 20px 40px -28px rgba(10, 33, 66, 0.55); transition: transform 420ms var(--ease-out), box-shadow 420ms var(--ease-out); }
.hv2-wk__img { position: absolute; inset: 0; z-index: -2; }
.hv2-wk__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.hv2-wk a::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 24, 48, 0) 38%, rgba(8, 24, 48, 0.92) 100%); transition: background 400ms; }
.hv2-wk a:hover { transform: translateY(-8px); box-shadow: 0 36px 60px -26px rgba(10, 33, 66, 0.7); }
.hv2-wk a:hover img { transform: scale(1.08); }
.hv2-wk a:hover::after { background: linear-gradient(180deg, rgba(21, 67, 120, 0.15) 0%, rgba(8, 24, 48, 0.95) 100%); }
.hv2-wk__chip { position: absolute; top: 16px; left: 16px; padding: 6px 13px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: 0.04em; color: #154378; background: rgba(255, 255, 255, 0.94); }
.hv2-wk__meta { position: absolute; left: 22px; right: 70px; bottom: 20px; display: grid; gap: 2px; color: #fff; }
.hv2-wk__name { font-size: 1.2rem; font-weight: 800; line-height: 1.2; }
.hv2-wk__cat { font-size: 0.9rem; color: rgba(255, 255, 255, 0.8); }
.hv2-wk__go { position: absolute; right: 18px; bottom: 18px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #154378; background: #fff; transform: translateX(-6px) scale(0.85); opacity: 0.0; transition: transform 350ms var(--ease-out), opacity 300ms; }
.hv2-wk a:hover .hv2-wk__go, .hv2-wk a:focus-visible .hv2-wk__go { transform: none; opacity: 1; }
.hv2-wk a:focus-visible { outline: 3px solid rgba(21, 67, 120, 0.5); outline-offset: 3px; }
.hv2-work__foot { text-align: center; margin-top: clamp(28px, 4vw, 44px); }
.hv2-work__foot .btn svg { margin-left: 8px; vertical-align: -3px; }
@media (max-width: 1000px) { .hv2-wks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .hv2-wks { grid-template-columns: 1fr; } .hv2-tabs { border-radius: 22px; } .hv2-wk__go { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hv2-wk { animation: none; } }

/* Work cards: border in each project's own brand colour */
.hv2-wk a { border: 3px solid var(--brand, #154378); }
.hv2-wk a:hover { box-shadow: 0 36px 60px -26px color-mix(in srgb, var(--brand, #154378) 70%, #000); }
.hv2-wk__chip { color: var(--brand, #154378); }
.hv2-wk__go { color: var(--brand, #154378); }
.hv2-wk__meta::before { content: ''; display: block; width: 34px; height: 4px; margin-bottom: 8px; border-radius: 4px; background: var(--brand, #154378); filter: brightness(1.6) saturate(1.2); }

/* Work cards v3: browser frame — brand-colour window bar, screenshot, details below */
.hv2-wk a { display: flex; flex-direction: column; aspect-ratio: auto; border: 0; border-radius: 20px; background: var(--color-bg); overflow: hidden; box-shadow: 0 0 0 2px var(--brand, #154378), 0 22px 44px -28px rgba(10, 33, 66, 0.5); }
.hv2-wk a::after { display: none; }
.hv2-wk a:hover { transform: translateY(-8px); box-shadow: 0 0 0 2px var(--brand, #154378), 0 34px 56px -26px color-mix(in srgb, var(--brand, #154378) 65%, #000); }
.hv2-wk__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--brand, #154378); }
.hv2-wk__bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, 0.55); }
.hv2-wk__bar i:nth-child(1) { background: rgba(255, 255, 255, 0.9); }
.hv2-wk__chip { position: static; margin-left: auto; padding: 4px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: #fff; background: rgba(255, 255, 255, 0.2); }
.hv2-wk__img { position: relative; inset: auto; z-index: 0; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #e8edf5; }
.hv2-wk__img img { object-position: top center; }
.hv2-wk__meta { position: static; display: grid; gap: 2px; padding: 16px 70px 20px 20px; color: var(--color-text-primary); }
.hv2-wk__meta::before { display: none; }
.hv2-wk__name { font-size: 1.15rem; color: var(--color-text-primary); }
.hv2-wk__cat { font-size: 0.9rem; color: var(--color-text-tertiary); }
.hv2-wk__go { right: 16px; bottom: 16px; color: #fff; background: var(--brand, #154378); opacity: 1; transform: none; transition: transform 300ms var(--ease-out); }
.hv2-wk a:hover .hv2-wk__go { transform: translateX(4px); }
.hv2-wk a:hover img { transform: scale(1.05); }
@media (prefers-reduced-motion: no-preference) { .hv2-wk a:hover .hv2-wk__img img { object-position: bottom center; transition: transform 900ms var(--ease-out), object-position 2.4s ease-in-out; } }

/* ── What we do: interactive stage ─────────────────────────────────────── */
.hv2-pt { position: relative; display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px 20px; border-radius: 18px; background: var(--color-bg); border: 1px solid var(--color-border); cursor: pointer; overflow: hidden; transition: transform 300ms var(--ease-out), border-color 300ms, box-shadow 300ms; }
.hv2-pt:focus-visible { outline: 3px solid rgba(21, 67, 120, 0.4); outline-offset: 2px; }
.hv2-pt.is-active { transform: translateX(10px); border-color: rgba(21, 67, 120, 0.4); box-shadow: 0 18px 36px -22px rgba(21, 67, 120, 0.5); }
.hv2-pt.is-active .hv2-pt__ic { color: #fff; background: linear-gradient(145deg, #154378, #3D6BA0); }
.hv2-pt__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, #154378, #6f9be0); transform: scaleX(0); transform-origin: left; }
.hv2-pt.is-active .hv2-pt__bar { animation: hv2Prog var(--hv2-dur, 4200ms) linear forwards; }
@keyframes hv2Prog { to { transform: scaleX(1); } }
.hv2-pt__ic { transition: background 300ms, color 300ms; }

.hv2-stage { --mx: 0; --my: 0; position: relative; width: 100%; max-width: 560px; aspect-ratio: 1 / 0.95; margin-inline: auto; perspective: 1200px; }
.hv2-stage__glow { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(21, 67, 120, 0.22), transparent 68%); filter: blur(30px); animation: hv2Pulse2 6s ease-in-out infinite; }
@keyframes hv2Pulse2 { 0%, 100% { opacity: 0.6; transform: scale(1); } 50% { opacity: 1; transform: scale(1.1); } }
.hv2-card { position: absolute; border-radius: 20px; background: var(--color-bg); border: 1px solid rgba(21, 67, 120, 0.16); box-shadow: 0 30px 60px -28px rgba(10, 33, 66, 0.5); padding: 0 16px 16px; overflow: hidden; opacity: 0.55; filter: saturate(0.6); transform: translate3d(calc(var(--mx) * var(--d, 10px)), calc(var(--my) * var(--d, 10px)), 0) scale(0.96); transition: opacity 500ms, filter 500ms, transform 500ms var(--ease-out), box-shadow 500ms; }
.hv2-card__top { display: flex; align-items: center; gap: 6px; margin: 0 -16px 14px; padding: 10px 16px; background: rgba(21, 67, 120, 0.07); }
.hv2-card__top i { width: 9px; height: 9px; border-radius: 50%; background: rgba(21, 67, 120, 0.35); }
.hv2-card__top b { margin-left: auto; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-brand-500); }
.hv2-stage[data-active="biz"] .hv2-card--biz, .hv2-stage[data-active="ai"] .hv2-card--ai, .hv2-stage[data-active="code"] .hv2-card--code { opacity: 1; filter: none; z-index: 5; box-shadow: 0 40px 70px -26px rgba(21, 67, 120, 0.6), 0 0 0 2px rgba(21, 67, 120, 0.45); transform: translate3d(calc(var(--mx) * var(--d, 10px)), calc(var(--my) * var(--d, 10px)), 0) scale(1.04); }
.hv2-card--biz { --d: 14px; left: 2%; top: 4%; width: 62%; height: 52%; animation: hv2Float 7s ease-in-out infinite; }
.hv2-card--ai { --d: -12px; right: 0; top: 30%; width: 56%; height: 38%; animation: hv2Float 7s ease-in-out infinite -2.3s; }
.hv2-card--code { --d: 8px; left: 10%; bottom: 2%; width: 58%; height: 36%; animation: hv2Float 7s ease-in-out infinite -4.6s; }
/* dashboard */
.hv2-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.hv2-kpis span { display: grid; gap: 5px; padding: 8px; border-radius: 10px; background: rgba(21, 67, 120, 0.06); }
.hv2-kpis em { display: block; height: 6px; width: 60%; border-radius: 3px; background: rgba(21, 67, 120, 0.3); }
.hv2-kpis u { display: block; height: 10px; width: 80%; border-radius: 3px; background: var(--color-brand-500); }
.hv2-bars { position: absolute; left: 16px; right: 16px; bottom: 14px; height: 42%; display: flex; align-items: flex-end; gap: 7px; }
.hv2-bars i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #6f9be0, #154378); transform-origin: bottom; transform: scaleY(0.25); transition: transform 900ms var(--ease-out); }
.hv2-stage[data-active="biz"] .hv2-bars i { transform: scaleY(1); }
.hv2-bars i:nth-child(2) { transition-delay: 60ms; } .hv2-bars i:nth-child(3) { transition-delay: 120ms; } .hv2-bars i:nth-child(4) { transition-delay: 180ms; } .hv2-bars i:nth-child(5) { transition-delay: 240ms; } .hv2-bars i:nth-child(6) { transition-delay: 300ms; } .hv2-bars i:nth-child(7) { transition-delay: 360ms; }
.hv2-trend { position: absolute; left: 16px; right: 16px; bottom: 14px; width: calc(100% - 32px); height: 46%; overflow: visible; pointer-events: none; }
.hv2-trend path { fill: none; stroke: #0b1f3a; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 300; stroke-dashoffset: 300; transition: stroke-dashoffset 1.4s ease-out 300ms; }
.hv2-stage[data-active="biz"] .hv2-trend path { stroke-dashoffset: 0; }
/* assistant */
.hv2-bub { margin: 0 0 8px; padding: 9px 13px; border-radius: 14px; font-size: 12.5px; line-height: 1.4; max-width: 88%; }
.hv2-bub--me { margin-left: auto; color: #fff; background: linear-gradient(135deg, #154378, #2c5d9b); border-bottom-right-radius: 4px; }
.hv2-bub--bot { position: relative; color: var(--color-text-primary); background: rgba(21, 67, 120, 0.08); border-bottom-left-radius: 4px; }
.hv2-typing { display: none; gap: 4px; padding: 4px 0; }
.hv2-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--color-brand-500); animation: hv2Dot 1s ease-in-out infinite; }
.hv2-typing i:nth-child(2) { animation-delay: 0.15s; } .hv2-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes hv2Dot { 0%, 100% { opacity: 0.3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
.hv2-bub__txt { display: block; }
.hv2-stage[data-active="ai"] .hv2-bub--bot .hv2-typing { display: inline-flex; animation: hv2Hide 1ms 1.1s forwards; }
.hv2-stage[data-active="ai"] .hv2-bub--bot .hv2-bub__txt { animation: hv2Show 400ms 1.1s both; }
@keyframes hv2Hide { to { display: none; width: 0; height: 0; padding: 0; opacity: 0; } }
@keyframes hv2Show { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
/* code */
.hv2-code { display: grid; gap: 8px; margin-bottom: 12px; }
.hv2-code span { display: block; height: 7px; width: var(--w); border-radius: 4px; background: rgba(21, 67, 120, 0.2); transform-origin: left; }
.hv2-code span.b { background: rgba(21, 67, 120, 0.5); margin-left: 14px; }
.hv2-stage[data-active="code"] .hv2-code span { animation: hv2Type 700ms var(--ease-out) both; }
.hv2-stage[data-active="code"] .hv2-code span:nth-child(2) { animation-delay: 120ms; } .hv2-stage[data-active="code"] .hv2-code span:nth-child(3) { animation-delay: 240ms; } .hv2-stage[data-active="code"] .hv2-code span:nth-child(4) { animation-delay: 360ms; } .hv2-stage[data-active="code"] .hv2-code span:nth-child(5) { animation-delay: 480ms; }
@keyframes hv2Type { from { transform: scaleX(0); opacity: 0; } to { transform: none; opacity: 1; } }
.hv2-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.hv2-tags span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: #0f7a3d; background: rgba(15, 122, 61, 0.1); }
@media (max-width: 700px) { .hv2-stage { aspect-ratio: 1 / 1.15; } .hv2-card--biz { width: 74%; height: 44%; } .hv2-card--ai { width: 68%; top: 34%; height: 32%; } .hv2-card--code { width: 70%; height: 30%; left: 4%; } .hv2-pt.is-active { transform: none; } }
@media (prefers-reduced-motion: reduce) { .hv2-pt__bar { animation: none !important; transform: scaleX(1); } .hv2-card { animation: none !important; } }

/* ── Why Firmeza: typical agency vs Firmeza ────────────────────────────── */
.hv2-vs__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.hv2-switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; margin-top: 30px; padding: 6px; border-radius: 999px; background: var(--color-bg); border: 1px solid var(--color-border); box-shadow: 0 12px 30px -18px rgba(21, 67, 120, 0.4); }
.hv2-switch__opt { position: relative; z-index: 1; padding: 12px 24px; border: 0; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 800; color: var(--color-text-secondary); background: transparent; cursor: pointer; white-space: nowrap; transition: color 300ms; }
.hv2-switch__opt.is-on { color: #fff; }
.hv2-switch__opt:focus-visible { outline: 3px solid rgba(21, 67, 120, 0.4); outline-offset: 2px; }
.hv2-switch__thumb { position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc(50% - 6px); border-radius: 999px; background: linear-gradient(135deg, #154378, #2c5d9b); box-shadow: 0 8px 18px -8px rgba(21, 67, 120, 0.7); transition: transform 500ms var(--ease-spring, cubic-bezier(0.34, 1.4, 0.64, 1)), background 400ms; }
.hv2-switch:has([data-side="typical"].is-on) .hv2-switch__thumb { transform: translateX(0); background: linear-gradient(135deg, #6b7686, #8b95a5); }
.hv2-switch:has([data-side="firmeza"].is-on) .hv2-switch__thumb { transform: translateX(100%); }

.hv2-vs { position: relative; padding: clamp(18px, 3vw, 28px); border-radius: 30px; background: var(--color-bg); border: 1px solid var(--color-border); box-shadow: 0 34px 70px -40px rgba(21, 67, 120, 0.5); overflow: hidden; transition: border-color 500ms, box-shadow 500ms; }
.hv2-vs[data-side="firmeza"] { border-color: rgba(21, 67, 120, 0.4); box-shadow: 0 40px 80px -36px rgba(21, 67, 120, 0.65); }
.hv2-vs::before { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 60% at 100% 0%, rgba(21, 67, 120, 0.12), transparent 70%); opacity: 0; transition: opacity 600ms; pointer-events: none; }
.hv2-vs[data-side="firmeza"]::before { opacity: 1; }
.hv2-vs__list { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hv2-vs__row { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 18px; background: rgba(107, 118, 134, 0.07); transition: background 500ms, transform 500ms var(--ease-out); transition-delay: calc(var(--i) * 70ms); }
.hv2-vs[data-side="firmeza"] .hv2-vs__row { background: rgba(21, 67, 120, 0.07); transform: translateX(6px); }
.hv2-vs__ic { position: relative; flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; background: #98a2b3; transition: background 500ms, transform 600ms var(--ease-spring, cubic-bezier(0.34, 1.4, 0.64, 1)); transition-delay: calc(var(--i) * 70ms); }
.hv2-vs__ic svg { grid-area: 1 / 1; transition: opacity 300ms, transform 500ms var(--ease-out); transition-delay: calc(var(--i) * 70ms); }
.hv2-vs__ck { opacity: 0; transform: scale(0.3) rotate(-90deg); }
.hv2-vs[data-side="firmeza"] .hv2-vs__ic { background: linear-gradient(145deg, #154378, #3D6BA0); transform: rotate(360deg); }
.hv2-vs[data-side="firmeza"] .hv2-vs__x { opacity: 0; transform: scale(0.3); }
.hv2-vs[data-side="firmeza"] .hv2-vs__ck { opacity: 1; transform: none; }
.hv2-vs__txt { position: relative; display: grid; flex: 1; min-height: 1.5em; font-size: 1.05rem; font-weight: 700; }
.hv2-vs__a, .hv2-vs__b { grid-area: 1 / 1; transition: opacity 400ms, transform 500ms var(--ease-out); transition-delay: calc(var(--i) * 70ms); }
.hv2-vs__a { color: var(--color-text-tertiary); text-decoration: line-through; text-decoration-color: rgba(152, 162, 179, 0.7); }
.hv2-vs__b { color: var(--color-text-primary); opacity: 0; transform: translateY(10px); }
.hv2-vs[data-side="firmeza"] .hv2-vs__a { opacity: 0; transform: translateY(-10px); }
.hv2-vs[data-side="firmeza"] .hv2-vs__b { opacity: 1; transform: none; }
.hv2-vs__meter { position: relative; height: 6px; margin-top: 20px; border-radius: 6px; background: rgba(21, 67, 120, 0.1); overflow: hidden; }
.hv2-vs__meter span { position: absolute; inset: 0; border-radius: 6px; background: linear-gradient(90deg, #154378, #6f9be0); transform: scaleX(0.12); transform-origin: left; transition: transform 1.1s var(--ease-out); }
.hv2-vs[data-side="firmeza"] .hv2-vs__meter span { transform: scaleX(1); }
@media (max-width: 1000px) { .hv2-vs__grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .hv2-vs *, .hv2-switch__thumb { transition-duration: 0.01ms !important; transition-delay: 0s !important; } }

/* ── Process: interactive journey ──────────────────────────────────────── */
.hv2-j { max-width: 1040px; margin: 0 auto; }
.hv2-j__map { position: relative; width: 100%; aspect-ratio: 1000 / 260; }
.hv2-j__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hv2-j__track, .hv2-j__trail { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.hv2-j__track { stroke: rgba(21, 67, 120, 0.2); stroke-width: 4; stroke-dasharray: 2 12; }
.hv2-j__trail { stroke: url(#hv2g); stroke: #154378; stroke-width: 5; stroke-dasharray: var(--len, 1200); stroke-dashoffset: var(--off, 1200); filter: drop-shadow(0 4px 8px rgba(21, 67, 120, 0.35)); }
.hv2-j__rider { position: absolute; z-index: 3; left: var(--rx, 7%); top: var(--ry, 65%); width: 18px; height: 18px; margin: -9px; border-radius: 50%; background: #fff; border: 4px solid #154378; box-shadow: 0 0 0 8px rgba(21, 67, 120, 0.15), 0 8px 18px rgba(21, 67, 120, 0.5); pointer-events: none; }
.hv2-j__rider::after { content: ''; position: absolute; inset: -12px; border-radius: 50%; border: 2px solid rgba(21, 67, 120, 0.4); animation: hv2Pulse 2s ease-out infinite; }
.hv2-j__node { position: absolute; z-index: 2; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 8px; padding: 0; border: 0; background: transparent; cursor: pointer; font: inherit; }
.hv2-j__dot { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; color: var(--color-brand-500); background: var(--color-bg); border: 3px solid rgba(21, 67, 120, 0.22); box-shadow: 0 12px 24px -12px rgba(21, 67, 120, 0.45); transition: transform 400ms var(--ease-spring, cubic-bezier(0.34, 1.4, 0.64, 1)), background 300ms, color 300ms, border-color 300ms; }
.hv2-j__node:hover .hv2-j__dot { transform: scale(1.1); border-color: rgba(21, 67, 120, 0.5); }
.hv2-j__node.is-done .hv2-j__dot { color: #fff; background: linear-gradient(145deg, #154378, #3D6BA0); border-color: #fff; }
.hv2-j__node.is-active .hv2-j__dot { transform: scale(1.18); color: #fff; background: linear-gradient(145deg, #154378, #3D6BA0); border-color: #fff; box-shadow: 0 0 0 6px rgba(21, 67, 120, 0.18), 0 16px 30px -10px rgba(21, 67, 120, 0.7); }
.hv2-j__lbl { position: absolute; top: calc(100% + 8px); font-size: 0.95rem; font-weight: 800; color: var(--color-text-tertiary); white-space: nowrap; transition: color 300ms; }
.hv2-j__node.is-active .hv2-j__lbl { color: var(--color-text-primary); }
.hv2-j__node:focus-visible .hv2-j__dot { outline: 3px solid rgba(21, 67, 120, 0.5); outline-offset: 3px; }
.hv2-j__panels { position: relative; margin-top: 28px; min-height: 148px; }
.hv2-j__panel { position: absolute; inset: 0 0 auto 0; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding: 26px 30px; border-radius: 26px; background: var(--color-bg); border: 1px solid rgba(21, 67, 120, 0.22); box-shadow: 0 28px 56px -34px rgba(21, 67, 120, 0.55); opacity: 0; visibility: hidden; transform: translateY(16px) scale(0.98); transition: opacity 400ms, transform 500ms var(--ease-out), visibility 0s 400ms; }
.hv2-j__panel.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; position: relative; }
.hv2-j__ic { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; color: #fff; background: linear-gradient(145deg, #154378, #3D6BA0); box-shadow: 0 14px 28px -10px rgba(21, 67, 120, 0.6); }
.hv2-j__panel > div { flex: 1; min-width: 200px; }
.hv2-j__num { font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-brand-500); }
.hv2-j__panel h3 { margin: 2px 0 4px; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; color: var(--color-text-primary); }
.hv2-j__panel p { margin: 0; color: var(--color-text-tertiary); line-height: 1.55; }
.hv2-j__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hv2-j__chips li { padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--color-brand-500); background: rgba(21, 67, 120, 0.08); }
.hv2-j__panel:not(.is-active) { position: absolute; }
@media (max-width: 760px) {
  .hv2-j__map { aspect-ratio: auto; display: flex; justify-content: space-between; gap: 4px; padding: 0 0 26px; }
  .hv2-j__svg, .hv2-j__rider { display: none; }
  .hv2-j__node { position: relative; left: auto; top: auto; transform: none; }
  .hv2-j__dot { width: 46px; height: 46px; }
  .hv2-j__dot svg { width: 20px; height: 20px; }
  .hv2-j__lbl { font-size: 0.72rem; top: calc(100% + 6px); }
  .hv2-j__panel { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { .hv2-j__rider::after { animation: none; } .hv2-j__panel, .hv2-j__dot { transition-duration: 0.01ms !important; } }

/* ── Tech stack: honeycomb ─────────────────────────────────────────────── */
.hv2-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto clamp(28px, 4vw, 48px); }
.hv2-chip { padding: 10px 20px; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 700; color: var(--color-text-secondary); background: var(--color-bg); border: 1px solid var(--color-border); cursor: pointer; transition: all 260ms var(--ease-out); }
.hv2-chip:hover { border-color: rgba(21, 67, 120, 0.4); color: var(--color-brand-500); transform: translateY(-2px); }
.hv2-chip.is-active { color: #fff; background: linear-gradient(135deg, #154378, #2c5d9b); border-color: transparent; box-shadow: 0 10px 22px -10px rgba(21, 67, 120, 0.7); }
.hv2-chip:focus-visible { outline: 3px solid rgba(21, 67, 120, 0.4); outline-offset: 2px; }
.hv2-honey { --hx: 132px; position: relative; display: grid; gap: calc(var(--hx) * -0.14); justify-items: center; padding: 20px 0 30px; }
.hv2-honey__glow { position: absolute; inset: 10% 15%; border-radius: 50%; background: radial-gradient(closest-side, rgba(21, 67, 120, 0.16), transparent); filter: blur(30px); animation: hv2Pulse2 6s ease-in-out infinite; pointer-events: none; }
.hv2-hexrow { position: relative; list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.hv2-hexrow--off { transform: translateX(0); }
.hv2-hex { width: var(--hx); height: calc(var(--hx) * 1.1547); animation: hv2Float 6s ease-in-out infinite; animation-delay: calc(var(--i) * -0.5s); }
.hv2-hex__in { position: relative; width: 100%; height: 100%; display: grid; place-content: center; justify-items: center; gap: 6px; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: linear-gradient(160deg, var(--color-bg), rgba(21, 67, 120, 0.09)); filter: drop-shadow(0 0 0 transparent); transition: opacity 450ms, transform 450ms var(--ease-spring, cubic-bezier(0.34, 1.4, 0.64, 1)), background 450ms; }
.hv2-hex__in::before { content: ''; position: absolute; inset: 0; background: rgba(21, 67, 120, 0.22); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%, 50% 0, 50% 1.6%, 1.8% 26.2%, 1.8% 73.8%, 50% 98.4%, 98.2% 73.8%, 98.2% 26.2%, 50% 1.6%); transition: background 450ms; }
.hv2-hex__in img { width: 40px; height: 40px; object-fit: contain; transition: transform 450ms var(--ease-spring, cubic-bezier(0.34, 1.4, 0.64, 1)); }
.hv2-hex__in b { font-size: 12px; font-weight: 800; color: var(--color-text-primary); text-align: center; line-height: 1.1; }
.hv2-hex.is-dim .hv2-hex__in { opacity: 0.22; transform: scale(0.88); }
.hv2-hex.is-lit .hv2-hex__in { background: linear-gradient(160deg, #fff, rgba(21, 67, 120, 0.16)); transform: scale(1.08); }
.hv2-hex.is-lit .hv2-hex__in::before { background: #154378; }
.hv2-hex.is-lit .hv2-hex__in img { transform: scale(1.18); }
.hv2-hex:hover .hv2-hex__in { opacity: 1; transform: scale(1.14); }
.hv2-hex.is-lit { filter: drop-shadow(0 14px 18px rgba(21, 67, 120, 0.3)); }
:root[data-theme="dark"] .hv2-hex__in img[src$="/nextjs.svg"], :root[data-theme="dark"] .hv2-hex__in img[src$="/vercel.svg"] { filter: invert(1); }
:root[data-theme="dark"] .hv2-hex__in { background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(21, 67, 120, 0.2)); }
@media (max-width: 760px) { .hv2-honey { --hx: 84px; } .hv2-hexrow { gap: 4px; } .hv2-hex__in img { width: 28px; height: 28px; } .hv2-hex__in b { font-size: 10px; } }
@media (max-width: 460px) { .hv2-honey { --hx: 66px; } .hv2-hex__in img { width: 22px; height: 22px; } .hv2-hex__in b { display: none; } }
@media (prefers-reduced-motion: reduce) { .hv2-hex, .hv2-honey__glow { animation: none; } }
.hv2-honey { gap: calc(var(--hx) * -0.265); }
.hv2-hexrow { transform: translateX(calc((var(--hx) + 8px) * -0.25)); }
.hv2-hexrow--off { transform: translateX(calc((var(--hx) + 8px) * 0.25)); }
@media (max-width: 760px) { .hv2-hexrow { transform: translateX(calc((var(--hx) + 4px) * -0.25)); } .hv2-hexrow--off { transform: translateX(calc((var(--hx) + 4px) * 0.25)); } }

/* ── Calmer sizing for the homepage sections ───────────────────────────── */
.hv2-why__tile h3 { font-size: 1.05rem; font-weight: 700; } .hv2-why__tile p { font-size: 0.92rem; }
.hv2-why__ic { width: 52px; height: 52px; border-radius: 16px; margin-bottom: 16px; }
.hv2-why__tile { padding: 24px 22px; border-radius: 20px; }
.hv2-pts h3 { font-size: 0.98rem; font-weight: 700; } .hv2-pts p { font-size: 0.9rem; }
.hv2-pt__ic { width: 40px; height: 40px; border-radius: 12px; }
.hv2-svc__a { min-height: 280px; padding: 22px; border-radius: 22px; }
.hv2-svc__t { font-size: 1.2rem; font-weight: 700; } .hv2-svc__d { font-size: 0.9rem; }
.hv2-svc__ic { width: 44px; height: 44px; border-radius: 14px; top: 18px; left: 18px; }
.hv2-wk__name { font-size: 1.02rem; font-weight: 700; } .hv2-wk__cat { font-size: 0.85rem; }
.hv2-wk a { border-radius: 18px; }
.hv2-j__panel h3 { font-size: 1.3rem; font-weight: 700; } .hv2-j__panel p { font-size: 0.95rem; } .hv2-j__panel { padding: 22px 26px; }
.hv2-j__ic { width: 54px; height: 54px; border-radius: 16px; }
.hv2-j__dot { width: 54px; height: 54px; } .hv2-j__lbl { font-size: 0.88rem; font-weight: 700; }
.hv2-vs__txt { font-size: 0.98rem; font-weight: 600; } .hv2-vs__row { padding: 13px 16px; } .hv2-vs__ic { width: 34px; height: 34px; }
.hv2-switch__opt { padding: 10px 20px; font-size: 13px; }
.hv2-stat__num { font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 700; } .hv2-stat { padding: 24px 18px; border-radius: 20px; } .hv2-stat__lbl { font-size: 0.88rem; }
.hv2-pband__t { font-size: clamp(1.2rem, 2.2vw, 1.6rem); font-weight: 700; }
.hv2-hex__in b { font-weight: 700; } .hv2-honey { --hx: 118px; }
.hv2-tab, .hv2-chip { font-size: 13px; padding: 9px 18px; }

/* ============================================================================
   Contact — navy panel + clean form (markup/JS unchanged)
   ========================================================================== */
.contact { padding: clamp(48px, 6.5vw, 84px) 0; background: var(--color-bg-subtle); }
.contact__bg { display: none; }
.contact__grid { display: grid !important; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.contact__intro { position: sticky; top: 96px; overflow: hidden; padding: clamp(28px, 3.6vw, 44px); border-radius: 30px; color: #fff; background: linear-gradient(160deg, #071a33 0%, #0e2f55 55%, #154378 100%); box-shadow: 0 40px 80px -44px rgba(10, 33, 66, 0.85); isolation: isolate; }
.contact__intro::before { content: ''; position: absolute; z-index: -1; width: 340px; height: 340px; top: -120px; right: -100px; border-radius: 50%; background: radial-gradient(closest-side, rgba(138, 179, 255, 0.4), transparent); animation: hv2Drift 12s ease-in-out infinite alternate; }
.contact__intro::after { content: ''; position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 38px 38px; -webkit-mask-image: radial-gradient(80% 60% at 100% 0%, #000, transparent); mask-image: radial-gradient(80% 60% at 100% 0%, #000, transparent); }
.contact__orbit { position: absolute; z-index: -1; top: 26px; right: 26px; width: 74px; height: 74px; }
.contact__orbit i { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.35); animation: hv2Pulse 3.6s ease-out infinite; }
.contact__orbit i:nth-child(2) { animation-delay: -1.2s; } .contact__orbit i:nth-child(3) { animation-delay: -2.4s; }
.contact__eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #8AB3FF; }
.contact__eyebrow::before { content: ''; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.contact__headline { margin: 0 0 12px; font-size: clamp(1.6rem, 2.7vw, 2.2rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.025em; color: #fff; }
.contact__headline em { display: block; font-style: normal; background: linear-gradient(120deg, #fff, #8AB3FF); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.contact__sub { margin: 0 0 24px; font-size: 1rem; line-height: 1.6; color: rgba(255, 255, 255, 0.78); max-width: 34ch; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.contact__actions .btn--primary { background: #fff; color: #0b2543; box-shadow: 0 14px 30px -12px rgba(138, 179, 255, 0.6); }
.contact__actions .btn--outline { color: #fff; border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.05); }
.contact__actions .btn--outline:hover { border-color: #fff; background: rgba(255, 255, 255, 0.12); }
.contact__actions .btn svg { margin-left: 6px; vertical-align: -3px; }
.contact__steps { position: relative; list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 18px; }
.contact__steps::before { content: ''; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 2px; background: linear-gradient(180deg, #8AB3FF, rgba(138, 179, 255, 0.15)); transform-origin: top; animation: hv2Line 3s ease-out both; }
@keyframes hv2Line { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.contact__step { position: relative; display: flex; gap: 16px; align-items: center; }
.contact__step-num { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-size: 14px; font-weight: 800; color: #0b2543; background: #fff; box-shadow: 0 0 0 5px rgba(138, 179, 255, 0.22); animation: hv2Float 5s ease-in-out infinite; }
.contact__step:nth-child(2) .contact__step-num { animation-delay: -1.6s; } .contact__step:nth-child(3) .contact__step-num { animation-delay: -3.2s; }
.contact__step-body { display: grid; gap: 1px; }
.contact__step-title { font-size: 0.98rem; font-weight: 700; color: #fff; }
.contact__step-text { font-size: 0.88rem; color: rgba(255, 255, 255, 0.7); }
.contact__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.contact__chip { padding: 7px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: #dbe8ff; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); }
.contact__chip::before, .contact__chip::after { display: none; }

.contact__panel { display: grid; gap: 16px; }
.contact__calendar { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 20px; background: var(--color-bg); border: 1px solid rgba(21, 67, 120, 0.2); box-shadow: 0 16px 36px -26px rgba(21, 67, 120, 0.5); }
.contact__calendar-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: #fff; background: linear-gradient(145deg, #154378, #3D6BA0); }
.contact__calendar-body { flex: 1; }
.contact__calendar-title { margin: 0; font-size: 0.98rem; font-weight: 700; color: var(--color-text-primary); }
.contact__calendar-text { margin: 0; font-size: 0.88rem; color: var(--color-text-tertiary); }
.contact__card { padding: clamp(22px, 3vw, 32px); border-radius: 26px; background: var(--color-bg); border: 1px solid var(--color-border); box-shadow: 0 30px 60px -40px rgba(21, 67, 120, 0.5); }
.contact__card-title { margin: 0 0 4px; font-size: 1.3rem; font-weight: 700; color: var(--color-text-primary); }
.contact__card-note { margin: 0 0 20px; font-size: 0.92rem; color: var(--color-text-tertiary); }
.contact__form-fineprint { margin: 10px 0 0; font-size: 0.8rem; text-align: center; color: var(--color-text-tertiary); }
.contact__submit { width: 100%; }
.contact__methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.contact__method { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--color-bg); border: 1px solid var(--color-border); text-decoration: none; transition: transform 300ms var(--ease-out), border-color 300ms, box-shadow 300ms; }
a.contact__method:hover { transform: translateY(-4px); border-color: rgba(21, 67, 120, 0.35); box-shadow: 0 16px 30px -20px rgba(21, 67, 120, 0.5); }
.contact__method--full { grid-column: 1 / -1; }
.contact__method-icon { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: var(--color-brand-500); background: rgba(21, 67, 120, 0.09); }
.contact__method-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-text-tertiary); }
.contact__method-value { display: block; font-size: 0.9rem; font-weight: 600; color: var(--color-text-primary); overflow-wrap: anywhere; }
@media (max-width: 1000px) { .contact__grid { grid-template-columns: 1fr !important; } .contact__intro { position: relative; top: 0; } }
@media (max-width: 560px) { .contact__methods { grid-template-columns: 1fr; } .contact__calendar { flex-wrap: wrap; } }
@media (prefers-reduced-motion: reduce) { .contact__intro::before, .contact__orbit i, .contact__step-num, .contact__steps::before { animation: none !important; } }
.contact__intro .contact__actions .btn--primary { background: #fff !important; background-image: none !important; color: #0b2543 !important; border-color: transparent !important; }
.contact__intro .contact__actions .btn--primary:hover { background: #e8f0ff !important; }
.contact__calendar { background: var(--color-bg) !important; background-image: none !important; color: var(--color-text-primary) !important; border-color: rgba(21, 67, 120, 0.2) !important; }
.contact__calendar-title { color: var(--color-text-primary) !important; }
.contact__calendar-text { color: var(--color-text-tertiary) !important; }
.contact__calendar .btn { width: auto; flex: none; }
.contact__method { background: var(--color-bg) !important; background-image: none !important; }
.contact__method-label { color: var(--color-text-tertiary) !important; }
.contact__method-value { color: var(--color-text-primary) !important; }

/* ============================================================================
   HERO v3 — kinetic headline + layered, mouse-reactive product scene
   ========================================================================== */
.hx { --mx: 0; --my: 0; position: relative; isolation: isolate; overflow: hidden; margin-top: 0; padding: clamp(104px, 12vw, 132px) 0 0; background: linear-gradient(180deg, #ffffff 0%, #f1f4fb 100%); }
.hx-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hx-blob { position: absolute; border-radius: 50%; filter: blur(80px); will-change: transform; }
.hx-blob--1 { width: 520px; height: 520px; top: -160px; right: -80px; background: rgba(61, 107, 160, 0.30); animation: hxDrift 16s ease-in-out infinite alternate; }
.hx-blob--2 { width: 420px; height: 420px; bottom: -120px; left: -100px; background: rgba(21, 67, 120, 0.20); animation: hxDrift 20s ease-in-out infinite alternate-reverse; }
.hx-blob--3 { width: 300px; height: 300px; top: 30%; left: 38%; background: rgba(138, 179, 255, 0.28); animation: hxDrift 24s ease-in-out infinite alternate; }
@keyframes hxDrift { to { transform: translate(70px, 50px) scale(1.15); } }
.hx-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(21, 67, 120, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(21, 67, 120, 0.07) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(75% 70% at 70% 35%, #000 20%, transparent 100%); mask-image: radial-gradient(75% 70% at 70% 35%, #000 20%, transparent 100%); animation: hxGrid 40s linear infinite; }
@keyframes hxGrid { to { background-position: 48px 48px; } }
.hx-spot { position: absolute; inset: 0; background: radial-gradient(420px circle at calc(50% + var(--mx) * 50%) calc(40% + var(--my) * 40%), rgba(21, 67, 120, 0.10), transparent 70%); }
.hx-dots i { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #3D6BA0; opacity: 0; animation: hxDot 9s linear infinite; }
.hx-dots i:nth-child(1) { left: 8%; top: 70%; animation-delay: 0s; } .hx-dots i:nth-child(2) { left: 22%; top: 85%; animation-delay: -2s; width: 4px; height: 4px; } .hx-dots i:nth-child(3) { left: 40%; top: 78%; animation-delay: -4s; }
.hx-dots i:nth-child(4) { left: 58%; top: 90%; animation-delay: -1s; width: 4px; height: 4px; } .hx-dots i:nth-child(5) { left: 72%; top: 72%; animation-delay: -5s; } .hx-dots i:nth-child(6) { left: 85%; top: 88%; animation-delay: -3s; width: 8px; height: 8px; }
.hx-dots i:nth-child(7) { left: 94%; top: 76%; animation-delay: -6s; width: 4px; height: 4px; } .hx-dots i:nth-child(8) { left: 50%; top: 95%; animation-delay: -7s; }
@keyframes hxDot { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 0.7; } 100% { transform: translateY(-420px); opacity: 0; } }

.hx-wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(24px, 4vw, 64px); align-items: center; min-height: min(640px, calc(100svh - 190px)); padding-bottom: 56px; }
.hx-copy { position: relative; z-index: 2; }
.hx-pill { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; padding: 7px 16px 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--color-brand-500); background: #fff; border: 1px solid rgba(21, 67, 120, 0.16); box-shadow: 0 10px 24px -14px rgba(21, 67, 120, 0.5); }
.hx-pill__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }
.hx-pill__dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(34, 197, 94, 0.5); animation: hv2Pulse 2s ease-out infinite; }
.hx-title { margin: 0 0 18px; display: grid; font-family: var(--font-display); font-size: clamp(2.2rem, 4.2vw, 3.7rem); font-weight: 800; line-height: 1.06; letter-spacing: -0.035em; color: #0b1f3a; }
.hx-line { display: block; }
.hx-rot { position: relative; display: inline-block; height: 1.12em; overflow: hidden; vertical-align: bottom; }
.hx-rot__list { display: flex; flex-direction: column; animation: hxRot 10s cubic-bezier(0.7, 0, 0.2, 1) infinite; }
.hx-rot__list span { display: block; height: 1.12em; line-height: 1.12; white-space: nowrap; background: linear-gradient(110deg, #154378, #3D6BA0 55%, #6f9be0); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
@keyframes hxRot { 0%, 18% { transform: translateY(0); } 25%, 43% { transform: translateY(-1.12em); } 50%, 68% { transform: translateY(-2.24em); } 75%, 93% { transform: translateY(-3.36em); } 100% { transform: translateY(-4.48em); } }
.hx-sub { margin: 0 0 26px; max-width: 46ch; font-size: 1.05rem; line-height: 1.65; color: var(--color-text-secondary); }
.hx-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hx-cta svg { margin-left: 8px; vertical-align: -3px; transition: transform 250ms var(--ease-out); }
.hx-cta:hover svg { transform: translateX(4px); }
.hx-trust { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.hx-trust li { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--color-text-secondary); }
.hx-trust svg { color: #fff; padding: 3px; width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(145deg, #154378, #3D6BA0); }
.hx-stats { display: flex; gap: clamp(20px, 3vw, 40px); margin: 0; padding-top: 22px; border-top: 1px solid rgba(21, 67, 120, 0.14); }
.hx-stats dd { margin: 0; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; letter-spacing: -0.03em; color: #0b1f3a; font-variant-numeric: tabular-nums; }
.hx-stats dt { font-size: 12.5px; color: var(--color-text-tertiary); }

/* stage */
.hx-stage { position: relative; width: 100%; max-width: 580px; aspect-ratio: 1 / 1.02; margin-inline: auto; }
.hx-l { position: absolute; transform: translate3d(calc(var(--mx) * var(--d) * 1px), calc(var(--my) * var(--d) * 1px), 0); transition: transform 300ms var(--ease-out); will-change: transform; }
.hx-f { animation: hxFloat 7s ease-in-out infinite; }
@keyframes hxFloat { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(0.6deg); } }
.hx-ring { position: absolute; inset: 4%; border-radius: 50%; border: 1.5px dashed rgba(21, 67, 120, 0.28); animation: hv2Spin 50s linear infinite; }
.hx-ring--2 { inset: 17%; border: 0; background: conic-gradient(from 0deg, rgba(21, 67, 120, 0), rgba(61, 107, 160, 0.35), rgba(21, 67, 120, 0)); -webkit-mask: radial-gradient(farthest-side, transparent 92%, #000 93%); mask: radial-gradient(farthest-side, transparent 92%, #000 93%); animation-duration: 9s; }

.hx-browser { left: 24%; top: 3%; width: 74%; z-index: 1; }
.hx-browser .hx-f { border-radius: 18px; background: #fff; border: 1px solid rgba(21, 67, 120, 0.14); box-shadow: 0 40px 70px -34px rgba(10, 33, 66, 0.55); overflow: hidden; animation-delay: -1.5s; }
.hx-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #eef2f9; }
.hx-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(21, 67, 120, 0.3); }
.hx-bar b { margin-left: 10px; flex: 1; padding: 3px 10px; border-radius: 999px; font-size: 10.5px; font-weight: 600; color: var(--color-text-tertiary); background: #fff; }
.hx-bro-body { display: grid; gap: 9px; padding: 16px 16px 18px; }
.hx-sk { display: block; height: 11px; border-radius: 6px; background: linear-gradient(90deg, #e1e8f4 20%, #f3f6fb 50%, #e1e8f4 80%) 0 0 / 220% 100%; animation: hxShim 2.6s linear infinite; }
.hx-sk--h { height: 20px; width: 62%; } .hx-sk--p { width: 88%; } .hx-sk--s { width: 54%; }
@keyframes hxShim { to { background-position: -220% 0; } }
.hx-bro-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 4px; }
.hx-bro-cards i { height: 62px; border-radius: 12px; background: linear-gradient(145deg, #dbe7fb, #b8cdf0); animation: hxPulseCard 4s ease-in-out infinite; }
.hx-bro-cards i:nth-child(2) { animation-delay: -1.3s; background: linear-gradient(145deg, #c7d9f7, #8fb0e6); } .hx-bro-cards i:nth-child(3) { animation-delay: -2.6s; }
@keyframes hxPulseCard { 0%, 100% { opacity: 0.75; } 50% { opacity: 1; } }

.hx-phone { left: 3%; top: 15%; width: 42%; z-index: 3; }
.hx-phone .hx-f { position: relative; aspect-ratio: 9 / 18.2; padding: 9px; border-radius: 34px; background: linear-gradient(160deg, #1b2f4d, #0a1a30); box-shadow: 0 50px 80px -30px rgba(7, 19, 34, 0.75), inset 0 0 0 2px rgba(255, 255, 255, 0.08); animation-delay: -0.5s; }
.hx-notch { position: absolute; z-index: 2; top: 14px; left: 50%; width: 34%; height: 9px; margin-left: -17%; border-radius: 9px; background: #050d18; }
.hx-screen { position: relative; height: 100%; display: grid; grid-template-rows: auto auto 1fr auto auto; gap: 8px; padding: 26px 10px 10px; border-radius: 26px; background: linear-gradient(180deg, #f6f9ff, #e8effb); overflow: hidden; }
.hx-app-top { display: flex; align-items: center; gap: 6px; } .hx-app-top i { width: 18px; height: 18px; border-radius: 50%; background: #154378; } .hx-app-top b { flex: 1; height: 7px; border-radius: 4px; background: #c5d4ec; } .hx-app-top u { width: 14px; height: 14px; border-radius: 50%; background: #d8e3f5; }
.hx-app-hero { position: relative; height: 54px; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, #154378, #6f9be0); }
.hx-app-hero span { position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,0.5) 50%, transparent 70%); animation: sxSweep 3.4s ease-in-out infinite; }
.hx-app-bars { display: flex; align-items: flex-end; gap: 6px; padding: 8px; border-radius: 12px; background: #fff; }
.hx-app-bars i { flex: 1; height: var(--h); border-radius: 4px 4px 1px 1px; background: linear-gradient(180deg, #6f9be0, #154378); transform-origin: bottom; animation: hxBar 3.2s ease-in-out infinite alternate; }
.hx-app-bars i:nth-child(2) { animation-delay: -0.4s; } .hx-app-bars i:nth-child(3) { animation-delay: -0.8s; } .hx-app-bars i:nth-child(4) { animation-delay: -1.2s; } .hx-app-bars i:nth-child(5) { animation-delay: -1.6s; } .hx-app-bars i:nth-child(6) { animation-delay: -2s; }
@keyframes hxBar { from { transform: scaleY(0.35); } to { transform: scaleY(1); } }
.hx-app-rows { display: grid; gap: 6px; } .hx-app-rows span { height: 22px; border-radius: 9px; background: #fff; box-shadow: inset 3px 0 0 #154378; } .hx-app-rows span:nth-child(2) { box-shadow: inset 3px 0 0 #6f9be0; opacity: 0.8; }
.hx-app-tab { display: flex; justify-content: space-around; padding-top: 4px; } .hx-app-tab i { width: 16px; height: 16px; border-radius: 6px; background: #c5d4ec; } .hx-app-tab i.on { background: #154378; }

.hx-kpi { right: 0; bottom: 16%; width: 46%; z-index: 4; }
.hx-kpi .hx-f { display: grid; gap: 4px; padding: 14px 16px 10px; border-radius: 18px; background: #fff; border: 1px solid rgba(21, 67, 120, 0.12); box-shadow: 0 30px 50px -26px rgba(10, 33, 66, 0.55); animation-delay: -2.4s; }
.hx-kpi__label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-tertiary); }
.hx-kpi__num { display: flex; align-items: baseline; gap: 8px; } .hx-kpi__num b { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.03em; color: #0b1f3a; font-variant-numeric: tabular-nums; } .hx-kpi__num em { font-style: normal; font-size: 12px; font-weight: 800; color: #16a34a; }
.hx-kpi svg { width: 100%; height: 38px; overflow: visible; } .hx-kpi path { fill: none; stroke: #154378; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 220; stroke-dashoffset: 220; animation: hxDraw 4s ease-in-out infinite; }
@keyframes hxDraw { 0% { stroke-dashoffset: 220; } 55%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -220; } }

.hx-toast { left: 36%; bottom: 3%; z-index: 5; }
.hx-toast .hx-f { display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 16px; background: #0b1f3a; color: #fff; box-shadow: 0 24px 40px -18px rgba(7, 19, 34, 0.7); animation: hxToast 6s ease-in-out infinite; }
.hx-toast b { display: block; font-size: 13px; } .hx-toast em { display: block; font-style: normal; font-size: 11px; color: rgba(255, 255, 255, 0.65); }
.hx-toast__ic { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #22c55e; }
@keyframes hxToast { 0%, 12% { opacity: 0; transform: translateY(18px) scale(0.92); } 22%, 78% { opacity: 1; transform: none; } 90%, 100% { opacity: 0; transform: translateY(-10px); } }

.hx-chip { z-index: 5; } .hx-chip .hx-f { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 18px; background: #fff; border: 1px solid rgba(21, 67, 120, 0.12); box-shadow: 0 18px 30px -14px rgba(10, 33, 66, 0.5); }
.hx-chip--a { left: -2%; top: 6%; } .hx-chip--b { right: 2%; top: 30%; } .hx-chip--c { left: 38%; top: 58%; } .hx-chip--d { right: 30%; bottom: -1%; }
.hx-chip--b .hx-f { animation-delay: -2s; } .hx-chip--c .hx-f { animation-delay: -3.5s; } .hx-chip--d .hx-f { animation-delay: -5s; }

/* ribbon */
.hx-ribbon { position: relative; overflow: hidden; padding: 16px 0; border-top: 1px solid rgba(21, 67, 120, 0.1); background: rgba(255, 255, 255, 0.82);  }
.hx-ribbon__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: hv2Marq 36s linear infinite; }
.hx-ribbon span { font-size: 1.05rem; font-weight: 700; color: rgba(21, 34, 66, 0.55); white-space: nowrap; } .hx-ribbon i { font-style: normal; color: #3D6BA0; }

@media (max-width: 1000px) {
  .hx-wrap { grid-template-columns: 1fr; min-height: 0; }
  .hx-stage { max-width: 480px; }
}
@media (max-width: 560px) {
  .hx { padding-top: 96px; }
  .hx-stats { gap: 18px; } .hx-chip .hx-f { width: 44px; height: 44px; border-radius: 14px; } .hx-chip img { width: 20px; height: 20px; }
  .hx-kpi { width: 54%; } .hx-toast { left: 22%; }
}
@media (prefers-reduced-motion: reduce) {
  .hx *, .hx *::before, .hx *::after { animation: none !important; }
  .hx-rot__list { transform: none; }
  .hx-kpi path { stroke-dashoffset: 0; } .hx-toast .hx-f { opacity: 1; }
  .hx-l { transition: none; transform: none; }
}

/* Hero fits one screen: no dead space under the bar, scales with viewport height */
.hx { display: flex; flex-direction: column; min-height: 100svh; padding-top: 84px; }
.hx-wrap { flex: 1; min-height: 0; padding-top: clamp(8px, 2svh, 22px); padding-bottom: clamp(10px, 2.4svh, 26px); }
.hx-pill { margin-bottom: clamp(8px, 1.8svh, 16px); }
.hx-title { font-size: clamp(2rem, min(4.2vw, 6.6svh), 3.7rem); margin-bottom: clamp(8px, 1.8svh, 16px); }
.hx-sub { margin-bottom: clamp(12px, 2.4svh, 22px); font-size: clamp(0.95rem, 2.1svh, 1.05rem); }
.hx-ctas { margin-bottom: clamp(10px, 2svh, 18px); }
.hx-trust { margin-bottom: clamp(10px, 2.2svh, 20px); }
.hx-stats { padding-top: clamp(10px, 2svh, 18px); }
.hx-stage { max-width: min(580px, calc(100svh - 190px)); }
.hx-ribbon { flex: none; padding: 12px 0; }
@media (max-width: 1000px) { .hx { min-height: 0; } .hx-stage { max-width: 480px; } }
.hx { margin-top: calc(-1 * var(--navbar-height, 72px)); }
.hx-trust { margin-bottom: 0; }
.hx-rot { display: block; }
.hx-sub { max-width: 44ch; }

/* Shared heading scale (matches the rest of the site) */
.hx-title { font-size: clamp(2rem, min(3.9vw, 6.2svh), 3.4rem); font-weight: 700; letter-spacing: -0.03em; }
.hx-stats dd, .hv2-stat__num { font-weight: 700; }

/* ── Flowing-wave hero background (replaces the square grid) ─────────────── */
.hx-grid, .sx-grid, .sx-hero.hero--light .sx-grid, .pr-hero__grid, .cs-hero__grid, .pt-hero__grid, .svc-hero__grid, .svc-hero .svc-hero__grid, .ins-hero__grid, .legal-hero__grid, .about-hero__grid {
  background-image: none !important;   /* wave now lives on ::before (Scroll performance block) */
  background-size: 600px 160px !important;
  background-repeat: repeat !important;
  background-position: 0 0 !important;
  animation: none !important;
  opacity: 1 !important;
}
.svc-hero__grid::after, .about-hero__grid::after { display: none !important; }
@keyframes waveDrift { to { background-position: 600px 0; } }
.contact__intro::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='160' viewBox='0 0 600 160' fill='none' stroke='%23ffffff' stroke-width='1.3'%3E%3Cpath d='M0 40C100-10 200-10 300 40S500 90 600 40' opacity='0.22'/%3E%3Cpath d='M0 80C100 30 200 30 300 80S500 130 600 80' opacity='0.15'/%3E%3Cpath d='M0 120C100 70 200 70 300 120S500 170 600 120' opacity='0.1'/%3E%3C/svg%3E") !important; background-size: 600px 160px !important; background-repeat: repeat !important; animation: waveDrift 80s linear infinite; }
@media (prefers-reduced-motion: reduce) { .hx-grid, .sx-grid, .sx-hero.hero--light .sx-grid, .pr-hero__grid, .cs-hero__grid, .pt-hero__grid, .svc-hero__grid, .svc-hero .svc-hero__grid, .ins-hero__grid, .legal-hero__grid, .about-hero__grid { animation: none !important; } .contact__intro::after { animation: none !important; } }
