/* ==========================================================================
   Service detail page – /uslugi/[slug]/
   Reuses landing primitives (.section, .container, .eyebrow, .process-grid,
   .pricing-grid, .price-card, .cta-banner, .related). Only service-specific
   patterns live here.
   ========================================================================== */

/* ---- Hero ---- */
.service-hero {
  position: relative;
  padding: 80px 0 96px;
  background: var(--bg);
  overflow: hidden;
}
.service-hero::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -160px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 127, 200, 0.10), transparent 60%);
  pointer-events: none;
}
.service-hero::after {
  content: "";
  position: absolute;
  bottom: -200px;
  left: -180px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 58, 107, 0.07), transparent 60%);
  pointer-events: none;
}
.service-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.service-hero h1 {
  font-size: clamp(36px, 4.4vw, 54px);
  line-height: 1.05;
  margin-bottom: 22px;
}
.service-hero-lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--fg-2);
  margin-bottom: 28px;
  max-width: 560px;
}
.service-hero-proof {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.service-hero-proof li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.service-hero-proof li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--brand-cyan);
  flex: 0 0 auto;
}
.service-hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.service-hero-cover {
  position: relative;
  margin: 0;
  display: flex;
  justify-content: center;
}
.service-hero-cover::before {
  content: "";
  position: absolute;
  inset: 8% 4%;
  background: radial-gradient(circle, rgba(46, 127, 200, 0.18), transparent 65%);
  filter: blur(28px);
  z-index: 0;
  pointer-events: none;
}
.service-hero-cover img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  border-radius: var(--r-lg);
}

@media (max-width: 1024px) {
  .service-hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .service-hero-cover { order: -1; }
  .service-hero-cover img { max-width: 360px; }
}
@media (max-width: 560px) {
  .service-hero { padding: 56px 0 64px; }
  .service-hero-cover img { max-width: 280px; }
}

/* ---- Section heads (eyebrow + title + optional lead) ---- */
.svc-head {
  max-width: 720px;
  margin-bottom: 56px;
}
.svc-head .section-title {
  font-size: var(--fs-h2);
  margin-bottom: 16px;
}
.svc-head-lead {
  font-size: 17px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
}
@media (max-width: 768px) {
  .svc-head { margin-bottom: 36px; }
}

/* ---- Includes (3-col grid with mono indices) ---- */
.service-includes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  counter-reset: inc;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (max-width: 980px) {
  .service-includes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .service-includes-grid { grid-template-columns: 1fr; }
}
.service-includes-card {
  position: relative;
  padding: 28px 28px 26px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  counter-increment: inc;
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
}
.service-includes-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-navy-100);
}
.service-includes-card::before {
  content: counter(inc, decimal-leading-zero);
  position: absolute;
  top: 22px;
  right: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-cyan);
  letter-spacing: 0.08em;
}
.service-includes-card-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin: 0 56px 12px 0;
}
.service-includes-card-body {
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
}

/* ---- Process: reuse .process-grid + .proc-step from sections.css.
        Local override only when step count != 4. ---- */
.service-process[data-cols="3"] .process-grid { grid-template-columns: repeat(3, 1fr); }
.service-process[data-cols="2"] .process-grid { grid-template-columns: repeat(2, 1fr); }
.service-process[data-cols="5"] .process-grid,
.service-process[data-cols="6"] .process-grid {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 980px) {
  .service-process[data-cols="3"] .process-grid,
  .service-process[data-cols="5"] .process-grid,
  .service-process[data-cols="6"] .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .service-process[data-cols="2"] .process-grid,
  .service-process[data-cols="3"] .process-grid,
  .service-process[data-cols="5"] .process-grid,
  .service-process[data-cols="6"] .process-grid { grid-template-columns: 1fr; }
}

/* ---- MDX body wrapper ---- */
.service-body .prose {
  max-width: none; /* container-narrow already constrains the wrapper */
}
.service-body .prose > :first-child { margin-top: 0; }
.service-body .prose > :last-child { margin-bottom: 0; }

