/* HatchDesk theme: svc styles. Used by Services/Index, Developers/Index. Requires core.css. */

/* ==========================================================================
   Service page (/Services/{service}) - markup lives in Views/Services/Index.cshtml
   and the per-service _service*.cshtml partials (their class names are kept).
   ========================================================================== */
.hd.hd-svc { --svc-c1: var(--hd-brand); --svc-c2: var(--hd-indigo); background: var(--hd-paper); margin-top: -96px; overflow-x: clip; }
.hd-svc .container { width: auto; max-width: 1152px; margin: 0 auto; padding: 0 20px; }
.hd-svc .container::before, .hd-svc .container::after { content: none; }
.hd-svc strong, .hd-svc b { color: inherit; }
.hd .hd-svc-h2, .hd-svc .section-title, .hd-svc .left-copy h2, .hd-svc .transform-copy h2, .hd-svc .faq-title {
    font-family: var(--hd-display); font-size: clamp(30px, 4vw, 44px); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; color: var(--hd-ink); }
.hd .hd-svc-h3 { margin-top: 10px; font-family: var(--hd-display); font-size: 26px; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; color: var(--hd-ink); }
.hd .hd-svc-lead, .hd-svc .section-sub { margin-top: 16px; max-width: 640px; font-size: 17px; line-height: 1.7; color: var(--hd-text); }
/* kicker labels for partial-rendered headings */
.hd-svc .left-copy h2::before, .hd-svc .transform-copy h2::before, .hd-svc .hd-svc-asset .section-title::before, .hd-svc .hd-svc-process .section-title::before {
    display: block; margin-bottom: 12px; font-family: var(--hd-mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--hd-brand); }
.hd-svc .left-copy h2::before { content: "// What we offer"; }
.hd-svc .transform-copy h2::before { content: "// Our approach"; }
.hd-svc .hd-svc-asset .section-title::before { content: "// Business value"; color: var(--hd-lime); }
.hd-svc .hd-svc-process .section-title::before { content: "// How we work"; }
/* shared icon tile */
.hd .hd-ic, .hd-svc .service-card .icon, .hd-svc .benefit .icon, .hd-svc .step .round {
    display: grid; place-items: center; flex-shrink: 0; width: 52px; height: 52px; border-radius: 16px; font-size: 20px;
    background: linear-gradient(135deg, var(--svc-c1), var(--svc-c2)); color: #fff; box-shadow: 0 12px 24px -12px var(--svc-c2);
    transition: transform .4s var(--hd-ease), box-shadow .4s, background-color .3s, color .3s; }

