/* ============================================================
   SERVICE PAGES (posluhy/*.html) — article layout
   Reuses tokens, buttons, .eyebrow, .footer from styles.css
   ============================================================ */
body.page { background: var(--bg); }

/* ---- page header (sticky) ---- */
.ph {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,10,9,.86);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid var(--line-2);
}
.ph__row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 14px; }
.ph__nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); }
.ph__nav a { font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); transition: color .3s var(--ease); }
.ph__nav a:hover { color: var(--gold); }
.ph__cta { font-family: var(--mono); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; padding: 11px 22px; background: var(--wine); color: var(--on-dark); transition: background .4s var(--ease); }
.ph__cta:hover { background: var(--wine-hi); }
html[data-theme="light"] .ph { background: rgba(245,239,227,.88); }
@media (max-width: 820px) { .ph__nav .ph__navlink { display: none; } }

/* ---- breadcrumbs ---- */
.crumbs { padding-block: 26px 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs a { color: var(--muted); transition: color .3s var(--ease); }
.crumbs a:hover { color: var(--gold); }
.crumbs li::after { content: "/"; margin-left: 10px; color: var(--muted-2); }
.crumbs li:last-child::after { display: none; }
.crumbs li[aria-current] { color: var(--gold); }

/* ---- article hero ---- */
.ahero { padding-block: clamp(34px, 5vw, 60px) clamp(28px, 4vw, 44px); position: relative; }
.ahero__lion { position: absolute; right: -4%; top: -10%; opacity: .045; pointer-events: none; }
.ahero__lion svg { width: min(46vh, 460px); color: var(--gold); }
.ahero h1 {
  font-family: var(--serif); font-weight: 500; line-height: 1.04; letter-spacing: -.01em;
  font-size: clamp(34px, 6vw, 64px); margin-top: 24px; max-width: 18ch; position: relative;
}
.ahero__tldr {
  font-family: var(--body); font-size: clamp(17px, 2vw, 21px); color: var(--ink-soft);
  line-height: 1.7; max-width: 60ch; margin-top: 26px; position: relative;
}
.ahero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; position: relative; }

/* ---- article body ---- */
.article { padding-bottom: clamp(40px, 6vw, 80px); }
.article__grid { display: grid; grid-template-columns: 1fr; gap: clamp(40px, 5vw, 64px); }
.block { border-top: 1px solid var(--line-2); padding-top: clamp(30px, 4vw, 46px); }
.block > h2 {
  font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 3.4vw, 36px);
  color: var(--ink); line-height: 1.1; margin-bottom: 24px;
}
.block > h2 em { font-style: italic; color: var(--gold); }
.lead-p { color: var(--ink-soft); font-size: clamp(16px, 1.9vw, 19px); line-height: 1.75; margin-bottom: 16px; max-width: 70ch; }

/* signals / help — clean list with gold marker */
.ulist { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 30px; }
@media (max-width: 720px) { .ulist { grid-template-columns: 1fr; } }
.ulist li {
  display: flex; gap: 14px; align-items: flex-start; padding: 14px 0;
  border-bottom: 1px solid var(--line-2); color: var(--ink-soft); font-size: 16px; line-height: 1.5;
}
.ulist li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: 8px; background: var(--gold); transform: rotate(45deg); }

/* process — numbered steps */
.steps { display: grid; gap: 2px; }
.steps li {
  display: grid; grid-template-columns: 54px 1fr; gap: 8px; align-items: start;
  padding: 18px 0; border-bottom: 1px solid var(--line-2); color: var(--ink-soft); font-size: 16px; line-height: 1.55;
}
.steps li::before {
  counter-increment: st; content: counter(st, decimal-leading-zero);
  font-family: var(--mono); font-size: 13px; color: var(--gold); letter-spacing: .05em; padding-top: 2px;
}
.steps { counter-reset: st; }

/* FAQ — native details/summary (content stays in HTML for SEO/LLM) */
.faq { display: grid; gap: 0; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-family: var(--serif); font-size: clamp(18px, 2.2vw, 22px); color: var(--ink); line-height: 1.35;
  transition: color .3s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold); }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 28px; width: 13px; height: 13px;
  background:
    linear-gradient(var(--gold),var(--gold)) center/13px 1.5px no-repeat,
    linear-gradient(var(--gold),var(--gold)) center/1.5px 13px no-repeat;
  transition: transform .4s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq__a { padding: 0 44px 24px 0; color: var(--ink-soft); font-size: 16.5px; line-height: 1.75; max-width: 74ch; }