/* ---- Hero price «от» (inline, compact, right of CTA) ---- */
.service-hero-ctas {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.service-hero-price {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.1;
}
.service-hero-price .price-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--fg-2);
  text-transform: uppercase;
}
.service-hero-price .price-from {
  font-size: 18px;
  font-weight: 700;
  color: var(--fg-1);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 480px) {
  .service-hero-ctas { gap: 14px; }
  .service-hero-price .price-from { font-size: 16px; }
}

/* ---- FAQ: 1fr / 2fr layout, plain Q/A cards (no JS). ---- */
.service-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 64px;
  align-items: start;
}
.service-faq-aside {
  position: sticky;
  top: 96px;
}
.service-faq-aside .section-title {
  font-size: clamp(26px, 2.4vw, 32px);
  margin-bottom: 16px;
}
.service-faq-aside p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0 0 24px;
  max-width: 380px;
}
.service-faq-aside .btn { padding: 12px 18px; font-size: 15px; }
.service-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
}
.service-faq-item {
  position: relative;
  padding: 22px 24px 22px 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand-cyan);
  border-radius: var(--r-md);
}
.service-faq-q {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin: 0 0 10px;
}
.service-faq-a {
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg-2);
  margin: 0;
}
@media (max-width: 880px) {
  .service-faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .service-faq-aside { position: static; }
  .service-faq-aside p { max-width: none; }
}

/* ---- CTA banner: enhance existing .cta-banner ---- */
.service-cta {
  position: relative;
  background: var(--bg-dark);
  background-image:
    radial-gradient(circle at 18% 22%, rgba(46, 127, 200, 0.22), transparent 42%),
    radial-gradient(circle at 82% 78%, rgba(91, 127, 168, 0.16), transparent 45%);
  color: var(--fg-on-dark);
  padding: 88px 0;
  text-align: center;
  overflow: hidden;
}
.service-cta h2 {
  color: var(--fg-on-dark);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
  max-width: 760px;
  margin: 0 auto 16px;
}
.service-cta p {
  color: var(--fg-on-dark-2);
  font-size: 17px;
  line-height: 1.55;
  max-width: 600px;
  margin: 0 auto 32px;
}
.service-cta .cta-actions { justify-content: center; }
.service-cta .btn-primary {
  background: var(--brand-cyan);
  color: #fff;
}
.service-cta .btn-primary:hover {
  background: #1F6AB0;
  color: #fff;
}
@media (max-width: 768px) {
  .service-cta { padding: 64px 0; }
}

/* ---- Related posts: reuse .related (bg-soft + 72px padding). Just align head. */
.service-related .svc-head { margin-bottom: 36px; }

/* ==========================================================================
   /uslugi/ — category landing
   ========================================================================== */

.services-category-hero {
  position: relative;
  padding: 80px 0 72px;
  background: var(--bg);
  overflow: hidden;
}
.services-category-hero::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -160px;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 127, 200, 0.10), transparent 60%);
  pointer-events: none;
}
.services-category-hero-inner {
  position: relative;
  max-width: 880px;
}
.services-category-hero h1 {
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.05;
  margin-bottom: 22px;
}
.services-category-lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0 0 36px;
  max-width: 720px;
}
.services-category-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin: 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--border);
  list-style: none;
}
.services-category-stats > li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.services-category-stats .stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--brand-navy);
}
.services-category-stats .stat-label {
  font-size: 13px;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-body);
  font-weight: 500;
}
@media (max-width: 768px) {
  .services-category-hero { padding: 56px 0 48px; }
  .services-category-stats { grid-template-columns: 1fr; gap: 18px; }
}

