:root {
  --radius: 0.5rem;
  --background: oklch(0.19 0.028 255);
  --foreground: oklch(0.97 0.005 250);
  --surface: oklch(0.22 0.03 255);
  --surface-elevated: oklch(0.26 0.032 255);
  --card: oklch(0.22 0.03 255);
  --card-foreground: oklch(0.97 0.005 250);
  --popover: oklch(0.22 0.03 255);
  --popover-foreground: oklch(0.97 0.005 250);
  --primary: oklch(0.72 0.17 55);
  --primary-foreground: oklch(0.16 0.025 255);
  --secondary: oklch(0.28 0.032 255);
  --secondary-foreground: oklch(0.97 0.005 250);
  --muted: oklch(0.26 0.03 255);
  --muted-foreground: oklch(0.72 0.02 255);
  --accent: oklch(0.72 0.17 55);
  --accent-foreground: oklch(0.16 0.025 255);
  --destructive: oklch(0.6 0.22 25);
  --destructive-foreground: oklch(0.98 0 0);
  --border: oklch(0.32 0.028 255 / 60%);
  --input: oklch(0.3 0.028 255);
  --ring: oklch(0.72 0.17 55);
}

.dark {
  --background: oklch(0.19 0.028 255);
  --foreground: oklch(0.97 0.005 250);
}

.icon {
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.service-card {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.service-card:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

.service-card-link {
  width: 100%;
}

.service-prose h2 {
  margin: 0 0 1rem;
  font-size: 1.75rem;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.service-prose h2 + p,
.service-prose h2 + ul {
  margin-top: 0;
}

.service-prose p {
  margin: 0 0 1rem;
  color: var(--muted-foreground);
  line-height: 1.65;
}

.service-prose ul {
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.service-prose li {
  position: relative;
  margin: 0 0 0.7rem;
  padding-left: 1.25rem;
  color: var(--foreground);
  line-height: 1.5;
}

.service-prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--primary);
}

.service-prose h2:not(:first-child) {
  margin-top: 2.5rem;
}

.price-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--surface);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 320px;
}

.price-table th,
.price-table td {
  padding: 0.9rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.price-table th {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  background: color-mix(in oklab, var(--background) 70%, transparent);
}

.price-table tr:last-child td {
  border-bottom: 0;
}

.price-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

/* Reviews */
.review-source {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--background);
  padding: 0.45rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--foreground);
}

.review-source__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.45rem;
  flex-shrink: 0;
  overflow: hidden;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.review-source__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.review-source__icon--yandex img {
  transform: scale(0.92);
}

.review-source__icon--2gis img {
  width: 2.7rem;
  max-width: none;
  object-fit: cover;
  object-position: left center;
}

.review-source__icon--avito img {
  transform: scale(0.88);
}

.reviews-track {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in oklab, var(--muted-foreground) 50%, transparent) transparent;
}

.reviews-track::-webkit-scrollbar {
  height: 8px;
}

.reviews-track::-webkit-scrollbar-track {
  background: transparent;
}

.reviews-track::-webkit-scrollbar-thumb {
  background: color-mix(in oklab, var(--muted-foreground) 50%, transparent);
  border-radius: 999px;
}

@media (min-width: 768px) {
  .js-enabled .js-extra-review {
    display: none;
  }

  .js-enabled .js-reviews-section.reviews-expanded .js-extra-review {
    display: flex;
  }
}

.footer-dev {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid color-mix(in oklab, var(--muted-foreground) 35%, transparent);
  border-radius: 6px;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.footer-dev:hover {
  border-color: color-mix(in oklab, var(--muted-foreground) 70%, transparent);
  color: var(--foreground);
}
