/* ---- hero ---- */
.hero-komu {
  padding-top: var(--s11);
  padding-bottom: var(--s9);
  background: var(--sky);
  border-bottom: 1px solid var(--line);
}
.hero-komu .wrap {
  text-align: center;
}
.hero-komu h1 em {
  font-family: Literata, Georgia, serif;
  font-style: italic;
  font-weight: 300;
  color: var(--blue);
}
.hero-komu .lede {
  max-width: 36em;
  margin: var(--s5) auto 0;
  font-size: 19px;
  color: var(--ink-mid);
}
.hero-actions {
  display: flex;
  gap: var(--s3);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--s7);
}

/* ---- categories ---- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
  margin-top: var(--s8);
}

.who-card {
  display: flex;
  flex-direction: column;
  padding: var(--s7);
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
  border-color: var(--line);
}
.who-card:hover {
  box-shadow: var(--sh-2);
  transform: translateY(-3px);
  border-color: var(--line-2);
}

.who-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  margin-bottom: var(--s3);
}
.who-card-top .ico {
  margin-bottom: 0;
  flex: none;
}
.who-stats {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: lowercase;
  color: var(--ink-soft);
}
.who-card .tag {
  align-self: flex-start;
  margin: var(--s3) 0;
  font-size: 13px;
  padding: 0 var(--s3);
  height: 28px;
  background: var(--blue-pale);
  color: var(--blue-deep);
  border-radius: 6px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.who-desc {
  margin: var(--s4) 0;
  color: var(--ink-mid);
  font-size: 16px;
  flex: 1;
  line-height: 1.6;
}
.who-list {
  margin-top: var(--s5);
  padding-top: var(--s4);
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}
.who-list li {
  display: flex;
  align-items: center;
  gap: var(--s3);
  font-size: 15px;
  color: var(--ink-mid);
  line-height: 1.4;
}
.who-list li svg {
  width: 16px;
  height: 16px;
  flex: none;
  fill: var(--mint);
}

/* ---- features ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  margin-top: var(--s8);
}
.feature-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: var(--s6);
  transition: box-shadow 0.25s, transform 0.25s;
}
.feature-item:hover {
  box-shadow: var(--sh-2);
  transform: translateY(-2px);
}
.feature-ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-pale);
  color: var(--blue-deep);
  margin-bottom: var(--s4);
}
.feature-ico svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.feature-item h4 {
  margin-bottom: var(--s2);
}
.feature-item p {
  font-size: 15px;
  color: var(--ink-mid);
  line-height: 1.6;
}

/* ---- testimonials ---- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
  margin-top: var(--s8);
}

.testimony {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: var(--s7);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, transform 0.25s;
}
.testimony:hover {
  box-shadow: var(--sh-2);
  transform: translateY(-2px);
}
.testimony-quote {
  font-family: Literata, Georgia, serif;
  font-size: 48px;
  line-height: 0.7;
  color: var(--blue-ghost);
  margin-bottom: var(--s2);
}
.testimony blockquote {
  margin: 0;
  font-family: Literata, Georgia, serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink);
  flex: 1;
}
.testimony cite {
  display: flex;
  flex-direction: column;
  gap: var(--s1);
  margin-top: var(--s5);
  padding-top: var(--s4);
  border-top: 1px solid var(--line);
  font-style: normal;
}
.testimony .name {
  font-weight: 600;
  color: var(--ink);
}
.testimony .role {
  font-size: 14px;
  color: var(--ink-soft);
}

/* ---- faq ---- */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s4) var(--s6);
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: var(--s3) 0;
}
.faq-item.on {
  border-bottom-color: var(--blue);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  width: 100%;
  padding: var(--s3) 0;
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  font-size: 16px;
  text-align: left;
  color: var(--ink);
  transition: color 0.18s;
}
.faq-q:hover {
  color: var(--blue);
}
.faq-q .pm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--line);
  color: var(--ink-mid);
  font-size: 18px;
  font-weight: 300;
  flex: none;
  transition: background 0.18s, transform 0.18s;
}
.faq-item.on .faq-q .pm {
  background: var(--blue);
  color: #fff;
}

.faq-a {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
              opacity 0.25s cubic-bezier(0.22, 0.61, 0.36, 1),
              padding 0.25s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.faq-item.on .faq-a {
  max-height: 460px;
  opacity: 1;
  padding-top: var(--s3);
}
.faq-a p {
  font-size: 15px;
  color: var(--ink-mid);
  line-height: 1.6;
  margin: 0;
}

.faq-footer {
  margin-top: var(--s7);
  padding-top: var(--s5);
  border-top: 1px solid var(--line);
  text-align: center;
}
.faq-footer p {
  font-size: 15px;
  color: var(--ink-mid);
}

/* ---- cta ---- */
.cta-actions {
  display: flex;
  gap: var(--s3);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--s7);
}

/* ---- адаптив ---- */
@media (min-width: 1400px) {
  .categories-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1024px) {
  .categories-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 960px) {
  .hero-komu {
    padding-top: var(--s9);
  }
  .hero-komu .lede {
    font-size: 17px;
  }
}
@media (max-width: 760px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .who-card {
    padding: var(--s5);
  }
  .testimony {
    padding: var(--s5);
  }
  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .who-card-top {
    flex-wrap: wrap;
  }
  .who-stats {
    font-size: 11px;
  }
}
/* Подпись под ситуацией — не имя человека, а название случая. */
.testimony .name {
  font-size: 16px;
  letter-spacing: -0.01em;
}
.testimony .role {
  text-transform: lowercase;
}