/* ---------- hero ---------- */
.hd .hd-svc-hero { position: relative; overflow: hidden; margin: 8px; border-radius: 28px; padding: 132px 0 88px; background: var(--hd-grad); color: rgba(255, 255, 255, .85); }
.hd .hd-svc-hero .hd-wrap { position: relative; z-index: 1; }
.hd .hd-svc-hero-grid { display: grid; gap: 48px; align-items: center; }
.hd .hd-crumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: rgba(255, 255, 255, .7); animation: hd-rise .8s var(--hd-ease) both; }
.hd .hd-crumb i { font-size: 9px; opacity: .7; }
.hd .hd-crumb a:hover { color: #fff; }
.hd .hd-crumb b { font-weight: 600; color: #fff; }
.hd .hd-svc-badge { display: grid; place-items: center; width: 56px; height: 56px; margin-top: 28px; border-radius: 18px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(8px); font-size: 22px; color: var(--hd-lime); animation: hd-rise .8s .05s var(--hd-ease) both; }
.hd .hd-svc-h1 { margin-top: 20px; font-family: var(--hd-display); font-size: clamp(40px, 6.2vw, 72px); font-weight: 800; line-height: 1.02; letter-spacing: -.03em; color: #fff; animation: hd-rise-lcp .8s .1s var(--hd-ease) both; }
.hd .hd-svc-h1 span { color: var(--hd-lime); }
.hd .hd-svc-intro { margin-top: 22px; max-width: 560px; font-size: 17px; line-height: 1.7; color: rgba(255, 255, 255, .85); animation: hd-rise-lcp .8s .18s var(--hd-ease) both; }
.hd .hd-svc-intro p + p { margin-top: 12px; }
.hd .hd-svc-hero .hd-hero-ctas { animation: hd-rise .8s .26s var(--hd-ease) both; }
.hd .hd-svc-trust { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .18); animation: hd-rise .8s .34s var(--hd-ease) both; }
.hd .hd-svc-trust b { display: block; font-family: var(--hd-display); font-size: 28px; font-weight: 800; color: #fff; line-height: 1.1; }
.hd .hd-svc-trust span { font-size: 13px; color: rgba(255, 255, 255, .7); }
.hd .hd-svc-art { position: relative; max-width: 560px; width: 100%; margin: 0 auto; animation: hd-zoom-in 1s .15s var(--hd-ease) both; }
.hd .hd-svc-art-glow { position: absolute; inset: 12% 10%; border-radius: 999px; background: radial-gradient(circle, rgba(198, 244, 50, .45), rgba(6, 182, 212, .25) 55%, transparent 70%); filter: blur(40px); }
.hd .hd-svc-art-grid { position: absolute; inset: 4% 2%; border-radius: 32px; background-image: linear-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .09) 1px, transparent 1px); background-size: 32px 32px;
    -webkit-mask-image: radial-gradient(circle at center, #000 30%, transparent 72%); mask-image: radial-gradient(circle at center, #000 30%, transparent 72%); }
.hd .hd-svc-art img { position: relative; display: block; width: 100%; max-height: 460px; object-fit: contain; filter: drop-shadow(0 40px 50px rgba(11, 16, 32, .45)); animation: hd-bob 7s ease-in-out infinite; }
.hd .hd-svc-chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .95); box-shadow: 0 20px 40px -12px rgba(11, 16, 32, .45);
    font-family: var(--hd-display); font-size: 13px; font-weight: 700; color: var(--hd-ink); white-space: nowrap; animation: hd-bob 6s ease-in-out infinite; }
.hd .hd-svc-chip i { color: #10B981; }
.hd .hd-svc-chip.c1 { left: -2%; top: 10%; }
.hd .hd-svc-chip.c2 { right: -2%; top: 44%; animation-delay: -2s; }
.hd .hd-svc-chip.c3 { left: 8%; bottom: 2%; animation-delay: -4s; }

/* ---------- sticky section nav ---------- */
.hd .hd-subnav { position: sticky; top: 12px; z-index: 60; display: flex; justify-content: center; margin-top: -30px; padding: 0 12px; }
.hd .hd-subnav nav { display: flex; gap: 4px; max-width: 100%; overflow-x: auto; scrollbar-width: none; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 14px 40px -14px rgba(11, 16, 32, .35), 0 0 0 1px rgba(11, 16, 32, .05); }
.hd .hd-subnav nav::-webkit-scrollbar { display: none; }
.hd .hd-subnav a { white-space: nowrap; padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--hd-text); transition: background-color .25s, color .25s; }
.hd .hd-subnav a:hover { background: var(--hd-paper); color: var(--hd-ink); }
.hd .hd-subnav a.is-on { background: var(--hd-ink); color: #fff; }
.hd-svc [id^="svc-"] { scroll-margin-top: 90px; }

/* ---------- offerings (_servicescommonmainsection) ---------- */
.hd-svc .hd-svc-offer .section { padding: 88px 0 72px; }
.hd-svc .service-grid { display: block; }
.hd-svc .left-copy { display: grid; gap: 16px; align-items: end; }
.hd-svc .left-copy p { max-width: 520px; font-size: 17px; line-height: 1.7; }
.hd-svc .left-copy p strong { color: var(--hd-ink); font-weight: 700; }
.hd-svc .cards { display: grid; gap: 18px; margin-top: 44px; counter-reset: hd-off; }
.hd-svc .service-card { position: relative; display: flex; flex-direction: column; gap: 20px; padding: 28px; border-radius: 24px; background: #fff; border: 1px solid rgba(11, 16, 32, .06); overflow: hidden; counter-increment: hd-off;
    transition: transform .4s var(--hd-ease), box-shadow .4s, border-color .4s; }
.hd-svc .service-card::before { content: "0" counter(hd-off); position: absolute; top: 26px; right: 28px; font-family: var(--hd-mono); font-size: 12px; color: var(--hd-muted); transition: color .3s; }
.hd-svc .service-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--svc-c1), var(--svc-c2), var(--hd-lime)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--hd-ease); }
.hd-svc .service-card:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 30px 50px -24px rgba(15, 117, 189, .45); }
.hd-svc .service-card:hover::after { transform: scaleX(1); }
.hd-svc .service-card:hover::before { color: var(--svc-c1); }
.hd-svc .service-card .icon { width: 60px; height: 60px; border-radius: 18px; font-size: 24px; background: var(--hd-paper); color: var(--svc-c1); box-shadow: none; }
.hd-svc .service-card:hover .icon { background: linear-gradient(135deg, var(--svc-c1), var(--svc-c2)); color: #fff; transform: rotate(-8deg) scale(1.06); box-shadow: 0 14px 28px -12px var(--svc-c2); }
.hd-svc .service-card h3 { font-family: var(--hd-display); font-size: 19px; font-weight: 700; line-height: 1.3; color: var(--hd-ink); }
.hd-svc .service-card p { margin-top: 8px; font-size: 14.5px; line-height: 1.6; color: #64748B; }

/* ---------- why ---------- */
.hd .hd-svc-why { padding: 24px 0 88px; }
.hd .hd-svc-why-grid { display: grid; gap: 40px; align-items: start; }
.hd .hd-svc-why .hd-link-arrow { margin-top: 28px; }
.hd .hd-why-cards { display: grid; gap: 16px; }
.hd .hd-why-card { padding: 28px; border-radius: 24px; background: #fff; box-shadow: 0 10px 30px -18px rgba(11, 16, 32, .25); transition: transform .4s var(--hd-ease), box-shadow .4s; }
.hd .hd-why-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -24px rgba(79, 70, 229, .4); }
.hd .hd-why-card:hover .hd-ic { transform: rotate(-8deg) scale(1.06); }
.hd .hd-why-card h3 { margin-top: 20px; font-family: var(--hd-display); font-size: 17px; font-weight: 700; color: var(--hd-ink); }
.hd .hd-why-card p { margin-top: 8px; font-size: 14.5px; line-height: 1.6; color: #64748B; }

/* ---------- concepts (_serviceConcepts) ---------- */
.hd-svc .hd-svc-concept .section { padding: 24px 0 96px; }
.hd-svc .transform-grid { display: grid; gap: 48px; align-items: center; }
.hd-svc .transform-copy > p { margin-top: 16px; font-size: 16.5px; line-height: 1.75; }
.hd-svc .highlights { display: grid; gap: 12px; margin-top: 28px; }
.hd-svc .highlight { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: center; padding: 18px 20px; border-radius: 18px; background: #fff; border: 1px solid rgba(11, 16, 32, .06); transition: transform .35s var(--hd-ease), box-shadow .35s; }
.hd-svc .highlight:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(11, 16, 32, .35); }
.hd-svc .highlight .num { grid-row: span 2; font-family: var(--hd-display); font-size: 26px; font-weight: 800; background: linear-gradient(135deg, var(--svc-c1), var(--svc-c2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hd-svc .highlight h3, .hd-svc .highlight h4 { font-family: var(--hd-display); font-size: 16px; font-weight: 700; color: var(--hd-ink); }
.hd-svc .highlight p { font-size: 14px; line-height: 1.55; color: #64748B; }

/* project-board visual (_serviceVisual) */
.hd .hd-board { position: relative; padding: 20px; border-radius: 28px; background: radial-gradient(80% 60% at 100% 0%, rgba(79, 70, 229, .45), transparent 60%), var(--hd-ink); color: #CBD5E1;
    box-shadow: 0 40px 80px -30px rgba(11, 16, 32, .6); font-size: 13px; }
.hd .hd-board-bar { display: flex; align-items: center; gap: 8px; padding-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.hd .hd-board-bar .dot { width: 11px; height: 11px; border-radius: 999px; }
.hd .hd-board-title { flex: 1; min-width: 0; margin-left: 8px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-family: var(--hd-mono); font-size: 12px; color: #94A3B8; }
.hd .hd-board-live { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(16, 185, 129, .12); color: #34D399; font-size: 11px; font-weight: 700; }
.hd .hd-board-live i { width: 7px; height: 7px; border-radius: 999px; background: #34D399; animation: hd-pulse 1.8s ease-out infinite; }
.hd .hd-board-progress { margin-top: 18px; }
.hd .hd-board-progress > div { display: flex; justify-content: space-between; font-size: 12px; color: #94A3B8; }
.hd .hd-board-progress b { font-family: var(--hd-display); color: #fff; }
.hd .hd-board-track { display: block; height: 8px; margin-top: 8px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.hd .hd-board-fill { display: block; width: 78%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--hd-cyan), var(--hd-indigo), var(--hd-lime)); }
.hd-js .hd .hd-board-fill { width: 0; }
.hd-js .hd .hd-seen .hd-board-fill { animation: hd-fill 1.6s .3s var(--hd-ease) forwards; }
.hd .hd-board-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.hd .hd-board-col { display: grid; align-content: start; gap: 8px; padding: 10px; border-radius: 16px; background: rgba(255, 255, 255, .04); }
.hd .hd-board-col p { font-family: var(--hd-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: #64748B; }
.hd .hd-task { display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .06); font-size: 12px; font-weight: 600; line-height: 1.3; color: #E2E8F0; min-width: 0; }
.hd .hd-task i { color: var(--hd-cyan); font-size: 11px; }
.hd .hd-task.is-moving { border-color: rgba(198, 244, 50, .5); box-shadow: 0 0 0 3px rgba(198, 244, 50, .12); animation: hd-bob 4s ease-in-out infinite; }
.hd .hd-task.is-moving i { color: var(--hd-lime); }
.hd .hd-task.is-done { color: #94A3B8; }
.hd .hd-task.is-done i { color: #34D399; }
.hd .hd-board-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .08); }
.hd .hd-board-avatars { display: flex; }
.hd .hd-board-avatars i { display: grid; place-items: center; width: 30px; height: 30px; margin-left: -8px; border-radius: 999px; border: 2px solid var(--hd-ink); background: linear-gradient(135deg, var(--hd-brand), var(--hd-indigo)); font-style: normal; font-size: 10px; font-weight: 700; color: #fff; }
.hd .hd-board-avatars i:first-child { margin-left: 0; }
.hd .hd-board-avatars i:last-child { background: var(--hd-lime); color: var(--hd-ink); }
.hd .hd-board-foot .ok { font-size: 12px; font-weight: 600; color: #34D399; }
.hd .hd-board-float { position: absolute; right: -10px; bottom: -26px; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 18px; background: #fff; color: var(--hd-ink);
    box-shadow: 0 24px 48px -16px rgba(11, 16, 32, .45); animation: hd-bob 6s -2s ease-in-out infinite; }
.hd .hd-board-float .ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--hd-lime); color: var(--hd-ink); }
.hd .hd-board-float b { display: block; font-family: var(--hd-display); font-size: 14px; }
.hd .hd-board-float small { font-size: 12px; color: #64748B; }

/* ---------- business value, dark (_serviceasset) ---------- */
.hd .hd-svc-asset { position: relative; overflow: hidden; margin: 0 8px; border-radius: 32px; background: radial-gradient(60% 60% at 90% 0%, rgba(79, 70, 229, .35), transparent 60%), var(--hd-ink); color: #94A3B8; }
.hd-svc .hd-svc-asset .section { position: relative; z-index: 1; padding: 88px 0; }
.hd-svc .hd-svc-asset .section-title { max-width: 760px; color: #fff; }
.hd-svc .hd-svc-asset .section-sub { color: #94A3B8; }
.hd-svc .benefits-grid { display: grid; gap: 16px; margin-top: 44px; }
.hd-svc .benefit { padding: 28px; border-radius: 24px; border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .03); transition: border-color .35s, background-color .35s, transform .4s var(--hd-ease); }
.hd-svc .benefit:hover { transform: translateY(-6px); border-color: rgba(198, 244, 50, .45); background: rgba(255, 255, 255, .06); }
.hd-svc .benefit .icon { background: rgba(198, 244, 50, .12); color: var(--hd-lime); box-shadow: none; }
.hd-svc .benefit:hover .icon { background: var(--hd-lime); color: var(--hd-ink); transform: rotate(-8deg) scale(1.06); }
.hd-svc .benefit h3 { margin-top: 20px; font-family: var(--hd-display); font-size: 17px; font-weight: 700; color: #fff; }
.hd-svc .benefit p { margin-top: 8px; font-size: 14.5px; line-height: 1.6; }

/* ---------- process (_serviceworkprocess) ---------- */
.hd-svc .hd-svc-process .section { padding: 96px 0; }
.hd-svc .process-grid { position: relative; display: grid; gap: 28px; margin-top: 52px; }
.hd-svc .step { position: relative; }
.hd-svc .step .round { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 20px; background: #fff; color: var(--svc-c1); font-size: 22px; box-shadow: 0 14px 30px -14px rgba(15, 117, 189, .5); }
.hd-svc .step:hover .round { background: linear-gradient(135deg, var(--svc-c1), var(--svc-c2)); color: #fff; transform: translateY(-6px) rotate(-6deg); }
.hd-svc .stepnum { display: block; margin-top: 20px; font-family: var(--hd-mono); font-size: 12px; letter-spacing: .08em; color: var(--hd-muted); }
.hd-svc .stepnum::before { content: "STEP "; }
.hd-svc .step h3 { margin-top: 4px; font-family: var(--hd-display); font-size: 18px; font-weight: 700; color: var(--hd-ink); }
.hd-svc .step p { margin-top: 8px; font-size: 14.5px; line-height: 1.6; color: #64748B; }

/* ---------- stages + technologies ---------- */
.hd .hd-svc-split { padding: 0 0 96px; }
.hd .hd-svc-split-grid { display: grid; gap: 24px; align-items: start; }
.hd .hd-svc-panel { padding: 32px; border-radius: 28px; background: #fff; box-shadow: 0 10px 30px -20px rgba(11, 16, 32, .25); }
.hd .hd-stage-list { margin-top: 12px; }
.hd .hd-stage { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid rgba(11, 16, 32, .06); }
.hd .hd-stage:last-child { border-bottom: 0; padding-bottom: 0; }
.hd .hd-stage .hd-ic { width: 46px; height: 46px; border-radius: 14px; font-size: 17px; background: var(--hd-paper); color: var(--svc-c2); box-shadow: none; }
.hd .hd-stage:hover .hd-ic { background: linear-gradient(135deg, var(--svc-c1), var(--svc-c2)); color: #fff; transform: rotate(-8deg); }
.hd .hd-stage h3 { font-family: var(--hd-display); font-size: 16px; font-weight: 700; color: var(--hd-ink); }
.hd .hd-stage p { margin-top: 4px; font-size: 14px; line-height: 1.55; color: #64748B; }
.hd-svc .hd-svc-techpanel .section-title { margin-top: 10px; font-size: 26px; line-height: 1.2; }
.hd-svc .tech-sub { margin-top: 8px; font-size: 14px; color: #64748B; }
.hd-svc .techs { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; margin-top: 20px; }
.hd-svc .tech { display: grid; justify-items: center; align-content: center; gap: 10px; min-height: 96px; padding: 16px 8px; border-radius: 18px; background: var(--hd-paper); border: 1px solid transparent; text-align: center;
    transition: transform .3s var(--hd-ease), background-color .3s, border-color .3s, box-shadow .3s; }
.hd-svc .tech:hover { transform: translateY(-4px); background: #fff; border-color: rgba(11, 16, 32, .06); box-shadow: 0 18px 30px -18px rgba(11, 16, 32, .35); }
.hd-svc .tech .symbol { display: grid; place-items: center; width: 32px; height: 32px; font-size: 28px; color: var(--hd-ink); }
.hd-svc .tech .symbol svg, .hd-svc .tech .symbol img { max-width: 32px; max-height: 32px; width: 32px !important; height: 32px !important; }
.hd-svc .tech small { font-size: 12px; font-weight: 600; line-height: 1.3; color: var(--hd-ink); }
.hd-svc .hd-svc-techpanel .get-title { margin-top: 32px; font-size: 19px; }
.hd-svc .checks { display: grid; gap: 10px 20px; margin-top: 16px; }
.hd-svc .check { position: relative; padding-left: 28px; font-size: 14.5px; line-height: 1.5; color: #334155; }
.hd-svc .check::before { content: "\f058"; position: absolute; left: 0; top: 1px; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 16px; color: #10B981; }

/* ---------- FAQ (_servicefaq) + CTA ---------- */
.hd .hd-svc-faq { padding: 0 0 96px; }
.hd .hd-svc-faq-grid { display: grid; gap: 32px; align-items: start; }
.hd-svc .faq-title { margin-top: 12px; }
.hd-svc .faq { display: grid; gap: 10px; margin-top: 28px; }
.hd-svc .faq-item { border-radius: 18px; background: #fff; border: 1px solid rgba(11, 16, 32, .05); transition: box-shadow .3s, border-color .3s; }
.hd-svc .faq-item:hover { border-color: rgba(15, 117, 189, .2); }
.hd-svc .faq-item.active { box-shadow: 0 20px 40px -24px rgba(11, 16, 32, .3); border-color: transparent; }
.hd-svc .faq-question { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; text-align: left; font-family: var(--hd-display); font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--hd-ink); }
.hd-svc .faq-icon { display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 999px; background: var(--hd-paper); font-family: var(--hd-body); font-size: 20px; font-weight: 500; line-height: 1; color: var(--hd-brand); transition: transform .35s var(--hd-ease), background-color .3s, color .3s; }
.hd-svc .faq-question:hover .faq-icon { background: rgba(15, 117, 189, .12); }
.hd-svc .faq-item.active .faq-icon { transform: rotate(45deg); background: var(--hd-ink); color: var(--hd-lime); }
.hd-svc .faq-answer { display: block; max-height: 0; overflow: hidden; transition: max-height .45s var(--hd-ease); }
.hd-svc .faq-item.active .faq-answer { max-height: 800px; }
.hd-svc .faq-answer > * { padding: 0 22px; font-size: 15px; line-height: 1.7; color: #475569; }
.hd-svc .faq-answer > *:last-child { padding-bottom: 22px; }
.hd .hd-svc-cta { position: relative; overflow: hidden; padding: 36px; border-radius: 28px; background: var(--hd-grad); color: rgba(255, 255, 255, .85); }
.hd .hd-svc-cta > * { position: relative; z-index: 1; }
.hd .hd-svc-cta > .hd-ring { position: absolute; z-index: 0; top: -120px; right: -120px; }
.hd .hd-svc-cta h2 { margin-top: 12px; font-family: var(--hd-display); font-size: 30px; font-weight: 800; line-height: 1.15; color: #fff; }
.hd .hd-svc-cta p { margin-top: 12px; font-size: 15px; line-height: 1.65; }
.hd .hd-svc-cta img { display: block; width: 72%; margin: 20px auto 0; filter: drop-shadow(0 30px 30px rgba(11, 16, 32, .4)); animation: hd-bob 7s ease-in-out infinite; }
.hd .hd-svc-cta-btns { display: grid; gap: 10px; margin-top: 22px; }
.hd .hd-svc-cta-btns .hd-btn-white { justify-content: space-between; }

/* ---------- service page responsive ---------- */
@media (min-width: 640px) {
    .hd-svc .cards, .hd .hd-why-cards, .hd-svc .benefits-grid, .hd-svc .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hd-svc .highlights { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hd-svc .highlight { grid-template-columns: 1fr; row-gap: 6px; align-items: start; }
    .hd-svc .highlight .num { grid-row: auto; }
}
@media (min-width: 768px) {
    .hd-svc .process-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
    .hd-svc .process-grid::before { content: ""; position: absolute; left: 32px; right: 18%; top: 32px; height: 2px; background: repeating-linear-gradient(90deg, rgba(15, 117, 189, .4) 0 8px, transparent 8px 16px);
        transform-origin: left; transition: transform 1.4s var(--hd-ease); }
    .hd-js .hd-svc .process-grid:not(.hd-seen)::before { transform: scaleX(0); }
    .hd-svc .left-copy { grid-template-columns: 1.1fr 1fr; gap: 40px; }
}
@media (min-width: 1024px) {
    .hd .hd-svc-hero { margin: 12px; border-radius: 40px; padding: 156px 0 104px; }
    .hd .hd-svc-hero-grid { grid-template-columns: 1.05fr 1fr; }
    .hd-svc .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hd .hd-svc-why-grid { grid-template-columns: .9fr 1.1fr; gap: 64px; }
    .hd .hd-svc-why-grid > :first-child { position: sticky; top: 100px; }
    .hd-svc .transform-grid { grid-template-columns: 1fr 1fr; gap: 72px; }
    .hd-svc .benefits-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .hd .hd-svc-asset { margin: 0 12px; border-radius: 40px; }
    .hd .hd-svc-split-grid { grid-template-columns: 1fr 1fr; }
    .hd .hd-svc-faq-grid { grid-template-columns: 1.45fr 1fr; gap: 40px; }
    .hd .hd-svc-cta { position: sticky; top: 96px; }
}
@media (max-width: 639px) {
    .hd .hd-svc-hero { padding: 120px 0 72px; border-radius: 24px; }
    .hd .hd-svc-hero .hd-hero-ctas .hd-btn-pill { width: 100%; }
    .hd .hd-svc-hero .hd-btn-white { justify-content: space-between; }
    .hd .hd-svc-trust { flex-wrap: nowrap; justify-content: space-between; gap: 12px; }
    .hd .hd-svc-trust span { font-size: 12px; line-height: 1.35; display: block; }
    .hd .hd-svc-trust b { font-size: 22px; }
    .hd .hd-svc-chip { padding: 8px 11px; font-size: 11.5px; }
    .hd .hd-svc-chip.c2 { display: none; }
    .hd-svc .hd-svc-offer .section, .hd-svc .hd-svc-asset .section, .hd-svc .hd-svc-process .section { padding: 64px 0; }
    .hd .hd-svc-why, .hd .hd-svc-split, .hd .hd-svc-faq { padding-bottom: 64px; }
    .hd .hd-svc-panel, .hd .hd-svc-cta { padding: 24px; border-radius: 24px; }
    .hd .hd-board { padding: 16px; border-radius: 22px; }
    .hd .hd-board-cols { grid-template-columns: 1fr; }
    .hd .hd-board-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hd .hd-board-col p { grid-column: 1 / -1; }
    .hd .hd-board-float { right: 8px; bottom: -22px; }
    .hd .hd-subnav a { padding: 9px 14px; font-size: 13px; }
}

/* ---------- motion (service + shared) ---------- */
@keyframes hd-fill { from { width: 0; } to { width: 78%; } }

@media (prefers-reduced-motion: reduce) {
    .hd .hd-crumb, .hd .hd-svc-badge, .hd .hd-svc-h1, .hd .hd-svc-intro, .hd .hd-svc-hero .hd-hero-ctas, .hd .hd-svc-trust, .hd .hd-svc-art,
    .hd .hd-svc-art img, .hd .hd-svc-chip, .hd .hd-task.is-moving, .hd .hd-board-float, .hd .hd-board-live i, .hd .hd-svc-cta img { animation: none; }
    .hd-js .hd .hd-board-fill { width: 78%; animation: none !important; }
    .hd-js .hd-svc .process-grid:not(.hd-seen)::before { transform: none; }
}

/* service + hire hero grid: tablet / phone spacing (moved from the hero visuals section) */
@media (min-width: 640px) and (max-width: 1023px) {
    .hd .hd-svc-hero-grid { gap: 32px; }
    .hd .hd-svc-art { max-width: 600px; }
}
@media (max-width: 639px) {
    .hd .hd-svc-hero-grid { gap: 24px; }
}

/* hub pages (/Services, /Developers): card grid of linked pages */
.hd .hd-hub-head { max-width: 760px; margin-bottom: 32px; }
.hd .hd-hub-grid { display: grid; gap: 16px; }
.hd .hd-hub-grid a.hd-why-card { display: block; color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.hd .hd-hub-grid a.hd-why-card:hover, .hd .hd-hub-grid a.hd-why-card:focus-visible { transform: translateY(-3px); }
.hd .hd-hub-grid .hd-link-arrow { margin-top: 12px; display: inline-flex; }
.hd-hub .hd-svc-panel > p:not(.hd-kick) { margin: 12px 0 16px; }
@media (min-width: 640px) { .hd .hd-hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .hd .hd-hub-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

