/**
 * Стили страницы «О нас» (slug: about).
 * Дизайн-система сайта: градиенты, карточки, переменные.
 */

.lsi-about-page {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Roboto", sans-serif;
  color: #1b1b1b;
  line-height: 1.7;
}

.lsi-about-page a {
  color: #004a99;
  text-decoration: none;
}
.lsi-about-page a:hover {
  text-decoration: underline;
}

.lsi-about-page .container {
  width: min(1140px, 100% - 32px);
  margin: 0 auto;
}

/* ── Buttons ── */
.ab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.1s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.ab-btn:hover { text-decoration: none; }

.lsi-about-page a.ab-btn--primary {
  background: linear-gradient(135deg, #004a99, #022c5c);
  color: #fff;
  box-shadow: 0 14px 30px rgba(0, 74, 153, 0.35);
}
.lsi-about-page a.ab-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0, 74, 153, 0.45);
  color: #fff;
}

.lsi-about-page a.ab-btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}
.lsi-about-page a.ab-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.lsi-about-page a.ab-btn--white {
  background: #fff;
  color: #022c5c;
  font-weight: 700;
  box-shadow: 0 8px 28px rgba(255, 255, 255, 0.18);
}
.lsi-about-page a.ab-btn--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(255, 255, 255, 0.25);
  color: #022c5c;
}

.lsi-about-page a.ab-btn--outline {
  background: transparent;
  border: 1px solid rgba(0, 74, 153, 0.25);
  color: #004a99;
}
.lsi-about-page a.ab-btn--outline:hover {
  border-color: #004a99;
  background: rgba(0, 74, 153, 0.05);
  color: #004a99;
}

/* ── Hero ── */
.ab-hero {
  padding: 56px 0 48px;
  background: radial-gradient(circle at top left, rgba(100, 180, 255, 0.18) 0, rgba(0, 74, 153, 0.95) 40%, #021835 100%);
  color: #fff;
}

.ab-hero__inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: center;
}

.ab-hero__badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.ab-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(30px, 3.5vw, 42px);
  line-height: 1.2;
  color: #fff;
}

.ab-hero__subtitle {
  margin: 0 0 28px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  line-height: 1.7;
}

.ab-hero__stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.ab-hero__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ab-hero__stat-num {
  font-size: 22px;
  font-weight: 800;
  color: #ffb400;
}

.ab-hero__stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.ab-hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Photo card */
.ab-hero__photo-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  border: 3px solid rgba(255, 255, 255, 0.15);
  background: linear-gradient(135deg, #021835 0%, #004a99 100%);
}

.ab-hero__photo-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background:
    radial-gradient(ellipse at center, transparent 50%, rgba(2, 24, 53, 0.6) 100%),
    linear-gradient(to bottom, transparent 60%, rgba(2, 24, 53, 0.85) 100%);
  pointer-events: none;
  z-index: 1;
}

.ab-hero__photo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}

.ab-hero__photo-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 16px;
  background: linear-gradient(transparent, rgba(2, 24, 53, 0.75));
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
}

/* ── Sections ── */
.ab-section {
  padding: 48px 0;
}

.ab-section--light {
  background: #f4f6fb;
}

.ab-section--accent {
  background: radial-gradient(circle at top left, rgba(100, 180, 255, 0.14) 0, #004a99 48%, #022c5c 100%);
  color: #fff;
  padding: 40px 0;
}

.ab-section--cta {
  background: linear-gradient(120deg, #022c5c, #004a99);
  color: #fff;
  padding: 40px 0;
}

.ab-section__title {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.5vw, 28px);
  text-align: center;
}

.ab-section--accent .ab-section__title,
.ab-section--cta .ab-section__title {
  color: #fff;
}

.ab-section__subtitle {
  margin: 0 0 32px;
  font-size: 15px;
  color: #6b6f7a;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.ab-section--accent .ab-section__subtitle {
  color: rgba(255, 255, 255, 0.85);
}

/* ── Grid ── */
.ab-grid {
  display: grid;
  gap: 20px;
}
.ab-grid--2 { grid-template-columns: repeat(2, 1fr); }
.ab-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ── Value cards ── */
.ab-value-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.ab-value-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.1);
}

