





:root {
  --navy: #051c2c; --navy-2: #0b2a42; --ink: #1e293b; --muted: #5b6474; --line: #e3e8ef;
  --soft: #f4f6f9; --accent: #2a5bd4; --accent-2: #244fbd; --accent-soft: #e8eefc; --ok: #1f9d68; --r: 16px;
}

.hh-page { font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--ink); overflow-wrap: break-word; }
.hh-page img { max-width: 100%; height: auto; }
.hh-page a { color: var(--accent); }
.hh-page a:hover { color: var(--accent-2); }


.hh-page .hh-bc { background: var(--navy); color: #c5d2e6; font-size: 14px; line-height: 1.4; }
.hh-page .hh-bc ol { max-width: 1180px; margin: 0 auto; padding: 16px 16px 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.hh-page .hh-bc li { display: inline-flex; align-items: center; min-width: 0; }
.hh-page .hh-bc li + li::before { content: "›"; margin-right: 8px; color: #8fa3bd; }
.hh-page .hh-bc a { color: #c5d2e6; text-decoration: none; }
.hh-page .hh-bc a:hover, .hh-page .hh-bc a:focus-visible { color: #fff; text-decoration: underline; }
.hh-page .hh-bc [aria-current="page"] { color: #fff; font-weight: 700; }


.hh-page > section:first-of-type {
  background: radial-gradient(1100px 520px at 85% -10%, rgba(42, 91, 212, .28), transparent 60%), var(--navy) !important;
  color: #fff; padding: 36px 0 56px; margin: 0;
}
.hh-page > section:first-of-type > .container { padding-top: 8px; }
.hh-page > section:first-of-type .row { margin: 0; align-items: center; row-gap: 28px; }
.hh-page > section:first-of-type h1 {
  color: #fff; font-weight: 800; letter-spacing: -.015em; line-height: 1.08;
  font-size: clamp(2rem, 5.2vw, 3.4rem); margin: 10px 0 18px;
}
.hh-page > section:first-of-type .lead, .hh-page > section:first-of-type p { color: #d6e0ee; font-size: clamp(1.02rem, 1.6vw, 1.15rem); line-height: 1.7; }
.hh-page > section:first-of-type img { border-radius: 20px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); object-fit: cover; }

.hh-svc > section:first-of-type .col-lg-6 > span:first-child {
  display: inline-flex; align-items: center; gap: 10px; color: #a9c1ff; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; font-size: 13px;
}
.hh-svc > section:first-of-type .col-lg-6 > span:first-child::before { content: ""; width: 26px; height: 2px; background: #a9c1ff; }
.hh-page > section:first-of-type .text-center h1 { margin-left: auto; margin-right: auto; max-width: 900px; }


.hh-page > section { padding: 64px 0; margin: 0; }

.hh-page > section:not(:first-of-type) { background: #fff !important; color: var(--ink); }
.hh-page > section:not(:first-of-type):nth-of-type(odd) { background: var(--soft) !important; }
.hh-page h2 { color: var(--navy); font-weight: 800; letter-spacing: -.01em; line-height: 1.2; font-size: clamp(1.5rem, 3.2vw, 2.15rem); }
.hh-page h3 { color: var(--navy); font-weight: 800; line-height: 1.3; }
.hh-page p, .hh-page li { line-height: 1.7; }
.hh-page .lead { color: #374151; }
@media (max-width: 767px) { .hh-page > section { padding: 44px 0; } }


.hh-page .btn-primary {
  background: var(--accent); border: 0; color: #fff; border-radius: 10px; padding: 13px 24px;
  font-weight: 800; font-size: 1rem; line-height: 1.3; box-shadow: 0 8px 24px rgba(42, 91, 212, .30);
}
.hh-page .btn-primary:hover, .hh-page .btn-primary:focus-visible { background: var(--accent-2); color: #fff; }
.hh-page .btn-lg { padding: 15px 28px; font-size: 1.05rem; }
.hh-page .btn-outline-secondary {
  background: #fff; border: 2px solid var(--line) !important; color: var(--navy) !important;
  border-radius: 10px; padding: 11px 22px; font-weight: 800;
}
.hh-page .btn-outline-secondary:hover { border-color: var(--navy) !important; background: var(--soft); }
.hh-page > section:first-of-type .btn-primary { box-shadow: 0 10px 30px rgba(42, 91, 212, .45); }


.hh-page .hh-card, .hh-page .kortti, .hh-page .card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: none;
}
.hh-svc #palvelut .row {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin: 0 0 18px !important;
}
@media (min-width: 768px) { .hh-svc #palvelut .row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) { .hh-svc #palvelut .row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hh-svc #palvelut .section-intro .row { display: flex; margin: 0 !important; }
.hh-svc #palvelut .kortti { margin: 0 !important; padding: 0 !important; width: auto; max-width: none; flex: none; }
.hh-svc #palvelut .service-item { display: flex; flex-direction: column; height: 100%; padding: 24px; }
.hh-svc #palvelut .service-item h3 { color: var(--navy) !important; font-weight: 800 !important; font-size: 1.2rem; margin: 0 0 10px; }
.hh-svc #palvelut .service-item p { color: #374151; margin: 0 0 12px; }
.hh-svc #palvelut .feature-list { margin: 0 0 16px; }
.hh-svc #palvelut .feature-list li { display: flex; gap: 8px; align-items: flex-start; padding: 3px 0; color: #374151; }
.hh-svc #palvelut .feature-list .bi { color: var(--accent); margin-top: 2px; }
.hh-svc #palvelut .service-cta {
  float: none !important; margin: auto 0 0 !important; align-self: flex-start; display: inline-flex; gap: 6px;
  align-items: center; font-weight: 800; color: var(--accent); text-decoration: none; min-height: 44px;
}
.hh-svc #palvelut .service-cta:hover { color: var(--accent-2); }
.hh-svc #palvelut .intro-title { margin-bottom: 10px; }
.hh-svc #palvelut .intro-text { color: var(--muted); font-size: 1.05rem; }
.hh-svc #palvelut .section-intro { margin-top: 0 !important; margin-bottom: 28px !important; }


.hh-page #about .row { align-items: center; margin-bottom: 0 !important; }
.hh-page #about img { border-radius: var(--r); box-shadow: 0 18px 44px rgba(5, 28, 44, .14) !important; }


.hh-page .artik, .hh-cand .job-posting > .container, .hh-about > .container, .hh-cand > section:not(:first-of-type) > .container {
  max-width: 820px;
}
.hh-page .artik h2, .hh-cand .job-posting h2, .hh-about > .container h2, .hh-cand > section:not(:first-of-type) h2 {
  margin: 1.8em 0 .6em;
}
.hh-page .artik p, .hh-page .artik li, .hh-cand .job-posting p, .hh-cand .job-posting li,
.hh-about > .container p, .hh-about > .container li, .hh-cand > section:not(:first-of-type) p, .hh-cand > section:not(:first-of-type) li {
  font-size: 1.06rem; line-height: 1.78; color: #374151;
}
.hh-page .artik ul, .hh-cand .job-posting ul, .hh-about > .container ul { padding-left: 1.2em; }
.hh-page .artik li::marker, .hh-cand .job-posting li::marker, .hh-about > .container li::marker { color: var(--accent); }
.hh-page blockquote { border-left: 4px solid var(--accent); background: var(--soft); margin: 1.4em 0; padding: 14px 18px; border-radius: 0 12px 12px 0; color: var(--navy); }
.hh-page table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: .98rem; }
.hh-page th, .hh-page td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.hh-page th { background: var(--soft); color: var(--navy); font-weight: 800; }
.hh-page .table-responsive, .hh-page .hh-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.hh-svc .artik > .card { background: var(--soft); padding: 18px 20px !important; margin-bottom: 8px; }
.hh-svc .artik > .card img { box-shadow: 0 6px 18px rgba(5, 28, 44, .15); }
.hh-svc .artik > .card .fa-circle-info { color: var(--muted); }


.hh-cand { background: var(--soft); }
.hh-cand > .container[style] { margin-top: 0 !important; }
.hh-cand .job-posting { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px 8px; margin: 8px 0 32px; }
.hh-cand .job-posting > .container > h3 { font-size: clamp(1.25rem, 2.4vw, 1.5rem); margin: 0 0 8px; }
.hh-cand .job-posting header p { font-size: 1.12rem; color: var(--ink); }
.hh-cand .job-posting article + article { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 4px; }
.hh-cand > .container .text-center img[alt*="logo" i], .hh-cand > .container .text-center img[src*="headhunt-group-dark"] { max-width: 280px; opacity: .9; }
.hh-cand > section:not(:first-of-type) .card, .hh-cand > section:not(:first-of-type) .hh-card { padding: 20px; }


.hh-about > .container { padding-top: 8px; padding-bottom: 32px; }
.hh-about > .container > img, .hh-about > .container img.img-fluid { border-radius: var(--r); box-shadow: 0 18px 44px rgba(5, 28, 44, .14) !important; }
.hh-about > .container .card { padding: 24px; margin: 24px 0 !important; background: var(--soft); }
.hh-about > .container .card h2 { margin-top: 0; }
.hh-about > .container .cta { row-gap: 10px; }
.hh-about > .container .cta .btn { width: 100%; }


.hh-svc .service-price-contact { border: 1px solid var(--line); border-radius: var(--r); background: var(--soft); padding: 22px 24px; }


.hh-page .hh-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.hh-page .hh-fact { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.hh-page .hh-fact b { display: block; color: var(--navy); font-size: 1.05rem; }
.hh-page .hh-steps { counter-reset: hhstep; display: grid; gap: 14px; padding: 0; list-style: none; }
.hh-page .hh-steps > li { counter-increment: hhstep; position: relative; padding: 18px 20px 18px 64px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.hh-page .hh-steps > li::before { content: counter(hhstep); position: absolute; left: 18px; top: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 800; display: grid; place-items: center; }


.hh-page .hh-cta-band { background: var(--navy); color: #fff; border-radius: 20px; padding: 32px 28px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; }
.hh-page .hh-cta-band h2 { color: #fff; margin: 0; }
.hh-page .hh-cta-band p { color: #c5d2e6; margin: 6px 0 0; }


.hh-page .hh-faq { background: var(--soft) !important; padding: 64px 16px 72px !important; }
.hh-page > section.hh-faq:nth-of-type(n) { background: var(--soft) !important; }
.hh-page .hh-faq-inner { max-width: 820px; }
.hh-page .hh-faq details { border-radius: 14px !important; border: 1px solid var(--line) !important; background: #fff !important; }
.hh-page .hh-faq summary { min-height: 44px; }
.hh-page .hh-faq summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 14px; }


.hh-page a:focus-visible, .hh-page .btn:focus-visible { outline: 3px solid #a9c1ff; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .hh-page * { scroll-behavior: auto !important; transition: none !important; } }
