:root {
      --navy: #152a62;
      --navy-2: #243f86;
      --text: #1f3368;
      --muted: #5a6d97;
      --heart: #e5394a;
      --line: rgba(21, 42, 98, 0.08);
      --card: rgba(255, 255, 255, 0.82);
      --shadow: 0 14px 40px rgba(21, 42, 98, 0.1);
    }

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

    html {
      height: 100%;
      background: #e4f0f9;
    }

    html, body {
      width: 100%;
      max-width: 100%;
      overflow-x: hidden;
      overflow-x: clip;
      overflow-y: auto;
      overscroll-behavior-x: none;
    }

    body {
      min-height: 100%;
      min-height: 100vh;
      min-height: 100dvh;
      margin: 0;
      display: flex;
      flex-direction: column;
      font-family: "Manrope", sans-serif;
      color: var(--text);
      background: #e4f0f9;
      overflow-x: hidden;
      overflow-x: clip;
      overflow-y: auto;
      position: relative;
      touch-action: pan-y;
      -webkit-text-size-adjust: 100%;
    }

    .scene {
      position: relative;
      flex: 1 1 auto;
      width: 100%;
      min-height: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: clamp(0.85rem, 2vh, 1.5rem);
      padding: clamp(0.85rem, 2vh, 1.5rem) clamp(1.2rem, 4vw, 3rem) clamp(0.75rem, 1.5vh, 1.1rem);
      overflow: hidden;
      box-sizing: border-box;
      background:
        radial-gradient(ellipse 80% 55% at 0% 0%, rgba(94, 186, 235, 0.35), transparent 55%),
        radial-gradient(ellipse 70% 50% at 100% 10%, rgba(255, 176, 92, 0.22), transparent 50%),
        radial-gradient(ellipse 60% 45% at 85% 100%, rgba(94, 210, 150, 0.2), transparent 55%),
        linear-gradient(165deg, #f7fbff 0%, #eef6fc 48%, #e4f0f9 100%);
    }

    .scene::before {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      height: 36%;
      background:
        radial-gradient(ellipse at 20% 40%, rgba(126, 200, 240, 0.45), transparent 55%),
        radial-gradient(ellipse at 70% 60%, rgba(168, 212, 240, 0.5), transparent 50%);
      filter: blur(8px);
      pointer-events: none;
      z-index: 0;
      animation: mist 12s ease-in-out infinite alternate;
    }

    .blob {
      position: absolute;
      border-radius: 50%;
      filter: blur(40px);
      opacity: 0.45;
      pointer-events: none;
      z-index: 0;
      animation: float 16s ease-in-out infinite;
    }

    .blob-a {
      width: 280px; height: 280px;
      left: -60px; top: 35%;
      background: #ffb4b8;
      animation-delay: -3s;
    }

    .blob-b {
      width: 320px; height: 320px;
      right: -80px; top: 20%;
      background: #9ed7f5;
      animation-delay: -8s;
    }

    .hero {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: minmax(180px, 280px) minmax(280px, 1fr);
      gap: clamp(1.25rem, 3vw, 2.5rem);
      align-items: center;
      max-width: 1120px;
      width: 100%;
      margin: 0 auto;
      min-height: min-content;
      animation: rise 0.7s cubic-bezier(.22,1,.36,1) both;
    }

    .logo-side {
      display: grid;
      place-items: center;
      order: 1;
    }

    .logo-frame {
      position: relative;
      width: min(100%, 220px);
    }

    .logo-frame::before {
      content: "";
      position: absolute;
      inset: 6% 8%;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(229,57,74,0.16), transparent 68%);
      animation: pulse 3.4s ease-in-out infinite;
      z-index: 0;
    }

    .logo-frame img {
      position: relative;
      z-index: 1;
      width: 100%;
      height: auto;
      display: block;
      border-radius: 24px;
      animation: bob 5.5s ease-in-out infinite;
      filter: drop-shadow(0 18px 36px rgba(21, 42, 98, 0.14));
    }

    .top {
      text-align: center;
      order: 2;
      min-width: 0;
      position: relative;
      z-index: 2;
    }

    .top h1 {
      font-size: clamp(1.35rem, 2.8vw, 2.1rem);
      font-weight: 800;
      letter-spacing: -0.02em;
      color: var(--navy);
      line-height: 1.2;
      margin-bottom: 0.7rem;
      position: relative;
      z-index: 1;
    }

    .accent {
      width: 64px;
      height: 4px;
      margin: 0 auto 0.85rem;
      border-radius: 99px;
      background: linear-gradient(90deg, #57d08d, #ffc857, #ef5b55, #5bb5ef);
      background-size: 200% 100%;
      animation: slide 5s linear infinite;
    }

    .top .lead {
      font-size: clamp(0.92rem, 1.35vw, 1.08rem);
      font-weight: 600;
      color: var(--muted);
      line-height: 1.5;
      margin-bottom: 0;
      position: relative;
      z-index: 1;
    }

    .middle {
      position: relative;
      z-index: 1;
      max-width: 1200px;
      width: 100%;
      margin: 0 auto;
      min-height: min-content;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      animation: rise 0.8s cubic-bezier(.22,1,.36,1) 0.08s both;
    }

    .hero,
    .middle,
    .cf-dots,
    .bottom {
      width: 100%;
      min-height: min-content;
      position: relative;
      z-index: 1;
      isolation: isolate;
    }

    .coverflow {
      position: relative;
      width: 100%;
      max-width: 1220px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.75rem;
      padding: 0 3rem 0.15rem;
      min-height: min-content;
      isolation: isolate;
      overflow: hidden;
    }

    .cf-heading {
      margin: 0;
      text-align: center;
      font-size: clamp(0.98rem, 1.45vw, 1.15rem);
      font-weight: 700;
      color: var(--navy-2);
      line-height: 1.35;
      max-width: 36rem;
      padding: 0 0.5rem;
      position: relative;
      z-index: 2;
      flex-shrink: 0;
    }

    .cf-viewport {
      position: relative;
      width: 100%;
      overflow: visible;
    }

    .cf-stage {
      position: relative;
      width: 100%;
      height: clamp(300px, 40vh, 400px);
      perspective: 1600px;
      perspective-origin: 50% 50%;
      transform-style: preserve-3d;
      overflow: hidden;
      margin-bottom: 0;
      touch-action: pan-y;
      -webkit-user-select: none;
      user-select: none;
    }

    .cf-card {
      position: absolute;
      top: 50%;
      left: 50%;
      width: min(250px, 22vw);
      height: auto;
      margin: 0;
      border: 0;
      padding: 0;
      background: transparent;
      cursor: pointer;
      transform-style: preserve-3d;
      transform-origin: center center;
      transition: transform 0.55s cubic-bezier(.22,1,.36,1), opacity 0.4s ease, filter 0.4s ease;
      -webkit-tap-highlight-color: transparent;
      will-change: transform, opacity;
      -webkit-backface-visibility: hidden;
      backface-visibility: hidden;
      touch-action: pan-y;
    }

    .cf-card-inner {
      position: relative;
      width: 100%;
      display: flex;
      flex-direction: column;
      border-radius: 20px;
      overflow: hidden;
      background: #fff;
      border: 1px solid rgba(255,255,255,0.98);
      box-shadow: 0 16px 36px rgba(21, 42, 98, 0.12);
      text-align: left;
    }

    .cf-card.is-active .cf-card-inner {
      box-shadow: 0 24px 48px rgba(21, 42, 98, 0.2);
      border-color: color-mix(in srgb, var(--c, #4aa3d8) 30%, white);
    }

    .cf-card:not(.is-active) .cf-card-inner {
      box-shadow: 0 10px 24px rgba(21, 42, 98, 0.1);
    }

    .cf-card:not(.is-active) .cf-body {
      opacity: 0.55;
    }

    .cf-card:not(.is-active) .cf-help {
      pointer-events: none;
      filter: grayscale(0.15);
    }

    .cf-media {
      position: relative;
      width: 100%;
      height: auto;
      aspect-ratio: 1 / 1;
      max-height: 168px;
      flex-shrink: 0;
      background: #fff;
      overflow: visible;
      display: grid;
      place-items: center;
      padding: 0.25rem 0.45rem 0;
      box-sizing: border-box;
    }

    .cf-media img {
      width: 68%;
      height: 68%;
      max-width: 140px;
      max-height: 140px;
      object-fit: contain;
      display: block;
    }

    .cf-num {
      position: absolute;
      top: 0.35rem;
      right: 0.5rem;
      font-size: clamp(1.45rem, 2vw, 1.85rem);
      font-weight: 800;
      color: var(--navy);
      opacity: 0.18;
      line-height: 1;
      z-index: 3;
      pointer-events: none;
      text-shadow: none;
    }

    .cf-body {
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.3rem;
      padding: 0.35rem 0.7rem 0.7rem;
      text-align: center;
      transition: opacity 0.35s ease;
    }

    .cf-title {
      font-size: 0.92rem;
      font-weight: 800;
      color: var(--navy);
      line-height: 1.25;
      width: 100%;
      text-align: center;
      white-space: normal;
      overflow: visible;
      text-overflow: unset;
      padding-right: 0;
    }

    .cf-desc {
      font-size: 0.74rem;
      font-weight: 600;
      color: var(--muted);
      line-height: 1.4;
      width: 100%;
      text-align: center;
      display: block;
      -webkit-line-clamp: unset;
      overflow: visible;
      margin: 0 0 0.25rem;
    }

    .cf-help {
      appearance: none;
      border: 0;
      cursor: pointer;
      width: 100%;
      padding: 0.55rem 0.7rem;
      border-radius: 999px;
      font-family: inherit;
      font-size: 0.82rem;
      font-weight: 800;
      color: #fff;
      background: linear-gradient(135deg, #e5394a 0%, #ff6b5a 55%, #ff8f4a 100%);
      box-shadow: 0 8px 18px rgba(229, 57, 74, 0.28);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .cf-help:hover {
      transform: translateY(-1px);
      box-shadow: 0 10px 22px rgba(229, 57, 74, 0.35);
    }

    .cf-nav {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      z-index: 40;
      width: 44px;
      height: 44px;
      border: 0;
      border-radius: 50%;
      background: rgba(255,255,255,0.95);
      color: var(--navy);
      box-shadow: 0 8px 20px rgba(21, 42, 98, 0.14);
      cursor: pointer;
      display: grid;
      place-items: center;
      transition: transform 0.2s ease, background 0.2s ease;
    }

    .cf-nav:hover {
      transform: translateY(-50%) scale(1.06);
      background: #fff;
    }

    .cf-prev { left: calc(50% - 455px); }
    .cf-next { right: calc(50% - 455px); }

    @media (max-width: 1100px) {
      .cf-prev { left: calc(50% - 400px); }
      .cf-next { right: calc(50% - 400px); }
    }

    @media (max-width: 980px) {
      .cf-prev { left: 0.25rem; }
      .cf-next { right: 0.25rem; }
    }

    .cf-nav svg {
      width: 18px;
      height: 18px;
      fill: currentColor;
    }

    .cf-dots {
      display: flex;
      gap: 0.45rem;
      justify-content: center;
      align-items: center;
      z-index: 5;
      position: relative;
      margin-top: 0.2rem;
      flex-shrink: 0;
      width: 100%;
    }

    .cf-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      border: 0;
      padding: 0;
      background: color-mix(in srgb, var(--heart) 32%, white);
      cursor: pointer;
      transition: transform 0.2s ease, background 0.2s ease;
    }

    .cf-dot.is-active {
      background: var(--heart);
      transform: scale(1.28);
    }

    .cf-social { --c: #4aa3d8; }
    .cf-edu { --c: #45c947; }
    .cf-health { --c: #e0453a; }
    .cf-eco { --c: #2ea05a; }
    .cf-vet { --c: #8e4fc4; }
    .cf-intl { --c: #2f8fd6; }
    .cf-cult { --c: #e07a22; }

    .bottom {
      position: relative;
      z-index: 1;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      max-width: 1120px;
      width: 100%;
      margin: auto auto 0;
      padding: 0.75rem 1rem;
      border-radius: 20px;
      background: rgba(255,255,255,0.72);
      border: 1px solid rgba(255,255,255,0.95);
      box-shadow: var(--shadow);
      backdrop-filter: blur(14px);
      animation: rise 0.75s cubic-bezier(.22,1,.36,1) 0.2s both;
      flex-shrink: 0;
    }

    .contacts {
      display: flex;
      flex-wrap: wrap;
      gap: 0.7rem 1.4rem;
      align-items: center;
    }

    .contact {
      display: inline-flex;
      align-items: center;
      gap: 0.55rem;
      text-decoration: none;
      color: var(--navy);
      font-weight: 700;
      font-size: clamp(0.9rem, 1.2vw, 1.02rem);
      transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .contact:hover {
      transform: translateY(-2px);
      opacity: 0.85;
    }

    .contact .chip {
      width: 34px;
      height: 34px;
      border-radius: 10px;
      display: grid;
      place-items: center;
      flex-shrink: 0;
    }

    .contact .chip svg {
      width: 16px;
      height: 16px;
      fill: #fff;
    }

    .chip-ig {
      background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 62%, #285aeb 90%);
    }

    .chip-phone {
      background: linear-gradient(145deg, #3556a8, var(--navy));
    }

    .help-btn {
      appearance: none;
      border: 0;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 0.55rem;
      padding: 0.9rem 1.55rem;
      border-radius: 999px;
      font-family: inherit;
      font-size: 1rem;
      font-weight: 800;
      color: #fff;
      background: linear-gradient(135deg, #e5394a 0%, #ff6b5a 55%, #ff8f4a 100%);
      box-shadow: 0 12px 28px rgba(229, 57, 74, 0.32);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .help-btn svg {
      width: 18px;
      height: 18px;
      fill: currentColor;
    }

    .help-btn:hover {
      transform: translateY(-2px) scale(1.02);
      box-shadow: 0 16px 34px rgba(229, 57, 74, 0.4);
    }

    .help-btn:active {
      transform: translateY(0) scale(0.99);
    }

    .modal {
      position: fixed;
      inset: 0;
      z-index: 50;
      display: grid;
      place-items: center;
      padding: 1rem;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.25s ease, visibility 0.25s ease;
    }

    .modal[hidden] {
      display: none !important;
    }

    .modal.open {
      opacity: 1;
      visibility: visible;
    }

    .modal-bg {
      position: absolute;
      inset: 0;
      background: rgba(16, 30, 70, 0.52);
      backdrop-filter: blur(6px);
    }

    .modal-card {
      position: relative;
      width: min(1080px, 100%);
      background: #fff;
      border-radius: 22px;
      padding: clamp(1rem, 2vw, 1.5rem);
      box-shadow: 0 30px 70px rgba(16, 30, 70, 0.28);
      transform: translateY(18px) scale(0.97);
      transition: transform 0.3s cubic-bezier(.22,1,.36,1);
      max-height: min(92vh, 900px);
      overflow: auto;
    }

    .modal.open .modal-card {
      transform: none;
    }

    .modal-close {
      position: absolute;
      top: 0.7rem;
      right: 0.7rem;
      width: 36px;
      height: 36px;
      border: 0;
      border-radius: 50%;
      background: #eef3fa;
      color: var(--navy);
      font-size: 1.3rem;
      cursor: pointer;
      line-height: 1;
      z-index: 2;
    }

    .modal-close:hover { background: #e1e9f4; }

    .modal-card h2 {
      text-align: center;
      font-size: 1.2rem;
      font-weight: 800;
      color: var(--navy);
      margin-bottom: 0.25rem;
      padding-right: 1.5rem;
    }

    .modal-card > .modal-lead {
      text-align: center;
      color: var(--muted);
      font-weight: 600;
      font-size: 0.92rem;
      margin-bottom: 1rem;
    }

    .pay-grid {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 1rem;
      align-items: stretch;
    }

    .pay-item {
      display: flex;
      flex-direction: column;
      min-height: 0;
      border-radius: 14px;
      border: 1px solid #e8eef6;
      background: #fafcfe;
      overflow: hidden;
    }

    .pay-item img {
      width: 100%;
      height: auto;
      max-height: min(62vh, 460px);
      object-fit: contain;
      display: block;
      background: #fff;
    }

    .pay-item-title {
      padding: 0.55rem 0.7rem;
      text-align: center;
      font-size: 0.82rem;
      font-weight: 800;
      color: var(--navy);
      background: #fff;
      border-bottom: 1px solid #e8eef6;
    }

    .requisites {
      padding: 0.85rem 0.9rem 1rem;
      display: flex;
      flex-direction: column;
      gap: 0.55rem;
      flex: 1;
    }

    .requisites h3 {
      font-size: 0.95rem;
      font-weight: 800;
      color: var(--navy);
      margin-bottom: 0.15rem;
    }

    .requisites dl {
      display: grid;
      gap: 0.45rem;
    }

    .requisites .row {
      display: grid;
      gap: 0.1rem;
    }

    .requisites dt {
      font-size: 0.72rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.03em;
      color: var(--muted);
    }

    .requisites dd {
      font-size: 0.88rem;
      font-weight: 700;
      color: var(--navy);
      line-height: 1.35;
      word-break: break-word;
    }

    .pay-mobile {
      display: none;
    }

    @keyframes rise {
      from { opacity: 0; transform: translateY(18px); }
      to { opacity: 1; transform: none; }
    }

    @keyframes bob {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-8px); }
    }

    @keyframes pulse {
      0%, 100% { transform: scale(1); opacity: 0.5; }
      50% { transform: scale(1.12); opacity: 0.85; }
    }

    @keyframes slide {
      to { background-position: 200% 0; }
    }

    @keyframes float {
      0%, 100% { transform: translate(0, 0); }
      50% { transform: translate(20px, -24px); }
    }

    @keyframes mist {
      from { transform: translateY(0); }
      to { transform: translateY(-12px); }
    }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation: none !important;
        transition: none !important;
      }
    }


    /* Высокий экран */
    @media (min-height: 920px) {
      .scene {
        justify-content: flex-start;
      }
    }

    /* Низкое окно: компактнее, слайдер не обрезаем */
    @media (max-height: 860px) {
      .scene {
        gap: clamp(0.75rem, 2vh, 1.25rem);
        padding: clamp(0.75rem, 1.8vh, 1.25rem) clamp(1rem, 3vw, 2.5rem);
        align-content: start;
      }

      .logo-frame {
        width: min(100%, 150px);
      }

      .top h1 {
        font-size: clamp(1.15rem, 2.4vw, 1.7rem);
        margin-bottom: 0.4rem;
        line-height: 1.25;
      }

      .accent {
        margin-bottom: 0.45rem;
      }

      .top .lead {
        font-size: clamp(0.85rem, 1.2vw, 0.98rem);
        line-height: 1.4;
      }

      .cf-heading {
        font-size: clamp(0.9rem, 1.3vw, 1.05rem);
      }

      .coverflow {
        gap: 0.55rem;
        padding-inline: 2.5rem;
      }

      .cf-stage {
        height: clamp(300px, 44vh, 380px);
      }

      .cf-media {
        max-height: 140px;
      }
    }

    @media (max-height: 700px) {
      .scene {
        gap: 0.65rem;
      }

      .logo-frame {
        width: min(100%, 120px);
      }

      .cf-stage {
        height: clamp(280px, 48vh, 340px);
      }

      .cf-media {
        max-height: 118px;
      }

      .cf-body {
        padding: 0.25rem 0.55rem 0.55rem;
      }
    }

    @media (max-width: 900px) {
      html, body {
        overflow-x: hidden;
        overflow-x: clip;
        overflow-y: auto;
        max-width: 100%;
        width: 100%;
        position: relative;
        height: auto;
        min-height: 100%;
        background: #e4f0f9;
      }

      body {
        touch-action: pan-y;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        min-height: 100vh;
        min-height: 100dvh;
        display: flex;
        flex-direction: column;
        background: #e4f0f9;
        background-attachment: scroll;
      }

      .scene {
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        height: auto;
        min-height: 100%;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        gap: 0.85rem;
        padding: 0.9rem 0.85rem 0.9rem;
        align-items: stretch;
        justify-content: flex-start;
      }

      .scene::before,
      .blob-a,
      .blob-b {
        display: none;
      }

      .hero,
      .middle,
      .coverflow,
      .cf-dots,
      .bottom {
        max-width: 100%;
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
        flex: 0 0 auto;
      }

      .hero {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-areas:
          "logo title"
          "lead lead";
        column-gap: 0.75rem;
        row-gap: 0.5rem;
        align-items: center;
        justify-items: stretch;
        text-align: left;
        margin: 0;
      }

      .logo-side {
        grid-area: logo;
        order: unset;
        place-items: center;
      }

      .top {
        display: contents;
        max-width: none;
        padding-inline: 0;
      }

      .top h1 {
        grid-area: title;
        align-self: center;
        text-align: center;
        font-size: clamp(1.05rem, 4.2vw, 1.35rem);
        line-height: 1.2;
        margin: 0;
        overflow-wrap: normal;
        word-break: normal;
      }

      .top h1 .brand-name {
        display: block;
        white-space: nowrap;
      }

      .accent {
        display: none;
      }

      .top .lead {
        grid-area: lead;
        text-align: center;
        font-size: clamp(0.8rem, 3.2vw, 0.9rem);
        line-height: 1.4;
        margin: 0;
        overflow-wrap: anywhere;
        word-break: break-word;
      }

      .logo-frame {
        width: clamp(72px, 22vw, 92px);
      }

      .logo-frame::before {
        inset: 4% 6%;
        animation: none;
      }

      .logo-frame img {
        animation: none;
        border-radius: 14px;
        filter: drop-shadow(0 8px 16px rgba(21, 42, 98, 0.12));
      }

      .cf-heading {
        display: none;
      }

      .middle {
        display: flex;
        overflow: visible;
        max-width: 100%;
      }

      .coverflow {
        padding: 0 2.4rem;
        overflow: visible;
        max-width: 100%;
        touch-action: pan-y;
        -webkit-user-select: none;
        user-select: none;
        background: transparent;
        gap: 0;
      }

      .cf-stage,
      .cf-viewport {
        background: transparent;
        overflow: visible;
      }

      .cf-stage {
        height: min(360px, 56vh);
        min-height: 280px;
        max-height: none;
        aspect-ratio: auto;
        perspective: none;
        width: 100%;
        max-width: 100%;
        touch-action: pan-y;
        margin: 0;
        overflow: visible;
      }

      .cf-card {
        width: min(270px, calc(100% - 0.5rem));
        height: auto;
        max-width: 100%;
        background: transparent;
        filter: none !important;
        transition: none !important;
        box-shadow: none !important;
      }

      .cf-card:not(.is-active) {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transition: none !important;
        transform: translate(-50%, -50%) !important;
      }

      .cf-card.is-active {
        opacity: 1 !important;
        visibility: visible !important;
        filter: none !important;
      }

      .cf-card .cf-card-inner {
        border: 1px solid #fff !important;
        box-shadow: 0 8px 18px rgba(21, 42, 98, 0.08) !important;
      }

      .cf-card:not(.is-active) .cf-card-inner {
        box-shadow: none !important;
        background: transparent !important;
        border-color: transparent !important;
      }

      .cf-card.is-active .cf-card-inner {
        box-shadow: 0 8px 18px rgba(21, 42, 98, 0.08) !important;
        border-color: #fff !important;
      }

      .cf-card:not(.is-active) .cf-body {
        opacity: 1;
      }

      .cf-media {
        max-height: min(42vw, 150px);
      }

      .cf-media img {
        max-width: 120px;
        max-height: 120px;
      }

      .cf-nav {
        top: 50%;
        transform: translateY(-50%);
        width: 38px;
        height: 38px;
      }

      .cf-nav:hover {
        transform: translateY(-50%) scale(1.05);
      }

      .cf-prev { left: 0.1rem; }
      .cf-next { right: 0.1rem; }

      .cf-title { font-size: 1rem; }
      .cf-desc {
        font-size: 0.8rem;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
      }

      .cf-dots {
        margin: 0.35rem 0;
        padding: 0.35rem 0;
        gap: 0.4rem;
      }

      .bottom {
        flex-direction: column;
        gap: 0.75rem;
        padding: 0.85rem;
        border-radius: 16px;
        position: relative;
        bottom: auto;
        margin-top: auto;
        margin-bottom: 0;
      }

      .contacts {
        justify-content: center;
        width: 100%;
        gap: 0.65rem 1rem;
        max-width: 100%;
      }

      .contact {
        font-size: 0.9rem;
        max-width: 100%;
      }

      .help-btn {
        width: 100%;
        justify-content: center;
        padding: 0.95rem 1.2rem;
        font-size: 1rem;
      }

      .modal-card {
        padding: 1rem 0.85rem 0.85rem;
        border-radius: 18px;
      }

      .modal-card h2 {
        font-size: 1.05rem;
      }

      .pay-grid {
        display: none;
      }

      .pay-mobile {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
      }

      .pay-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
      }

      .pay-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 64px;
        padding: 0.85rem 0.75rem;
        border-radius: 16px;
        border: 1px solid #e5eef8;
        background: #fff;
        box-shadow: 0 8px 20px rgba(21, 42, 98, 0.08);
        text-decoration: none;
        cursor: pointer;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
        font-family: inherit;
      }

      .pay-btn:hover,
      .pay-btn:active {
        transform: translateY(-1px);
        box-shadow: 0 10px 24px rgba(21, 42, 98, 0.12);
      }

      .pay-btn img {
        display: block;
        height: 36px;
        width: auto;
        max-width: 100%;
        object-fit: contain;
      }

      .pay-btn-req {
        min-height: 56px;
        font-size: 1.05rem;
        font-weight: 800;
        color: var(--navy);
        background: linear-gradient(180deg, #ffffff 0%, #f3f8fd 100%);
      }

      .pay-btn-req.is-open {
        border-color: color-mix(in srgb, var(--navy) 25%, white);
        background: #eef4fb;
      }

      .req-mobile {
        display: none;
        border-radius: 14px;
        border: 1px solid #e8eef6;
        background: #fafcfe;
        padding: 0.85rem 0.9rem;
      }

      .req-mobile.open {
        display: block;
      }

      .req-mobile .requisites {
        padding: 0;
      }
    }

    @media (max-width: 520px) {
      .logo-frame {
        width: clamp(64px, 20vw, 84px);
      }

      .cf-card {
        width: min(250px, 100%);
      }

      .coverflow {
        padding: 0 2.1rem;
      }

      .hero {
        column-gap: 0.55rem;
        row-gap: 0.4rem;
      }

      .top h1 {
        font-size: clamp(0.98rem, 4.4vw, 1.2rem);
      }

      .cf-stage {
        height: min(340px, 54vh);
        min-height: 260px;
      }

      .cf-media {
        max-height: min(40vw, 130px);
      }
    }

    @media (max-width: 900px) and (max-height: 700px) {
      .scene {
        gap: 0.55rem;
        padding: 0.65rem 0.75rem 0.85rem;
        min-height: 100%;
      }

      .logo-frame {
        width: 64px;
      }

      .cf-stage {
        height: min(300px, 52vh);
        min-height: 240px;
        aspect-ratio: auto;
      }

      .cf-media {
        max-height: 100px;
      }

      .cf-desc {
        -webkit-line-clamp: 2;
      }

      .cf-dots {
        margin: 0.2rem 0;
        padding: 0.2rem 0;
      }

      .bottom {
        padding: 0.7rem;
        gap: 0.55rem;
      }

      .help-btn {
        padding: 0.75rem 1rem;
      }
    }