
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    :root {
      --bg-main: #eef5ff;
      --bg-soft: #f4f7fb;
      --card: #ffffff;
      --text-main: #111111;
      --text-soft: #52606d;
      --hero-bg: #161f35;
      --hero-bg-2: #1f2b47;
      --line: rgba(0, 0, 0, 0.08);
      --blue: #6ea8ff;
      --blue-dark: #4f8df0;
      --light-btn: #e9eef5;
      --orange: #ef8b1e;
      --orange-dark: #d77409;
      --mint: #dcefe7;
      --white: #ffffff;
      --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
      --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
      --danger: #ff5038;
    }

    html, body {
      overflow-x: hidden;
      max-width: 100%;
    }

    body {
      font-family: Arial, Helvetica, sans-serif;
      background: var(--bg-main);
      color: var(--text-main);
      font-size: 18px;
      line-height: 1.55;
      -webkit-text-size-adjust: 100%;
    }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 200;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--line);
    }

    .header-inner {
      max-width: 1280px;
      margin: 0 auto;
      padding: 16px 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
    }

    .logo {
      text-decoration: none;
      font-size: 28px;
      font-weight: 900;
      color: var(--text-main);
      letter-spacing: 0.5px;
      display: flex;
      align-items: center;
      gap: 10px;
      white-space: nowrap;
    }

    .logo small {
      font-size: inherit;
      font-weight: inherit;
      color: inherit;
      letter-spacing: 0.5px;
    }

    .header-actions {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-wrap: wrap;
    }

	 .text-part,
    .video-part {
      flex: 1 1 420px;
      min-width: 280px;
    }
	.video-part {
  display: flex;
  flex-direction: column;
}

.video-frame {
  position: relative;
  width: 100%;
  background: #000;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.custom-video-player {
  position: relative;
}

#characterVideo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  object-fit: cover;
  border-radius: 20px;
}

