/* =========================================
   Страница «О сайте»
   ========================================= */

.about-hero {
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(255, 255, 255, 0.85),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      #effff6,
      #d8f5e6 55%,
      #b1e6c9
    );
}


html[data-theme="dark"] .about-hero {
  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(105, 219, 165, 0.15),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      #10261b,
      #173e2b 55%,
      #245d43
    );
}


.about-hero-inner {
  min-height: 410px;
  padding-top: 48px;
  padding-bottom: 65px;
}


.about-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 72px;
  color: var(--muted);
  font-size: 12px;
}


.about-breadcrumbs a {
  color: var(--green);
  font-weight: 800;
}


.about-hero h1 {
  max-width: 820px;
  margin: 0;
  color: var(--text-strong);
  font-size: clamp(42px, 6vw, 69px);
  line-height: 0.99;
  letter-spacing: -4px;
}


.about-hero h1 span {
  color: var(--green);
}


.about-hero-description {
  max-width: 650px;
  margin: 23px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}


/* Вводный блок */

.about-intro-section {
  background: var(--bg);
}


.about-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: 75px;
}


.about-intro-main h2,
.about-how-grid h2 {
  max-width: 680px;
  margin: 0;
  color: var(--text-strong);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.06;
  letter-spacing: -2px;
}


.about-intro-main p:not(.eyebrow) {
  max-width: 720px;
  margin: 21px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}


.about-stat-card {
  position: relative;
  overflow: hidden;
  padding: 31px;
  border: 1px solid var(--border);
  border-radius: 23px;
  background:
    linear-gradient(
      145deg,
      var(--soft),
      var(--surface)
    );
  box-shadow: var(--shadow);
}


.about-stat-card::after {
  position: absolute;
  right: -70px;
  bottom: -100px;
  width: 240px;
  height: 240px;
  border: 1px solid var(--border);
  border-radius: 50%;
  content: "";
}


.about-stat-icon {
  position: relative;
  z-index: 1;
  display: flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  margin-bottom: 35px;
  border-radius: 17px;
  color: #ffffff;
  background: var(--green);
  font-size: 27px;
  font-weight: 950;
}


.about-stat-card strong,
.about-stat-card p {
  position: relative;
  z-index: 1;
}


.about-stat-card strong {
  display: block;
  color: var(--text-strong);
  font-size: 22px;
}


.about-stat-card p {
  max-width: 280px;
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}


/* Принципы */

.about-principles-section {
  background: var(--soft);
}


.about-principles-section .section-heading {
  align-items: flex-end;
}


.about-heading-text {
  max-width: 400px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}


.about-principles-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}


.about-principle-card {
  min-height: 260px;
  padding: 23px;
  border: 1px solid var(--border);
  border-radius: 19px;
  background: var(--surface);
}


.about-principle-number {
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
}


.about-principle-card h3 {
  margin: 42px 0 10px;
  color: var(--text-strong);
  font-size: 18px;
}


.about-principle-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}


/* Как пользоваться */

.about-how-section {
  background: var(--bg);
}


.about-how-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 80px;
  align-items: start;
}


.about-how-description {
  max-width: 440px;
  margin: 19px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}


.about-steps {
  border-top: 1px solid var(--border);
}


.about-step {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}


.about-step > span {
  display: flex;
  width: 39px;
  height: 39px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--green);
  background: var(--soft);
  font-size: 14px;
  font-weight: 950;
}


.about-step h3 {
  margin: 0;
  color: var(--text-strong);
  font-size: 17px;
}


.about-step p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}


/* Блок MAX */

.about-max-section {
  color: #ffffff;
  background:
    linear-gradient(
      135deg,
      #176044,
      #268b66
    );
}


.about-max-inner {
  display: grid;
  min-height: 250px;
  align-items: center;
  grid-template-columns: 115px minmax(0, 1fr) auto;
  gap: 35px;
  padding-top: 45px;
  padding-bottom: 45px;
}


.about-max-mark {
  display: flex;
  width: 105px;
  height: 105px;
  align-items: center;
  justify-content: center;
  border-radius: 28px;
  color: var(--green-dark);
  background: #ffffff;
  font-size: 25px;
  font-weight: 950;
  transform: rotate(-5deg);
}


.about-max-content .eyebrow {
  color: #8ce7b7;
}


.about-max-content h2 {
  max-width: 650px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
  letter-spacing: -1.6px;
}


.about-max-content p:not(.eyebrow) {
  max-width: 600px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.7;
}


/* Дисклеймер */

.about-disclaimer-section {
  background: var(--soft);
}


.about-disclaimer {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 29px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
}