.ab-value-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 74, 153, 0.08), rgba(0, 74, 153, 0.14));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #004a99;
  margin-bottom: 16px;
}

.ab-value-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.ab-value-card p {
  margin: 0;
  font-size: 14px;
  color: #6b6f7a;
  line-height: 1.7;
}

/* ── Service cards ── */
.ab-service-card {
  display: block;
  background: #fff;
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.04);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.lsi-about-page a.ab-service-card {
  color: #1b1b1b;
}
.ab-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 74, 153, 0.15);
  text-decoration: none;
}
.lsi-about-page a.ab-service-card:hover {
  color: #1b1b1b;
}

.ab-service-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 74, 153, 0.08), rgba(0, 74, 153, 0.14));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #004a99;
  margin-bottom: 14px;
}

.ab-service-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #1b1b1b;
}

.ab-service-card p {
  margin: 0;
  font-size: 13px;
  color: #6b6f7a;
  line-height: 1.65;
}

/* ── Process steps ── */
.ab-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ab-process__step {
  background: #fff;
  border-radius: 16px;
  padding: 28px 20px 24px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.ab-process__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #004a99, #022c5c);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 14px;
}

.ab-process__step h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.ab-process__step p {
  margin: 0;
  font-size: 13px;
  color: #6b6f7a;
  line-height: 1.65;
}

/* ── Timeline cards ── */
.ab-timeline-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-left: 4px solid #004a99;
}

.ab-timeline-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 74, 153, 0.08), rgba(0, 74, 153, 0.14));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #004a99;
  margin-bottom: 14px;
}

.ab-timeline-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.ab-timeline-card p {
  margin: 0;
  font-size: 14px;
  color: #6b6f7a;
  line-height: 1.7;
}

/* ── Quote ── */
.ab-quote {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.ab-quote blockquote {
  margin: 0 0 20px;
}

.ab-quote blockquote p {
  margin: 0;
  font-size: 18px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.7;
}

.ab-quote__author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ab-quote__author strong {
  font-size: 16px;
  color: #fff;
}

.ab-quote__author span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

/* ── Case cards ── */
.ab-case-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.ab-case-card h3 {
  margin: 0 0 4px;
  font-size: 17px;
}

.ab-case-card__site {
  margin: 0 0 16px;
  font-size: 13px;
  color: #6b6f7a;
}

.ab-case-card__results {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ab-case-card__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: #f4f6fb;
  border-radius: 8px;
  font-size: 13px;
}

.ab-case-card__row span:first-child {
  color: #333;
  flex: 1;
  min-width: 0;
}

.ab-case-card__pos {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #004a99, #022c5c);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.ab-cases-all {
  text-align: center;
  margin: 28px 0 0;
}

/* ── CTA ── */
.ab-cta__inner {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 32px;
  align-items: center;
}

.ab-cta__inner h2 {
  margin: 0 0 10px;
  font-size: 24px;
  color: #fff;
}

.ab-cta__inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.ab-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .ab-process {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .ab-hero__inner {
    grid-template-columns: 1fr;
  }
  .ab-hero__photo-card {
    max-width: 320px;
  }
  .ab-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .ab-cta__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .ab-cta__actions {
    flex-direction: row;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .ab-hero {
    padding: 42px 0 36px;
  }
  .ab-section {
    padding: 36px 0;
  }
  .ab-grid--2,
  .ab-grid--3 {
    grid-template-columns: 1fr;
  }
  .ab-process {
    grid-template-columns: 1fr;
  }
  .ab-hero__stats {
    gap: 20px;
  }
  .ab-hero__cta {
    flex-direction: column;
  }
  .ab-cta__actions {
    flex-direction: column;
  }
}
