/* ==========================================================================
   ABOUT PAGE - страница-презентация «О проекте» (site/about).
   Тёмный герой с указом → суть проекта → пилот 2025 → семь идей → цель.
   Двуязычная: одна разметка, тексты подставляются во view.
   ========================================================================== */

.ab {
  --ab-ink:    #0B1E3E;
  --ab-gold:   #C9A84C;
  --ab-muted:  #5B6577;
  --ab-line:   #E9EAEC;
  --ab-soft:   #FAF9F9;
  background: var(--rn-white);
}

/* ---- Хлебные крошки над героем ---- */
.ab-crumbs { padding: 20px 0 16px; }

.ab-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 78% -10%, rgba(201, 168, 76, .22), transparent 60%),
    linear-gradient(160deg, #0B1E3E 0%, #123059 58%, #0B1E3E 100%);
  color: var(--rn-white);
  padding: 56px 0 64px;
}

.ab-hero::after {
  content: "";
  position: absolute;
  right: -60px; bottom: -120px;
  width: 420px; height: 420px;
  background: url("../assets/footer/footer-logo.png") no-repeat center / contain;
  opacity: .07;
  pointer-events: none;
}

.ab-hero__inner { position: relative; z-index: 1; max-width: 900px; }

.ab-hero__logo {
  display: block;
  width: 192px; height: 80px;
  margin-bottom: 28px;
  background: url("../assets/footer/footer-logo.png") no-repeat left center / contain;
}