.about-disclaimer-icon {
  display: flex;
  width: 43px;
  height: 43px;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  color: #ffffff;
  background: var(--green);
  font-size: 19px;
  font-weight: 950;
}


.about-disclaimer h2 {
  margin: 0;
  color: var(--text-strong);
  font-size: 21px;
}


.about-disclaimer p {
  max-width: 850px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}


/* Тёмная тема */

html[data-theme="dark"] .about-hero {
  border-color: var(--border);
}


html[data-theme="dark"] .about-stat-card,
html[data-theme="dark"] .about-principle-card,
html[data-theme="dark"] .about-disclaimer {
  background: #17261f;
}


html[data-theme="dark"] .about-disclaimer-section,
html[data-theme="dark"] .about-principles-section {
  background: #12221b;
}


html[data-theme="dark"] .about-stat-icon,
html[data-theme="dark"] .about-disclaimer-icon {
  color: #123e2d;
  background: #8ce7b7;
}


html[data-theme="dark"] .about-step > span {
  color: #8ce7b7;
  background: #203a2d;
}


/* Адаптивность */

@media (max-width: 950px) {
  .about-principles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-intro-grid,
  .about-how-grid {
    gap: 40px;
  }
}


@media (max-width: 720px) {
  .about-hero-inner {
    min-height: auto;
    padding-top: 35px;
    padding-bottom: 55px;
  }

  .about-breadcrumbs {
    margin-bottom: 55px;
  }

  .about-hero h1 {
    font-size: 45px;
    letter-spacing: -2.5px;
  }

  .about-hero-description {
    font-size: 15px;
  }

  .about-intro-grid,
  .about-how-grid {
    display: block;
  }

  .about-stat-card {
    margin-top: 32px;
  }

  .about-principles-grid {
    grid-template-columns: 1fr;
  }

  .about-principle-card {
    min-height: auto;
  }

  .about-principle-card h3 {
    margin-top: 28px;
  }

  .about-max-inner {
    display: block;
  }

  .about-max-mark {
    width: 84px;
    height: 84px;
    margin-bottom: 25px;
    font-size: 21px;
  }

  .about-max-inner .button {
    width: auto;
    margin-top: 25px;
  }

  .about-disclaimer {
    grid-template-columns: 1fr;
    padding: 23px;
  }
}


@media (max-width: 400px) {
  .about-hero h1 {
    font-size: 39px;
  }

  .about-max-inner .button {
    width: 100%;
  }
}
/* =========================================
   Более выразительный визуал страницы «О сайте»
   ========================================= */

.about-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 560px;
  border: 0;
  background:
    radial-gradient(
      circle at 82% 20%,
      rgba(255, 255, 255, 0.92) 0,
      rgba(255, 255, 255, 0.25) 20%,
      transparent 42%
    ),
    linear-gradient(
      135deg,
      #f0fff7 0%,
      #d8f5e6 48%,
      #a7e2c2 100%
    );
}


.about-hero::before {
  position: absolute;
  z-index: -1;
  right: -90px;
  bottom: -190px;
  width: 610px;
  height: 610px;
  border: 1px solid rgba(38, 139, 102, 0.2);
  border-radius: 50%;
  content: "";
}


.about-hero::after {
  position: absolute;
  z-index: -1;
  right: 55px;
  bottom: -115px;
  width: 375px;
  height: 375px;
  border: 1px solid rgba(38, 139, 102, 0.18);
  border-radius: 50%;
  content: "";
}


html[data-theme="dark"] .about-hero {
  background:
    radial-gradient(
      circle at 82% 20%,
      rgba(105, 219, 165, 0.17) 0,
      transparent 38%
    ),
    linear-gradient(
      135deg,
      #0d2419 0%,
      #123b29 48%,
      #1d5b40 100%
    );
}


.about-hero-inner {
  position: relative;
  display: flex;
  min-height: 560px;
  flex-direction: column;
  justify-content: center;
  padding-top: 70px;
  padding-bottom: 75px;
}


.about-breadcrumbs {
  position: absolute;
  top: 37px;
  left: 0;
  margin: 0;
}


.about-hero .eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 9px;
  margin-bottom: 19px;
  padding: 8px 12px;
  border: 1px solid rgba(38, 139, 102, 0.2);
  border-radius: 999px;
  color: var(--green);
  background: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.8px;
}


.about-hero .eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  content: "";
  box-shadow: 0 0 0 5px rgba(38, 139, 102, 0.12);
}


html[data-theme="dark"] .about-hero .eyebrow {
  border-color: rgba(140, 231, 183, 0.25);
  background: rgba(255, 255, 255, 0.07);
}


.about-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(48px, 7vw, 86px);
  line-height: 0.94;
  letter-spacing: -5px;
}


