/**
 * GFunnel — Vendor network skin.
 *
 * Layered on top of the homepage design system (template/css/gf_home.css, which
 * defines the --gfh-* custom properties and .gfh-* primitives). Loaded by both the
 * standalone /vendors route (gf_vendors.php) and the gfunnel_vendors Page Builder
 * service blocks, so the route and the blocks render identically.
 *
 * All rules are scoped so they only apply inside a .gfh container. Network-local
 * tokens (--gfv-*) keep radii and easing consistent in one place.
 */

.gfh.gfh-vendors {
    --gfv-r: 16px;
    --gfv-r-lg: 20px;
    --gfv-ease: cubic-bezier(.22, 1, .36, 1);
    background: transparent;
}

.gfh .gfv { max-width: 1140px; margin: 0 auto; padding: 26px 24px 48px; }
.gfh .gfv-body { margin-top: 26px; }

/* ---- Banner --------------------------------------------------------------- */
.gfh .gfv-banner { position: relative; overflow: hidden; padding: 46px 40px; border-radius: var(--gfv-r-lg); background: linear-gradient(135deg, #0b1c33 0%, #123047 55%, #0f2a3d 100%); color: #fff; box-shadow: var(--gfh-shadow-lg); }
.gfh .gfv-banner-glow { position: absolute; right: -90px; top: -130px; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle, rgba(251, 146, 60, .28), transparent 68%); pointer-events: none; }
.gfh .gfv-banner-body { position: relative; z-index: 1; max-width: 660px; }
.gfh .gfv-eyebrow { font-family: var(--gfh-font-mono); font-size: 10px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; color: #fdba74; }
.gfh .gfv-h { font-family: var(--gfh-font-head); font-size: 36px; line-height: 1.12; font-weight: 800; letter-spacing: -.02em; color: #fff; margin: 10px 0 0; }
.gfh .gfv-lead { font-size: 15.5px; line-height: 1.6; color: rgba(255, 255, 255, .78); margin: 13px 0 0; }
.gfh .gfv-ctas { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 24px; }
.gfh .gfv-btn-ghost { color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .34); }
.gfh .gfv-btn-ghost:hover { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .6); color: #fff; }

/* ---- Category chips ------------------------------------------------------- */
.gfh .gfv-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 18px; }
.gfh .gfv-chip { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; font-size: 13px; font-weight: 700; color: var(--gfh-slate); text-decoration: none; background: var(--gfh-card); border: 1px solid var(--gfh-line); border-radius: 999px; transition: color .18s, border-color .18s, background .18s; }
.gfh .gfv-chip:hover { color: var(--gfh-orange-600); border-color: var(--gfh-orange); background: var(--gfh-orange-soft); }
.gfh .gfv-chip b { font-family: var(--gfh-font-mono); font-size: 10.5px; font-weight: 700; color: var(--gfh-muted); }
.gfh .gfv-chip-on { color: #fff; background: var(--gfh-orange); border-color: var(--gfh-orange); }
.gfh .gfv-chip-on b { color: rgba(255, 255, 255, .8); }

/* ---- Search --------------------------------------------------------------- */
.gfh .gfv-search { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.gfh .gfv-search-q { flex: 1 1 280px; min-width: 0; font-family: inherit; font-size: 14px; color: var(--gfh-ink); background: var(--gfh-card); border: 1px solid var(--gfh-line); border-radius: 10px; padding: 11px 14px; }
.gfh .gfv-search-s { flex: 0 0 auto; font-family: inherit; font-size: 14px; color: var(--gfh-ink); background: var(--gfh-card); border: 1px solid var(--gfh-line); border-radius: 10px; padding: 11px 12px; }
.gfh .gfv-search-q:focus, .gfh .gfv-search-s:focus { outline: 0; border-color: var(--gfh-orange); box-shadow: 0 0 0 3px var(--gfh-orange-soft); }
.gfh .gfv-count { font-size: 12.5px; font-weight: 700; color: var(--gfh-muted); margin-bottom: 12px; }

/* ---- Vendor grid ---------------------------------------------------------- */
.gfh .gfv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gfh .gfv-card { display: flex; flex-direction: column; gap: 11px; padding: 20px; background: var(--gfh-card); border: 1px solid var(--gfh-line); border-radius: var(--gfv-r); box-shadow: var(--gfh-shadow); text-decoration: none; transition: transform .2s var(--gfv-ease), border-color .18s, box-shadow .2s; }
.gfh .gfv-card:hover { transform: translateY(-3px); border-color: var(--gfh-orange); box-shadow: var(--gfh-shadow-lg); }
.gfh .gfv-card-top { display: flex; align-items: center; gap: 12px; }
.gfh .gfv-ini { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; font-family: var(--gfh-font-head); font-size: 17px; font-weight: 800; color: var(--gfh-orange-600); background: var(--gfh-orange-soft); }
.gfh .gfv-ini-lg { width: 62px; height: 62px; border-radius: 16px; font-size: 25px; }
.gfh .gfv-card-id { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.gfh .gfv-card-n { font-family: var(--gfh-font-head); font-size: 16px; font-weight: 800; color: var(--gfh-ink); letter-spacing: -.01em; overflow-wrap: anywhere; }
.gfh .gfv-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 11.5px; color: var(--gfh-muted); }
.gfh .gfv-meta-i + .gfv-meta-i::before { content: "\00b7"; margin-right: 10px; }
.gfh .gfv-card-t { font-size: 13.5px; line-height: 1.55; color: var(--gfh-slate); }
.gfh .gfv-skills { display: flex; flex-wrap: wrap; gap: 6px; }
.gfh .gfv-skill { font-size: 11.5px; font-weight: 600; color: var(--gfh-slate); background: var(--gfh-bg); border: 1px solid var(--gfh-line); border-radius: 7px; padding: 3px 8px; }
.gfh .gfv-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 11px; border-top: 1px solid var(--gfh-line); }
.gfh .gfv-rate { font-family: var(--gfh-font-mono); font-size: 12px; font-weight: 700; color: #0f9d63; }
.gfh .gfv-rate-none { font-family: var(--gfh-font-mono); font-size: 11.5px; font-weight: 400; color: var(--gfh-muted); }
.gfh .gfv-card-go { font-size: 12.5px; font-weight: 700; color: var(--gfh-orange-600); }

.gfh .gfv-empty { padding: 40px 24px; text-align: center; background: var(--gfh-bg); border: 1px dashed var(--gfh-line-2); border-radius: var(--gfv-r); display: flex; flex-direction: column; align-items: center; gap: 9px; }
.gfh .gfv-empty b { font-family: var(--gfh-font-head); font-size: 17px; color: var(--gfh-ink); }
.gfh .gfv-empty span { font-size: 13.5px; color: var(--gfh-muted); max-width: 460px; }
.gfh .gfv-empty .gfh-btn { margin-top: 6px; }

.gfh .gfv-pager { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 24px; font-size: 13px; font-weight: 700; color: var(--gfh-muted); }
.gfh .gfv-pager a { color: var(--gfh-orange-600); text-decoration: none; }
.gfh .gfv-pager a:hover { text-decoration: underline; }

/* ---- Detail --------------------------------------------------------------- */
.gfh .gfv-back { margin-bottom: 16px; font-size: 13px; font-weight: 700; }
.gfh .gfv-back a { color: var(--gfh-muted); text-decoration: none; }
.gfh .gfv-back a:hover { color: var(--gfh-orange-600); }
.gfh .gfv-head { display: flex; align-items: flex-start; gap: 18px; }
.gfh .gfv-head-b { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.gfh .gfv-title { font-family: var(--gfh-font-head); font-size: 30px; font-weight: 800; color: var(--gfh-ink); letter-spacing: -.02em; margin: 0; overflow-wrap: anywhere; }
.gfh .gfv-tagline { font-size: 15px; line-height: 1.55; color: var(--gfh-slate); margin: 0; }
.gfh .gfv-edit { flex: 0 0 auto; font-size: 12.5px; font-weight: 700; color: var(--gfh-orange-600); text-decoration: none; border: 1px solid var(--gfh-line); border-radius: 9px; padding: 8px 12px; }
.gfh .gfv-edit:hover { border-color: var(--gfh-orange); background: var(--gfh-orange-soft); }

.gfh .gfv-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 24px 0; padding: 18px 20px; background: var(--gfh-card); border: 1px solid var(--gfh-line); border-radius: var(--gfv-r); }
.gfh .gfv-fact { display: flex; flex-direction: column; gap: 4px; }
.gfh .gfv-fact span { font-family: var(--gfh-font-mono); font-size: 9.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gfh-muted); }
.gfh .gfv-fact b { font-size: 14px; font-weight: 700; color: var(--gfh-ink); }

.gfh .gfv-detail-cols { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.gfh .gfv-detail-main h2, .gfh .gfv-contact h2 { font-family: var(--gfh-font-head); font-size: 18px; font-weight: 800; color: var(--gfh-ink); letter-spacing: -.01em; margin: 0 0 12px; }
.gfh .gfv-about { padding: 22px; background: var(--gfh-card); border: 1px solid var(--gfh-line); border-radius: var(--gfv-r); }
.gfh .gfv-about p { font-size: 14.5px; line-height: 1.65; color: var(--gfh-slate); margin: 0 0 12px; }
.gfh .gfv-about p:last-child { margin-bottom: 0; }
.gfh .gfv-svcs { margin-top: 18px; padding: 22px; background: var(--gfh-card); border: 1px solid var(--gfh-line); border-radius: var(--gfv-r); }
.gfh .gfv-svc { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 14px 0; border-top: 1px solid var(--gfh-line); }
.gfh .gfv-svc:first-of-type { border-top: 0; padding-top: 0; }
.gfh .gfv-svc-b { min-width: 0; }
.gfh .gfv-svc-b b { font-size: 14.5px; color: var(--gfh-ink); }
.gfh .gfv-svc-b p { margin: 4px 0 0; font-size: 13px; line-height: 1.55; color: var(--gfh-slate); }
.gfh .gfv-svc-p { flex: 0 0 auto; font-family: var(--gfh-font-mono); font-size: 13px; font-weight: 700; color: #0f9d63; text-align: right; }
.gfh .gfv-svc-p span { font-weight: 400; color: var(--gfh-muted); }
.gfh .gfv-contact { padding: 22px; background: var(--gfh-card); border: 1px solid var(--gfh-line); border-radius: var(--gfv-r); display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.gfh .gfv-contact .gfh-btn { justify-content: center; }
.gfh .gfv-phone { font-family: var(--gfh-font-mono); font-size: 13.5px; color: var(--gfh-slate); text-align: center; }

/* ---- "List your services" form -------------------------------------------- */
.gfh .gfv-join { max-width: 760px; }
.gfh .gfv-join-lead { font-size: 14.5px; line-height: 1.6; color: var(--gfh-slate); margin: 8px 0 24px; }
.gfh .gfv-form { display: flex; flex-direction: column; gap: 15px; }
.gfh .gfv-form label { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--gfh-ink); }
.gfh .gfv-form label span { font-weight: 400; color: var(--gfh-muted); }
.gfh .gfv-form input, .gfh .gfv-form select, .gfh .gfv-form textarea { font-family: inherit; font-size: 14px; font-weight: 400; color: var(--gfh-ink); background: var(--gfh-card); border: 1px solid var(--gfh-line); border-radius: 10px; padding: 11px 13px; width: 100%; }
.gfh .gfv-form textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.gfh .gfv-form input:focus, .gfh .gfv-form select:focus, .gfh .gfv-form textarea:focus { outline: 0; border-color: var(--gfh-orange); box-shadow: 0 0 0 3px var(--gfh-orange-soft); }
.gfh .gfv-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.gfh .gfv-form-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gfh .gfv-form-note { font-size: 12.5px; line-height: 1.55; color: var(--gfh-muted); margin: -4px 0 0; }
.gfh .gfv-form-foot { display: flex; justify-content: flex-end; margin-top: 8px; }

/* ---- Responsive ----------------------------------------------------------- */
@media (max-width: 960px) {
    .gfh .gfv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gfh .gfv-detail-cols { grid-template-columns: 1fr; }
    .gfh .gfv-banner { padding: 34px 26px; }
    .gfh .gfv-h { font-size: 28px; }
}
@media (max-width: 560px) {
    .gfh .gfv { padding: 20px 16px 36px; }
    .gfh .gfv-grid { grid-template-columns: 1fr; }
    .gfh .gfv-h { font-size: 24px; }
    .gfh .gfv-ctas .gfh-btn { flex: 1 1 100%; justify-content: center; }
    .gfh .gfv-form-grid, .gfh .gfv-form-grid-3 { grid-template-columns: 1fr; }
    .gfh .gfv-head { flex-wrap: wrap; }
    .gfh .gfv-svc { flex-direction: column; gap: 6px; }
    .gfh .gfv-svc-p { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
    .gfh .gfv-card, .gfh .gfv-chip { transition: none; }
}
