:root {
      --asclin-heading: #091321;
      --asclin-heading-soft: #3a434f;
      --asclin-navy: #11172d;
      --asclin-dark: #091321;
      --asclin-footer: #0a1320;
      --asclin-blue: #2f76a8;
      --asclin-orange: #e07c26;
      --asclin-page-bg: #f6f8fb;
      --asclin-card-bg: #f5f8fc;
      --asclin-badge-blue: #e6f1fa;
      --asclin-badge-grey: #eef3f7;
      --asclin-badge-grey-text: #526175;
      --asclin-muted: #93a2b4;
      --asclin-placeholder: #d9d9d9;
      --asclin-hero-circle: #16222f;
      --asclin-hero-dot: #8296ab;
      --asclin-hero-line: #33465c;
      --asclin-border: #e3eaf2;
      --asclin-check-border: #c8d4e0;
      /* Фон секций — на весь экран, контент — не шире 1248px по центру */
      --asclin-gutter: max(96px, calc((100% - 1248px) / 2));
    }

    body {
      margin: 0;
      background: var(--asclin-page-bg);
    }

    /* Стили усилены против CSS темы сайта: селекторы со scope .asclin-donations
       и !important на цветах, которые темы чаще всего перебивают. */

    .asclin-donations,
    .asclin-donations * {
      box-sizing: border-box;
      font-family: "Montserrat", Arial, sans-serif;
    }

    .asclin-donations {
      display: flex;
      flex-direction: column;
      min-height: 100vh;
      width: 100%;
      background: #ffffff;
      color: var(--asclin-navy);
    }

    .asclin-donations .page-main {
      flex: 1 0 auto;
    }

    /* ===================== ШАПКА + ПЕРВЫЙ ЭКРАН РАЗДЕЛА ===================== */

    .asclin-donations .hero {
      position: relative;
      background: var(--asclin-dark);
      color: #ffffff;
      padding: 28px var(--asclin-gutter) 60px;
      overflow: hidden;
    }

    .asclin-donations .hero__decor {
      position: absolute;
      inset: 0;
      pointer-events: none;
    }

    .asclin-donations .hero__circle {
      position: absolute;
      border-radius: 50%;
      background: var(--asclin-hero-circle);
    }

    /* Большой круг слева внизу (cx 70, cy 460, r 210 в макете) */
    .asclin-donations .hero__circle--left {
      width: 420px;
      height: 420px;
      left: -140px;
      bottom: -210px;
    }

    /* «Круги поддержки» с сердцем справа: три кольца + заполненный центр */
    .asclin-donations .hero__rings {
      position: absolute;
      width: 400px;
      height: 400px;
      right: 50px;
      top: -80px;
    }

    .asclin-donations .hero__ring {
      position: absolute;
      left: 50%;
      top: 50%;
      border: 1px solid var(--asclin-hero-line);
      border-radius: 50%;
      transform: translate(-50%, -50%);
    }

    .asclin-donations .hero__ring--1 { width: 400px; height: 400px; }
    .asclin-donations .hero__ring--2 { width: 300px; height: 300px; }
    .asclin-donations .hero__ring--3 { width: 200px; height: 200px; }

    .asclin-donations .hero__heart {
      position: absolute;
      left: 50%;
      top: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 104px;
      height: 104px;
      border-radius: 50%;
      background: var(--asclin-hero-circle);
      color: var(--asclin-hero-dot);
      transform: translate(-50%, -50%);
      opacity: .85;
    }

    .asclin-donations .hero__dot {
      position: absolute;
      width: 14px;
      height: 14px;
      border-radius: 50%;
      background: var(--asclin-hero-dot);
      opacity: .85;
    }

    .asclin-donations .hero__dot--small {
      width: 8px;
      height: 8px;
    }

    .asclin-donations .hero__line {
      position: absolute;
      height: 1px;
      background: var(--asclin-hero-line);
    }

    /* Хлебные крошки + заголовок раздела */
    .asclin-donations .hero__content {
      position: relative;
      max-width: 1248px;
      margin: 92px auto 0;
      z-index: 1;
    }

    .asclin-donations .hero__breadcrumbs {
      display: flex;
      align-items: center;
      gap: 10px;
      margin: 0;
      color: #aeb9c6;
      font-size: 14px;
      line-height: 1.2;
      font-weight: 400;
    }

    .asclin-donations .hero__breadcrumbs a {
      color: #dfe6ee !important;
      text-decoration: none;
    }

    .asclin-donations .hero__breadcrumbs a:hover {
      text-decoration: underline;
    }

    .asclin-donations .hero__title {
      margin: 22px 0 0;
      color: #ffffff !important;
      font-size: clamp(40px, 5vw, 64px);
      line-height: 1.05;
      font-weight: 700;
      letter-spacing: .01em;
      text-transform: uppercase;
    }

    .asclin-donations .hero__subtitle {
      margin: 22px 0 0;
      max-width: 960px;
      color: #dfe6ee;
      font-size: 18px;
      line-height: 1.5;
      font-weight: 400;
    }

    /* ===================== ОБЩИЕ ЭЛЕМЕНТЫ СЕКЦИЙ ===================== */

    .asclin-donations .section {
      padding: 60px var(--asclin-gutter) 56px;
      background: #ffffff;
    }

    .asclin-donations .section--band {
      background: var(--asclin-card-bg);
      padding: 66px var(--asclin-gutter) 60px;
    }

    .asclin-donations .section__title {
      margin: 0;
      color: var(--asclin-heading) !important;
      font-size: 34px;
      line-height: 1.15;
      font-weight: 700;
      text-transform: none;
    }

    .asclin-donations .section__lead {
      margin: 12px 0 0;
      color: var(--asclin-badge-grey-text);
      font-size: 16px;
      line-height: 1.5;
      font-weight: 400;
    }

    /* ===================== НА ЧТО ИДУТ ПОЖЕРТВОВАНИЯ ===================== */

    .asclin-donations .purposes {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 24px;
      margin-top: 24px;
    }

    .asclin-donations .purpose {
      background: var(--asclin-card-bg);
      border-radius: 8px;
      padding: 28px 22px 32px 28px;
      min-height: 280px;
    }

    .asclin-donations .purpose__icon {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 56px;
      height: 56px;
      border-radius: 50%;
      background: var(--asclin-badge-blue);
      color: var(--asclin-blue);
    }

    .asclin-donations .purpose__title {
      margin: 28px 0 0;
      color: var(--asclin-navy) !important;
      font-size: 19px;
      line-height: 24px;
      font-weight: 700;
      text-transform: none;
    }

    .asclin-donations .purpose__text {
      margin: 14px 0 0;
      color: var(--asclin-heading-soft);
      font-size: 14px;
      line-height: 20px;
      font-weight: 400;
    }

    /* ===================== СДЕЛАТЬ ПОЖЕРТВОВАНИЕ ===================== */

    .asclin-donations .donate {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 24px;
      margin-top: 26px;
      align-items: stretch;
    }

    .asclin-donations .card {
      background: #ffffff;
      border-radius: 8px;
      padding: 28px 28px 32px;
      min-height: 365px;
    }

    .asclin-donations .card__head {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 16px;
    }

    .asclin-donations .card__title {
      margin: 0;
      color: var(--asclin-navy) !important;
      font-size: 20px;
      line-height: 1.3;
      font-weight: 700;
      text-transform: none;
    }

    .asclin-donations .card__link {
      border: 0;
      background: transparent;
      padding: 0;
      color: var(--asclin-blue) !important;
      font-size: 14px;
      line-height: 1.2;
      font-weight: 600;
      text-decoration: none;
      cursor: pointer;
      white-space: nowrap;
    }

    .asclin-donations .card__link:hover {
      text-decoration: underline;
    }

    /* Форма пожертвования */
    .asclin-donations .form__label {
      display: block;
      margin: 28px 0 0;
      color: var(--asclin-muted);
      font-size: 13px;
      line-height: 1.2;
      font-weight: 500;
    }

    .asclin-donations .chips {
      display: flex;
      flex-wrap: wrap;
      gap: 8px; /* правки 29.09: пять чипов (до 10 000 ₽ и «Другая сумма») в один ряд */
      margin-top: 11px;
    }

    .asclin-donations .chip {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      height: 44px;
      border: 1px solid var(--asclin-border);
      border-radius: 999px;
      background: #ffffff;
      padding: 0 18px;
      color: var(--asclin-badge-grey-text) !important;
      font-size: 14px;
      line-height: 1;
      font-weight: 600;
      cursor: pointer;
      white-space: nowrap;
      transition: border-color .15s ease, color .15s ease;
    }

    .asclin-donations .chip:hover {
      border-color: var(--asclin-blue);
      color: var(--asclin-blue) !important;
    }

    .asclin-donations .chip.is-active {
      border-color: var(--asclin-navy);
      background: var(--asclin-navy) !important;
      color: #ffffff !important;
    }

    .asclin-donations .form__row {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 20px;
      margin-top: 20px;
    }

    .asclin-donations .form__input {
      width: 100%;
      height: 50px;
      border: 1px solid var(--asclin-border);
      border-radius: 8px;
      background: #ffffff;
      padding: 0 18px;
      color: var(--asclin-navy);
      font-size: 14px;
      font-weight: 400;
      outline: none;
    }

    .asclin-donations .form__input::placeholder {
      color: var(--asclin-muted);
    }

    .asclin-donations .form__input:focus {
      border-color: var(--asclin-blue);
    }

    .asclin-donations .form__check {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      margin-top: 23px;
      color: var(--asclin-badge-grey-text);
      font-size: 13px;
      line-height: 18px;
      font-weight: 400;
      cursor: pointer;
    }

    .asclin-donations .form__check input {
      flex-shrink: 0;
      appearance: none;
      -webkit-appearance: none;
      width: 18px;
      height: 18px;
      margin: 0;
      border: 1px solid var(--asclin-check-border);
      border-radius: 4px;
      background: #ffffff;
      cursor: pointer;
    }

    .asclin-donations .form__check input:checked {
      border-color: var(--asclin-blue);
      background: var(--asclin-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1.5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat;
    }

    .asclin-donations .form__actions {
      display: flex;
      align-items: center;
      gap: 20px;
      margin-top: 25px;
    }

    .asclin-donations .form__note {
      margin: 0;
      color: var(--asclin-muted);
      font-size: 12px;
      line-height: 16px;
      font-weight: 400;
    }

    /* Кнопки */
    .asclin-donations .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      border: 0;
      cursor: pointer;
      text-decoration: none !important;
      white-space: nowrap;
      transition: opacity .2s ease;
    }

    .asclin-donations .btn:hover {
      opacity: .88;
    }

    .asclin-donations .btn--orange {
      height: 48px;
      border-radius: 8px;
      background: var(--asclin-orange) !important;
      padding: 0 40px;
      color: #ffffff !important;
      font-size: 15px;
      line-height: 1;
      font-weight: 600;
    }

    .asclin-donations .btn--pill {
      height: 56px;
      border-radius: 999px;
      background: var(--asclin-orange) !important;
      padding: 0 40px;
      color: #ffffff !important;
      font-size: 16px;
      line-height: 1;
      font-weight: 600;
    }

    /* Оформление пожертвования — шаги (v2) */
    .asclin-donations .steps {
      margin: 30px 0 0;
      padding: 0;
      list-style: none;
    }

    .asclin-donations .step {
      display: flex;
      align-items: flex-start;
      gap: 20px;
    }

    .asclin-donations .step + .step {
      margin-top: 20px;
    }

    .asclin-donations .step__num {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: var(--asclin-badge-blue);
      color: var(--asclin-blue);
      font-size: 15px;
      line-height: 1;
      font-weight: 700;
    }

    .asclin-donations .step__text {
      margin: 0;
      padding-top: 5px;
      color: var(--asclin-heading-soft);
      font-size: 14px;
      line-height: 22px;
      font-weight: 400;
    }

    .asclin-donations .card__cta {
      margin-top: 30px;
    }

    /* Реквизиты (v1) */
    .asclin-donations .req {
      margin: 30px 0 0;
    }

    .asclin-donations .req__row {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
    }

    .asclin-donations .req__row--split {
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
      gap: 20px;
    }

    .asclin-donations .req__row + .req__row {
      margin-top: 18px;
    }

    .asclin-donations .req__label {
      margin: 0;
      color: var(--asclin-muted);
      font-size: 12px;
      line-height: 16px;
      font-weight: 500;
      letter-spacing: .02em;
      text-transform: uppercase;
    }

    .asclin-donations .req__value {
      margin: 4px 0 0;
      color: var(--asclin-navy);
      font-size: 14px;
      line-height: 18px;
      font-weight: 400;
    }

    /* ===================== ДОГОВОР ПОЖЕРТВОВАНИЯ ===================== */

    .asclin-donations .contract {
      position: relative;
      background: var(--asclin-dark);
      color: #ffffff;
      padding: 60px var(--asclin-gutter) 64px;
      overflow: hidden;
    }

    .asclin-donations .contract__circle {
      position: absolute;
      width: 480px;
      height: 480px;
      right: -100px;
      top: -234px;
      border-radius: 50%;
      background: var(--asclin-hero-circle);
      pointer-events: none;
    }

    .asclin-donations .contract__inner {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 40px;
      z-index: 1;
    }

    .asclin-donations .contract__title {
      margin: 0;
      color: #ffffff !important;
      font-size: 30px;
      line-height: 1.2;
      font-weight: 700;
      text-transform: none;
    }

    .asclin-donations .contract__text {
      margin: 14px 0 0;
      max-width: 560px;
      color: #dfe6ee;
      font-size: 16px;
      line-height: 24px;
      font-weight: 400;
    }

    /* ===================== АДАПТИВ ===================== */

    @media (max-width: 1200px) {
      :root {
        --asclin-gutter: 40px;
      }

      .asclin-donations .hero__rings {
        right: -60px;
      }

      .asclin-donations .purposes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .asclin-donations .donate {
        grid-template-columns: minmax(0, 1fr);
      }

      .asclin-donations .card {
        min-height: 0;
      }

      .asclin-donations .contract__inner {
        flex-direction: column;
        align-items: flex-start;
      }
    }

    @media (max-width: 640px) {
      :root {
        --asclin-gutter: 20px;
      }

      .asclin-donations .hero {
        padding-bottom: 44px;
      }

      .asclin-donations .hero__content {
        margin-top: 44px;
      }

      .asclin-donations .hero__rings {
        width: 260px;
        height: 260px;
        right: -110px;
        top: 40px;
      }

      .asclin-donations .hero__ring--1 { width: 260px; height: 260px; }
      .asclin-donations .hero__ring--2 { width: 195px; height: 195px; }
      .asclin-donations .hero__ring--3 { width: 130px; height: 130px; }

      .asclin-donations .hero__heart {
        width: 72px;
        height: 72px;
      }

      .asclin-donations .hero__heart svg {
        width: 30px;
        height: 30px;
      }

      .asclin-donations .hero__title {
        font-size: 32px;
        letter-spacing: 0;
      }

      .asclin-donations .hero__subtitle {
        font-size: 16px;
      }

      .asclin-donations .section {
        padding-top: 48px;
        padding-bottom: 44px;
      }

      .asclin-donations .section--band {
        padding-top: 48px;
        padding-bottom: 48px;
      }

      .asclin-donations .section__title {
        font-size: 28px;
      }

      .asclin-donations .purposes {
        grid-template-columns: none;
      }

      .asclin-donations .purpose {
        min-height: 0;
        padding: 24px 22px 26px;
      }

      .asclin-donations .card {
        padding: 24px 20px 26px;
      }

      .asclin-donations .card__head {
        flex-wrap: wrap;
      }

      .asclin-donations .form__row {
        grid-template-columns: none;
        gap: 12px;
      }

      .asclin-donations .form__actions {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
      }

      .asclin-donations .btn--orange,
      .asclin-donations .btn--pill {
        width: 100%;
        padding: 0 20px;
      }

      /* правки 29.09: длинный адрес secret@asclin.ru в кнопке — перенос строки вместо выхода за экран */
      .asclin-donations .btn--pill {
        height: auto;
        min-height: 56px;
        padding: 14px 20px;
        white-space: normal;
        text-align: center;
        line-height: 1.3;
        overflow-wrap: anywhere;
      }

      .asclin-donations .req__row--split {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
      }

      .asclin-donations .contract {
        padding-top: 48px;
        padding-bottom: 48px;
      }

      .asclin-donations .contract__title {
        font-size: 26px;
      }
    }

/* Форма запроса на пожертвование по макету (правки 03.10): скрытые поля не занимают место, поле суммы — под чипами */
.asclin-donations [data-donate-form] [hidden] { display: none !important; }
.asclin-donations [data-amount-box] { margin-top: 12px; }