.about-hero h1 span {
  display: block;
  margin-left: 90px;
  color: var(--green);
}


.about-hero-description {
  max-width: 540px;
  margin-top: 31px;
  font-size: 17px;
  line-height: 1.7;
}


.about-hero-description::after {
  display: block;
  width: 105px;
  height: 3px;
  margin-top: 29px;
  border-radius: 10px;
  background: var(--green);
  content: "";
}


/* Декоративная карточка в hero.
   Создаётся без изменения HTML */

.about-hero-inner::after {
  position: absolute;
  right: 4%;
  bottom: 82px;
  display: flex;
  width: 156px;
  height: 112px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 20px 45px rgba(23, 96, 68, 0.13);
  content: "%  ВЫГОДА";
  font-size: 15px;
  font-weight: 950;
  letter-spacing: 1px;
  transform: rotate(8deg);
}


html[data-theme="dark"] .about-hero-inner::after {
  border-color: rgba(255, 255, 255, 0.18);
  color: #123e2d;
  background: #dffff0;
}


/* Общие заголовки */

.about-intro-main h2,
.about-how-grid h2,
.about-principles-section .section-heading h2 {
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 0.99;
  letter-spacing: -2.7px;
}


.about-intro-section,
.about-how-section {
  position: relative;
  overflow: hidden;
}


.about-intro-section::before,
.about-how-section::before {
  position: absolute;
  right: -115px;
  top: 80px;
  width: 260px;
  height: 260px;
  border: 1px solid var(--border);
  border-radius: 50%;
  content: "";
  opacity: 0.8;
}


.about-intro-grid,
.about-how-grid {
  position: relative;
  z-index: 1;
}


/* Карточка справа */

.about-stat-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  border: 0;
  border-radius: 28px;
  color: #ffffff;
  background:
    linear-gradient(
      145deg,
      #287f60 0%,
      #176044 100%
    );
  box-shadow:
    0 22px 55px rgba(23, 96, 68, 0.22);
  transform: rotate(2deg);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}


.about-stat-card:hover {
  box-shadow:
    0 30px 65px rgba(23, 96, 68, 0.3);
  transform: rotate(0) translateY(-6px);
}


.about-stat-card::before {
  position: absolute;
  top: -85px;
  right: -55px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  content: "";
}


.about-stat-card::after {
  right: 30px;
  bottom: 45px;
  width: 105px;
  height: 105px;
  border-color: rgba(255, 255, 255, 0.22);
}


.about-stat-icon {
  position: absolute;
  top: 30px;
  left: 30px;
  color: var(--green-dark);
  background: #ffffff;
}


.about-stat-card strong {
  color: #ffffff;
  font-size: 27px;
  letter-spacing: -0.8px;
}


.about-stat-card p {
  color: rgba(255, 255, 255, 0.76);
}


html[data-theme="dark"] .about-stat-card {
  border: 1px solid #397a5f;
  background:
    linear-gradient(
      145deg,
      #225e46 0%,
      #123e2d 100%
    );
}


/* Секция принципов */

.about-principles-section {
  background:
    linear-gradient(
      180deg,
      var(--soft) 0%,
      var(--bg) 100%
    );
}


.about-principles-grid {
  gap: 18px;
}


.about-principle-card {
  position: relative;
  min-height: 285px;
  overflow: hidden;
  padding: 26px;
  border-radius: 23px;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}


.about-principle-card::after {
  position: absolute;
  right: -45px;
  bottom: -45px;
  width: 135px;
  height: 135px;
  border-radius: 50%;
  background: var(--soft);
  content: "";
}


.about-principle-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}


.about-principle-number {
  position: relative;
  z-index: 1;
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 9px;
  color: var(--green);
  background: var(--soft);
}


.about-principle-card h3,
.about-principle-card p {
  position: relative;
  z-index: 1;
}


.about-principle-card h3 {
  margin-top: 60px;
  font-size: 21px;
  letter-spacing: -0.5px;
}


/* Блок шагов */

.about-how-grid {
  align-items: center;
}


.about-steps {
  padding: 12px 25px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-small);
}


.about-step {
  position: relative;
  grid-template-columns: 51px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
}


.about-step > span {
  width: 43px;
  height: 43px;
  border-radius: 14px;
  color: #ffffff;
  background: var(--green);
  box-shadow: 0 7px 17px rgba(38, 139, 102, 0.2);
}


.about-step h3 {
  font-size: 18px;
}


.about-step p {
  font-size: 14px;
}


/* MAX-блок */

.about-max-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 90% 50%,
      rgba(140, 231, 183, 0.2),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #123e2d,
      #268b66
    );
}