/* CTA card with consult form */
.cta {
  margin-top: clamp(46px, 6vw, 80px);
  border: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-2), var(--bg));
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 56px);
  padding: clamp(28px, 4vw, 52px);
}
@media (max-width: 820px) { .cta { grid-template-columns: 1fr; } }
.cta h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 3.2vw, 34px); line-height: 1.1; }
.cta h2 em { font-style: italic; color: var(--gold); }
.cta p { color: var(--ink-soft); margin-top: 16px; font-size: 16px; line-height: 1.65; }
.cta__contacts { margin-top: 24px; display: grid; gap: 12px; }
.cta__contacts a, .cta__contacts span { display: flex; align-items: center; gap: 12px; color: var(--ink-soft); font-size: 16px; }
.cta__contacts a:hover { color: var(--gold); }
.cta__contacts .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); min-width: 92px; }
.cta__form { display: grid; gap: 22px; align-content: start; }
.cta__form .field label { font-family: var(--mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2); display: block; margin-bottom: 10px; }
.cta__form input, .cta__form textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line);
  color: var(--ink); font-family: var(--body); font-size: 17px; padding: 9px 0;
}
.cta__form input::placeholder, .cta__form textarea::placeholder { color: var(--muted-2); }
.cta__form input:focus, .cta__form textarea:focus { outline: none; border-color: var(--gold); }
.cta__form .svc-pill {
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--line); padding: 8px 12px; display: inline-flex; align-self: start;
}
.cta__ok { display: none; padding: 14px 16px; border: 1px solid var(--line); background: var(--gold-soft); color: var(--ink); font-size: 15px; }
.cta__form.sent .cta__ok { display: block; }
.cta__note { font-size: 12.5px; color: var(--muted); }

/* related services */
.related { margin-top: clamp(40px, 5vw, 70px); }
.related > h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 3vw, 30px); margin-bottom: 24px; }
.related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 820px) { .related__grid { grid-template-columns: 1fr; } }
.related__card {
  border: 1px solid var(--line-2); background: var(--bg-2); padding: 22px 24px;
  display: flex; flex-direction: column; gap: 10px; min-height: 130px;
  transition: border-color .4s var(--ease), background .4s var(--ease), transform .4s var(--ease);
}
.related__card:hover { border-color: var(--line); background: var(--bg-3); transform: translateY(-3px); }
.related__card .rk { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); }
.related__card .rn { font-family: var(--serif); font-size: 20px; color: var(--ink); line-height: 1.2; }
.related__card .ra { margin-top: auto; font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); display: inline-flex; align-items: center; gap: 8px; }

/* ---- services hub (posluhy/index.html) ---- */
.hub-pillar { border-top: 1px solid var(--line-2); padding-top: clamp(30px, 4vw, 48px); margin-top: clamp(34px, 4vw, 54px); }
.hub-pillar__head { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.hub-pillar__ic { width: 40px; height: 40px; color: var(--gold); flex: none; }
.hub-pillar__ic svg { width: 100%; height: 100%; }
.hub-pillar__t .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-2); }
.hub-pillar__t h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 3.2vw, 34px); color: var(--ink); margin-top: 6px; }
.hub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 720px) { .hub-grid { grid-template-columns: 1fr; } }
.hub-card {
  border: 1px solid var(--line-2); background: var(--bg-2); padding: 24px 26px;
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color .4s var(--ease), background .4s var(--ease), transform .4s var(--ease);
}
.hub-card:hover { border-color: var(--line); background: var(--bg-3); transform: translateY(-3px); }
.hub-card h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(20px, 2.4vw, 25px); color: var(--gold); line-height: 1.2; }
.hub-card p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; }
.hub-card .ra { margin-top: auto; font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); display: inline-flex; align-items: center; gap: 8px; }
.hub-card .ra .arrow, .related__card .ra .arrow { transition: transform .4s var(--ease); }
.hub-card:hover .ra .arrow, .related__card:hover .ra .arrow { transform: translateX(5px); }
