/* web/themes/techprosolutions/css/components/svc-conversion.css */
/**
 * Service landing conversion + SEO chrome: breadcrumb, related-services block,
 * and the sticky mobile action bar (Call · WhatsApp · Book). Token-driven,
 * 4px grid; the sticky bar is mobile-only so it never overlaps desktop CTAs.
 */

/* ---- Breadcrumb ---- */
.svc-breadcrumb {
  background: #fff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  font-size: 1rem;
}
.svc-breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--et-space-2);
  margin: 0;
  padding: var(--et-space-3) 0;
}
.svc-breadcrumb li { display: flex; align-items: center; gap: var(--et-space-2); color: #64748b; }
.svc-breadcrumb li + li::before { content: '/'; color: #cbd5e1; }
.svc-breadcrumb a { 
  color: var(--et-green-2); 
  text-decoration: underline; 
  text-decoration-color: transparent;
  transition: text-decoration-color 0.3s ease;
}
.svc-breadcrumb a:hover { text-decoration-color: var(--et-green-2); }
.svc-breadcrumb [aria-current='page'] { color: #1C3557; font-weight: 600; }

/* ---- Related services ---- */
.svc-related__list {
  list-style: none;
  padding: 0;
  margin: var(--et-space-8) 0 0;
  display: grid;
  gap: var(--et-space-4);
  grid-template-columns: 1fr;
}
@media (min-width: 48rem) {
  .svc-related__list { grid-template-columns: repeat(3, 1fr); }
}
.svc-related__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--et-space-4);
  padding: var(--et-space-6);
  background: #fff;
  border: 1px solid #eef2ef;
  border-radius: var(--et-radius-lg);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  text-decoration: none;
  color: #0f172a;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.svc-related__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
  color: var(--et-green-2);
}
.svc-related__card .svc-btn__ic { width: 1.25rem; height: 1.25rem; flex: none; }

/* ---- Sticky mobile conversion bar ---- */
.svc-stickybar { display: none; }
@media (max-width: 61.99rem) {
  .svc-stickybar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(15, 23, 42, 0.08);
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.12);
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
  .svc-stickybar__btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--et-space-1);
    padding: var(--et-space-3) var(--et-space-2);
    background: #fff;
    color: #0f172a;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    min-height: 56px;
  }
  .svc-stickybar__btn svg { width: 1.25rem; height: 1.25rem; }
  .svc-stickybar__btn--call { color: var(--et-navy); }
  .svc-stickybar__btn--wa { color: #128c7e; }
  .svc-stickybar__btn--book { color: var(--et-green-2); }
  .svc-stickybar__btn:focus-visible {
    outline: 2px solid var(--et-green);
    outline-offset: -2px;
  }
  /* Keep the last section clear of the fixed bar. */
  .svc-page { padding-bottom: 56px; }
}

/* ---- Long-form content body (SEO prose) ---- */
.svc-content__inner { max-width: 52rem; }
.svc-content .svc-title { margin-bottom: var(--et-space-6); }
.svc-prose { color: #334155; font-size: 1.0625rem; line-height: 1.7; }
.svc-prose h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1C3557;
  margin: var(--et-space-10) 0 var(--et-space-4);
}
.svc-prose h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1C3557;
  margin: var(--et-space-8) 0 var(--et-space-3);
}
.svc-prose p { margin: 0 0 var(--et-space-4); }
.svc-prose ul, .svc-prose ol { margin: 0 0 var(--et-space-4); padding-left: var(--et-space-6); }
.svc-prose li { margin-bottom: var(--et-space-2); }
.svc-prose a { color: var(--et-green-2); text-decoration: underline; }
.svc-prose strong { color: #0f172a; }
.svc-prose > :first-child { margin-top: 0; }
