/*
 * Service page — page-specific styles only.
 * All shared components in ukva-styles.css (.page-body, .sidebar, sidebar form inputs).
 */

/* ── Article column ── */
.article-content h2 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.8vw, 27px);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.3;
  margin: 40px 0 14px;
  padding-top: 8px;
}
.article-content h2:first-child { margin-top: 0; }
.article-content h3 { font-size: 17px; font-weight: 600; color: var(--navy); margin: 24px 0 10px; line-height: 1.35; }
.article-content h4 { font-size: 15px; font-weight: 600; color: var(--navy); margin: 20px 0 8px; }
.article-content p { font-size: 15px; color: var(--gray-700); line-height: 1.8; margin-bottom: 14px; }
.article-content strong { color: var(--black); font-weight: 600; }
.article-content ul, .article-content ol { padding-left: 20px; margin-bottom: 16px; }
.article-content li { font-size: 15px; color: var(--gray-700); line-height: 1.75; margin-bottom: 5px; }
.article-content a:not([class*="btn"]) { color: var(--blue); text-decoration: underline; }
.article-content a:not([class*="btn"]):hover { color: var(--blue-dark); }

/* ── Benefits grid ── */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 24px 0;
}
.benefit-card {
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 20px;
}
.benefit-card:hover { border-color: var(--blue); }
.benefit-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 12px;
}
.benefit-card h4 { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.benefit-card p { font-size: 13px; color: var(--gray-600); line-height: 1.6; margin: 0; }

/* ── Packages grid ── */
.packages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 28px 0;
}
.package-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  background: var(--white);
  cursor: pointer;
}
.package-card:hover { border-color: var(--blue); background: var(--blue-pale); }
.package-card h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.package-card p { font-size: 13px; color: var(--gray-600); line-height: 1.65; margin-bottom: 14px; }
.package-price { font-size: 13px; font-weight: 600; color: var(--blue); }

/* ── Breakpoints ── */
@media (min-width: 600px) {
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .packages-grid { grid-template-columns: 1fr 1fr; }
  .article-cta__actions { flex-direction: row; }
}

@media (min-width: 1024px) {
  .article-cta__actions { flex-direction: row; flex-shrink: 0; }
  .related-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Scroll offset for sticky nav ── */
.article-content section[id] {
  scroll-margin-top: calc(var(--nav-h) + var(--space-sm));
}

@media (prefers-reduced-motion: no-preference) {
  .article-content a:not([class*="btn"]) { transition: color .15s; }
  .benefit-card { transition: border-color .15s; }
  .package-card { transition: border-color .15s, background .15s; }
}

/* ── Article CTA: redeclared after .article-content prose rules so the
   navy block keeps its own white typography on service pages. Same
   specificity as .article-content p/h3 — wins on cascade source order. ── */
.article-cta h3 { color: var(--white); }
.article-cta p { color: var(--white); font-size: 14px; line-height: 1.65; margin: 0; max-width: 720px; }