.video-quality-menu {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.video-quality-toggle {
  border: none;
  background: rgba(17, 17, 17, 0.78);
  color: #fff;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: 0.25s ease;
}

.video-quality-toggle:hover {
  background: rgba(17, 17, 17, 0.92);
}

.video-quality-list {
  display: none;
  flex-direction: column;
  gap: 6px;
  min-width: 100px;
  padding: 8px;
  border-radius: 14px;
  background: rgba(17, 17, 17, 0.86);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.video-quality-list.open {
  display: flex;
}

.video-quality-option {
  border: none;
  background: transparent;
  color: #fff;
  text-align: left;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.video-quality-option:hover {
  background: rgba(255, 255, 255, 0.14);
}

.video-quality-option.active {
  background: var(--blue);
  color: #fff;
}
	
    .top-btn {
      border: none;
      border-radius: 14px;
      padding: 14px 22px;
      font-size: 15px;
      font-weight: 800;
      cursor: pointer;
      transition: 0.25s ease;
      box-shadow: var(--shadow);
    }

    .top-btn.primary {
      background: var(--light-btn);
      color: var(--text-main);
    }

    .top-btn.primary:hover {
      background: #dde5ef;
      transform: translateY(-2px);
    }

    .burger {
      width: 52px;
      height: 52px;
      border: none;
      border-radius: 14px;
      background: #2f7085;
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 6px;
      padding: 0 14px;
      cursor: pointer;
      box-shadow: var(--shadow);
      transition: 0.25s ease;
    }

    .burger:hover {
      transform: translateY(-2px);
      background: #92cbdb;
    }

    .burger span {
      display: block;
      width: 100%;
      height: 3px;
      background: #111111;
      border-radius: 999px;
    }

    .side-menu {
      position: fixed;
      top: 0;
      right: -380px;
      width: 350px;
      max-width: 92%;
      height: 100vh;
      background: #ffffff;
      z-index: 300;
      box-shadow: -12px 0 30px rgba(0, 0, 0, 0.12);
      transition: right 0.3s ease;
      padding: 24px 20px;
      overflow-y: auto;
    }

    .side-menu.active {
      right: 0;
    }

    .menu-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.35);
      opacity: 0;
      visibility: hidden;
      transition: 0.25s ease;
      z-index: 250;
    }

    .menu-overlay.active {
      opacity: 1;
      visibility: visible;
    }

    .side-menu-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 24px;
    }

    .side-menu-title {
      font-size: 24px;
      font-weight: 900;
    }

    .close-side-menu {
      border: none;
      background: transparent;
      font-size: 34px;
      cursor: pointer;
      line-height: 1;
      color: var(--text-main);
    }

    .side-nav {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .side-nav a,
    .side-nav button {
      text-decoration: none;
      color: var(--text-main);
      background: #2f7085;
      padding: 14px 16px;
      border-radius: 14px;
      font-weight: 800;
      border: none;
      text-align: left;
      cursor: pointer;
      transition: 0.2s ease;
      font-size: 15px;
    }

    .side-nav a:hover,
    .side-nav button:hover,
    .side-nav a.active {
      background: #2f7085;
      color: var(--text-main);
    }

    .hero {
      max-width: 1280px;
      margin: 28px auto 20px;
      padding: 0 20px;
    }

    .hero-content {
      position: relative;
      border-radius: 34px;
      padding: 48px;
      background:
        linear-gradient(135deg, rgba(22, 31, 53, 0.46), rgba(31, 43, 71, 0.40)),
        url("../../images/bg-fund-placdarm1.JPG") right center / cover no-repeat;
      box-shadow: var(--shadow-lg);
      overflow: hidden;
    }

    .hero-content::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, rgba(10, 16, 30, 0.48) 0%, rgba(10, 16, 30, 0.34) 45%, rgba(10, 16, 30, 0.18) 100%);
      pointer-events: none;
    }

    .hero-text {
      flex: 1 1 720px;
      position: relative;
      z-index: 1;
      display: flex;
      flex-direction: column;
      gap: 28px;
    }

    .hero-badge {
      display: inline-flex;
      width: fit-content;
      padding: 10px 16px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.12);
      color: #fff;
      border: 1px solid rgba(255, 255, 255, 0.15);
      font-size: 14px;
      font-weight: 800;
    }

    .hero h1 {
      max-width: 800px;
      color: #fff;
      font-size: clamp(34px, 5vw, 64px);
      font-weight: 900;
      line-height: 1.04;
      text-transform: none;
    }

    .hero-description {
      max-width: 880px;
      color: rgba(255, 255, 255, 0.95);
      font-size: clamp(16px, 2vw, 23px);
      line-height: 1.5;
    }

    .container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 20px 44px;
      width: 100%;
    }

    .about-section {
      background: rgba(255, 255, 255, 0.72);
      border: 1px solid var(--line);
      border-radius: 30px;
      padding: 34px;
      margin: 0 0 30px;
      box-shadow: var(--shadow);
      backdrop-filter: blur(8px);
    }

    .about-section.about-section-placdarm {
      position: relative;
      overflow: hidden;
      background:
        linear-gradient(135deg, rgba(15, 20, 32, 0.82), rgba(32, 38, 52, 0.66)),
        /* Фоновое изображение для блока "Благотворительный фонд «ПлАЦДАРМ»" хранится в папке images: images/bg-index-placdarm1.JPG */
        url("../../images/bg-index-placdarm1.JPG") center center / cover no-repeat;
      border: 1px solid rgba(255, 255, 255, 0.14);
      backdrop-filter: none;
    }

    .about-section.about-section-placdarm::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.08) 45%, rgba(255, 255, 255, 0.04) 100%);
      pointer-events: none;
    }

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

    .section-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 14px;
      border-radius: 999px;
      background: var(--mint);
      color: var(--text-main);
      font-size: 0.92rem;
      font-weight: 800;
      letter-spacing: 0.04em;
      text-transform: none;
      margin-bottom: 16px;
    }

    .about-section h2 {
      font-size: clamp(2rem, 3vw, 3rem);
      line-height: 1.08;
      margin-bottom: 16px;
    }

    .about-section.about-section-placdarm .section-eyebrow {
      background: rgba(255, 255, 255, 0.16);
      color: #ffffff;
      border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .about-section.about-section-placdarm h2,
    .about-section.about-section-placdarm .about-lead,
    .about-section.about-section-placdarm .about-lead p {
      color: #ffffff;
    }

    .about-lead {
      max-width: 980px;
      color: var(--text-soft);
      margin-bottom: 26px;
      font-size: 18px;
    }

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

    .about-card {
      background: #fff;
      border-radius: 24px;
      padding: 26px;
      border: 1px solid var(--line);
      box-shadow: var(--shadow);
    }

    .about-card h3 {
      font-size: 1.18rem;
      margin-bottom: 14px;
      color: var(--blue-dark);
    }

    .about-card ul {
      margin: 0;
      padding-left: 22px;
      color: var(--text-soft);
    }

    .about-card li + li {
      margin-top: 12px;
    }

    .about-card-black-text,
    .about-card-black-text ul,
    .about-card-black-text li,
    .about-card-black-text p {
      color: var(--text-main);
    }

    .donation-intro {
      text-align: center;
      font-size: 1.15rem;
      margin: 0 auto 24px;
      color: var(--text-soft);
      max-width: 800px;
    }

    .info-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 18px;
      margin-bottom: 28px;
    }

    .hero-content .info-grid {
      position: relative;
      z-index: 1;
      margin-top: 12px;
      margin-bottom: 0;
    }

    .info-card {
      background: rgba(255, 255, 255, 0.13);
      backdrop-filter: blur(4px);
      border-radius: 22px;
      padding: 26px;
      box-shadow: var(--shadow);
      border: 1px solid rgba(255, 255, 255, 0.12);
      transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
    }

    .info-card-action {
      width: 100%;
      border: none;
      cursor: pointer;
      text-align: left;
      font: inherit;
      color: inherit;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: space-between;
      gap: 14px;
      height: 100%;
      background: transparent;
    }

    .info-card-action:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-lg);
      background: rgba(255, 255, 255, 0.18);
      border-color: rgba(255, 255, 255, 0.22);
    }

    .info-card-action:focus-visible {
      outline: 3px solid rgba(255, 255, 255, 0.35);
      outline-offset: 3px;
    }

    .info-card h3 {
      font-size: 1.2rem;
      margin-bottom: 12px;
      color: #ffffff;
    }

    .info-card p {
      color: rgba(255, 255, 255, 0.86);
      font-size: 0.98rem;
    }

    .info-card-cta {
      margin-top: auto;
      padding-top: 18px;
      display: inline-flex;
      align-items: center;
      align-self: flex-start;
      gap: 6px;
      font-size: 13px;
      font-weight: 800;
      line-height: 1.2;
      color: #ffffff;
      transition: transform 0.25s ease, opacity 0.25s ease;
    }

    .info-card-action:hover .info-card-cta,
    .info-card-action:focus-visible .info-card-cta {
      transform: translateX(2px);
      opacity: 0.88;
    }

    .modal {
      display: none;
      position: fixed;
      z-index: 1000;
      inset: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.68);
      backdrop-filter: blur(4px);
      padding: 10px;
      overflow-y: auto;
    }

    .modal-content {
      background: #fff;
      margin: 3% auto;
      padding: 30px 24px;
      width: 100%;
      max-width: 760px;
      border-radius: 24px;
      position: relative;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
      animation: fadeIn 0.3s;
      max-height: 90vh;
      overflow-y: auto;
    }

    .material-sheet {
      display: flex;
      flex-direction: column;
      padding: 0;
      overflow: hidden;
    }

    .modal-sheet-header {
      position: sticky;
      top: 0;
      z-index: 5;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 16px;
      min-height: 84px;
      padding: 24px 72px 20px 24px;
      background: #fff;
      border-bottom: 1px solid var(--line);
      flex-shrink: 0;
    }

    .modal-sheet-header h2 {
      margin: 0;
      text-align: center;
    }

    .financial-sheet-header {
      flex-direction: column;
      align-items: stretch;
      justify-content: flex-start;
      padding: 24px 72px 20px 24px;
    }

    .financial-sheet-header h2 {
      width: 100%;
    }

    .financial-sheet-header .payment-switcher {
      width: 100%;
      margin: 0;
    }

    .modal-scroll-layout {
      display: flex;
      flex: 1;
      min-height: 0;
      flex-direction: column;
    }

    .sheet-close-btn {
      position: absolute;
      top: 50%;
      right: 18px;
      transform: translateY(-50%);
      margin: 0;
    }

    .modal-form-layout {
      display: flex;
      flex: 1;
      min-height: 0;
      flex-direction: column;
    }

    .modal-form-body {
      flex: 1;
      min-height: 0;
      overflow-y: auto;
      padding: 24px 24px 10px;
    }

    .modal-form-footer {
      flex-shrink: 0;
      padding: 16px 24px 22px;
      background: #fff;
      border-top: 1px solid var(--line);
      box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.06);
    }

    .modal-form-footer .submit-btn {
      margin-top: 0;
    }

    .modal-form-footer .note {
      margin-top: 12px;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(-20px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .close-btn {
      color: var(--text-main);
      position: absolute;
      right: 18px;
      top: 12px;
      font-size: 34px;
      font-weight: 900;
      cursor: pointer;
      line-height: 1;
      z-index: 10;
    }

    .close-btn:hover {
      color: var(--blue-dark);
    }

    h2 {
      color: var(--text-main);
      font-size: 1.7rem;
      margin-bottom: 15px;
    }

    .form-group {
      margin-bottom: 20px;
    }

    .form-group label {
      display: block;
      margin-bottom: 8px;
      font-weight: 700;
      font-size: 1rem;
      color: var(--text-main);
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
      width: 100%;
      padding: 13px 15px;
      border: 1px solid #d8d8d8;
      border-radius: 14px;
      font-size: 1rem;
      background: #fff;
      color: #000;
      font-family: inherit;
      outline: none;
      transition: 0.2s ease;
    }

    .form-group input:focus,
    .form-group textarea:focus,
    .form-group select:focus {
      border-color: var(--blue);
      box-shadow: 0 0 0 4px rgba(110, 168, 255, 0.18);
    }

    .form-group textarea {
      min-height: 120px;
      resize: vertical;
    }

    .submit-btn {
      background-color: var(--blue);
      color: #fff;
      padding: 16px 25px;
      border: none;
      border-radius: 14px;
      cursor: pointer;
      width: 100%;
      font-size: 1rem;
      font-weight: 900;
      margin-top: 15px;
      transition: 0.25s ease;
      min-height: 55px;
    }

    .submit-btn:hover {
      background: var(--blue-dark);
    }

    .note {
      margin-top: 15px;
      font-size: 0.92rem;
      text-align: center;
      color: var(--text-soft);
    }

    .requisites-box {
      background: #f9fbff;
      border: 1px solid #dfe9f5;
      border-radius: 18px;
      padding: 24px;
      margin: 25px 0;
    }

    .requisites-box h3 {
      font-size: 1.3rem;
      margin-bottom: 20px;
      color: var(--text-main);
      padding-bottom: 10px;
      border-bottom: 1px solid #dfe9f5;
    }

    .requisite-item {
      margin-bottom: 15px;
    }

    .requisite-item strong {
      display: block;
      margin-bottom: 5px;
      color: var(--text-main);
    }

    .requisite-item span {
      font-size: 1.02rem;
      color: var(--text-soft);
      word-break: break-all;
    }

    .requisite-info,
    .contact-info,
    .okved-info {
      border-radius: 18px;
      padding: 20px;
      margin: 20px 0;
    }

    .requisite-info {
      background: #f8fbff;
      border: 1px solid #dfe9f5;
    }

    .contact-info {
      background: #eef8ff;
      border: 1px solid #dff0ff;
    }

    .okved-info {
      background: #fff7ec;
      border: 1px solid #f1d2a8;
    }

    .requisite-info h4,
    .contact-info h4,
    .okved-info h4 {
      font-size: 1.05rem;
      margin-bottom: 12px;
      color: var(--text-main);
    }

    .requisite-info ul {
      list-style: disc;
      padding-left: 22px;
      margin-bottom: 15px;
    }

    .requisite-info li,
    .requisite-info p,
    .contact-info p,
    .okved-info p {
      font-size: 0.95rem;
      line-height: 1.6;
      color: var(--text-soft);
      margin-bottom: 8px;
    }

    .download-btn {
      display: inline-block;
      padding: 12px 22px;
      background: #2f7085;
      color: var(--text-main);
      border-radius: 12px;
      text-decoration: none;
      font-weight: 700;
      font-size: 1rem;
      margin-top: 10px;
      transition: 0.25s ease;
    }

    .download-btn:hover {
      background: #2f7085;
    }

    .payment-switcher {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
      margin: 10px 0 22px;
    }

    .payment-switch-btn {
      border: none;
      border-radius: 16px;
      padding: 18px 18px;
      font-size: 1rem;
      font-weight: 900;
      cursor: pointer;
      transition: 0.25s ease;
      background: #eef3fa;
      color: var(--text-main);
      box-shadow: var(--shadow);
      min-height: 140px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .payment-switch-btn:hover {
      transform: translateY(-2px);
    }

    .payment-switch-btn.active {
      background: #2f7085;
      color: var(--text-main);
    }

    .payment-switch-btn-inner {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 12px;
      width: 100%;
      flex-wrap: nowrap;
      text-align: center;
    }

    .payment-switch-btn-inner span {
      display: block;
      width: 100%;
      line-height: 1.25;
      white-space: nowrap;
    }

    .payment-switch-logo {
      display: block;
      width: auto !important;
      max-width: none !important;
      height: 42px !important;
      max-height: 42px !important;
      object-fit: contain;
      flex: 0 0 auto;
    }

    .payment-switch-logo.psb-logo {
      height: 56px !important;
      max-height: 56px !important;
    }

    .payment-title-with-logo {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      flex-wrap: nowrap;
      text-align: center;
      margin-bottom: 16px;
      white-space: nowrap;
    }

    .payment-title-with-logo h3 {
      margin-bottom: 0;
      font-size: 1.2rem;
      line-height: 1.2;
      white-space: nowrap;
    }

    .payment-box-logo {
      display: block;
      height: 34px;
      max-height: 34px;
      width: auto;
      max-width: none;
      object-fit: contain;
      flex: 0 0 auto;
    }

    .payment-box-logo.psb-inline {
      display: block;
      height: 42px;
      max-height: 42px;
      width: auto;
      max-width: none;
    }

    .payment-box-logo.psb-requisites {
      display: block;
      height: 68px;
      max-height: 68px;
      width: auto;
      max-width: none;
    }

    .payment-box-logo-combo {
      display: block;
      height: 40px;
      max-height: 40px;
      width: auto;
      max-width: none;
      object-fit: contain;
      flex: 0 0 auto;
    }

    .payment-title-with-logo-combo {
      gap: 14px;
    }

    .payment-title-with-logo.double-logo {
      gap: 10px;
    }

    .requisites-brand-box {
      display: flex;
      justify-content: center;
      align-items: center;
      margin: 0 0 14px;
    }

    .requisites-brand-box img {
      width: auto;
      height: 68px;
      max-height: 68px;
      max-width: none;
      object-fit: contain;
    }

    @media (max-width: 768px) {
      .payment-switch-btn {
        min-height: 120px;
        padding: 16px 14px;
      }

      .payment-switch-btn-inner {
        gap: 10px;
      }

      .payment-switch-btn-inner span {
        white-space: nowrap;
      }

      .payment-switch-logo {
        height: 34px !important;
        max-height: 34px !important;
      }

      .payment-switch-logo.psb-logo {
        height: 46px !important;
        max-height: 46px !important;
      }

      .payment-title-with-logo {
        flex-wrap: nowrap;
        gap: 8px;
      }

      .payment-box-logo {
        height: 28px;
        max-height: 28px;
        max-width: none;
      }

      .payment-box-logo.psb-inline {
        height: 34px;
        max-height: 34px;
        width: auto;
        max-width: none;
      }

      .payment-box-logo.psb-requisites {
        height: 56px;
        max-height: 56px;
        width: auto;
        max-width: none;
      }

      .payment-box-logo-combo {
        height: 34px;
        max-height: 34px;
        width: auto;
        max-width: none;
      }

      .requisites-brand-box img {
        height: 56px;
        max-height: 56px;
        max-width: none;
      }
    }

    .payment-panel {
      display: none;
    }

    .payment-panel.active {
      display: block;
    }

    .payment-empty-state {
      display: none;
      padding: 28px 24px;
      margin: 24px 0;
      border-radius: 20px;
      background: #f8fbff;
      border: 1px solid #dfe9f5;
      text-align: center;
      color: var(--text-soft);
    }

    .payment-empty-state.active {
      display: block;
    }

    .payment-empty-state h3 {
      margin-bottom: 10px;
      color: var(--text-main);
      font-size: 1.2rem;
    }

    .qr-box {
      background: #f9fbff;
      border: 1px solid #dfe9f5;
      border-radius: 20px;
      padding: 24px;
      margin: 24px 0;
      text-align: center;
    }

    .qr-box h3 {
      font-size: 1.25rem;
      margin-bottom: 16px;
    }

    .qr-image-wrap {
      width: 100%;
      display: flex;
      justify-content: center;
      margin-bottom: 18px;
    }

    .qr-image {
      width: 100%;
      max-width: 260px;
      aspect-ratio: 1 / 1;
      object-fit: contain;
      background: #fff;
      border: 1px solid #dfe9f5;
      border-radius: 18px;
      padding: 12px;
      box-shadow: var(--shadow);
    }

    .qr-note {
      font-size: 0.96rem;
      color: var(--text-soft);
      margin-bottom: 18px;
    }

    .pay-actions {
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin-top: 18px;
    }

    .pay-link-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      text-decoration: none;
      border: none;
      border-radius: 16px;
      padding: 16px 20px;
      font-size: 1rem;
      font-weight: 900;
      cursor: pointer;
      transition: 0.25s ease;
      min-height: 56px;
      background: var(--blue);
      color: #fff;
      width: 100%;
    }

    .pay-link-btn:hover {
      background: var(--blue-dark);
      transform: translateY(-2px);
    }

    .consent-label a,
    .legal-links-inline a,
    .footer-legal-links a,
    .legal-footer a,
    .legal-note a {
      color: var(--accent-teal, var(--blue-dark, #3f93ba));
      text-decoration: underline;
      text-underline-offset: 3px;
      font-weight: 700;
    }

    .consent-help,
    .legal-note,
    .legal-links-inline {
      margin-top: 10px;
      font-size: 0.94rem;
      line-height: 1.6;
      color: var(--text-soft, #4d5a5f);
    }

    .legal-links-inline {
      padding: 14px 16px;
      border-radius: 14px;
      background: rgba(255, 255, 255, 0.72);
      border: 1px solid rgba(0, 0, 0, 0.08);
    }

    .legal-footer {
      margin-top: 32px;
      padding: 18px 20px 26px;
      background: rgba(17, 17, 17, 0.92);
      color: #fff;
    }

    .legal-footer__inner {
      max-width: 1280px;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      gap: 16px;
      align-items: center;
      flex-wrap: wrap;
    }

    .legal-footer__brand {
      font-size: 0.98rem;
      font-weight: 800;
      letter-spacing: 0.3px;
    }

    .legal-footer__links {
      display: flex;
      gap: 16px 22px;
      flex-wrap: wrap;
    }

    .legal-footer__links a {
      color: #d7e7ff;
      text-decoration: underline;
      text-underline-offset: 3px;
      font-size: 0.94rem;
    }

    .legal-footer__links a:hover,
    .footer-legal-links a:hover,
    .consent-label a:hover,
    .legal-links-inline a:hover,
    .legal-note a:hover {
      color: #ffffff;
      opacity: 0.95;
    }

    .payment-legal-card {
      background: #f8fbff;
      border: 1px solid #dfe9f5;
    }

    img,
    svg,
    video,
    canvas,
    iframe {
      max-width: 100%;
      height: auto;
    }

    input,
    select,
    textarea,
    button {
      font: inherit;
    }

    .video-showcase {
      position: relative;
      display: grid;
      grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
      gap: 30px;
      align-items: center;
      overflow: hidden;
      background:
        linear-gradient(135deg, rgba(15, 20, 32, 0.84), rgba(32, 38, 52, 0.68)),
        url("../../images/bg-font-placdarm1.JPG") center center / cover no-repeat;
      border: 1px solid rgba(255, 255, 255, 0.14);
      backdrop-filter: none;
    }

    .video-showcase::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, rgba(0, 0, 0, 0.24) 0%, rgba(0, 0, 0, 0.12) 45%, rgba(255, 255, 255, 0.04) 100%);
      pointer-events: none;
    }

    .video-showcase > * {
      position: relative;
      z-index: 1;
    }

    .video-showcase .section-eyebrow {
      background: rgba(255, 255, 255, 0.16);
      color: #ffffff;
      border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .video-showcase__text {
      min-width: 0;
    }

    .video-showcase__text h2 {
      font-size: clamp(1.8rem, 2.4vw, 2.6rem);
      line-height: 1.1;
      margin-bottom: 14px;
      color: #ffffff;
    }

    .video-showcase__text p {
      color: rgba(255, 255, 255, 0.92);
      font-size: 18px;
      line-height: 1.7;
      margin-bottom: 16px;
    }

    .video-showcase__media {
      width: 100%;
      max-width: 560px;
      justify-self: end;
    }

    .video-showcase__frame {
      position: relative;
      overflow: hidden;
      border-radius: 26px;
      background: #0b1220;
      box-shadow: var(--shadow-lg);
      border: 1px solid rgba(17, 17, 17, 0.08);
    }

    .video-showcase__video {
      display: block;
      width: 100%;
      aspect-ratio: 16 / 9;
      background: #000;
      object-fit: cover;
    }

    .scroll-top-btn {
      position: fixed;
      right: 24px;
      bottom: 24px;
      width: 58px;
      height: 58px;
      border: none;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, #2f7085, #92cbdb);
      color: #111111;
      box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
      cursor: pointer;
      z-index: 450;
      opacity: 0;
      visibility: hidden;
      transform: translateY(16px) scale(0.92);
      transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease, box-shadow 0.28s ease;
    }

    .scroll-top-btn::before {
      content: "";
      position: absolute;
      inset: 1px;
      border-radius: inherit;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.12));
      opacity: 0.65;
    }

    .scroll-top-btn svg {
      position: relative;
      z-index: 1;
      width: 24px;
      height: 24px;
      transition: transform 0.25s ease;
    }

    .scroll-top-btn:hover {
      transform: translateY(-3px) scale(1);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
    }

    .scroll-top-btn:hover svg {
      transform: translateY(-2px);
    }

    .scroll-top-btn.visible {
      opacity: 1;
      visibility: visible;
      transform: translateY(0) scale(1);
    }

    @media (max-width: 1100px) {
      .hero-content {
        flex-direction: column;
        text-align: center;
        padding: 40px 24px;
      }

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

    @media (max-width: 980px) {
      .video-showcase {
        grid-template-columns: 1fr;
      }

      .video-showcase__media {
        justify-self: stretch;
        max-width: none;
      }
    }

    @media (max-width: 768px) {
      body {
        font-size: 16px;
        line-height: 1.5;
      }

      .header-inner {
        padding: 14px 16px !important;
        align-items: flex-start;
        gap: 12px;
      }

      .header-actions {
        width: 100%;
        justify-content: flex-end;
        gap: 10px;
      }

      .logo {
        font-size: 22px !important;
        max-width: calc(100% - 60px);
        white-space: normal;
        word-break: normal;
      }

      .logo small {
        font-size: 13px !important;
      }

      .top-btn,
      .pay-link-btn,
      .submit-btn,
      .download-btn {
        min-height: 46px;
        padding: 12px 16px !important;
        font-size: 14px !important;
      }

      .burger {
        width: 48px !important;
        height: 48px !important;
        flex: 0 0 48px;
      }

      .side-menu {
        width: min(88vw, 360px);
        max-width: 88vw;
        padding: 20px 16px;
      }

      .side-nav a,
      .side-nav button {
        min-height: 46px;
        padding: 13px 14px;
      }

      .hero,
      .container {
        padding-left: 14px !important;
        padding-right: 14px !important;
      }

      .hero {
        margin-top: 20px;
      }

      .hero-content {
        padding: 28px 20px !important;
        border-radius: 24px;
      }

      .hero h1 {
        font-size: clamp(28px, 8vw, 38px) !important;
        line-height: 1.08;
      }

      .hero-description {
        font-size: 1rem;
      }

      .about-section,
      .contact-info,
      .requisite-info,
      .okved-info,
      .requisites-box,
      .modal-content,
      .material-sheet {
        padding: 20px 16px !important;
        border-radius: 22px;
      }

      .about-section h2 {
        font-size: clamp(1.25rem, 5vw, 1.65rem) !important;
        line-height: 1.25;
      }

      .content-flex,
      .footer-bottom {
        flex-direction: column;
        gap: 18px;
      }

      .modal {
        padding: 8px;
      }

      .modal-content {
        width: 100%;
        max-height: calc(100vh - 16px);
        margin: 8px auto;
      }

      .modal-sheet-header {
        min-height: 74px;
        padding: 20px 58px 16px 16px !important;
      }

      .modal-form-body,
      .modal-form-footer {
        padding: 16px !important;
      }

      .close-btn {
        font-size: 30px;
        right: 14px;
        top: 10px;
      }

      .sheet-close-btn {
        top: 50%;
        right: 14px;
      }

      .form-group input,
      .form-group textarea,
      .form-group select,
      input,
      select,
      textarea {
        font-size: 16px !important;
        padding: 12px;
      }

      .legal-footer {
        padding: 18px 14px 24px !important;
      }

      .legal-footer__inner {
        align-items: flex-start;
      }

      .legal-footer__links {
        flex-direction: column;
        gap: 10px;
      }

      .payment-switcher,
      .info-grid {
        grid-template-columns: 1fr;
      }

      table {
        display: block;
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
      }

      .scroll-top-btn {
        right: 16px;
        bottom: 16px;
        width: 52px;
        height: 52px;
      }
    }

    @media (max-width: 480px) {
      body {
        font-size: 15px;
      }

      .logo {
        font-size: 18px !important;
        max-width: calc(100% - 56px);
      }

      .logo small {
        font-size: 12px !important;
      }

      .hero,
      .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
      }

      .hero-content {
        padding: 24px 16px !important;
        border-radius: 22px;
      }

      .hero h1 {
        font-size: clamp(24px, 8vw, 32px) !important;
      }

      .about-section,
      .contact-info,
      .requisite-info,
      .okved-info,
      .requisites-box,
      .material-sheet {
        padding: 18px 14px !important;
        border-radius: 18px;
      }

      .top-btn,
      .pay-link-btn,
      .submit-btn,
      .download-btn {
        font-size: 13px !important;
        padding: 12px 14px !important;
      }

      .side-menu {
        width: 100vw;
        max-width: 100vw;
        right: -100vw;
        border-radius: 0;
      }

      .about-section h2 {
        font-size: 1.15rem !important;
      }
    }

    @media (hover: none) and (pointer: coarse) {
      .top-btn,
      .pay-link-btn,
      .submit-btn,
      .close-btn,
      .download-btn {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
      }

      .form-group input,
      .form-group textarea,
      .form-group select {
        min-height: 48px;
      }
    }
  

  /* === universal top bar alignment + logo font sync 2026-04-04 === */
  .site-header .header-inner {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: clamp(6px, 1.6vw, 16px) !important;
    min-width: 0 !important;
  }

  .site-header .logo {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .site-header .logo,
  .site-header .logo small,
  .site-header .logo span {
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    letter-spacing: inherit !important;
    line-height: inherit !important;
    color: inherit !important;
  }

  .site-header .logo small {
    white-space: nowrap !important;
    font-size: inherit !important;
  }

  .site-header .header-inner > .header-actions,
  .site-header .header-inner > .back-link,
  .site-header .header-inner > .home-link,
  .site-header .header-inner > .top-link {
    margin-left: auto !important;
  }

  .site-header .header-actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: clamp(6px, 1.4vw, 12px) !important;
    width: auto !important;
    max-width: none !important;
    flex: 0 0 auto !important;
    min-width: 0 !important;
  }

  .site-header .header-actions > * {
    flex: 0 0 auto !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
    align-self: center !important;
  }

  .site-header .top-btn,
  .site-header .home-link,
  .site-header .top-link,
  .site-header .back-link,
  .site-header .cta-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    max-width: none !important;
    flex: 0 0 auto !important;
    white-space: nowrap !important;
  }

  .site-header .burger {
    flex: 0 0 50px !important;
    width: 50px !important;
    min-width: 50px !important;
    height: 50px !important;
    aspect-ratio: 1 / 1 !important;
  }

  @media (max-width: 900px) {
    .site-header .header-inner {
      padding-left: 16px !important;
      padding-right: 16px !important;
    }

    .site-header .logo {
      font-size: clamp(18px, 3.4vw, 24px) !important;
      letter-spacing: 0 !important;
    }

    .site-header .top-btn,
    .site-header .home-link,
    .site-header .top-link,
    .site-header .back-link,
    .site-header .cta-btn {
      padding-left: 14px !important;
      padding-right: 14px !important;
      font-size: 14px !important;
    }
  }

  @media (max-width: 640px) {
    .site-header .header-inner {
      padding-left: 12px !important;
      padding-right: 12px !important;
      gap: 8px !important;
    }

    .site-header .logo {
      font-size: clamp(15px, 4.2vw, 20px) !important;
      letter-spacing: 0 !important;
    }

    .site-header .header-actions {
      gap: 8px !important;
    }

    .site-header .top-btn,
    .site-header .home-link,
    .site-header .top-link,
    .site-header .back-link,
    .site-header .cta-btn {
      padding-left: 10px !important;
      padding-right: 10px !important;
      min-height: 42px !important;
      font-size: 12px !important;
      border-radius: 12px !important;
    }

    .site-header .burger {
      flex-basis: 42px !important;
      width: 42px !important;
      min-width: 42px !important;
      height: 42px !important;
    }
  }

  @media (max-width: 420px) {
    .site-header .header-inner {
      padding-left: 8px !important;
      padding-right: 8px !important;
      gap: 6px !important;
    }

    .site-header .logo {
      font-size: clamp(13px, 4vw, 16px) !important;
      letter-spacing: 0 !important;
    }

    .site-header .header-actions {
      gap: 6px !important;
    }

    .site-header .top-btn,
    .site-header .home-link,
    .site-header .top-link,
    .site-header .back-link,
    .site-header .cta-btn {
      padding-left: 8px !important;
      padding-right: 8px !important;
      min-height: 38px !important;
      font-size: 11px !important;
      border-radius: 10px !important;
    }

    .site-header .burger {
      flex-basis: 38px !important;
      width: 38px !important;
      min-width: 38px !important;
      height: 38px !important;
    }
  }

    /* === word-based wrapping fix 2026-04 === */
    html, body {
      overflow-x: hidden;
    }

    .header-inner,
    .header-actions,
    .hero-buttons,
    .list-actions,
    .form-row,
    .units-grid,
    .info-grid,
    .region-calc-grid,
    .money-calc-grid,
    .content-flex,
    .docnav,
    .topnav {
      flex-wrap: wrap;
    }

    .header-inner > *,
    .header-actions > *,
    .hero-buttons > *,
    .list-actions > *,
    .form-row > *,
    .units-grid > *,
    .info-grid > *,
    .region-calc-grid > *,
    .money-calc-grid > *,
    .content-flex > *,
    .docnav > *,
    .topnav > * {
      min-width: 0 !important;
      max-width: 100%;
    }

    h1, h2, h3, h4, h5, h6,
    p, li, label,
    .big-title,
    .subtitle,
    .section h2,
    .hero-title,
    .hero-subtitle,
    .hero-description,
    .hero-card-title,
    .hero-card-text,
    .list-title,
    .list-content,
    .sublist-title,
    .sublist-content,
    .info-card,
    .intro-card,
    .hero-card,
    .region-info-card,
    .region-info-card-full,
    .legal-card,
    .requisite-item,
    .contact-info,
    .form-subtitle,
    .form-group label,
    .side-nav a,
    .side-nav button,
    .top-btn,
    .hero-btn,
    .hero-card-btn,
    .contract-btn,
    .submit-btn,
    .list-link-btn,
    .download-btn,
    .donation-btn,
    .cta-btn,
    .calc-tab-btn,
    .calc-open-btn,
    .money-reset-btn,
    nav a,
    .logo,
    .docnav a,
    .topnav a {
      white-space: normal !important;
      overflow-wrap: break-word !important;
      word-break: normal !important;
      hyphens: manual !important;
      max-width: 100%;
    }

    button,
    [type="button"],
    [type="submit"],
    a[class*="btn"],
    .list-title,
    .sublist-title,
    .top-btn,
    .hero-btn,
    .hero-card-btn,
    .contract-btn,
    .submit-btn,
    .list-link-btn,
    .download-btn,
    .donation-btn,
    .cta-btn,
    .calc-tab-btn,
    .calc-open-btn,
    .money-reset-btn,
    nav a,
    .side-nav a,
    .side-nav button,
    .docnav a,
    .topnav a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      min-width: 0;
      max-width: 100%;
      line-height: 1.35;
    }

    .list-title,
    .sublist-title,
    .top-btn,
    .hero-btn,
    .hero-card-btn,
    .contract-btn,
    .submit-btn,
    .list-link-btn,
    .download-btn,
    .donation-btn,
    .cta-btn,
    .calc-tab-btn,
    .calc-open-btn,
    .money-reset-btn {
      height: auto;
    }

    [class*="card"],
    .list-item,
    .list-content,
    .sublist-item,
    .sublist-content,
    .form-block,
    .modal-content,
    .contact-info,
    .requisite-item {
      min-width: 0;
      max-width: 100%;
    }

    .form-group,
    .form-group input,
    .form-group select,
    .form-group textarea,
    .search,
    .search input,
    .search-btn {
      min-width: 0;
      max-width: 100%;
    }

    @media (max-width: 768px) {
      .logo {
        white-space: normal !important;
        text-align: center;
      }

      .header-actions,
      .hero-buttons,
      .list-actions,
      .form-row,
      .docnav,
      .topnav {
        justify-content: center;
      }

      .top-btn,
      .hero-btn,
      .hero-card-btn,
      .contract-btn,
      .submit-btn,
      .list-link-btn,
      .download-btn,
      .donation-btn,
      .cta-btn,
      .calc-tab-btn,
      .calc-open-btn,
      .money-reset-btn,
      nav a,
      .side-nav a,
      .side-nav button,
      .docnav a,
      .topnav a {
        width: 100%;
      }
    }

  

  /* Карточки первого блока "ПлАЦДАРМ": весь текст по левому краю */
  .hero .info-grid .info-card-action,
  .hero .info-grid .info-card-action h3,
  .hero .info-grid .info-card-action p,
  .hero .info-grid .info-card-action .info-card-cta {
    text-align: left !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
  }

  .hero .info-grid .info-card-action h3,
  .hero .info-grid .info-card-action p,
  .hero .info-grid .info-card-action .info-card-cta {
    width: 100%;
  }