.ab-hero__kicker {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 14px;
  border: 1px solid rgba(201, 168, 76, .5);
  border-radius: 999px;
  color: var(--ab-gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ab-hero__title {
  margin: 0 0 20px;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 44px;
  line-height: 54px;
  text-transform: uppercase;
}

.ab-hero__rule {
  width: 96px; height: 3px;
  margin-bottom: 24px;
  background: var(--ab-gold);
}

.ab-hero__lead {
  margin: 0;
  max-width: 760px;
  font-size: 18px;
  line-height: 30px;
  color: rgba(255, 255, 255, .86);
}

.ab-decree {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  max-width: 900px;
  margin-top: 32px;
  padding: 22px 26px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-left: 3px solid var(--ab-gold);
  border-radius: 8px;
}

.ab-decree__icon {
  flex: 0 0 auto;
  font-size: 24px;
  line-height: 1;
  color: var(--ab-gold);
}

.ab-decree__text {
  margin: 0;
  font-size: 16px;
  line-height: 27px;
  color: rgba(255, 255, 255, .92);
}

.ab-sec { padding: 72px 0; }
.ab-sec--soft { background: var(--ab-soft); }

.ab-sec__kicker {
  margin: 0 0 10px;
  color: var(--ab-gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ab-sec__title {
  margin: 0 0 18px;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 42px;
  color: var(--ab-ink);
}

.ab-sec__rule {
  width: 72px; height: 3px;
  margin-bottom: 26px;
  background: var(--ab-gold);
}

.ab-p {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 30px;
  color: #2A3242;
}

.ab-p--lead { font-size: 19px; line-height: 33px; }
.ab-p:last-child { margin-bottom: 0; }

.ab-note {
  height: 100%;
  padding: 30px 32px;
  background: var(--ab-ink);
  color: var(--rn-white);
  border-radius: 10px;
}

.ab-note__label {
  display: block;
  margin-bottom: 12px;
  color: var(--ab-gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ab-note__text {
  margin: 0;
  font-size: 17px;
  line-height: 29px;
  color: rgba(255, 255, 255, .9);
}

.ab-stat {
  height: 100%;
  padding: 26px 24px;
  background: var(--rn-white);
  border: 1px solid var(--ab-line);
  border-radius: 10px;
  border-top: 3px solid var(--ab-gold);
}

.ab-stat__num {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 48px;
  color: var(--ab-ink);
}

.ab-stat__label {
  margin-top: 6px;
  font-size: 15px;
  line-height: 24px;
  color: var(--ab-muted);
}

.ab-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
  padding: 0;
  list-style: none;
}

.ab-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--rn-white);
  border: 1px solid var(--ab-line);
  border-radius: 999px;
  font-size: 15px;
  color: var(--ab-ink);
}

.ab-chips .bi { color: var(--ab-gold); font-size: 14px; }

.ab-ideas__head { max-width: 860px; margin: 0 auto 44px; text-align: center; }
.ab-ideas__head .ab-sec__rule { margin-left: auto; margin-right: auto; }

.ab-idea {
  position: relative;
  height: 100%;
  padding: 30px 28px 28px;
  background: var(--rn-white);
  border: 1px solid var(--ab-line);
  border-radius: 10px;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

.ab-idea:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 168, 76, .55);
  box-shadow: 0 12px 28px rgba(11, 30, 62, .10);
}

.ab-idea__num {
  display: block;
  margin-bottom: 14px;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 34px;
  line-height: 1;
  color: var(--ab-gold);
}

.ab-idea__title {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 700;
  line-height: 26px;
  color: var(--ab-ink);
  text-transform: uppercase;
}

.ab-idea__text {
  margin: 0;
  font-size: 16px;
  line-height: 27px;
  color: var(--ab-muted);
}

.ab-goal {
  position: relative;
  overflow: hidden;
  padding: 56px 60px;
  background: linear-gradient(150deg, #0B1E3E 0%, #16386A 100%);
  color: var(--rn-white);
  border-radius: 12px;
}

.ab-goal__num {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 96px;
  line-height: 1;
  color: var(--ab-gold);
}

.ab-goal__num-label {
  margin-top: 10px;
  font-size: 15px;
  line-height: 24px;
  color: rgba(255, 255, 255, .72);
}

.ab-goal__text {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 30px;
  color: rgba(255, 255, 255, .9);
}

.ab-goal__closing {
  margin: 26px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-family: "Playfair Display", serif;
  font-size: 22px;
  line-height: 34px;
  color: var(--rn-white);
}

.ab-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.ab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.ab-btn--primary {
  background: var(--ab-gold);
  color: var(--ab-ink);
  border: 1px solid var(--ab-gold);
}

.ab-btn--primary:hover { background: #B89536; border-color: #B89536; color: var(--ab-ink); }

.ab-btn--ghost {
  background: transparent;
  color: var(--rn-white);
  border: 1px solid rgba(255, 255, 255, .45);
}

.ab-btn--ghost:hover { background: rgba(255, 255, 255, .1); color: var(--rn-white); }

@media (max-width: 991px) {
  .ab-hero { padding: 44px 0 52px; }
  .ab-hero__title { font-size: 34px; line-height: 44px; }
  .ab-hero__lead { font-size: 17px; line-height: 29px; }
  .ab-sec { padding: 56px 0; }
  .ab-sec__title { font-size: 27px; line-height: 36px; }
  .ab-note { margin-top: 24px; }
  .ab-goal { padding: 44px 36px; }
  .ab-goal__num { font-size: 76px; }
  .ab-goal__num-label { margin-bottom: 26px; }
}

@media (max-width: 767px) {
  .ab-hero { padding: 36px 0 42px; }
  .ab-hero::after { display: none; }
  .ab-hero__logo { width: 148px; height: 62px; }
  .ab-hero__title { font-size: 27px; line-height: 36px; }
  .ab-decree { flex-direction: column; gap: 12px; padding: 20px; }
  .ab-sec { padding: 44px 0; }
  .ab-sec__title { font-size: 23px; line-height: 32px; }
  .ab-p, .ab-note__text, .ab-idea__text { font-size: 16px; line-height: 27px; }
  .ab-p--lead { font-size: 17px; line-height: 29px; }
  .ab-stat__num { font-size: 32px; line-height: 40px; }
  .ab-goal { border-radius: 0; padding: 36px 22px; }
  .ab-goal__num { font-size: 60px; }
  .ab-goal__closing { font-size: 19px; line-height: 30px; }
  .ab-btn { width: 100%; justify-content: center; }
}
