/* Hal-Al Mushkila homepage (hm-*). Loads after hal-al-mushkila.css, which still provides
   the .ham-tone-* icon tones and the AdSense placeholder styles. */

.hm-page {
    --hm-navy: #0f2a4d;
    --hm-navy-2: #153765;
    --hm-blue: #0875e1;
    --hm-blue-dark: #0660c1;
    --hm-ink: #0f2a4d;
    --hm-text: #475569;
    --hm-muted: #64748b;
    --hm-line: #e5ebf3;
    --hm-soft: #f4f8fd;
    --hm-green: #059669;
    --hm-amber: #f59e0b;
    --hm-radius: 20px;
    --hm-shadow: 0 1px 2px rgba(15, 42, 77, .04), 0 8px 24px rgba(15, 42, 77, .06);
    --hm-shadow-lg: 0 2px 4px rgba(15, 42, 77, .05), 0 24px 48px rgba(15, 42, 77, .12);
    font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--hm-text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
:where(.hm-page) :where(ul, ol, dl) { list-style: none; margin: 0; padding: 0; }
:where(.hm-page) :where(h1, h2, h3, p) { margin: 0; }
:where(.hm-page) a { text-decoration: none; }
.hm-page p { margin-bottom: 0; }
.hm-accent { color: var(--hm-blue); }
.hm-page :focus-visible { outline: 2px solid var(--hm-blue); outline-offset: 2px; }

/* ── Buttons & chips ───────────────────────────────────────────── */
.hm-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border: 1px solid transparent; border-radius: 999px; cursor: pointer;
    padding: 12px 24px; font-size: 14px; font-weight: 700; line-height: 1.2; white-space: nowrap;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
.hm-btn:hover { transform: translateY(-1px); }
.hm-btn-sm { padding: 9px 18px; font-size: 13px; }
.hm-btn-primary { background: var(--hm-blue); color: #fff; box-shadow: 0 6px 16px rgba(8, 117, 225, .28); }
.hm-btn-primary:hover { background: var(--hm-blue-dark); color: #fff; box-shadow: 0 10px 22px rgba(8, 117, 225, .34); }
.hm-btn-dark { background: var(--hm-navy); color: #fff; }
.hm-btn-dark:hover { background: var(--hm-navy-2); color: #fff; }
.hm-btn-ghost { background: transparent; color: var(--hm-navy); border-color: var(--hm-line); }
.hm-btn-ghost:hover { border-color: var(--hm-navy); color: var(--hm-navy); }
.hm-btn-outline { background: #fff; color: var(--hm-navy); border-color: #cfd9e6; }
.hm-btn-outline:hover { border-color: var(--hm-blue); color: var(--hm-blue); }
.hm-btn-light { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .35); }
.hm-btn-light:hover { background: #fff; color: var(--hm-navy); }
.hm-btn-white { background: #fff; color: var(--hm-navy); box-shadow: 0 8px 20px rgba(0, 0, 0, .16); }
.hm-btn-white:hover { color: var(--hm-blue); }

.hm-pill {
    display: flex; width: fit-content; align-items: center; gap: 8px;
    background: var(--hm-soft); color: var(--hm-blue-dark); border: 1px solid #dbe8f8;
    border-radius: 999px; padding: 6px 14px; font-size: 12px; font-weight: 700; letter-spacing: .02em;
}
.hm-pill-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--hm-green); box-shadow: 0 0 0 3px rgba(5, 150, 105, .18); }
.hm-chip {
    display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 999px;
    background: #fff; border: 1px solid var(--hm-line); color: var(--hm-navy); font-size: 13px; font-weight: 600;
    transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
.hm-chip:hover { border-color: var(--hm-blue); color: var(--hm-blue); background: var(--hm-soft); }

/* ── Hero ──────────────────────────────────────────────────────── */
.hm-hero {
    padding: 48px 0 88px;
    background:
        radial-gradient(900px 420px at 92% -10%, rgba(8, 117, 225, .10), transparent 70%),
        linear-gradient(180deg, #f4f9ff 0%, #fff 100%);
}
.hm-hero-title {
    margin-top: 20px; color: var(--hm-ink);
    font-size: clamp(34px, 3.9vw, 54px); line-height: 1.08; font-weight: 800; letter-spacing: -.03em;
}
.hm-hero-lead { margin-top: 18px; max-width: 540px; font-size: 17px; line-height: 1.65; color: var(--hm-text); }

.hm-search {
    display: flex; align-items: center; gap: 6px; margin-top: 28px; max-width: 600px;
    background: #fff; border: 1px solid var(--hm-line); border-radius: 999px; padding: 6px;
    box-shadow: var(--hm-shadow-lg);
}
.hm-search:focus-within { border-color: var(--hm-blue); }
.hm-search-field { display: flex; align-items: center; gap: 8px; margin: 0; min-width: 0; padding: 0 14px; }
.hm-search-query { flex: 1 1 auto; }
.hm-search-city { flex: 0 0 auto; width: 178px; border-left: 1px solid var(--hm-line); }
.hm-search-field i { color: var(--hm-blue); font-size: 18px; flex-shrink: 0; }
.hm-search-field input, .hm-search-field select {
    width: 100%; min-width: 0; height: 44px; border: 0; background: transparent; outline: 0;
    font-size: 14px; color: var(--hm-ink); font-weight: 500; text-overflow: ellipsis;
}
.hm-search-field input::placeholder { color: var(--hm-muted); }
.hm-search .hm-btn { flex-shrink: 0; padding: 13px 26px; }

.hm-popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; }
.hm-popular-label { font-size: 13px; font-weight: 700; color: var(--hm-muted); margin-right: 2px; }
.hm-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: 13px; font-weight: 600; color: var(--hm-text); }
.hm-trust i { color: var(--hm-blue); font-size: 17px; vertical-align: -3px; margin-right: 4px; }

.hm-hero-visual { position: relative; padding: 24px 0 40px; }
/* Hero photo stage: layered shadows, backdrop shapes and gentle motion */
.hm-stage { position: relative; margin-left: auto; width: min(100%, 430px); isolation: isolate; animation: hmFloat 5s ease-in-out infinite alternate; }
.hm-stage-glow {
    position: absolute; inset: 8% -14% -10% -10%; z-index: -3; border-radius: 50%; pointer-events: none;
    background: radial-gradient(closest-side, rgba(8, 117, 225, .30), rgba(56, 189, 248, .14) 55%, transparent 75%);
    filter: blur(28px); animation: hmGlow 4s ease-in-out infinite alternate;
}
.hm-stage-plate {
    position: absolute; inset: 22px -22px -22px 22px; z-index: -2; border-radius: 32px 32px 32px 120px; pointer-events: none;
    background: linear-gradient(145deg, #dbeafe 0%, #bfdcfb 55%, #a5cdf8 100%);
    box-shadow: 0 30px 60px -20px rgba(8, 117, 225, .35);
    animation: hmDrift 5s ease-in-out infinite alternate;
}
.hm-stage-dots { position: absolute; top: -28px; left: -34px; z-index: -1; color: rgba(8, 117, 225, .28); pointer-events: none; }
.hm-photo {
    position: relative; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: var(--hm-soft);
    border-radius: 32px 32px 32px 120px;
    box-shadow:
        0 2px 4px rgba(15, 42, 77, .06),
        0 12px 24px rgba(15, 42, 77, .10),
        0 32px 64px rgba(8, 117, 225, .20);
    animation: hmRise .9s cubic-bezier(.16, 1, .3, 1) both;
}
.hm-photo::after {
    content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, .14) 0%, transparent 28%, transparent 70%, rgba(15, 42, 77, .16) 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5);
}
.hm-photo img {
    width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block;
    transform-origin: 70% 40%; animation: hmZoom 10s ease-in-out infinite alternate;
}

@keyframes hmRise { from { opacity: 0; transform: translateY(28px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes hmZoom { from { transform: scale(1); } to { transform: scale(1.09); } }
@keyframes hmFloat { from { transform: translateY(0); } to { transform: translateY(-14px); } }
@keyframes hmDrift { from { transform: translate(0, 0); } to { transform: translate(14px, 16px); } }
@keyframes hmGlow { from { opacity: .75; transform: scale(.96); } to { opacity: 1; transform: scale(1.04); } }
@keyframes hmFadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Staggered entrance for the hero copy */
.hm-hero-copy > * { animation: hmFadeUp .7s cubic-bezier(.16, 1, .3, 1) both; }
.hm-hero-copy > :nth-child(2) { animation-delay: .06s; }
.hm-hero-copy > :nth-child(3) { animation-delay: .12s; }
.hm-hero-copy > :nth-child(4) { animation-delay: .18s; }
.hm-hero-copy > :nth-child(5) { animation-delay: .24s; }
.hm-hero-copy > :nth-child(6) { animation-delay: .30s; }

/* ── Trust band ────────────────────────────────────────────────── */
.hm-trust-band { margin-top: -48px; position: relative; z-index: 2; }
.hm-trust-card {
    display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 16fr); align-items: center; gap: 8px 16px;
    padding: 20px 8px 20px 28px; background: #fff; border: 1px solid var(--hm-line); border-radius: 24px; box-shadow: var(--hm-shadow-lg);
}
.hm-trust-lead { display: flex; align-items: center; gap: 14px; min-width: 0; }
.hm-trust-shield {
    width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
    font-size: 25px; color: #fff; background: linear-gradient(135deg, var(--hm-blue) 0%, var(--hm-blue-dark) 100%); box-shadow: 0 8px 18px rgba(8, 117, 225, .28);
}
.hm-trust-kicker { display: block; font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--hm-blue-dark); }
.hm-trust-card h2 { margin-top: 2px; font-size: 19px; line-height: 1.25; font-weight: 800; letter-spacing: -.015em; color: var(--hm-ink); }
.hm-trust-card p { margin-top: 3px; font-size: 13px; line-height: 1.5; color: var(--hm-muted); }
.hm-trust-metrics { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.hm-trust-metrics > div { display: flex; align-items: center; gap: 10px; padding: 6px 12px; min-width: 0; }
.hm-trust-metrics > div + div { border-left: 1px solid var(--hm-line); }
.hm-metric-icon {
    width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: var(--hm-blue); background: #e8f2ff;
}
.hm-metric-icon.hm-metric-green { color: var(--hm-green); background: #e3f7ee; }
.hm-trust-metrics dd { margin: 0; font-size: 24px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; color: var(--hm-ink); font-variant-numeric: tabular-nums; }
.hm-trust-metrics dd.hm-metric-text { font-size: 19px; line-height: 1.25; }
.hm-trust-metrics dt { margin-top: 2px; font-size: 12px; font-weight: 600; line-height: 1.3; color: var(--hm-muted); white-space: nowrap; }

/* ── Sections ──────────────────────────────────────────────────── */
.hm-section { padding: 80px 0; }
.hm-band-soft { background: var(--hm-soft); }
.hm-band-dark { background: var(--hm-navy); color: #cbd7e8; }
.hm-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.hm-head-center { justify-content: center; text-align: center; }
.hm-head-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hm-eyebrow { display: inline-flex; text-transform: uppercase; align-items: center; gap: 10px; font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--hm-blue); }
.hm-eyebrow::before { content: ''; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.hm-h2 { margin-top: 10px; font-size: clamp(26px, 3vw, 38px); line-height: 1.15; font-weight: 800; letter-spacing: -.025em; color: var(--hm-ink); }
.hm-sub { margin-top: 10px; max-width: 620px; font-size: 15.5px; line-height: 1.65; color: var(--hm-muted); }
.hm-band-dark .hm-h2 { color: #fff; }
.hm-band-dark .hm-sub { color: #a9bad3; }
.hm-band-dark .hm-eyebrow { color: #6cb4ff; }
.hm-escrow {
    margin-left: 6px; padding: 3px 10px; border-radius: 999px; font-size: 11px; letter-spacing: .02em;
    background: rgba(255, 255, 255, .12); color: #fff;
}

.hm-grid { display: grid; gap: 24px; }
.hm-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ── Categories ────────────────────────────────────────────────── */
.hm-cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hm-cat {
    display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; height: 100%;
    padding: 28px 16px 24px; background: #fff; border: 1px solid var(--hm-line); border-radius: 24px;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.hm-cat:hover { transform: translateY(-4px); border-color: var(--hm-blue); box-shadow: var(--hm-shadow); }
.hm-cat-icon { width: 68px; height: 68px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; transition: transform .2s ease; }
.hm-cat-icon svg { width: 30px; height: 30px; }
.hm-cat:hover .hm-cat-icon { transform: scale(1.08); }
.hm-cat strong { margin-top: 16px; font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--hm-ink); }
.hm-cat small { margin-top: 4px; font-size: 12.5px; color: var(--hm-muted); }

/* ── Filters + gig cards (on dark band) ────────────────────────── */
.hm-filters { display: flex; gap: 10px; margin-bottom: 28px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.hm-filters::-webkit-scrollbar { display: none; }
.hm-filter {
    flex-shrink: 0; border: 1px solid rgba(255, 255, 255, .28); background: transparent; color: #fff; cursor: pointer;
    border-radius: 999px; padding: 9px 20px; font-size: 13.5px; font-weight: 700; transition: background-color .2s ease, color .2s ease;
}
.hm-filter:hover { background: rgba(255, 255, 255, .12); }
.hm-filter.is-active { background: #fff; color: var(--hm-navy); border-color: #fff; }

.hm-gig { display: flex; flex-direction: column; background: #fff; border-radius: var(--hm-radius); overflow: hidden; color: var(--hm-text); transition: transform .25s ease, box-shadow .25s ease; }
.hm-gig[hidden] { display: none; }
.hm-gig:hover { transform: translateY(-4px); box-shadow: 0 24px 48px rgba(0, 0, 0, .28); }
.hm-gig-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--hm-soft); }
.hm-gig-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.hm-gig:hover .hm-gig-media img { transform: scale(1.04); }
.hm-gig-tag {
    position: absolute; left: 14px; top: 14px; padding: 5px 12px; border-radius: 8px;
    background: #e11d48; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.hm-gig-body { display: flex; flex: 1; flex-direction: column; padding: 20px 22px 22px; }
.hm-gig-title { font-size: 18px; line-height: 1.35; font-weight: 800; letter-spacing: -.01em; }
.hm-gig-title a { color: var(--hm-ink); }
.hm-gig-title a:hover { color: var(--hm-blue); }
.hm-gig-provider { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13.5px; font-weight: 600; color: var(--hm-ink); }
.hm-gig-provider img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.hm-gig-provider > .las.la-check-circle { color: var(--hm-blue); font-size: 17px; }
.hm-gig-desc { margin-top: 10px; font-size: 13.5px; line-height: 1.6; color: var(--hm-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hm-gig-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 16px; }
.hm-gig-rating { font-size: 14px; font-weight: 800; color: var(--hm-ink); white-space: nowrap; }
.hm-gig-rating i { color: var(--hm-amber); }
.hm-gig-rating small { font-weight: 500; color: var(--hm-muted); }
.hm-price { display: inline-flex; align-items: baseline; gap: 5px; padding: 6px 12px; border-radius: 10px; background: #e8f8f0; color: #047857; border: 1px solid #b8ecd2; font-size: 14px; font-weight: 800; white-space: nowrap; }
.hm-price small { font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; opacity: .8; }
.hm-price em { font-style: normal; font-size: 12px; font-weight: 700; }
.hm-gig-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.hm-gig-actions .hm-btn { width: 100%; padding-left: 12px; padding-right: 12px; }
.hm-expert-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; }
.hm-expert-foot small { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--hm-muted); }
.hm-expert-foot strong { font-size: 15px; font-weight: 800; color: var(--hm-ink); }

/* ── Expert cards ──────────────────────────────────────────────── */
.hm-expert {
    display: flex; flex-direction: column; background: #fff; border: 1px solid var(--hm-line); border-radius: var(--hm-radius);
    padding: 22px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.hm-expert:hover { transform: translateY(-4px); box-shadow: var(--hm-shadow-lg); border-color: #cfe0f5; }
.hm-expert-top { display: flex; gap: 14px; }
.hm-expert-top img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; box-shadow: 0 0 0 3px var(--hm-soft); }
.hm-expert-id { min-width: 0; }
.hm-expert-id h3 { font-size: 16px; font-weight: 800; line-height: 1.3; }
.hm-expert-id h3 a { color: var(--hm-ink); }
.hm-expert-id h3 a:hover { color: var(--hm-blue); }
.hm-expert-id h3 i { color: var(--hm-blue); font-size: 17px; vertical-align: -2px; }
.hm-expert-id p { margin-top: 2px; font-size: 13px; color: var(--hm-text); }
.hm-expert-loc { color: var(--hm-muted) !important; font-size: 12.5px !important; }
.hm-expert-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; font-size: 13px; }
.hm-expert-rating i { color: var(--hm-amber); }
.hm-expert-rating strong { color: var(--hm-ink); }
.hm-expert-rating small { color: var(--hm-muted); }
.hm-status { padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #fef3c7; color: #92400e; }
.hm-status.is-on { background: #d1fae5; color: #065f46; }
.hm-skills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.hm-skills li { padding: 4px 11px; border-radius: 999px; background: var(--hm-soft); color: var(--hm-navy-2); font-size: 12px; font-weight: 600; }
.hm-expert-foot { border-top: 1px solid var(--hm-line); margin-top: 18px; padding-top: 16px; }

/* ── How it works ──────────────────────────────────────────────── */
.hm-steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.hm-steps li { position: relative; background: #fff; border: 1px solid var(--hm-line); border-radius: var(--hm-radius); padding: 32px 28px; }
.hm-steps li:not(:last-child)::after {
    content: ''; position: absolute; top: 56px; right: -24px; width: 24px; border-top: 2px dashed #bcd2ee;
}
.hm-step-num { position: absolute; top: 22px; right: 26px; font-size: 44px; line-height: 1; font-weight: 800; color: #e6eef9; letter-spacing: -.04em; }
.hm-step-icon { width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: var(--hm-blue); color: #fff; font-size: 26px; box-shadow: 0 8px 18px rgba(8, 117, 225, .3); }
.hm-steps h3 { margin-top: 20px; font-size: 19px; font-weight: 800; color: var(--hm-ink); }
.hm-steps p { margin-top: 8px; font-size: 14.5px; line-height: 1.65; color: var(--hm-muted); }

/* ── On-demand CTA ─────────────────────────────────────────────── */
.hm-cta-wrap { padding: 8px 0 72px; }
.hm-cta {
    position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 28px;
    padding: 44px 52px; border-radius: 32px; color: #fff; box-shadow: var(--hm-shadow-lg);
    background: radial-gradient(520px 260px at 100% 0%, rgba(108, 180, 255, .38), transparent 70%), linear-gradient(120deg, var(--hm-navy) 0%, #1d4fd8 100%);
}
.hm-cta-copy { position: relative; z-index: 1; max-width: 600px; }
.hm-cta-pill {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 10px; font-size: 11.5px; font-weight: 800; letter-spacing: .08em;
    color: #fbbf24; background: rgba(251, 191, 36, .12); border: 1px solid rgba(251, 191, 36, .5);
}
.hm-cta h2 { margin-top: 16px; font-size: clamp(26px, 3vw, 36px); line-height: 1.2; font-weight: 800; letter-spacing: -.02em; }
.hm-cta p { margin-top: 10px; font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, .86); }
.hm-cta .hm-btn { margin-top: 24px; padding: 14px 28px; }
.hm-cta-mark {
    flex-shrink: 0; width: 148px; height: 148px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 70px; background: rgba(255, 255, 255, .12); border: 2px solid rgba(255, 255, 255, .3);
}

/* ── Floating action button ────────────────────────────────────── */
/* Sits to the left of the site chat button (.dk-chat: right 20px, bottom 20px, 58px), vertically centred on it. */
.hm-fab {
    --hm-chat-gap: 90px;
    position: fixed; right: var(--hm-chat-gap); bottom: 23px; z-index: 1040; display: inline-flex; align-items: center; gap: 10px;
    height: 52px; padding: 0 24px; border-radius: 999px; background: var(--hm-blue); color: #fff; font-size: 15px; font-weight: 800; white-space: nowrap;
    box-shadow: 0 14px 32px rgba(8, 117, 225, .42); transition: transform .2s ease, background-color .2s ease;
}
.hm-fab i { font-size: 22px; }
.hm-fab:hover { background: var(--hm-blue-dark); color: #fff; transform: translateY(-2px); }

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 1199.98px) {
    .hm-cat-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
}
@media (max-width: 991.98px) {
    .hm-hero { padding: 32px 0 72px; }
    .hm-hero-visual { padding-top: 40px; }
    .hm-stage { margin: 0 auto; }
    .hm-grid-3, .hm-steps { grid-template-columns: repeat(2, 1fr); }
    .hm-steps li::after { display: none; }
    .hm-section { padding: 64px 0; }
    .hm-cta { padding: 36px 32px; }
    .hm-cta-mark { width: 110px; height: 110px; font-size: 52px; }
}
@media (max-width: 767.98px) {
    .hm-search { flex-direction: column; align-items: stretch; border-radius: 24px; padding: 10px; }
    .hm-search-field { padding: 4px 10px; }
    .hm-search-city { width: auto; border-left: 0; border-top: 1px solid var(--hm-line); }
    .hm-search .hm-btn { width: 100%; }
    .hm-hero-visual { padding-bottom: 0; }
    .hm-trust-band { margin-top: -36px; }
    .hm-photo, .hm-stage-plate { border-radius: 28px 28px 28px 80px; }
    .hm-stage-plate { inset: 16px -10px -16px 10px; }
    .hm-stage-dots { display: none; }
    .hm-cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .hm-cat { padding: 20px 10px 18px; border-radius: 20px; }
    .hm-cat-icon { width: 56px; height: 56px; font-size: 26px; }
    .hm-gig-actions { grid-template-columns: 1fr; }
    .hm-fab { height: 48px; padding: 0 18px; font-size: 14px; }
    .hm-grid-3, .hm-steps { grid-template-columns: 1fr; }
    .hm-section { padding: 52px 0; }
    .hm-head-actions, .hm-head-actions .hm-btn { width: 100%; }
    .hm-cta { padding: 30px 22px; border-radius: 24px; }
    .hm-cta-mark { display: none; }
    .hm-cta .hm-btn { width: 100%; }
}
@media (max-width: 1199.98px) {
    .hm-trust-card { grid-template-columns: 1fr; padding: 22px 8px 12px; gap: 14px; }
    .hm-trust-lead { padding: 0 20px; }
    .hm-trust-metrics { border-top: 1px solid var(--hm-line); }
    .hm-trust-metrics > div { padding: 16px 20px; }
}
@media (max-width: 767.98px) {
    .hm-trust-card { padding: 20px 0 0; }
    .hm-trust-lead { align-items: flex-start; padding: 0 18px; }
    .hm-trust-metrics { grid-template-columns: repeat(2, 1fr); }
    .hm-trust-metrics > div { padding: 14px 18px; }
    .hm-trust-metrics > div:nth-child(3) { border-left: 0; }
    .hm-trust-metrics > div:nth-child(n+3) { border-top: 1px solid var(--hm-line); }
}
@media (max-width: 575.98px) {
    /* Chat moves to right 12px, bottom 12px on phones */
    .hm-fab { --hm-chat-gap: 80px; bottom: 17px; }
}
@media (prefers-reduced-motion: reduce) {
    .hm-stage, .hm-stage-glow, .hm-stage-plate, .hm-photo, .hm-photo img, .hm-hero-copy > * { animation: none !important; }
    .hm-btn, .hm-cat, .hm-gig, .hm-expert, .hm-gig-media img { transition: none; }
    .hm-btn:hover, .hm-cat:hover, .hm-gig:hover, .hm-expert:hover { transform: none; }
}

/* Provider trust badges and stats on expert cards */
.hm-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.hm-badges li { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; background: #e3f7ee; color: #047857; font-size: 11.5px; font-weight: 700; }
.hm-expert-stats { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 12px; font-size: 12px; color: var(--hm-muted); }
.hm-expert-stats strong { color: var(--hm-ink); font-weight: 800; }