.about-max-section::before {
  position: absolute;
  right: -90px;
  top: -180px;
  width: 470px;
  height: 470px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  content: "";
}


.about-max-inner {
  position: relative;
  z-index: 1;
  min-height: 280px;
}


.about-max-mark {
  border-radius: 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.16);
}


.about-max-content h2 {
  font-size: clamp(30px, 4.5vw, 50px);
}


.about-max-inner .button {
  min-height: 51px;
  padding-right: 21px;
  padding-left: 21px;
  border-radius: 12px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.15);
}


/* Информационный блок */

.about-disclaimer-section {
  background: var(--bg);
}


.about-disclaimer {
  position: relative;
  overflow: hidden;
  padding: 31px 35px;
  border-radius: 24px;
  background:
    linear-gradient(
      135deg,
      var(--surface),
      var(--soft)
    );
}


.about-disclaimer::after {
  position: absolute;
  right: -70px;
  bottom: -100px;
  width: 250px;
  height: 250px;
  border: 1px solid var(--border);
  border-radius: 50%;
  content: "";
}


.about-disclaimer > * {
  position: relative;
  z-index: 1;
}


.about-disclaimer-icon {
  border-radius: 14px;
}


/* Мобильная версия */

@media (max-width: 900px) {
  .about-hero-inner::after {
    right: 2%;
    bottom: 55px;
    transform: scale(0.8) rotate(8deg);
  }

  .about-principles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


@media (max-width: 720px) {
  .about-hero {
    min-height: auto;
  }

  .about-hero-inner {
    min-height: 580px;
    padding-top: 75px;
  }

  .about-breadcrumbs {
    top: 25px;
  }

  .about-hero h1 {
    font-size: 48px;
    letter-spacing: -3px;
  }

  .about-hero h1 span {
    margin-left: 0;
  }

  .about-hero-description {
    max-width: 430px;
  }

  .about-hero-inner::after {
    right: 17px;
    bottom: 32px;
    width: 137px;
    height: 96px;
  }

  .about-intro-grid,
  .about-how-grid {
    display: block;
  }

  .about-stat-card {
    min-height: 280px;
    margin-top: 35px;
    transform: none;
  }

  .about-stat-card:hover {
    transform: translateY(-4px);
  }

  .about-principles-grid {
    grid-template-columns: 1fr;
  }

  .about-principle-card {
    min-height: 230px;
  }

  .about-principle-card h3 {
    margin-top: 38px;
  }

  .about-steps {
    margin-top: 35px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .about-max-inner {
    display: block;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .about-max-mark {
    margin-bottom: 26px;
  }

  .about-max-inner .button {
    width: auto;
    margin-top: 25px;
  }
}


@media (max-width: 430px) {
  .about-hero h1 {
    font-size: 42px;
  }

  .about-hero-inner {
    min-height: 555px;
  }

  .about-disclaimer {
    padding: 24px;
  }

  .about-max-inner .button {
    width: 100%;
  }
}

/* =========================================
   Исправление невидимых надписей % и MAX
   ========================================= */

.about-stat-icon {
  color: var(--green-dark, #176044);
  background-color: #ffffff;
  -webkit-text-fill-color: var(--green-dark, #176044);
}


.about-max-mark {
  color: var(--green-dark, #176044);
  background-color: #ffffff;
  -webkit-text-fill-color: var(--green-dark, #176044);
}


/* Тёмная тема */

html[data-theme="dark"] .about-stat-icon {
  color: #123e2d;
  background-color: #dffff0;
  -webkit-text-fill-color: #123e2d;
}


html[data-theme="dark"] .about-max-mark {
  color: #123e2d;
  background-color: #dffff0;
  -webkit-text-fill-color: #123e2d;
}
/* =========================================
   Исправление номеров шагов
   ========================================= */

.about-step > span {
  display: flex;
  width: 43px;
  height: 43px;
  align-items: center;
  justify-content: center;

  flex: 0 0 43px;

  border: 1px solid #176044;
  border-radius: 14px;

  color: #ffffff;
  background-color: #268b66;

  font-size: 15px;
  font-weight: 950;
  line-height: 1;
  text-align: center;

  -webkit-text-fill-color: #ffffff;
  box-shadow:
    0 7px 17px rgba(38, 139, 102, 0.22);
}


/* Наведение */

.about-step:hover > span {
  background-color: #176044;
  box-shadow:
    0 9px 21px rgba(38, 139, 102, 0.3);
}


/* Тёмная тема */

html[data-theme="dark"] .about-step > span {
  border-color: #8ce7b7;
  color: #123e2d;
  background-color: #8ce7b7;
  -webkit-text-fill-color: #123e2d;
  box-shadow:
    0 7px 17px rgba(140, 231, 183, 0.18);
}