/* LogiPay — Услуги, О нас, Почему мы, Кейсы (по logipay.tilda.ws) */

/* Общий заголовок секций */
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 40px;
  text-align: center;
}

.section-title--light {
  color: var(--white);
  margin-bottom: 32px;
}

/* ——— Услуги ——— */
.services {
  padding: 80px 0;
  background: var(--bg-section);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  border-color: var(--teal);
  box-shadow: 0 8px 40px rgba(45, 135, 145, 0.12);
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 12px;
}

.service-card__text {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-mid);
  margin: 0 0 20px;
}

.service-card__link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--teal);
  transition: color 0.2s;
}

.service-card__link:hover {
  color: var(--teal-light);
}

/* ——— О компании ——— */
.about {
  padding: 80px 0;
  background: var(--white);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.about__lead {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-dark);
  margin: 0 0 16px;
}

.about__text {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-mid);
  margin: 0 0 20px;
}

.about__mission {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--teal);
  margin: 0;
}

.about__map-block {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 40px;
  color: var(--white);
}

.about__map-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 12px;
}

.about__map-desc {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* ——— Почему мы ——— */
.why {
  padding: 80px 0;
  background: var(--navy);
  color: var(--white);
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 28px;
  transition: background 0.2s, border-color 0.2s;
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(45, 135, 145, 0.5);
}

.why-card__num {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 12px;
  line-height: 1;
}

.why-card__title {
  font-size: 1.0625rem;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--white);
}

.why-card__text {
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* ——— Кейсы ——— */
.cases {
  padding: 80px 0;
  background: var(--bg-section);
}

.cases__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.case-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow);
}

.case-card__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--teal);
  background: rgba(45, 135, 145, 0.12);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.case-card__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 8px;
}

.case-card__result {
  font-size: 0.9375rem;
  color: var(--text-mid);
  margin: 0;
}
