/* Hero Hieronta — palvelut page styles (loads after main.css) */

/* intro */
.page-intro { padding-bottom: var(--sp-7); }

/* quick-nav anchor pills */
.anchor-nav { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }
.anchor-pill {
  display: inline-block; padding: 9px 18px; border: 1.5px solid rgba(28,28,30,.18);
  border-radius: var(--r-full); background: var(--c-white); color: var(--c-ink);
  font: 500 .92rem var(--f-body); text-decoration: none;
  transition: border-color var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out);
}
.anchor-pill:hover { border-color: var(--c-gold-deep); transform: translateY(-2px); box-shadow: var(--sh-1); }

/* service detail layout */
.service-detail__grid {
  display: grid; grid-template-columns: 190px 1fr; gap: var(--sp-8);
  align-items: start; margin-top: var(--sp-5);
}
.service-figure { position: sticky; top: calc(var(--nav-h) + 40px); }
.service-figure svg { width: 100%; max-height: 60vh; }
.service-detail__body > h3 { margin-top: var(--sp-6); }
.service-detail__body > h3:first-child { margin-top: 0; }

/* "Kenelle" list */
.for-list { list-style: none; margin: 0 0 var(--sp-2); padding: 0; display: grid; gap: var(--sp-3); }
.for-list li { position: relative; padding-left: 24px; max-width: 62ch; }
.for-list li::before {
  content: ""; position: absolute; left: 2px; top: .5em;
  width: 9px; height: 9px; border-radius: 50%; background: var(--c-gold);
}

/* 3-step timeline */
.steps { list-style: none; counter-reset: step; margin: 0 0 var(--sp-2); padding: 0; display: grid; gap: var(--sp-4); }
.steps li { counter-increment: step; position: relative; padding-left: 46px; max-width: 62ch; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -2px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--c-beige); color: var(--c-gold-deep);
  font: 600 .9rem var(--f-body);
  display: flex; align-items: center; justify-content: center;
}
.section--beige .steps li::before { background: var(--c-white); }

/* duration & price table */
.service-detail .price-table { max-width: 440px; }

/* actions + sibling links */
.service-actions { display: flex; align-items: center; gap: var(--sp-4); flex-wrap: wrap; margin-top: var(--sp-6); }
.service-also { margin: var(--sp-5) 0 0; font-size: var(--fs-small); color: var(--c-ink-60); }

/* mobile */
@media (max-width: 767px) {
  .service-detail__grid { grid-template-columns: 1fr; gap: var(--sp-5); }
  .service-figure { position: static; max-width: 130px; margin: 0 auto; }
  .service-figure svg { max-height: 260px; }
}
