/* =====================================================================
   TechAzhon home: field service for every industry (sections below the hero)
   Scoped under .pxh .fh-* and built on premium-home.css tokens (--px-*),
   so light and dark themes both work.
   ===================================================================== */

.pxh { --fh-accent: #2563eb; --fh-accent-soft: rgba(37, 99, 235, .08); --fh-ok: #16a34a; --fh-ok-soft: rgba(22, 163, 74, .1); --fh-warn: #d97706; --fh-warn-soft: rgba(217, 119, 6, .12); --fh-bad: #dc2626; --fh-bad-soft: rgba(220, 38, 38, .1); }
.pxh[data-theme="dark"] { --fh-accent: #7dd3fc; --fh-accent-soft: rgba(125, 211, 252, .1); --fh-ok: #4ade80; --fh-ok-soft: rgba(74, 222, 128, .12); --fh-warn: #fbbf24; --fh-warn-soft: rgba(251, 191, 36, .12); --fh-bad: #f87171; --fh-bad-soft: rgba(248, 113, 113, .12); }

.fh-alt { background: var(--px-panel-2); border-top: 1px solid var(--px-line); border-bottom: 1px solid var(--px-line); }
.fh-center { text-align: center; margin-left: auto; margin-right: auto; }
.fh-center .pxh-sub { margin-left: auto; margin-right: auto; }
.fh-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Proof strip ---------- */
.fh-proof { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--px-line); border-radius: 18px; background: var(--px-panel); margin-top: 8px; }
.fh-proof > div { padding: 24px 26px; border-left: 1px solid var(--px-line); display: flex; gap: 14px; align-items: flex-start; }
.fh-proof > div:first-child { border-left: 0; }
.fh-proof i { font-size: 22px; color: var(--fh-accent); line-height: 1; margin-top: 2px; }
.fh-proof b { display: block; font-size: 16px; font-weight: 600; color: var(--px-ink); }
.fh-proof span { font-size: 13.5px; color: var(--px-muted); line-height: 1.5; }

/* ---------- Flow: first call to paid invoice ---------- */
.fh-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.fh-stage { background: var(--px-panel); border: 1px solid var(--px-line); border-radius: var(--px-radius); padding: 28px 24px; box-shadow: var(--px-shadow); position: relative; }
.fh-stage-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.fh-stage-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 21px; background: var(--fh-accent-soft); color: var(--fh-accent); }
.fh-stage-n { font-size: 13px; font-weight: 600; color: var(--px-muted); letter-spacing: .08em; }
.pxh .fh-stage h3 { font-size: 20px; margin-bottom: 8px; }
.fh-stage p { color: var(--px-ink-2); font-size: 14.5px; line-height: 1.6; margin-bottom: 16px; }
.fh-stage li { font-size: 13.5px; color: var(--px-ink-2); padding: 6px 0 6px 24px; position: relative; border-top: 1px solid var(--px-line); }
.fh-stage li::before { content: "\F272"; font-family: 'bootstrap-icons'; position: absolute; left: 0; top: 6px; color: var(--fh-ok); }
.fh-stage:not(:last-child)::after { content: "\F285"; font-family: 'bootstrap-icons'; position: absolute; right: -16px; top: 46px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: var(--px-bg); border: 1px solid var(--px-line-2); color: var(--px-muted); z-index: 2; }

