/* ═══════════════════════════════════════════════════════════
   АКСТО · Service — Общие стили страниц услуг
   Зависит от: tokens.css, base.css, chrome.css, system.css
═══════════════════════════════════════════════════════════ */

/* ── Hero ── */
.hero {
  padding: 64px 0 48px;
  text-align: left;
  max-width: 800px;
}
.hero h1 {
  font-size: var(--t-hero);
  font-weight: 200;
  letter-spacing: -.04em;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 16px;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero p {
  font-size: 18px;
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 580px;
}
@media (max-width: 720px) {
  .hero { padding: 40px 0 32px; }
  .hero p { font-size: 16px; }
}

/* ── Service Cards Grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 64px;
}
@media (max-width: 920px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--surface);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .2s, background .2s;
  position: relative;
}
.service-card:hover {
  border-color: 1px solid var(--line-2);
  /* no transform — flat per UI Kit */
}
.service-card--featured {
  background: var(--accent-bg);
  border: 1px solid var(--accent-line);
  margin: -1px;
}
.service-card--new {
  /* subtle indicator via accent line */
}

.service-card .service-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-card .service-icon svg {
  color: var(--accent);
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
}
.service-card--featured .service-icon {
  background: var(--accent);
}
.service-card--featured .service-icon svg {
  color: var(--surface);
}

.service-card h3 {
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -.01em;
  color: var(--ink);
  line-height: 1.3;
}
.service-card p {
  font-size: var(--t-body);  /* 16px per UI Kit */
  color: var(--ink-2);
  line-height: 1.6;
  flex: 1;
}
.service-price {
  font-family: var(--mono);
  font-size: 20px;
  color: var(--ink);
  letter-spacing: -.01em;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.service-card a {
  font-weight: 500;
  font-size: var(--t-small);
  color: var(--ink);
  transition: color .15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-card a::after {
  content: '→';
  font-size: 16px;
  transition: transform .15s;
}
.service-card a:hover {
  color: var(--accent);
}
.service-card a:hover::after {
  transform: translateX(3px);
}

/* ── Section Label ── */
.services-section-label {
  margin-bottom: 28px;
}
.services-section-label h2 {
  font-weight: 300;
  font-size: var(--t-h2);
  letter-spacing: -.03em;
  color: var(--ink);
}
.services-section-label h2::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--accent);
  margin-right: 14px;
  vertical-align: middle;
  margin-top: -4px;
}

/* ── How it works ── */
.how-it-works {
  padding: 80px 0;
}
.how-it-works h2 {
  font-weight: 300;
  font-size: var(--t-h2);
  letter-spacing: -.03em;
  color: var(--ink);
  text-align: center;
  margin-bottom: 48px;
}
@media (max-width: 640px) {
  .how-it-works { padding: 48px 0; }
}

/* ── CTA Section ── */
.cta-section {
  text-align: center;
  padding: 64px 48px;
  background: var(--surface);
  border: 1px solid var(--line);
  margin: 64px 0 80px;
}
@media (max-width: 640px) {
  .cta-section { padding: 48px 24px; margin: 40px 0 56px; }
}
.cta-section h2 {
  font-weight: 300;
  font-size: var(--t-h2);
  letter-spacing: -.03em;
  color: var(--ink);
  margin-bottom: 12px;
}
.cta-section p {
  font-size: var(--t-body);
  color: var(--ink-2);
  margin-bottom: 28px;
  max-width: 500px;
  margin-inline: auto;
}