/* ---- Service cards grid ---- */
.services-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (max-width: 880px) {
  .services-category-grid { grid-template-columns: 1fr; }
}
.services-category-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.services-category-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-navy-100);
}
.services-category-card-link {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 0;
  width: 100%;
  text-decoration: none;
  color: inherit;
}
.services-category-card-link:hover { color: inherit; }
.services-category-card-cover {
  position: relative;
  background: #ffffff;
  overflow: hidden;
  border-right: 1px solid var(--border);
}
.services-category-card-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  transition: transform var(--dur-slow) var(--ease-out);
}
.services-category-card-link:hover .services-category-card-cover img {
  transform: scale(1.04);
}
.services-category-card-body {
  position: relative;
  padding: 28px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.services-category-card-num {
  position: absolute;
  top: 24px;
  right: 26px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-cyan);
  letter-spacing: 0.08em;
}
.services-category-card-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--fg);
  margin: 0 56px 0 0;
}
.services-category-card-link:hover .services-category-card-title {
  color: var(--brand-navy);
}
.services-category-card-summary {
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.services-category-card-points {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.services-category-card-points li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.4;
}
.services-category-card-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 1.5px;
  background: var(--brand-cyan);
}
.services-category-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-cyan);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.services-category-card-cta svg {
  transition: transform var(--dur-fast) var(--ease-out);
}
.services-category-card-link:hover .services-category-card-cta svg {
  transform: translateX(3px);
}
@media (max-width: 600px) {
  .services-category-card-link { grid-template-columns: 1fr; }
  .services-category-card-cover {
    aspect-ratio: 16 / 10;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .services-category-card-body { padding: 22px 22px 22px; }
}

/* ====================================================================== */
/* Reviews                                                                 */
/* ====================================================================== */
.reviews-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 28px;
}
.reviews-head .svc-head { margin: 0; }
.reviews-nav {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.reviews-nav-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface-1, #fff);
  color: var(--fg-1);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 150ms ease, color 150ms ease, background 150ms ease;
}
.reviews-nav-btn:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
}
.reviews-nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
@media (max-width: 600px) {
  .reviews-head { flex-direction: column; align-items: flex-start; }
  .reviews-nav { align-self: flex-end; }
}

.reviews-slider {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  margin: 0 -8px;
  padding: 4px 8px 12px;
  scrollbar-width: none;
}
.reviews-slider::-webkit-scrollbar { display: none; }

.reviews-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 40px) / 3);
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (max-width: 1080px) {
  .reviews-track { grid-auto-columns: calc((100% - 20px) / 2); }
}
@media (max-width: 680px) {
  .reviews-track { grid-auto-columns: 88%; gap: 16px; }
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface-1, #fff);
  scroll-snap-align: start;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.review-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 25, 40, 0.06);
  border-color: var(--accent-soft, var(--border));
}