/* ---------- Industry switcher ---------- */
.fh-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 36px; }
.fh-tab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--px-line-2); background: var(--px-panel); color: var(--px-ink-2); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; transition: all .25s var(--px-ease); }
.fh-tab i { font-size: 15px; }
.fh-tab:hover { border-color: var(--px-ink); color: var(--px-ink); }
.fh-tab[aria-selected="true"] { background: var(--px-ink); border-color: var(--px-ink); color: var(--px-bg); }
.fh-panel { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; background: var(--px-panel); border: 1px solid var(--px-line); border-radius: 28px; padding: 44px; box-shadow: var(--px-shadow); }
.fh-panel[hidden] { display: none; }
.fh-panel.is-entering { animation: fhIn .45s var(--px-ease); }
@keyframes fhIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.fh-panel-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--fh-accent); margin-bottom: 14px; }
.pxh .fh-panel h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; margin-bottom: 14px; }
.fh-panel-lede { color: var(--px-ink-2); font-size: 16px; line-height: 1.65; margin-bottom: 22px; }
.fh-uses li { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--px-line); font-size: 14.5px; color: var(--px-ink-2); line-height: 1.55; }
.fh-uses li i { color: var(--fh-accent); font-size: 17px; flex: none; margin-top: 1px; }
.fh-uses li b { color: var(--px-ink); font-weight: 600; }
.fh-assets { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.fh-assets small { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--px-muted); margin-right: 4px; }
.fh-assets span { font-size: 12.5px; padding: 5px 10px; border-radius: 8px; background: var(--px-panel-2); border: 1px solid var(--px-line); color: var(--px-ink-2); }

/* Work order mock */
.fh-wo { background: var(--px-bg); border: 1px solid var(--px-line-2); border-radius: 20px; box-shadow: var(--px-shadow-lg); overflow: hidden; font-size: 14px; }
.fh-wo-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--px-line); background: var(--px-panel-2); }
.fh-wo-id { font-family: 'JetBrains Mono', monospace; font-size: 12.5px; color: var(--px-muted); }
.fh-wo-badges { display: flex; gap: 6px; }
.fh-badge { font-size: 11.5px; font-weight: 600; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.fh-badge.p-urgent { background: var(--fh-bad-soft); color: var(--fh-bad); }
.fh-badge.p-high { background: var(--fh-warn-soft); color: var(--fh-warn); }
.fh-badge.p-normal { background: var(--fh-accent-soft); color: var(--fh-accent); }
.fh-badge.s { background: var(--fh-ok-soft); color: var(--fh-ok); }
.fh-wo-body { padding: 20px; }
.fh-wo-title { font-size: 17px; font-weight: 600; color: var(--px-ink); line-height: 1.35; margin-bottom: 14px; }
.fh-wo-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; padding-bottom: 16px; border-bottom: 1px dashed var(--px-line-2); margin-bottom: 14px; }
.fh-wo-meta dt { font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--px-muted); margin-bottom: 2px; }
.fh-wo-meta dd { margin: 0; font-size: 13.5px; color: var(--px-ink); font-weight: 500; }
.fh-wo-tech { display: flex; align-items: center; gap: 8px; }
.fh-avatar { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 10.5px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #2563eb, #0891b2); flex: none; }
.fh-check-h { font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--px-muted); margin-bottom: 8px; display: flex; justify-content: space-between; }
.fh-check li { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 13.5px; color: var(--px-ink-2); }
.fh-check li i { font-size: 16px; color: var(--px-line-2); }
.fh-check li.done { color: var(--px-muted); text-decoration: line-through; text-decoration-color: var(--px-line-2); }
.fh-check li.done i { color: var(--fh-ok); }
.fh-wo-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 20px; border-top: 1px solid var(--px-line); background: var(--px-panel-2); font-size: 12.5px; color: var(--px-muted); }
.fh-wo-foot i { color: var(--fh-accent); margin-right: 5px; }
.fh-mock-note { text-align: center; font-size: 12px; color: var(--px-muted); margin-top: 12px; }

