/* Subpages: инструменты, решения, контакты */
.page-sub {
  min-height: 100vh;
}
.page-sub__hero {
  padding: calc(var(--nav-h) + var(--s-12)) 0 var(--s-12);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(240,168,48,0.06), transparent 60%);
}
.page-sub__hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: var(--s-4);
}
.page-sub__hero p {
  color: var(--text-secondary);
  max-width: 640px;
  font-size: 1.0625rem;
  line-height: 1.65;
}
@media (max-width: 768px) {
  .page-sub__hero {
    padding: calc(var(--nav-h) + var(--s-8)) 0 var(--s-8);
  }
  .page-sub__hero h1 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
  .page-sub .nav__links,
  .page-sub .nav__actions { display: none; }
  .page-sub .nav__hamburger { display: flex; }
  .tools-grid,
  .solutions-grid,
  .contact-cards { grid-template-columns: 1fr; }
  .blog-preview-grid { grid-template-columns: 1fr; }
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--s-5);
  margin-top: var(--s-8);
}
.tool-card {
  display: flex;
  flex-direction: column;
  padding: var(--s-6);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.tool-card:hover {
  border-color: var(--border-brand);
  transform: translateY(-3px);
}
.tool-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-muted);
  border-radius: var(--r-md);
  color: var(--brand-light);
  margin-bottom: var(--s-4);
}
.tool-card__title {
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: var(--s-2);
}
.tool-card__desc {
  font-size: var(--text-small);
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}
.tool-card__link {
  margin-top: var(--s-4);
  font-size: var(--text-small);
  color: var(--brand-light);
}
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--s-5);
}
.solution-card {
  padding: var(--s-6);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
}
.solution-card h3 { margin-bottom: var(--s-3); font-size: 1.125rem; }
.solution-card p { font-size: var(--text-small); color: var(--text-secondary); line-height: 1.65; }
.solution-card ul { margin-top: var(--s-3); font-size: var(--text-small); color: var(--text-muted); padding-left: var(--s-5); }
.integrations-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  justify-content: center;
  margin-top: var(--s-6);
}
.integration-pill {
  padding: var(--s-3) var(--s-5);
  border-radius: var(--r-full);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  font-size: var(--text-small);
  color: var(--text-secondary);
  text-decoration: none;
  transition: border-color var(--t-fast);
}
.integration-pill:hover { border-color: var(--brand); color: var(--text); }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-small);
  margin-top: var(--s-6);
}
.compare-table th, .compare-table td {
  padding: var(--s-4);
  border: 1px solid var(--border);
  text-align: left;
}
.compare-table th { background: var(--bg-elevated); }
.compare-table .yes { color: var(--success); }
.compare-table .no { color: var(--text-muted); }
.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--s-5);
  margin-top: var(--s-6);
}
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--s-5);
  margin-top: var(--s-8);
}
.contact-card {
  padding: var(--s-6);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
}
.contact-card h3 { font-size: 1rem; margin-bottom: var(--s-2); }
.contact-card a { color: var(--brand-light); }
.blog-card {
  display: block;
  padding: var(--s-6);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--t-fast);
}
.blog-card:hover { border-color: var(--border-brand); }
.blog-card__date { font-size: var(--text-xs); color: var(--text-muted); margin-bottom: var(--s-2); }
.blog-card__title { font-size: 1.0625rem; font-weight: 600; margin-bottom: var(--s-2); }
.blog-card__desc { font-size: var(--text-small); color: var(--text-secondary); line-height: 1.6; }
.blog-card__link { display: inline-block; margin-top: var(--s-4); font-size: var(--text-small); color: var(--brand-light); }