.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.reviews-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background 150ms ease, transform 150ms ease;
}
.reviews-dot:hover { background: var(--fg-2); }
.reviews-dot.is-active {
  background: var(--accent);
  transform: scale(1.3);
}
.reviews-dots:empty { display: none; }
.review-quote-wrap { position: relative; flex: 1; }
.review-quote-mark {
  color: var(--accent-soft, #c8e7f0);
  display: block;
  margin-bottom: 8px;
}
.review-quote {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--fg-1);
  margin: 0;
}
.review-meta {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.review-avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #0e2438;
  background: var(--accent-soft, #d6ecf3);
}
.review-avatar-accent-1 { background: #d6ecf3; color: #0e2438; }
.review-avatar-accent-2 { background: #fde7d6; color: #4a2a10; }
.review-avatar-accent-3 { background: #e3e6f5; color: #1f244a; }
.review-avatar-accent-4 { background: #d8eed8; color: #16321a; }
.review-author-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.review-author { font-size: 14px; font-weight: 600; color: var(--fg-1); }
.review-role { font-size: 13px; color: var(--fg-2); line-height: 1.35; }
.review-date {
  font-size: 12px;
  color: var(--fg-3, var(--fg-2));
  margin-top: 2px;
}

/* ====================================================================== */
/* Lead Modal (native dialog)                                              */
/* ====================================================================== */
.lead-modal {
  border: none;
  padding: 0;
  background: transparent;
  max-width: 560px;
  width: calc(100% - 32px);
  max-height: calc(100vh - 32px);
  border-radius: 18px;
  overflow: visible;
  margin: auto;
  inset: 0;
}
.lead-modal::backdrop {
  background: rgba(10, 18, 30, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
@keyframes leadModalIn {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.lead-modal[open] .lead-modal-inner {
  animation: leadModalIn 160ms ease-out;
}
.lead-modal-inner {
  position: relative;
  background: var(--surface-1, #fff);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(8, 18, 32, 0.28);
  padding: 32px 28px 28px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
}
.lead-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--fg-2);
  cursor: pointer;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 150ms ease, color 150ms ease;
}
.lead-modal-close:hover { background: var(--surface-2, #f3f5f8); color: var(--fg-1); }
.lead-modal-title {
  font-size: clamp(22px, 2.4vw, 26px);
  line-height: 1.2;
  margin: 6px 0 8px;
  color: var(--fg-1);
}
.lead-modal-sub {
  font-size: 14px;
  line-height: 1.5;
  color: var(--fg-2);
  margin: 0 0 20px;
}
.lead-form { display: flex; flex-direction: column; gap: 14px; }
.lead-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 480px) {
  .lead-form .form-row { grid-template-columns: 1fr; }
}
.lead-form .field { display: flex; flex-direction: column; gap: 6px; }
.lead-form label {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-2);
}
.lead-form .input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  background: var(--surface-1, #fff);
  color: var(--fg-1);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.lead-form .input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft, rgba(0, 122, 153, 0.15));
}
.lead-channels {
  border: none;
  padding: 0;
  margin: 4px 0 4px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.lead-channels-legend {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-2);
  padding: 0;
  margin-bottom: 6px;
  grid-column: 1 / -1;
}
@media (max-width: 480px) {
  .lead-channels { grid-template-columns: 1fr; }
}
.lead-channel { position: relative; display: block; cursor: pointer; }
.lead-channel input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.lead-channel-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  color: var(--fg-1);
  transition: border-color 150ms ease, background 150ms ease;
  text-align: center;
}
.lead-channel input[type="radio"]:checked + .lead-channel-box {
  border-color: var(--accent);
  background: var(--accent-soft, #eaf5f9);
  color: var(--accent);
}
.lead-channel input[type="radio"]:focus-visible + .lead-channel-box {
  box-shadow: 0 0 0 3px var(--accent-soft, rgba(0, 122, 153, 0.2));
}
.lead-form .check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  font-size: 13px;
  line-height: 1.45;
  color: var(--fg-2);
  cursor: pointer;
  position: relative;
}
.lead-form .check + .check { margin-top: -30px; }
.lead-form .check input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.lead-form .check-box {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: transparent;
  transition: border-color 120ms ease, background 120ms ease, color 120ms ease;
  margin-top: 1px;
}
.lead-form .check-box svg {
  width: 14px;
  height: 14px;
  display: block;
}
.lead-form .check input[type="checkbox"]:checked + .check-box {
  background: #007a99;
  border-color: #007a99;
  color: #fff;
}
.lead-form .check input[type="checkbox"]:focus-visible + .check-box {
  box-shadow: 0 0 0 3px rgba(0, 122, 153, 0.2);
}
.lead-form .check-text a { color: #007a99; text-decoration: underline; }
.lead-form .btn-block { width: 100%; justify-content: center; margin-top: 4px; }

.lead-modal-success {
  text-align: center;
  padding: 16px 8px 8px;
}
.lead-modal-success .success-mark {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent-soft, #d6ecf3);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.lead-modal-success h3 {
  font-size: 22px;
  margin: 0 0 8px;
  color: var(--fg-1);
}
.lead-modal-success p {
  color: var(--fg-2);
  margin: 0 0 18px;
}

/* ====================================================================== */
/* /uslugi/ category card with two CTAs                                    */
/* ====================================================================== */
.services-category-card-actions {
  display: flex;
  gap: 8px;
  padding: 14px 24px 18px;
  border-top: 1px solid var(--border);
  background: var(--bg);
  flex-wrap: wrap;
}
.services-category-card-actions .btn {
  flex: 1 1 0;
  min-width: 0;
  justify-content: center;
}
@media (max-width: 480px) {
  .services-category-card-actions { gap: 6px; padding: 12px 18px 14px; }
  .services-category-card-actions .btn { font-size: 13px; padding: 10px 12px; }
}
