/* RemTeam - service and price pages */

.catalog-hero {
  display: grid;
  gap: 14px;
  max-width: 840px;
  margin-bottom: clamp(24px, 4vw, 40px);
}

.catalog-hero h1 {
  font-size: var(--step-3);
}

.catalog-hero__lead {
  max-width: 68ch;
  font-size: var(--step-1);
  color: var(--muted);
}

.catalog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.catalog-intro {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin-bottom: clamp(26px, 4vw, 40px);
}

.catalog-intro p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
}

.catalog-block {
  margin-top: clamp(30px, 5vw, 48px);
}

.catalog-block__title {
  margin-bottom: 14px;
  font-size: var(--step-2);
}

.catalog-block__note {
  max-width: 80ch;
  margin-bottom: 14px;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--muted);
}

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

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.price-table th,
.price-table td {
  padding: 13px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.price-table th {
  background: var(--surface-2);
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

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

.price-table td:first-child {
  min-width: 220px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
}

.price-table__models {
  display: block;
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--muted);
}

.price-table__price {
  white-space: nowrap;
  font-weight: 600;
  color: var(--brand-700);
}

.price-table__price--muted {
  font-weight: 500;
  color: var(--muted);
}

.catalog-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-highlights span {
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border-radius: var(--r-pill);
  background: var(--brand-50);
  color: var(--brand-700);
  font-size: 0.84rem;
  font-weight: 600;
}

.catalog-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.catalog-benefits li {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
}

.catalog-benefits strong {
  font-family: var(--font-head);
  font-size: 0.98rem;
  color: var(--ink);
}

.catalog-benefits span {
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--muted);
}

.catalog-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  counter-reset: step;
}

.catalog-steps li {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  counter-increment: step;
}

.catalog-steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand-600);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.84rem;
  font-weight: 700;
}

.catalog-steps strong {
  font-family: var(--font-head);
  font-size: 0.98rem;
  color: var(--ink);
}

.catalog-steps span {
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--muted);
}

.catalog-faq {
  display: grid;
  gap: 10px;
}

.catalog-guarantee {
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--brand-50);
}

.catalog-guarantee p {
  max-width: 80ch;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text);
}

.catalog-guarantee p + p {
  margin-top: 8px;
}

.catalog-related {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding-top: 8px;
}

.catalog-related a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand-700);
}

.catalog-related a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.catalog-back {
  margin-top: 30px;
}

.catalog-back a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-700);
}

@media (max-width: 900px) {
  .catalog-benefits,
  .catalog-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .price-table th,
  .price-table td {
    padding: 11px 12px;
  }

  .price-table td:first-child {
    min-width: 170px;
  }

  .catalog-actions .btn {
    flex: 1;
  }
}