/* ---------- Feature splits ---------- */
.fh-split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.fh-split + .fh-split { margin-top: 120px; }
.fh-split.rev .fh-split-copy { order: 2; }
.pxh .fh-split h3 { font-size: clamp(28px, 3vw, 42px); line-height: 1.12; margin-bottom: 16px; }
.fh-split-copy > p { color: var(--px-ink-2); font-size: 17px; line-height: 1.65; margin-bottom: 22px; }
.fh-ticks li { display: flex; gap: 12px; padding: 9px 0; font-size: 15px; color: var(--px-ink-2); line-height: 1.55; }
.fh-ticks li i { color: var(--fh-ok); font-size: 18px; flex: none; }
.fh-ticks li b { color: var(--px-ink); font-weight: 600; }
.fh-visual { background: var(--px-panel-2); border: 1px solid var(--px-line); border-radius: 28px; padding: 36px; position: relative; min-height: 400px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.fh-visual::before { content: ""; position: absolute; width: 70%; height: 70%; border-radius: 50%; background: radial-gradient(closest-side, rgba(37, 99, 235, .14), transparent); pointer-events: none; }

/* Chat mock */
.fh-chat { width: 100%; max-width: 380px; position: relative; display: grid; gap: 10px; }
.fh-msg { max-width: 82%; padding: 11px 14px; border-radius: 16px; font-size: 14px; line-height: 1.5; box-shadow: var(--px-shadow); }
.fh-msg small { display: block; font-size: 11px; color: var(--px-muted); margin-top: 4px; }
.fh-msg.in { background: var(--px-bg); border: 1px solid var(--px-line); color: var(--px-ink); border-bottom-left-radius: 4px; }
.fh-msg.out { background: #dcfce7; color: #14532d; justify-self: end; border-bottom-right-radius: 4px; }
.fh-msg.out small { color: #3f6212; }
.fh-chat-head { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--px-muted); margin-bottom: 4px; }
.fh-chat-head i { color: #22c55e; font-size: 18px; }
.fh-draft { margin-top: 6px; background: var(--px-bg); border: 1px solid var(--fh-accent); border-radius: 16px; padding: 14px 16px; box-shadow: var(--px-shadow-lg); }
.fh-draft-h { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 600; color: var(--fh-accent); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.fh-draft p { font-size: 14px; color: var(--px-ink); font-weight: 500; margin-bottom: 10px; }
.fh-draft-actions { display: flex; gap: 8px; }
.fh-draft-actions span { font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--px-line-2); color: var(--px-ink-2); }
.fh-draft-actions span.ok { background: var(--px-ink); border-color: var(--px-ink); color: var(--px-bg); }

/* Phone mock */
.fh-phone { width: 270px; border-radius: 38px; padding: 12px; background: #0b0d17; box-shadow: var(--px-shadow-lg); position: relative; }
.fh-phone-screen { background: #ffffff; border-radius: 28px; overflow: hidden; color: #0b0d17; }
.fh-phone-bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px 8px; font-size: 11px; font-weight: 600; }
.fh-offline { display: inline-flex; align-items: center; gap: 5px; background: #fef3c7; color: #92400e; padding: 3px 8px; border-radius: 999px; font-size: 10.5px; }
.fh-phone-body { padding: 6px 16px 18px; }
.fh-phone-body h4 { font-size: 15px; font-weight: 600; margin: 0 0 2px; color: #0b0d17; }
.fh-phone-body .sub { font-size: 11.5px; color: #6b7182; margin-bottom: 12px; }
.fh-ph-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid #eef0f4; font-size: 12.5px; color: #3b4152; }
.fh-ph-row i { font-size: 15px; color: #16a34a; }
.fh-ph-row i.todo { color: #c4c8d2; }
.fh-mic { margin-top: 12px; display: flex; align-items: center; gap: 10px; background: #eff6ff; border-radius: 14px; padding: 10px 12px; font-size: 12px; color: #1e3a8a; }
.fh-mic b { width: 30px; height: 30px; border-radius: 50%; background: #2563eb; color: #fff; display: grid; place-items: center; flex: none; font-size: 14px; }
.fh-wave { display: flex; gap: 2px; align-items: center; height: 18px; }
.fh-wave span { width: 3px; border-radius: 2px; background: #60a5fa; animation: fhWave 1.1s ease-in-out infinite; }
.fh-wave span:nth-child(2) { animation-delay: .1s; } .fh-wave span:nth-child(3) { animation-delay: .2s; } .fh-wave span:nth-child(4) { animation-delay: .3s; } .fh-wave span:nth-child(5) { animation-delay: .4s; } .fh-wave span:nth-child(6) { animation-delay: .5s; }
@keyframes fhWave { 0%, 100% { height: 4px; } 50% { height: 16px; } }
.fh-sync { position: absolute; right: -40px; bottom: 54px; background: var(--px-bg); border: 1px solid var(--px-line); border-radius: 14px; padding: 10px 14px; font-size: 12.5px; color: var(--px-ink); box-shadow: var(--px-shadow-lg); display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.fh-sync i { color: var(--fh-ok); font-size: 16px; }

/* Invoice mock */
.fh-inv { width: 100%; max-width: 400px; background: #ffffff; color: #0b0d17; border-radius: 18px; box-shadow: var(--px-shadow-lg); padding: 24px; font-size: 13px; position: relative; }
.fh-inv-h { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.fh-inv-h b { font-size: 15px; } .fh-inv-h small { display: block; color: #6b7182; font-size: 11.5px; }
.fh-inv table { width: 100%; border-collapse: collapse; margin-bottom: 12px; }
.fh-inv th { text-align: left; font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: #6b7182; padding: 6px 0; border-bottom: 1px solid #eef0f4; }
.fh-inv td { padding: 8px 0; border-bottom: 1px solid #f3f4f7; color: #3b4152; }
.fh-inv td:last-child, .fh-inv th:last-child { text-align: right; }
.fh-inv .code { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: #6b7182; }
.fh-inv-tot { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; font-size: 12.5px; color: #3b4152; }
.fh-inv-tot b { font-size: 15px; color: #0b0d17; }
.fh-inv-pay { margin-top: 16px; display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 12px; background: #f0fdf4; border: 1px solid #bbf7d0; }
.fh-qr { width: 58px; height: 58px; flex: none; border-radius: 6px; background:
    conic-gradient(from 90deg at 30% 30%, #0b0d17 25%, transparent 0) 0 0 / 12px 12px,
    repeating-linear-gradient(90deg, #0b0d17 0 3px, transparent 3px 7px), #fff; border: 4px solid #fff; outline: 1px solid #d1d5db; }
.fh-inv-pay b { display: block; font-size: 13px; color: #14532d; } .fh-inv-pay small { font-size: 11.5px; color: #3f6212; }
.fh-paid { position: absolute; top: 20px; right: -18px; transform: rotate(8deg); background: #16a34a; color: #fff; font-weight: 700; font-size: 12px; letter-spacing: .12em; padding: 6px 14px; border-radius: 8px; box-shadow: 0 10px 24px -8px rgba(22, 163, 74, .6); }

/* ---------- Capability grid ---------- */
.fh-caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fh-cap { background: var(--px-panel); border: 1px solid var(--px-line); border-radius: 20px; padding: 26px; transition: transform .35s var(--px-ease), box-shadow .35s var(--px-ease), border-color .35s; }
.fh-cap:hover { transform: translateY(-4px); box-shadow: var(--px-shadow); border-color: var(--px-line-2); }
.fh-cap i { font-size: 24px; color: var(--fh-accent); display: block; margin-bottom: 16px; }
.pxh .fh-cap h3 { font-size: 17.5px; margin-bottom: 8px; }
.fh-cap p { color: var(--px-ink-2); font-size: 14.5px; line-height: 1.6; }

/* ---------- Principles ---------- */
.fh-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fh-trust-card { border-top: 2px solid var(--px-ink); padding-top: 22px; }
.fh-trust-card i { font-size: 22px; color: var(--px-ink); display: block; margin-bottom: 14px; }
.pxh .fh-trust-card h3 { font-size: 18px; margin-bottom: 8px; }
.fh-trust-card p { color: var(--px-ink-2); font-size: 14.5px; line-height: 1.6; }

/* ---------- Pricing ---------- */
.fh-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.fh-plan { background: var(--px-panel); border: 1px solid var(--px-line); border-radius: 22px; padding: 28px 24px; display: flex; flex-direction: column; position: relative; }
.fh-plan.is-featured { border-color: var(--px-ink); box-shadow: var(--px-shadow-lg); }
.fh-plan-flag { position: absolute; top: -12px; left: 24px; background: var(--px-ink); color: var(--px-bg); font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.pxh .fh-plan h3 { font-size: 18px; margin-bottom: 4px; }
.fh-plan-seats { font-size: 13.5px; color: var(--px-muted); margin-bottom: 18px; }
.fh-price { font-size: 36px; font-weight: 700; letter-spacing: -.03em; color: var(--px-ink); line-height: 1; }
.fh-price small { font-size: 14px; font-weight: 500; color: var(--px-muted); letter-spacing: 0; }
.fh-plan-desc { font-size: 14px; color: var(--px-ink-2); line-height: 1.55; margin: 14px 0 18px; }
.fh-plan ul { margin-bottom: 22px; flex: 1; }
.fh-plan li { font-size: 13.5px; color: var(--px-ink-2); padding: 6px 0 6px 24px; position: relative; }
.fh-plan li::before { content: "\F272"; font-family: 'bootstrap-icons'; position: absolute; left: 0; top: 6px; color: var(--fh-ok); }
.fh-plan .pxh-btn { height: 46px; font-size: 14px; }
.fh-plans-note { text-align: center; color: var(--px-muted); font-size: 14px; margin-top: 22px; }

/* ---------- FAQ ---------- */
.fh-faq { max-width: 880px; margin: 0 auto; }
.fh-faq details { border-bottom: 1px solid var(--px-line-2); }
.fh-faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; font-size: 18px; font-weight: 600; color: var(--px-ink); position: relative; }
.fh-faq summary::-webkit-details-marker { display: none; }
.fh-faq summary::after { content: "\F4FE"; font-family: 'bootstrap-icons'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--px-muted); transition: transform .3s var(--px-ease); }
.fh-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.fh-faq details p { color: var(--px-ink-2); font-size: 16px; line-height: 1.7; padding: 0 48px 24px 0; }

/* ---------- More from TechAzhon ---------- */
.fh-more { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.fh-more a { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border: 1px solid var(--px-line); border-radius: 18px; background: var(--px-panel); transition: border-color .3s, transform .3s var(--px-ease); }
.fh-more a:hover { border-color: var(--px-ink); transform: translateY(-3px); }
.fh-more i.ic { font-size: 22px; color: var(--fh-accent); flex: none; }
.fh-more b { display: block; font-size: 15.5px; font-weight: 600; color: var(--px-ink); }
.fh-more span { font-size: 13.5px; color: var(--px-muted); }
.fh-more i.go { margin-left: auto; color: var(--px-muted); transition: transform .3s var(--px-ease); }
.fh-more a:hover i.go { transform: translateX(4px); color: var(--px-ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .fh-flow { grid-template-columns: repeat(2, 1fr); }
    .fh-stage::after { display: none; }
    .fh-plans { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
    .fh-trust { grid-template-columns: repeat(2, 1fr); gap: 28px 18px; }
    .fh-sync { right: -10px; }
}
@media (max-width: 991px) {
    .fh-proof { grid-template-columns: repeat(2, 1fr); }
    .fh-proof > div:nth-child(3) { border-left: 0; }
    .fh-proof > div:nth-child(n+3) { border-top: 1px solid var(--px-line); }
    .fh-panel { grid-template-columns: 1fr; padding: 32px; gap: 32px; }
    .fh-split { grid-template-columns: 1fr; gap: 40px; }
    .fh-split.rev .fh-split-copy { order: 0; }
    .fh-split + .fh-split { margin-top: 88px; }
    .fh-caps, .fh-more { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .fh-proof, .fh-flow, .fh-caps, .fh-trust, .fh-plans, .fh-more { grid-template-columns: 1fr; }
    .fh-proof > div { border-left: 0 !important; border-top: 1px solid var(--px-line); }
    .fh-proof > div:first-child { border-top: 0; }
    .fh-tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px 28px; padding: 0 20px 6px; scrollbar-width: none; }
    .fh-tabs::-webkit-scrollbar { display: none; }
    .fh-tab { flex: none; }
    .fh-panel { padding: 22px 18px; border-radius: 22px; }
    .fh-wo-meta { grid-template-columns: 1fr; }
    .fh-visual { padding: 24px 16px; min-height: 0; border-radius: 22px; }
    .fh-sync { position: static; margin-top: 14px; }
    .fh-phone { width: 240px; }
    .fh-paid { right: 10px; }
    .fh-faq summary { font-size: 16px; }
    .fh-faq details p { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .fh-wave span, .fh-panel.is-entering { animation: none; }
}
