/* ===================== Hire a Developer: dedicated page layout ===================== */
.hd-hero { background: linear-gradient(180deg, #fff5f6 0%, #f4f6f7 100%); padding: 130px 0 56px; position: relative; overflow: hidden; border-bottom: 1px solid #e3e8ea; }
.hd-hero::before { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(209, 13, 50, .14), transparent 70%); }
.hd-hero .container { position: relative; }
.hd-crumb { margin: 0 0 22px; }
.hd-badge { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #f0c6cd; border-radius: 40px; padding: 5px 16px 5px 5px; font-weight: 800; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--cz-ink-2); }
.hd-badge .ic { width: 34px; height: 34px; border-radius: 50%; background: var(--cz-red); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.hd-title { font-size: clamp(30px, 3.8vw, 48px); line-height: 1.15; margin: 18px 0 16px; color: var(--cz-ink); }
.hd-lead { font-size: 19px; max-width: 680px; margin-bottom: 20px; }
.hd-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; margin: 0 0 28px; padding: 0; max-width: 680px; }
.hd-points li { display: flex; gap: 10px; font-weight: 700; color: var(--cz-ink-2); align-items: flex-start; }
.hd-points i { color: #fff; background: var(--cz-red); border-radius: 50%; width: 20px; height: 20px; flex: 0 0 20px; font-size: 10px; display: inline-flex; align-items: center; justify-content: center; margin-top: 2px; }
.hd-actions { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 575px) { .hd-points { grid-template-columns: 1fr; } }

.hd-badge-card { background: #fff; border-radius: 24px; padding: 34px 28px; text-align: center; box-shadow: 0 30px 60px rgba(23, 63, 70, .12); border: 1px solid #dde3e5; transform: rotate(2deg); }
.hd-badge-card .big { width: 96px; height: 96px; border-radius: 28px; background: linear-gradient(135deg, var(--cz-red), #ff5a73); color: #fff; font-size: 38px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; box-shadow: 0 16px 30px rgba(209, 13, 50, .35); }
.hd-badge-card strong { display: block; font-size: 22px; color: var(--cz-ink); }
.hd-badge-card .mini { display: block; color: #5d7176; font-weight: 600; margin-top: 6px; }

/* ---- assurance strip ---- */
.hd-strip { background: var(--cz-ink); color: #fff; }
.hd-strip ul { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; }
.hd-strip li { display: flex; gap: 14px; align-items: center; padding: 22px 18px; border-right: 1px solid rgba(255, 255, 255, .12); font-size: 14px; color: rgba(255, 255, 255, .8); }
.hd-strip li:last-child { border-right: 0; }
.hd-strip i { font-size: 22px; color: #ff8fa0; }
.hd-strip b { display: block; color: #fff; font-size: 15px; }
@media (max-width: 991px) { .hd-strip ul { grid-template-columns: repeat(2, 1fr); } .hd-strip li:nth-child(2) { border-right: 0; } }
@media (max-width: 575px) { .hd-strip ul { grid-template-columns: 1fr; } .hd-strip li { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); } }

/* ---- body ---- */
.hd-body { padding: 70px 0 60px; background: #fff; }
.hd-sec { margin-bottom: 64px; scroll-margin-top: 110px; }
.hd-h2 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.25; margin: 0 0 18px; position: relative; padding-left: 18px; }
.hd-h2::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 5px; border-radius: 3px; background: var(--cz-red); }
.hd-h3 { font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: #5d7176; margin: 24px 0 12px; }
.hd-p { font-size: 17px; line-height: 1.8; }

.hd-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 26px 0 0; }
.hd-facts > div { background: var(--cz-soft); border-radius: 14px; padding: 16px; }
.hd-facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #5d7176; margin-bottom: 4px; }
.hd-facts dd { margin: 0; font-weight: 800; color: var(--cz-ink); line-height: 1.3; }
@media (max-width: 767px) { .hd-facts { grid-template-columns: repeat(2, 1fr); } }

.hd-when { display: grid; gap: 10px; margin: 8px 0 0; padding: 0; }
.hd-when li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 18px; border-radius: 12px; background: #fff7f8; border-left: 4px solid var(--cz-red); font-weight: 700; color: var(--cz-ink-2); }
.hd-when i { color: var(--cz-red); margin-top: 3px; }

.hd-skills { margin: 0; padding: 0; display: grid; gap: 0; border: 1px solid #dde3e5; border-radius: 16px; overflow: hidden; }
.hd-skills li { display: flex; gap: 18px; align-items: flex-start; padding: 20px 24px; border-bottom: 1px solid #e3e8ea; background: #fff; transition: background .2s; }
.hd-skills li:last-child { border-bottom: 0; }
.hd-skills li:hover { background: #f7f9fa; }
.hd-skills .ic { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 14px; background: #fff0f2; color: var(--cz-red); display: inline-flex; align-items: center; justify-content: center; font-size: 19px; }
.hd-skills h3 { font-size: 18px; margin: 0 0 4px; }
.hd-skills p { margin: 0; font-size: 15.5px; }

.hd-tabs .nav { gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.hd-tabs .nav-link { background: #fff; border: 1px solid #dde3e5; color: var(--cz-ink-2); font-weight: 800; border-radius: 10px; padding: 11px 20px; }
.hd-tabs .nav-link.active { background: var(--cz-ink); border-color: var(--cz-ink); color: #fff; }
.hd-tabs .tab-content { background: var(--cz-soft); border-radius: 16px; padding: 26px 28px; }
.hd-tabs .lead-text { font-size: 18px; font-weight: 700; color: var(--cz-ink-2); margin-bottom: 12px; }
.hd-tabs .tab-content ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 22px; margin: 0; padding: 0; }
.hd-tabs .tab-content li { display: flex; gap: 10px; font-weight: 600; color: var(--cz-ink-2); }
.hd-tabs .tab-content li i { color: var(--cz-red); margin-top: 4px; }
@media (max-width: 575px) { .hd-tabs .tab-content ul { grid-template-columns: 1fr; } }

.hd-models { display: grid; gap: 14px; }
.hd-model { border: 1px solid #dde3e5; border-radius: 16px; padding: 22px 26px; background: #fff; position: relative; }
.hd-model.is-first { border-color: var(--cz-red); box-shadow: 0 16px 36px rgba(209, 13, 50, .1); }
.hd-model h3 { font-size: 20px; margin: 0 0 6px; }
.hd-model p { margin: 0 0 10px; }
.hd-model .best { display: inline-flex; gap: 8px; align-items: flex-start; font-size: 14px; font-weight: 800; color: var(--cz-red); }
.hd-model .best i { margin-top: 3px; }

.hd-compare-wrap { overflow-x: auto; border: 1px solid #dde3e5; border-radius: 16px; }
.hd-compare { width: 100%; min-width: 520px; border-collapse: collapse; }
.hd-compare th, .hd-compare td { padding: 15px 18px; text-align: left; border-bottom: 1px solid #e3e8ea; vertical-align: top; }
.hd-compare thead th { background: #f4f6f7; font-size: 14px; color: var(--cz-ink-2); }
.hd-compare thead th.us, .hd-compare td.us { background: #fff7f8; }
.hd-compare thead th.us { color: var(--cz-red); border-top: 3px solid var(--cz-red); }
.hd-compare tbody th { width: 26%; color: var(--cz-ink); }
.hd-compare tbody tr:last-child th, .hd-compare tbody tr:last-child td { border-bottom: 0; }

.hd-checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 20px; margin: 0; padding: 0; }
.hd-checks li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed #d3dbdd; font-weight: 700; color: var(--cz-ink-2); }
.hd-checks i { color: var(--cz-red); margin-top: 4px; }
@media (max-width: 575px) { .hd-checks { grid-template-columns: 1fr; } }

.hd-path { margin: 0; padding: 0; position: relative; }
.hd-path::before { content: ""; position: absolute; left: 22px; top: 12px; bottom: 12px; width: 2px; background: #dde3e5; }
.hd-path li { position: relative; display: flex; gap: 22px; padding-bottom: 24px; }
.hd-path li:last-child { padding-bottom: 0; }
.hd-path .n { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 14px; background: var(--cz-ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; z-index: 1; box-shadow: 0 0 0 6px #fff; }
.hd-path li:first-child .n { background: var(--cz-red); }
.hd-path h3 { font-size: 19px; margin: 4px 0 4px; }
.hd-path p { margin: 0; }

.hd-techtable { border: 1px solid #dde3e5; border-radius: 16px; overflow: hidden; }
.hd-techtable .row-g { display: grid; grid-template-columns: 200px 1fr; border-bottom: 1px solid #e3e8ea; }
.hd-techtable .row-g:last-child { border-bottom: 0; }
.hd-techtable .g { background: var(--cz-soft); padding: 18px 20px; font-weight: 800; color: var(--cz-ink); }
.hd-techtable ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 16px 20px; }
.hd-techtable li { background: #fff; border: 1px solid #dde3e5; border-radius: 8px; padding: 6px 12px; font-weight: 700; font-size: 14px; color: var(--cz-ink-2); }
@media (max-width: 575px) { .hd-techtable .row-g { grid-template-columns: 1fr; } }

.hd-linkrows { display: grid; gap: 10px; margin: 0; padding: 0; }
.hd-linkrows a { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border: 1px solid #dde3e5; border-radius: 12px; color: var(--cz-ink); transition: border-color .2s, box-shadow .2s; }
.hd-linkrows a:hover { border-color: var(--cz-red); box-shadow: 0 10px 22px rgba(209, 13, 50, .1); }
.hd-linkrows .ic { width: 40px; height: 40px; border-radius: 12px; background: #fff0f2; color: var(--cz-red); display: inline-flex; align-items: center; justify-content: center; }
.hd-linkrows .t { flex: 1; font-weight: 800; }
.hd-linkrows .g { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #5d7176; font-weight: 700; }
.hd-linkrows a > i { color: var(--cz-red); font-size: 12px; }
.hd-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.hd-pills a { display: inline-flex; gap: 8px; align-items: center; background: var(--cz-soft); padding: 9px 16px; border-radius: 30px; font-weight: 700; font-size: 14px; color: var(--cz-ink-2); transition: all .2s; }
.hd-pills a i { color: var(--cz-red); }
.hd-pills a:hover { background: var(--cz-red); color: #fff; }
.hd-pills a:hover i { color: #fff; }

/* ---- pinned form ---- */
.hd-aside { position: sticky; top: 96px; }
.hd-form { background: #fff; border: 1px solid #dde3e5; border-top: 5px solid var(--cz-red); border-radius: 18px; padding: 26px 24px; box-shadow: 0 26px 54px rgba(23, 63, 70, .12); }
.hd-form h2 { font-size: 22px; margin: 0 0 6px; }
.hd-form .sub { font-size: 14.5px; margin-bottom: 16px; }
.hd-form label { display: block; font-weight: 700; font-size: 13px; margin-bottom: 4px; color: var(--cz-ink-2); }
.hd-form input, .hd-form textarea { width: 100%; border: 1px solid #d3dbdd; border-radius: 10px; padding: 11px 14px; margin-bottom: 12px; font-size: 15px; background: #fff; }
.hd-form input:focus, .hd-form textarea:focus { outline: 0; border-color: var(--cz-red); box-shadow: 0 0 0 3px rgba(209, 13, 50, .12); }
.hd-form .btn { width: 100%; justify-content: center; }
.hd-assure { margin: 16px 0 0; padding: 0; }
.hd-assure li { display: flex; gap: 10px; padding: 3px 0; font-size: 14px; font-weight: 600; color: var(--cz-ink-2); }
.hd-assure i { color: var(--cz-red); margin-top: 3px; }
.hd-contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.hd-contact a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 6px; border-radius: 12px; background: var(--cz-soft); font-size: 13px; font-weight: 800; color: var(--cz-ink-2); }
.hd-contact a:hover { background: var(--cz-red); color: #fff; }
.hd-contact i { font-size: 18px; }
@media (max-width: 991px) { .hd-aside { position: static; margin-top: 10px; } }

/* ---- related roles ---- */
.hd-related { background: var(--cz-soft); padding: 60px 0 70px; }
.hd-related h2 { font-size: 26px; margin-bottom: 22px; }
.hd-role { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid #dde3e5; border-radius: 14px; padding: 16px 18px; color: var(--cz-ink); transition: border-color .2s, transform .2s; }
.hd-role:hover { border-color: var(--cz-red); transform: translateY(-3px); }
.hd-role .ic { width: 46px; height: 46px; border-radius: 12px; background: #fff0f2; color: var(--cz-red); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 46px; }
.hd-role .body { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.hd-role small { color: #5d7176; font-weight: 700; }
.hd-role > i { color: var(--cz-red); font-size: 12px; }

/* keep the pinned form fully reachable on short screens */
.hd-aside { max-height: calc(100vh - 116px); overflow-y: auto; scrollbar-width: thin; padding-bottom: 4px; }
.hd-aside::-webkit-scrollbar { width: 4px; }
.hd-aside::-webkit-scrollbar-thumb { background: #d3dbdd; border-radius: 4px; }
.hd-form { padding: 22px 22px 18px; }
@media (max-width: 991px) { .hd-aside { max-height: none; overflow: visible; } }
