:root {
  --primary-green: #3eb489;
  --primary-green-dark: #2d9b73;
  --primary-green-rgb: 62, 180, 137;
  --accent-teal: #14b8a6;
  --accent-teal-dark: #0d9488;
  --accent-teal-rgb: 20, 184, 166;
  --accent-teal-soft: #11b294;
  --teal-deep-rgb: 15, 118, 110;
  --color-white: #ffffff;
  --color-black: #000000;
  --ink: #20332c;
  --mist: #f7faf9;
  --slate-300: #d1d5db;
  --slate-400: #9ca3af;
  --slate-500: #64748b;
  --slate-600: #4b5563;
  --slate-700: #374151;
  --slate-800: #1f2937;
  --slate-900: #111827;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --border-slate-light: #cbd5e1;
  --quote-indigo: #c7d2fe;
  --calc-emerald: #11b294;
  --calc-teal: #00c2a8;
  --calc-grey: #8d8d8d;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top, rgba(var(--primary-green-rgb), 0.1), transparent 28%),
    linear-gradient(180deg, var(--color-white) 0%, var(--mist) 48%, var(--color-white) 100%);
}


a.btn-primary-oval,
button.btn-primary-oval {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  margin: 10px;
  border-radius: 9999px;
  border: none;
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
  /* White ring + grey stroke + lift; margin prevents outer ring clipping */
  box-shadow: 0 0 0 5px var(--color-white), 0 0 0 6px var(--slate-300), 0 10px 25px rgba(0, 0, 0, 0.1), inset 0 0 12px rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  min-width: clamp(160px, 12vw, 240px);
  min-height: clamp(44px, 3.5vw, 58px);
  padding: clamp(10px, 0.8vw, 18px) clamp(16px, 2vw, 36px);
  font-size: clamp(12px, 0.85vw, 16px);
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  outline: none;
}

a.btn-primary-oval:hover,
button.btn-primary-oval:hover {
  /* На ховере чуть усиливаем акцент, но сохраняем минимализм */
  box-shadow: 0 0 0 5px var(--color-white), 0 0 0 6px var(--slate-300), 0 10px 25px rgba(0,0,0,0.1), inset 0 0 12px rgba(255,255,255,0.2);
  transform: translateY(-2px);
}


    /* ── Lead popup: flat .popup + 3D ::before only (no clip; stable flex layout) ─ */
    #modal-root {
      overflow: visible;
      font-family: "MuseoSansCyrl", sans-serif !important;
    }

    #calculator-modal,
    #calculator-modal * {
      font-family: "MuseoSansCyrl", sans-serif !important;
    }

    /* ── Calculator: dual trapeze stack (transforms only on ::before) ─ */
    .calc-dual-stack {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0;
      position: relative;
      width: 80vw;
      max-width: 100%;
      margin: auto;
      align-self: center;
      box-sizing: border-box;
      padding: clamp(12px, 2vw, 24px) 0;
      transform-style: preserve-3d;
    }

    /* Laptop / short viewports: keep modal compact (Tailwind .hidden must win over .calc-final--artboard display:flex) */
    @media (max-width: 1440px), (max-height: 900px) {
      #calculator-modal.calc-dual-stack {
        transform: scale(0.85);
        transform-origin: center center;
      }
    }

    .calc-card {
      position: relative;
      box-sizing: border-box;
      isolation: isolate;
      overflow: visible;
      background: transparent !important;
    }

    .calc-card::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -1;
      background: #fff;
      border-radius: 32px;
      pointer-events: none !important;
    }

    /* Content sits above skewed ::before; receives clicks (esp. vs. overlapping left card) */
    .calc-card-content,
    #calculator-modal .card-content {
      position: relative;
      z-index: 10;
      pointer-events: auto;
      width: 100%;
    }

    .calc-card--right > .calc-card-content {
      display: flex;
      flex-direction: column;
      flex: 1 1 auto;
      align-items: stretch;
      justify-content: flex-start;
      min-height: 0;
      position: relative;
      z-index: 10;
      pointer-events: auto;
    }

    #calculator-modal input,
    #calculator-modal button,
    #calculator-modal label.calc-option {
      pointer-events: auto !important;
    }

    .calc-card--left {
      z-index: 2;
      flex: 0 0 clamp(220px, 26vw, 340px);
      width: clamp(220px, 26vw, 340px);
      min-width: 0;
      min-height: min(46vh, 430px);
      margin: 0;
      align-self: center;
      display: flex;
      flex-direction: column;
      pointer-events: none;
    }

    .calc-card--left > .calc-card-content {
      display: flex;
      flex-direction: column;
      flex: 1;
      min-height: 100%;
    }

    .calc-card--left::before {
      transform: perspective(1200px) rotateY(-20deg);
      transform-origin: left center;
      box-shadow: 8px 16px 36px rgba(0, 0, 0, 0.08);
    }

    .calc-card--right {
      z-index: 1;
      flex: 0 0 clamp(300px, 55vw, 920px);
      width: clamp(300px, 55vw, 920px);
      max-width: 60%;
      min-width: 0;
      min-height: min(58vh, 580px);
      margin: 0 0 0 -0.5vw;
      display: flex;
      flex-direction: column;
      align-items: stretch;
      align-self: center;
    }

    @media (max-width: 1400px) {
      .calc-card--left {
        min-height: min(42vh, 390px);
      }

      .calc-card--right {
        min-height: min(52vh, 520px);
      }
    }

    .calc-card--right::before {
      transform: perspective(1200px) rotateY(10deg);
      transform-origin: right center;
      box-shadow: 0 28px 64px -24px rgba(0, 0, 0, 0.09);
    }

    .calc-card-inner {
      position: relative;
      z-index: 10;
      pointer-events: auto;
      padding: clamp(1.25rem, 2.5vw, 2rem);
    }

    .calc-card-inner--left {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      gap: clamp(10px, 1.2vw, 18px);
      padding: clamp(1.75rem, 4vh, 3rem) clamp(0.85rem, 1.6vw, 1.35rem);
    }

    .calc-left-kicker {
      margin: 0;
      font-size: clamp(14px, 1.15vw, 18px);
      font-weight: 700;
      color: var(--calc-emerald);
    }

    .calc-left-lead {
      margin: 0;
      font-size: clamp(11px, 0.95vw, 14px);
      color: var(--calc-grey);
      line-height: 1.45;
      max-width: 22rem;
    }

    .calc-sidebar-percent-wrap {
      flex-shrink: 0;
      line-height: 0;
      margin-bottom: clamp(2px, 0.4vh, 6px);
    }

    .calc-sidebar-percent-icon {
      width: clamp(44px, 5vw, 56px);
      height: auto;
      max-height: 56px;
      object-fit: contain;
      display: block;
      margin: 0 auto;
    }

    .calc-left-form {
      width: 100%;
      max-width: 18rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: clamp(8px, 1vw, 12px);
    }

    .calc-offer-field-slot {
      width: 100%;
      max-width: 18rem;
      min-height: 48px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .calc-sidebar-docs-img {
      width: 100%;
      max-width: 100%;
      height: auto;
      max-height: clamp(96px, 16vh, 188px);
      object-fit: contain;
      object-position: center bottom;
      display: block;
    }

    .calc-offer-input,
    #calc-offer-phone.calc-offer-input {
      width: 100%;
      padding: 14px 18px 14px 20px;
      border-radius: 999px;
      border: 1px solid #d1d5db;
      font-size: 14px;
      font-family: "MuseoSansCyrl", sans-serif !important;
      text-align: left !important;
      direction: ltr;
      outline: none;
      box-sizing: border-box;
      transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .calc-offer-input:focus {
      border-color: var(--calc-emerald);
      box-shadow: 0 0 0 3px rgba(17, 178, 148, 0.2);
    }

    @keyframes calc-phone-shake {
      0%,
      100% {
        transform: translateX(0);
      }
      20%,
      60% {
        transform: translateX(-6px);
      }
      40%,
      80% {
        transform: translateX(6px);
      }
    }

    .calc-offer-input.error-shake,
    .calc-result-phone.error-shake {
      animation: calc-phone-shake 0.45s ease;
      border-color: #ef4444 !important;
      box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.28) !important;
    }

    .calc-offer-btn {
      margin-top: 4px;
    }

    .calc-step-badge {
      position: absolute;
      top: 0;
      right: clamp(10px, 1.8vw, 36px);
      z-index: 18;
      margin: 0;
      padding: 0;
      background: transparent;
      pointer-events: none;
    }

    .calc-step-badge-shape {
      display: inline-block;
      padding: 10px clamp(18px, 2.4vw, 32px) 12px;
      background: linear-gradient(165deg, #00d4b8, var(--calc-teal));
      color: #fff;
      font-size: clamp(12px, 1vw, 14px);
      font-weight: 700;
      border-radius: 0 0 16px 16px;
      transform: skewX(-10deg);
      transform-origin: top center;
      box-shadow: 0 6px 18px rgba(0, 194, 168, 0.28);
      pointer-events: auto;
    }

    .calc-step-badge-inner {
      display: block;
      transform: skewX(10deg);
      text-align: center;
      white-space: nowrap;
    }

    .calc-close-btn {
      position: absolute;
      top: 2vw;
      right: 2vw;
      z-index: 25;
      pointer-events: auto;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      padding: 0;
      border: none;
      border-radius: 999px;
      background: transparent;
      color: var(--calc-grey);
      cursor: pointer;
      transition: color 0.2s ease, background 0.2s ease;
    }

    .calc-close-btn-x {
      font-size: 1.75rem;
      font-weight: 300;
      line-height: 1;
      margin-top: -2px;
    }

    .calc-close-btn:hover {
      color: var(--calc-emerald);
      background: rgba(17, 178, 148, 0.08);
    }

    .calc-card-inner--right {
      flex: 1 1 auto;
      display: flex;
      flex-direction: column;
      align-items: stretch;
      justify-content: flex-start;
      padding: 0 clamp(0.75rem, 1.5vw, 1.25rem);
      text-align: center;
      min-height: 0;
    }

    .calc-right-head {
      flex: 0 0 auto;
      width: 100%;
      max-width: 40rem;
      margin: 0 auto;
      padding-top: clamp(2.25rem, 4vh, 3.25rem);
      padding-bottom: clamp(0.25rem, 0.8vh, 0.65rem);
    }

    .calc-right-stage {
      flex: 1 1 auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      min-height: 0;
      width: 100%;
      transition: opacity 0.22s ease;
    }

    .calc-right-stage .calc-options,
    .calc-right-stage .calc-final {
      width: 100%;
      max-width: 52rem;
      margin-left: auto;
      margin-right: auto;
    }

    .calc-meta {
      margin: 0 0 clamp(4px, 0.6vh, 8px);
      font-size: clamp(11px, 0.95vw, 13px);
      font-weight: 600;
      color: var(--calc-grey);
    }

    .calc-question {
      margin: 0;
      font-size: clamp(22px, 1.8vw, 34px);
      font-weight: 900;
      font-family: "MuseoSansCyrl", sans-serif !important;
      color: #000;
      line-height: 1.2;
      max-width: 36rem;
      margin-left: auto;
      margin-right: auto;
    }

    .calc-options {
      width: 100%;
      max-width: 52rem;
      box-sizing: border-box;
    }

    .calc-options--flex-row-3 {
      display: flex;
      flex-direction: row;
      flex-wrap: nowrap;
      justify-content: center;
      align-items: stretch;
      gap: clamp(8px, 1.2vw, 18px);
      max-width: 100%;
      margin-left: auto;
      margin-right: auto;
      padding-inline: clamp(4px, 1vw, 16px);
    }

    .calc-options--flex-row-3 .calc-option.calc-option--square {
      flex: 1 1 0;
      min-width: 0;
      max-width: 34%;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      text-align: center;
      gap: clamp(8px, 1vh, 12px);
      padding: clamp(10px, 1.2vw, 14px) clamp(6px, 0.8vw, 10px) clamp(12px, 1.4vw, 16px);
      border-radius: 14px;
      border: none;
      background: #fafafa;
      box-shadow: none;
      transition: background 0.2s ease;
    }

    .calc-options--flex-row-3 .calc-option--square:hover {
      background: #f6fffc;
    }

    .calc-options--flex-row-3 .calc-option--square.is-selected {
      border: none;
      background: #fafafa;
      box-shadow: none;
    }

    .calc-options--flex-row-3 .calc-option--square.is-selected .calc-option-thumb-frame {
      border: 2px solid var(--calc-emerald);
      box-shadow: 0 0 0 1px rgba(17, 178, 148, 0.15);
    }

    .calc-option-thumb-frame {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 3px;
      background: #ffffff;
      border-radius: 10px;
      border: 1px solid #cbd5e1;
      flex-shrink: 0;
      line-height: 0;
      box-sizing: border-box;
    }

    .calc-options--flex-row-3 .calc-option-thumb-frame {
      width: clamp(88px, 10vw, 118px);
      aspect-ratio: 1;
      height: auto;
      max-width: 100%;
      border-radius: 12px;
    }

    .calc-options--flex-row-3 .calc-option-thumb-frame .calc-option-thumb {
      width: auto;
      height: auto;
      max-width: 100%;
      max-height: 100%;
      aspect-ratio: 1;
      border-radius: 8px;
      object-fit: contain;
      border: 1px solid rgba(15, 23, 42, 0.12);
      display: block;
      box-sizing: border-box;
      background: #f3faf8;
    }

    .calc-options--flex-row-3 .calc-option-text {
      width: 100%;
      text-align: center;
      font-size: clamp(10px, 0.82vw, 13px);
      line-height: 1.3;
      min-width: 0;
    }

    .calc-options--flex-row-3 .calc-option-mark {
      width: 22px;
      height: 22px;
      flex-shrink: 0;
      border-width: 2px;
    }

    .calc-options--flex-row-3 .calc-option-mark svg {
      width: 12px;
      height: 12px;
    }

    .calc-options--grid-2 {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: clamp(12px, 1.8vw, 18px);
      align-items: stretch;
    }

    .calc-options--stack {
      display: flex;
      flex-direction: column;
      gap: clamp(12px, 1.5vw, 16px);
      max-width: 28rem;
      margin-left: auto;
      margin-right: auto;
    }

    .calc-option {
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      text-align: center;
      gap: clamp(8px, 1vw, 12px);
      margin: 0;
      padding: clamp(10px, 1.2vw, 14px);
      border-radius: 20px;
      border: 2px solid #e5e7eb;
      cursor: pointer;
      transition: border-color 0.2s ease, box-shadow 0.2s ease;
      box-sizing: border-box;
    }

    .calc-option:hover {
      border-color: rgba(17, 178, 148, 0.45);
    }

    .calc-option.is-selected {
      border-color: var(--calc-emerald);
      box-shadow: 0 0 0 3px rgba(17, 178, 148, 0.15);
    }

    .calc-option input {
      position: absolute;
      opacity: 0;
      width: 0;
      height: 0;
      margin: 0;
    }

    .calc-option-thumb {
      width: 100%;
      max-width: clamp(72px, 11vw, 112px);
      height: auto;
      aspect-ratio: 1;
      object-fit: contain;
      border-radius: 12px;
      background: #f3faf8;
    }

    .calc-option-img {
      width: clamp(56px, 10vw, 80px);
      height: clamp(56px, 10vw, 80px);
      border-radius: 12px;
      background: linear-gradient(160deg, #e8f5f1, #c5e8dc);
      flex-shrink: 0;
    }

    .calc-option-text {
      font-size: clamp(11px, 0.95vw, 14px);
      font-weight: 600;
      color: #1f2937;
      text-align: center;
      line-height: 1.35;
      width: 100%;
    }

    .calc-option-mark {
      width: 22px;
      height: 22px;
      border-radius: 50%;
      border: 2px solid #d1d5db;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .calc-option.is-selected .calc-option-mark {
      border-color: var(--calc-emerald);
      background: var(--calc-emerald);
      color: #ffffff;
    }

    .calc-option-mark svg {
      width: 12px;
      height: 12px;
      opacity: 0;
    }

    .calc-option.is-selected .calc-option-mark svg {
      opacity: 1;
    }

    .calc-final {
      width: 100%;
      max-width: 28rem;
    }

    #calc-final.hidden {
      display: none !important;
      visibility: hidden;
      pointer-events: none;
    }

    .calc-final.calc-final--artboard {
      max-width: min(26rem, 100%);
      margin-left: auto;
      margin-right: auto;
      padding: clamp(1.35rem, 2.4vw, 2rem) clamp(1.1rem, 2vw, 1.75rem)
        clamp(1.25rem, 2.2vh, 1.65rem);
      border-radius: 24px;
      background: #ffffff;
      box-shadow: 0 14px 44px rgba(0, 0, 0, 0.07);
      border: 1px solid rgba(226, 232, 240, 0.95);
      display: flex;
      flex-direction: column;
      align-items: stretch;
      box-sizing: border-box;
    }

    .calc-final--entering {
      animation: calcFinalReveal 0.34s ease;
    }

    @keyframes calcFinalReveal {
      from {
        opacity: 0;
        transform: translateY(10px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .calc-sidebar-offer {
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: clamp(10px, 1.2vw, 18px);
    }

    .calc-card--left.is-step5 .calc-card-inner--left {
      justify-content: flex-start;
    }

    .calc-card--left.is-step5 .calc-left-form {
      gap: 0;
    }

    .calc-card--left.is-step5 .calc-btn--call {
      display: none !important;
    }

    .calc-methods-container,
    .calc-contact-methods,
    .calc-methods-grid {
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: center;
      align-items: stretch;
      gap: 8px;
      width: 100%;
      margin: 0 0 clamp(1.35rem, 2.5vh, 2rem);
      border: none;
      outline: none;
      box-shadow: none;
      background: transparent;
    }

    /* «По телефону» — всегда зелёная капсула; свечение только в .is-active */
    .calc-method.calc-method--channel.calc-method--phone,
    .calc-method.calc-method--channel.calc-method--phone:hover {
      background-color: #0fb894 !important;
      color: #fff !important;
      border: none !important;
      border-radius: 40px !important;
      padding: 10px 20px !important;
      box-shadow: none !important;
    }

    .calc-method.calc-method--channel.calc-method--phone.is-active {
      background-color: #0fb894 !important;
      color: #fff !important;
      border: none !important;
      border-radius: 40px !important;
      padding: 10px 20px !important;
    }

    .calc-method--phone svg,
    .calc-method--phone i {
      fill: #fff !important;
      color: #fff !important;
    }

    .calc-method--phone .calc-method-icon {
      filter: brightness(0) invert(1);
    }

    .calc-method--phone .calc-method-label {
      color: #fff !important;
    }

    .calc-method.calc-method--channel.calc-method--viber {
      border: 1px solid #7360f2 !important;
      background: #fff !important;
      color: #7360f2 !important;
    }

    .calc-method.calc-method--channel.calc-method--viber:hover {
      border-color: #7360f2 !important;
      background: rgba(115, 96, 242, 0.08) !important;
      color: #5b4bc9 !important;
      box-shadow: none !important;
    }

    .calc-method.calc-method--channel.calc-method--viber.is-active {
      border-color: #7360f2 !important;
      background: rgba(115, 96, 242, 0.1) !important;
      color: #5b4bc9 !important;
    }

    .calc-method.calc-method--channel.calc-method--whatsapp {
      border: 1px solid #25d366 !important;
      background: #fff !important;
      color: #25d366 !important;
    }

    .calc-method.calc-method--channel.calc-method--whatsapp:hover {
      border-color: #25d366 !important;
      background: rgba(37, 211, 102, 0.1) !important;
      color: #1fad57 !important;
      box-shadow: none !important;
    }

    .calc-method.calc-method--channel.calc-method--whatsapp.is-active {
      border-color: #25d366 !important;
      background: rgba(37, 211, 102, 0.12) !important;
      color: #1fad57 !important;
    }

    .calc-method-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 10px;
    }

    .calc-method {
      padding: 12px 8px;
      border-radius: 16px;
      border: 2px solid #e5e7eb;
      background: #fff;
      font-size: 11px !important;
      font-weight: 600;
      color: #374151;
      letter-spacing: -0.01em;
      text-transform: none;
      cursor: pointer;
      transition:
        border-color 0.22s ease,
        color 0.22s ease,
        background 0.22s ease,
        box-shadow 0.22s ease;
    }

    .calc-method:not(.calc-method--channel):hover,
    .calc-method:not(.calc-method--channel).is-active {
      border-color: var(--calc-emerald);
      color: var(--calc-emerald);
    }

    .calc-method.calc-method--channel {
      display: inline-flex;
      flex-direction: row;
      align-items: center;
      justify-content: center;
      gap: 8px;
      flex: 1 1 0;
      min-width: 130px !important;
      max-width: 100%;
      min-height: 32px;
      padding: 10px 12px !important;
      border-radius: 9999px;
      border-width: 1px;
      font-size: 11px !important;
      font-weight: 600;
      transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.22s ease,
        background 0.22s ease,
        color 0.22s ease;
    }

    .calc-method.calc-method--channel.is-active {
      transform: scale(1.05) !important;
      box-shadow: 0 0 0 3px rgba(15, 184, 148, 0.3) !important;
      border-color: #0fb894 !important;
      z-index: 2;
    }

    .calc-method.calc-method--channel.calc-method--phone.is-active {
      box-shadow: 0 0 0 3px rgba(15, 184, 148, 0.3) !important;
    }

    .calc-method.calc-method--channel.calc-method--viber.is-active {
      box-shadow: 0 0 0 3px rgba(115, 96, 242, 0.4) !important;
      border-color: #7360f2 !important;
    }

    .calc-method.calc-method--channel.calc-method--whatsapp.is-active {
      box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.4) !important;
      border-color: #25d366 !important;
    }

    .calc-method--channel:not(.calc-method--phone):not(.calc-method--viber):not(.calc-method--whatsapp):hover {
      border-color: rgba(17, 178, 148, 0.55);
      background: rgba(17, 178, 148, 0.04);
    }

    .calc-method--channel:not(.calc-method--phone):not(.calc-method--viber):not(.calc-method--whatsapp).is-active {
      border-color: var(--calc-emerald);
      background: rgba(17, 178, 148, 0.16);
      color: var(--calc-emerald);
      box-shadow: 0 0 0 2px rgba(17, 178, 148, 0.2);
    }

    .calc-method--channel .calc-method-icon {
      width: 20px;
      height: 20px;
      object-fit: contain;
      flex-shrink: 0;
      pointer-events: none;
      border: none;
      outline: none;
      box-shadow: none;
      background: transparent;
      border-radius: 0;
    }

    .calc-method-label {
      font-size: 12px !important;
      line-height: 1.1 !important;
      white-space: normal !important;
      text-align: center;
      overflow: visible;
      text-overflow: clip;
      pointer-events: none;
    }

    .calc-result-phone {
      width: 100%;
      max-width: 100%;
      margin: clamp(0.35rem, 0.9vh, 0.75rem) 0 clamp(0.85rem, 1.5vh, 1.1rem);
    }

    .calc-final-submit {
      width: 100%;
      max-width: 100%;
      justify-content: center;
      margin-top: 0 !important;
      margin-left: 0 !important;
      margin-right: 0 !important;
    }

    .calc-card--right .calc-final .calc-final-submit.calc-btn--final {
      margin: 30px auto 0 auto !important;
      display: flex !important;
      justify-content: center;
      align-items: center;
      width: fit-content !important;
      min-width: 260px;
      max-width: calc(100% - 8px);
      align-self: center;
    }

    .calc-nav-footer--final {
      justify-content: center;
    }

    .calc-nav-footer {
      position: relative;
      z-index: 30;
      pointer-events: auto;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 2vw;
      flex-shrink: 0;
      margin-top: auto;
      padding: clamp(1.5rem, 2.8vh, 2.75rem) clamp(1rem, 2vw, 1.5rem)
        clamp(22px, 3.2vw, 42px);
    }

    .calc-nav-btn {
      display: inline-flex;
      flex-direction: row;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 12px 20px;
      border: none;
      border-radius: 999px;
      font-size: clamp(13px, 1.05vw, 15px);
      font-weight: 600;
      cursor: pointer;
      pointer-events: auto;
      transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .calc-nav-label {
      line-height: 1.2;
    }

    .calc-nav-arrow {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      line-height: 0;
    }

    .calc-nav-arrow-svg {
      display: block;
      width: 1.1em;
      height: 1.1em;
    }

    .calc-nav-btn--next,
    .calc-nav-btn--back:not(:disabled) {
      cursor: pointer;
    }

    .calc-nav-btn--back {
      background: transparent;
      color: var(--calc-grey);
    }

    .calc-nav-btn--back:not(:disabled):hover {
      color: #6b7280;
    }

    .calc-nav-btn--back:disabled {
      opacity: 0.45;
      cursor: not-allowed;
    }

    .calc-nav-btn--next {
      background: transparent;
      color: var(--calc-emerald);
    }

    .calc-nav-btn--next:hover {
      color: #0d9488;
    }

    @media (max-width: 900px) {
      .calc-dual-stack {
        flex-direction: column;
        align-items: stretch;
        width: min(92vw, 100%);
      }

      .calc-card--left {
        margin: 0;
        max-width: none;
        flex: 1 1 auto;
        width: 100%;
        min-height: 0;
        align-self: stretch;
      }

      .calc-card--left > .calc-card-content {
        min-height: 0;
      }

      .calc-card-inner--left {
        flex: 0 1 auto;
        padding: clamp(1rem, 3vh, 1.75rem) clamp(0.75rem, 1.5vw, 1.25rem);
      }

      .calc-card--right {
        flex: 1 1 auto;
        width: 100%;
        max-width: none;
        min-height: 0;
        margin-left: 0;
        align-self: stretch;
      }

      .calc-step-badge {
        right: clamp(16px, 4vw, 40px);
      }

      .calc-options--flex-row-3 {
        flex-direction: column;
        align-items: stretch;
        padding-inline: 0;
      }

      .calc-options--flex-row-3 .calc-option.calc-option--square {
        max-width: 100%;
        flex: 1 1 auto;
      }

      .calc-options--grid-2 {
        grid-template-columns: 1fr;
      }

      .calc-method-grid {
        grid-template-columns: 1fr;
      }

      .calc-methods-container,
      .calc-contact-methods,
      .calc-methods-grid {
        flex-direction: column;
      }

      .calc-method.calc-method--channel {
        flex: 1 1 auto;
        width: 100%;
        max-width: 22rem;
      }
    }

    #lead-modal.popup-shell,
    #lead-modal.popup-shell * {
      font-family: "MuseoSansCyrl", sans-serif !important;
    }

    #lead-modal.popup-shell {
      width: 100%;
      max-width: 36rem;
      margin: 0 auto;
      padding: 0;
    }

    #lead-modal .popup {
      position: relative;
      width: 100%;
      min-height: 280px;
      display: flex;
      flex-direction: column;
      align-items: center;
      box-sizing: border-box;
      padding: clamp(2rem, 4vw, 2.75rem) clamp(1.5rem, 3vw, 2.25rem);
      background: transparent !important;
      overflow: visible;
      isolation: isolate;
    }

    #lead-modal .popup::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -1;
      background: #ffffff;
      border-radius: 32px;
      box-shadow: 0 44px 100px -18px rgba(0, 0, 0, 0.18);
      transform: perspective(1200px) rotateY(-15deg) scaleX(1.1);
      transform-origin: right center;
      transform-style: preserve-3d;
      pointer-events: none;
    }

    #lead-modal .popup-inner {
      position: relative;
      z-index: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 100%;
      padding-left: 40px;
    }

    #lead-modal .popup-close {
      position: absolute;
      top: 15px;
      right: 15px;
      z-index: 2;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      padding: 0;
      border: none;
      border-radius: 999px;
      background: transparent;
      color: #11b294;
      cursor: pointer;
      transition: background 0.2s ease, color 0.2s ease;
    }

    #lead-modal .popup-close:hover {
      background: rgba(17, 178, 148, 0.1);
      color: #0d9488;
    }

    #lead-modal .popup-close-icon {
      display: block;
      width: 22px;
      height: 22px;
    }

    #lead-modal .modal-title {
      font-size: clamp(16px, 1.2vw, 22px);
      font-weight: 800;
      color: var(--slate-800);
      margin: 0 0 12px;
      padding: 0 clamp(1.25rem, 3vw, 2.75rem);
      line-height: 1.3;
      text-align: center;
      width: 100%;
      box-sizing: border-box;
    }

    #lead-modal .modal-description {
      font-size: clamp(14px, 1.1vw, 17px);
      color: var(--slate-600);
      margin: 0 auto 20px;
      max-width: 100%;
      line-height: 1.5;
      text-align: center;
    }

    #lead-modal .modal-input {
      width: 100%;
      max-width: 100%;
      padding: 16px 24px 16px 20px;
      border-radius: 999px;
      border: 1px solid var(--slate-300);
      margin-bottom: 16px;
      transition: border-color 0.3s ease, box-shadow 0.3s ease;
      outline: none;
      font-size: 15px;
      text-align: left !important;
      background: #f8fafc;
      box-sizing: border-box;
    }

    #lead-modal .modal-input:focus {
      border-color: var(--primary-green);
      box-shadow: 0 0 0 4px rgba(var(--primary-green-rgb), 0.1);
    }

    #lead-modal .modal-submit-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      max-width: 100%;
      border-radius: 9999px;
      border: none;
      background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
      box-shadow: 0 0 0 5px transparent, 0 0 0 6px var(--slate-300), 0 10px 25px rgba(0, 0, 0, 0.1);
      color: var(--color-white);
      padding: 16px 32px;
      font-weight: 600;
      font-size: 16px;
      transition: box-shadow 0.3s ease, transform 0.2s ease;
      margin-top: 4px;
      box-sizing: border-box;
      cursor: pointer;
    }

    #lead-modal .modal-submit-btn:hover {
      box-shadow: 0 0 0 5px transparent, 0 0 0 6px var(--slate-400), 0 15px 30px rgba(0, 0, 0, 0.15);
      transform: translateY(-2px);
    }

    /* ── Full-screen success (outside #modal-root) ─ */
    .success-overlay {
      position: fixed;
      inset: 0;
      z-index: 10000;
      display: none;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      background: #ffffff;
      font-family: "MuseoSansCyrl", sans-serif !important;
      padding: clamp(1.5rem, 4vw, 2.5rem);
      box-sizing: border-box;
    }

    .success-overlay.is-open {
      display: flex;
    }

    .success-overlay-inner {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      max-width: min(36rem, 100%);
      width: 100%;
      font-family: "MuseoSansCyrl", sans-serif !important;
    }

    .success-overlay-icon {
      --success-halo: 10px;
      position: relative;
      width: clamp(96px, 16vw, 148px);
      height: clamp(96px, 16vw, 148px);
      margin: 0 auto clamp(16px, 2.5vw, 28px);
    }

    .success-overlay-ring {
      position: absolute;
      inset: 0;
      margin: auto;
      width: 100%;
      height: 100%;
      border-radius: 50%;
      border: 1px solid rgba(224, 231, 255, 0.95);
      box-sizing: border-box;
      pointer-events: none;
    }

    .success-overlay-core {
      position: absolute;
      inset: var(--success-halo);
      margin: auto;
      border-radius: 50%;
      background: var(--primary-green);
      display: flex;
      align-items: center;
      justify-content: center;
      box-sizing: border-box;
      aspect-ratio: 1;
    }

    .success-overlay-check {
      width: 42%;
      height: 42%;
      color: #ffffff;
    }

    .success-overlay-kicker {
      margin: 0 0 clamp(8px, 1vw, 14px);
      font-size: clamp(12px, 1.1vw, 15px);
      font-weight: 600;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      color: var(--primary-green);
    }

    .success-overlay-title {
      margin: 0 0 clamp(10px, 1.2vw, 18px);
      font-size: clamp(22px, 3vw, 36px);
      font-weight: 800;
      line-height: 1.15;
      color: var(--color-black);
    }

    .success-overlay-sub {
      margin: 0;
      font-size: clamp(14px, 1.35vw, 18px);
      line-height: 1.45;
      color: var(--slate-600);
      max-width: 28rem;
    }

    .success-overlay-footer {
      margin-top: clamp(2.5rem, 8vw, 5rem);
      width: 100%;
      display: flex;
      justify-content: center;
    }

    .success-overlay-back {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      font-size: clamp(14px, 1.2vw, 17px);
      font-weight: 600;
      color: var(--slate-700);
      text-decoration: none;
      cursor: pointer;
      font-family: "MuseoSansCyrl", sans-serif !important;
    }

    .success-overlay-back:hover {
      color: var(--primary-green);
    }

    .success-overlay-arrow {
      width: 22px;
      height: 22px;
      flex-shrink: 0;
      color: #3eb489;
    }

    /* ── Hero Screen 1 layers ─────────────────────────────────────────────
       Первая секция (s1-first-screen) z-index: 20, #screen-02 — 10.
       Тележка: центр-якорь (left 50% + translate), z-index: 50; green-panel: 10.
    ───────────────────────────────────────────────────────────────────── */

    @font-face {
  font-family: 'MuseoSansCyrl';
  src: url('../assets/fonts/museosanscyrl_100.otf') format('opentype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

    *,
    *::before,
    *::after {
      font-family: 'MuseoSansCyrl', sans-serif !important;
    }

    html,
    body {
      font-weight: 100;
    }

    #fullpage-track > .s1-first-screen {
      position: relative;
      z-index: 20;
    }

    #fullpage-track #screen-02.screen-section {
      position: relative;
      z-index: 10;
    }

    .s1-first-screen .hero-screen-frame {
      position: relative;
      z-index: 11 !important;
    }

 /* ══════════════════════════════════════════════════════════════════════
   SCREEN 1: 3 колонки + 2 строки по 300px; белая на 1–2 рядах, зелёная во 2-м
   Grid: [540px | 100px | 400px]
   ══════════════════════════════════════════════════════════════════════ */

   .s1-layout-grid {
    display: grid;
    grid-template-columns: 500px 100px 350px;
    grid-template-rows: 200px 200px 200px;
    
    /* ЗАЖИМАЕМ ПО ЦЕНТРУ */
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%); /* Сдвиг назад на половину своей ширины/высоты */
    
    width: 1040px;
    height: 600px; /* Важно задать высоту для корректного top: 50% */
    box-sizing: border-box;
    z-index: 20;
  }

.s1-white-panel,
.s1-hero-artboard {
  grid-column: 1 / 3;
  grid-row: 1 / 4;
  align-self: stretch;
  position: relative !important;
  z-index: 20;
  width: 540px !important;
  height: 100% !important;
  min-height: 0;
  padding: 4.5rem 4rem !important;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.s1-white-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.10));
  z-index: 0;
  pointer-events: none;
}

.s1-white-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}

.s1-title-img {
  width: 85%;
  height: auto;
  display: block;
}

.s1-description-img {
  width: 80%;
  height: auto;
  display: block;
  margin-top: 10px;
}

.s1-cta-btn {
  margin-top: 10px;
  pointer-events: auto;
}

/* ── Green panel: row 2, slight overlap upward on white ─────────────── */
.s1-green-panel,
.s1-layout-grid .screen1-green-wrap {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  position: relative;
  width: 350px;
  max-width: 620px;
  min-height: 250px;
  height: auto;
  z-index: 20;
  align-self: center;
  margin-top: -40px;
  margin-left: 0;
  isolation: isolate;
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  transform: perspective(1000px) rotateY(-15deg);
  transform-origin: left center;
}

.s1-green-card-bg {
  position: absolute;
  inset: 0;
  background-color: var(--accent-teal-soft) !important;
  border-radius: 24px;
  transform: none;
  transform-origin: left center;
  box-shadow: 0 22px 44px rgba(17, 178, 148, 0.25);
  pointer-events: none;
  z-index: 0;
}

.s1-green-card-text {
  position: relative;
  z-index: 10;
  padding: 32px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  box-sizing: border-box;
}

.s1-green-list {
  list-style: none !important;
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 0 !important;
  color: var(--color-white);
}

.s1-green-list li {
  position: relative;
  padding-left: 35px !important;
  margin-bottom: 12px !important;
  display: flex;
  align-items: flex-start;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-white);
}

.s1-green-list li:last-child {
  margin-bottom: 0 !important;
}

.s1-green-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: -2px;
  width: 30px;
  height: 30px;
  background-image: url("../assets/images/bullet.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* ── Cart: spans both rows, vertically centered ─────────────────────── */
.s1-cart,
.s1-layout-grid .s1-cart-image {
  grid-column: 2 / 4;
  grid-row: 3 / 3;
  position: relative;
  width: 380px;
  max-width: 480px;
  height: auto;
  z-index: 25;
  margin-left: -20px;
  align-self: center;
  justify-self: start;
  object-fit: contain;
}

@media (max-width: 1600px) {
  .s1-layout-grid {
    transform: translate(-35%, -50%) scale(0.7);
    transform-origin: left center;
    margin-top: 5vh;
  }
}

    .screen1-footpanel {
      clip-path: polygon(0 20%, 100% 0, 100% 100%, 0% 100%);
      position: absolute !important;
      bottom: 0 !important;
      left: 0 !important;
      width: 100vw !important;
      padding: 0 !important;
      margin: 0 !important;
      z-index: 10 !important;
      background: white !important;
      box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.04);
    }

    .screen1-features-row {
      /* Counteract any inherited transform so text stays horizontal */
      transform: none !important;
      display: flex;
      width: 100%;
      align-items: flex-end;
      justify-content: space-around;
      padding-bottom: 3%;
      height: 100%;
    }

    .screen1-feature-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-end;
      text-align: center;
      gap: 0.5rem;
      width: min(30%, 260px);
    }

    .screen1-feature-icon {
      width: 64px;
      height: 64px;
      object-fit: contain;
    }

    .screen1-hero-cta,
    a.btn-primary-oval.screen1-hero-cta,
    button.btn-primary-oval.screen1-hero-cta,
    a.btn-primary-oval.s1-cta-btn.screen1-hero-cta {
      z-index: 22 !important;
      display: inline-flex !important;
      align-items: center;
      justify-content: center;
      white-space: nowrap;
      width: max-content;
      max-width: 100%;
      font-size: 16px;
      padding: 12px 24px !important;
      box-sizing: border-box;
    }

    /* ── Screen 2: native-HTML rebuild ───────────────────────────────────── */
    .screen2-stage {
      padding-top: clamp(24px, 2.6vw, 52px) !important;
    }

    .screen2-bg {
      z-index: 0 !important;
    }

    .screen2-fg {
      z-index: 10 !important;
    }

    .screen2-slider {
      left: 35.64% !important;
      right: auto !important;
      width: auto !important;
      transform: translateX(-50%) !important;
      display: flex !important;
      align-items: flex-end;
      justify-content: center;
      gap: clamp(10px, 1.1vw, 22px);
      z-index: 10 !important;
    }

    .screen2-feature-icon {
      width: clamp(44px, 3.1vw, 60px) !important;
      height: clamp(44px, 3.1vw, 60px) !important;
      object-fit: contain !important;
      flex-shrink: 0;
    }

    .screen2-stats-label {
      margin-bottom: clamp(22px, 2.1vw, 40px) !important;
      font-size: clamp(10px, 0.75vw, 13px);
      letter-spacing: 0.01em;
    }

    .screen2-card-body h3 {
      font-size: clamp(13px, 0.95vw, 17px);
      color: var(--color-black);
    }

    .screen2-card-body p {
      font-size: clamp(10px, 0.72vw, 13px);
      margin-top: 0;
      color: var(--color-black);
      text-align: left;
    }

    .screen2-divider {
      width: 100%;
      height: 1px;
      background: rgba(0, 0, 0, 0.1);
      margin: 0.7rem 0 !important;
      border: none;
      flex-shrink: 0;
    }

    .screen2-stat-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: clamp(6px, 0.55vw, 12px);
    }

    .screen2-stat-caption {
      font-size: clamp(10px, 0.72vw, 13px);
      font-weight: 600;
      color: var(--slate-500);
      line-height: 1.25;
    }

    .screen2-card {
      background: var(--color-white) !important;
      border-radius: 32px !important;
      display: flex !important;
      flex-direction: column !important;
      min-height: auto !important;
      gap: 0 !important;
      padding-top: clamp(20px, 2vw, 30px) !important;
      padding-bottom: clamp(20px, 2vw, 30px) !important;
      padding-left: clamp(22px, 2.4vw, 44px) !important;
      padding-right: clamp(22px, 2.4vw, 44px) !important;
      box-shadow:
        0 44px 100px -18px rgba(0, 0, 0, 0.18),
        0 14px 36px rgba(0, 0, 0, 0.08) !important;
      transform: perspective(1200px) rotateY(-8deg) !important;
      transform-origin: right center !important;
    }

    .screen2-card h3,
    .screen2-card p {
      margin-bottom: 0.5rem !important;
      line-height: 1.2 !important;
    }

    .screen2-card-body {
      flex: 0 1 auto;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: stretch;
      min-height: 0;
      text-align: left;
      gap: 0;
    }

    /* Layout wrapper only — ring comes from .btn-primary-oval */
    .screen2-btn-nest {
      flex-shrink: 0;
      margin-top: clamp(12px, 1.2vw, 22px);
      width: 100%;
      display: flex;
      justify-content: center;
    }

    .screen2-btn {
      text-align: center;
      font-size: clamp(11px, 0.78vw, 14px);
    }
    /* ── Screen 4: белая панель (stack) + CTA ниже; только #screen-04 / .screen4-* ─ */
    #screen-04.screen-section,
    #screen-04 .screen4-stage {
      overflow-x: hidden;
      overflow-y: visible;
    }

    #screen-04 .screen4-layout {
      position: absolute;
      left: 50%;
      top: 0;
      transform: translateX(-50%);
      width: 100%;
      max-width: 1440px;
      height: 100%;
      z-index: 2;
      pointer-events: none;
    }

    #screen-04 .screen4-layout > * {
      pointer-events: auto;
    }

    #screen-04 .s4-cart-column {
      position: absolute;
      left: 5%;
      top: 10%;
      width: 38%;
      max-width: min(520px, 42%);
      z-index: 10;
    }

    #screen-04 .s4-cart-inner {
      position: relative;
      width: 100%;
      max-width: 100%;
      margin: 0 auto;
    }

    #screen-04 .s4-cart-hero {
      width: 77.2%;
      height: auto;
    }

    .screen4-rail {
      z-index: 20 !important;
    }

    #screen-04 .screen4-rail-pos {
      position: absolute;
      left: 55%;
      top: 11%;
      transform: translateX(0);
      width: 40%;
      max-width: min(560px, 44%);
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 0;
    }

    #screen-04 .screen4-content-stack {
      background: #ffffff !important;
      border-radius: 20px;
      width: 460px !important;
      max-width: 100%;
      padding: 3rem !important;
      box-sizing: border-box;
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
      transform: perspective(2500px) rotateY(-18deg) !important;
      transform-origin: left center;
      z-index: 10;
      position: relative;
      margin-right: -50px;
      display: flex;
      flex-direction: column;
      align-items: stretch;
    }

    #screen-04 .screen4-content-stack h2,
    #screen-04 .screen4-content-stack h3 {
      padding-left: 35px !important;
      font-size: 24px !important;
      margin-bottom: 2rem !important;
      color: #1a1a1a !important;
      line-height: 1.2 !important;
    }

    #screen-04 .screen4-content-stack li {
      display: flex !important;
      align-items: flex-start !important;
      gap: 15px !important;
      line-height: 1.3 !important;
      margin-bottom: 14px !important;
      font-size: 14px !important;
      color: #333 !important;
      padding-left: 0 !important;
    }

    #screen-04 .screen4-content-stack li:last-child {
      margin-bottom: 0 !important;
    }

    #screen-04 .screen4-content-stack li img,
    #screen-04 .screen4-content-stack li::before {
      margin-top: 2px !important;
      flex-shrink: 0;
    }

    #screen-04 .screen4-content-stack li .screen4-list-chevron {
      margin-top: 2px !important;
      flex-shrink: 0;
    }

    #screen-04 .screen4-content-stack .text-black {
      color: #333 !important;
      line-height: 1.3 !important;
      font-size: 14px !important;
      min-width: 0;
    }

    #screen-04 .screen4-content-stack .screen4-materials-list {
      margin-top: 0 !important;
      gap: 0 !important;
      line-height: 1.3 !important;
    }

    #screen-04 .screen4-content-stack .screen4-materials-list > li {
      line-height: 1.3 !important;
      gap: 15px !important;
    }

    #screen-04 .screen4-cta-wrap {
      margin-top: 50px !important;
      display: flex;
      justify-content: center;
      width: 460px !important;
      max-width: 100%;
      box-sizing: border-box;
      transform: perspective(2500px) rotateY(-18deg) !important;
      transform-origin: left center;
    }

    #screen-04 .screen4-cta-wrap button,
    #screen-04 .screen4-cta-wrap .screen4-btn {
      margin: 0 auto;
    }

    .screen4-card {
      background: transparent !important;
      border-radius: 0 !important;
      box-sizing: border-box;
      width: 100%;
      max-width: 100%;
      padding: 0 !important;
      position: relative;
      isolation: isolate;
      overflow: visible !important;
      z-index: 10 !important;
      transform: none !important;
      box-shadow: none !important;
    }

    .screen4-card::before {
      display: none;
    }

    .screen4-card-body {
      transform: none !important;
      position: relative;
      z-index: 2;
      display: flex;
      flex-direction: column;
      width: 100%;
      min-height: 0;
      margin: 0;
      padding: 0;
      font-family: "MuseoSansCyrl", sans-serif !important;
      line-height: 1.4;
    }

    .screen4-card-body h3 {
      font-family: "MuseoSansCyrl", sans-serif !important;
      font-size: clamp(16px, 1.08vw, 20px);
      color: var(--color-black);
      width: 100%;
      margin: 0;
      padding-left: 0.25rem;
      padding-right: 0.5rem;
      line-height: 1.4;
      box-sizing: border-box;
    }

    #screen-04 .screen4-content-stack .screen4-card-body h3 {
      padding-left: 35px !important;
      padding-right: 0;
      margin-top: 0;
      font-size: 24px !important;
      margin-bottom: 2rem !important;
      color: #1a1a1a !important;
      line-height: 1.2 !important;
    }

    .screen4-materials-list {
      color: var(--color-black) !important;
      font-family: "MuseoSansCyrl", sans-serif !important;
      font-size: clamp(11px, 1.05vw, 17px);
      line-height: 1.4;
      margin: clamp(12px, 1.1vw, 20px) 0 0;
      padding: 0 0.35rem 0 1.65rem;
      display: flex;
      flex-direction: column;
      gap: clamp(10px, 1.2vw, 18px);
      width: 100%;
      list-style: none;
      box-sizing: border-box;
    }

    .screen4-materials-list .text-black {
      color: var(--color-black) !important;
      line-height: 1.4;
    }

    #screen-04 .screen4-materials-list > li {
      line-height: 1.4;
      gap: 0.65rem !important;
    }

    .screen4-list-chevron {
      border-color: #3eb489 !important;
      flex-shrink: 0;
    }

    @media (max-width: 1366px) {
      #screen-04 .screen4-layout {
        max-width: 1200px;
      }

      #screen-04 .s4-cart-column {
        left: 4%;
        width: 40%;
        max-width: min(480px, 45%);
      }

      #screen-04 .screen4-rail-pos {
        left: 52%;
        width: 42%;
        max-width: min(520px, 46%);
      }

      #screen-04 .screen4-content-stack {
        width: min(460px, 100%) !important;
        padding: clamp(1.5rem, 3vw, 2.5rem) !important;
      }

      #screen-04 .screen4-cta-wrap {
        width: min(460px, 100%) !important;
      }
    }

    #screen-04 .screen4-cta-card.card-content {
      position: relative;
      z-index: 25;
      pointer-events: auto;
      flex-shrink: 0;
    }

    .screen4-btn-nest {
      flex-shrink: 0;
      display: flex;
      justify-content: center;
      align-items: center;
      width: auto;
      max-width: 100%;
      margin: 0;
      padding: 0;
    }

    .screen4-btn {
      text-align: center;
      font-size: clamp(11px, 0.78vw, 14px);
    }

    /* doc.png: sits on section (outside aspect-ratio box) — z-index fights fullpage rules */
    .screen4-doc {
      z-index: 50 !important;
      width: clamp(200px, 17vw, 400px) !important;
      max-width: min(96vw, 400px) !important;
      height: auto !important;
    }

    /* Section 5: floating document (outside aspect-ratio box) */
    #screen-05.screen-section {
      overflow: visible !important;
    }

    .screen5-doc {
      position: absolute !important;
      bottom: 0 !important;
      left: 30% !important;
      transform: translateX(-50%) !important;
      z-index: 60 !important;
      width: clamp(400px, 30vw, 600px);
      max-width: 600px !important;
      height: auto;
      object-fit: contain;
      display: block !important;
      pointer-events: none !important;
      filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15)) !important;
    }
    /* ── Shared long backdrop for screens 6-9 ── */
    .screens-6-9-wrapper {
      position: relative;
      width: 100%;
      background-image: url("../assets/images/background6-9.png");
      background-size: 100% 100%;
      background-position: top center;
      background-repeat: no-repeat;
    }

    .screens-6-9-wrapper section {
      background: transparent !important;
      background-image: none !important;
      min-height: 100vh;
      position: relative;
    }

    /* ── SCREEN 6 ── */
    .screen6-body {
      position: absolute !important;
      inset: 0 !important;
      display: flex !important;
      flex-direction: column !important;
      z-index: 5 !important;
      padding-left: clamp(16px, 4vw, 72px) !important;
      padding-right: clamp(16px, 4vw, 72px) !important;
      padding-bottom: clamp(16px, 3vh, 48px) !important;
    }

    .screen6-header {
      max-width: 800px !important;
      margin-left: auto !important;
      margin-right: auto !important;
      text-align: center !important;
      padding-top: clamp(40px, 5vw, 80px) !important;
      padding-bottom: 40px !important;
      flex-shrink: 0 !important;
    }

    .screen6-header h2 {
      font-size: clamp(24px, 2.5vw, 42px) !important;
      line-height: 1.2 !important;
      max-width: min(34ch, 100%) !important;
      margin-left: auto !important;
      margin-right: auto !important;
    }

    .screen6-header p {
      font-size: clamp(12px, 1vw, 18px);
    }

    .screen6-stage {
      flex: 1 1 auto !important;
      min-height: 0 !important;
      display: flex !important;
      flex-direction: row !important;
      align-items: center !important;
      justify-content: center !important;
      gap: clamp(20px, 3.5vw, 56px) !important;
    }

    /* Stretched right edge: rotateY + light skewY */
    .screen6-card {
      background: var(--color-white) !important;
      border-radius: 24px !important;
      box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.15) !important;
      transform: perspective(1200px) rotateY(-10deg) skewY(-2deg) !important;
      transform-origin: center !important;
      padding: clamp(20px, 2.5vw, 45px) !important;
      z-index: 10 !important;
      display: flex !important;
      flex-direction: column !important;
      justify-content: space-between !important;
      align-items: center !important;
      width: 100% !important;
      max-width: min(420px, 32vw) !important;
      min-height: 250px !important;
      flex-shrink: 0 !important;
    }

    .screen6-card-lead {
      color: var(--color-black) !important;
      margin-top: auto !important;
      margin-bottom: 40px !important;
      width: 100% !important;
      transform: perspective(1200px) rotateY(10deg) skewY(2deg) !important;
      font-size: clamp(14px, 0.9vw, 20px);
    }

    .screen6-btn {
      flex-shrink: 0 !important;
      white-space: nowrap !important;
      font-weight: 700 !important;
      font-size: clamp(13px, 1vw, 18px) !important;
      letter-spacing: 0.01em !important;
      transform: perspective(1200px) rotateY(10deg) skewY(2deg) !important;
    }

    .screen6-cart {
      max-height: min(52vh, 520px) !important;
      width: auto !important;
      height: auto !important;
      max-width: min(44vw, 620px) !important;
      object-fit: contain !important;
    }
    /* ─────────────────────────────────────────────────────────────────────── */

    @media (min-width: 1024px) {
      html {
        scroll-behavior: auto;
        height: 100%;
        overflow: hidden;
        overscroll-behavior: none;
      }

      body {
        height: 100%;
        overflow: hidden;
        overscroll-behavior: none;
      }

      #fullpage-track {
        display: flex;
        flex-direction: column;
        width: 100%;
        transform: translate3d(0, 0, 0);
        transition: transform 0.65s cubic-bezier(0.33, 0.9, 0.33, 1);
        font-size: 0;
        line-height: 0;
      }

      #fullpage-track.is-animating {
        pointer-events: none;
      }

      .screen-section {
        position: relative;
        box-sizing: border-box;
        display: grid;
        place-items: center;
        place-content: center;
        flex: 0 0 var(--fp-h, 100dvh);
        height: var(--fp-h, 100dvh);
        min-height: var(--fp-h, 100dvh);
        overflow: hidden;
        font-size: 1rem;
        line-height: normal;
      }

      .screen-section.has-viewport-bg {
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
      }

      .screen-section.has-viewport-bg > div {
        background: transparent !important;
      }

      .screen-section.has-viewport-bg .hero-screen-frame {
        background: transparent !important;
      }

      .screen-section.has-viewport-bg > div > img.absolute.inset-0,
      .screen-section.has-viewport-bg .hero-screen-frame > img.absolute.inset-0 {
        opacity: 0;
      }

      .screen-section > div {
        position: relative;
        margin: 0;
        justify-self: center;
        align-self: center;
      }

      .screen-section > div > img.absolute.inset-0,
      .screen-section > div > .hero-screen-frame > img.absolute.inset-0 {
        z-index: 0;
      }

      .screen-section > div > *:not(img.absolute.inset-0) {
        z-index: 1;
      }

      .screen-section > div > .hero-screen-frame > *:not(img.absolute.inset-0) {
        z-index: 1;
      }

      @keyframes fullpage-hint-bob {
        0%,
        100% {
          transform: translateY(0);
          opacity: 0.55;
        }
        45% {
          transform: translateY(10px);
          opacity: 1;
        }
      }

      @keyframes fullpage-hint-glow {
        0%,
        100% {
          box-shadow: 0 0 0 0 rgba(var(--primary-green-rgb), 0.35);
        }
        50% {
          box-shadow: 0 0 0 10px rgba(var(--primary-green-rgb), 0);
        }
      }

      .fullpage-hint-btn {
        animation: fullpage-hint-glow 2.4s ease-in-out infinite;
      }

      .fullpage-hint-btn svg {
        animation: fullpage-hint-bob 1.35s ease-in-out infinite;
      }

      /* Hint strip must not block clicks on content below (e.g. screen 10 CTA). */
      #fullpage-hint-wrap.fullpage-hint-wrap,
      .fullpage-hint-wrap {
        pointer-events: none !important;
      }

      #fullpage-hint-wrap.fullpage-hint-wrap a,
      #fullpage-hint-wrap.fullpage-hint-wrap button,
      #fullpage-hint-wrap.fullpage-hint-wrap .scroll-icon,
      .fullpage-hint-wrap a,
      .fullpage-hint-wrap button,
      .fullpage-hint-wrap .scroll-icon {
        pointer-events: auto !important;
      }

      .screen-section > div.hero-screen-frame,
      .screen-section > div > .hero-screen-frame {
        margin-left: auto !important;
        margin-right: auto !important;
      }

      .hero-screen-frame {
        transform: translate(
          clamp(6px, 1.1vw, 22px),
          calc(-1 * clamp(4px, 0.85vh, 12px))
        );
      }

      /* Экран 9: обрезка main-composition — без прямоугольной серой подложки/тени экспорта по контуру карточки */
      .screen-9-composition {
        overflow: hidden;
        border-radius: 3.05rem 1.12rem 2.95rem 1.08rem / 2.8rem 1.2rem 2.85rem 1.12rem;
        transform: translateZ(0);
        isolation: isolate;
        line-height: 0;
      }

      .screen-9-composition img {
        display: block;
        height: auto;
        transform-origin: center center;
      }

      /* Section 9: case card + slider (aligned with Section 2 style) */
      #screen-9 .screen9-content {
        display: flex;
        flex-direction: column;
        align-items: center;
      }

      #screen-9 .s9-slider-nav {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 40px;
        width: 100%;
      }

      #screen-9 .s9-nav-arrow {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        margin: 0;
        background: transparent;
        border: none;
        cursor: pointer;
        color: var(--slate-800);
        line-height: 0;
        transition: transform 0.3s ease;
      }

      #screen-9 .s9-nav-arrow:hover {
        transform: scaleX(1.1);
      }

      #screen-9 .s9-nav-arrow svg {
        display: block;
      }

      #screen-9 .s9-pagination {
        display: inline-flex;
        align-items: baseline;
        gap: 0.35em;
        line-height: 1;
      }

      #screen-9 .s9-current {
        font-weight: 900;
        font-size: 24px;
        color: var(--color-black);
      }

      #screen-9 .s9-separator,
      #screen-9 .s9-total {
        font-weight: 400;
        font-size: 16px;
        color: var(--slate-400);
      }

      /* ── Section 10: docs + 3D badge, native list, oval CTA, notice ─────── */
      #screen-10 .s10-left {
        position: absolute;
        left: 10%;
        top: 24%;
        width: 38%;
        height: 62%;
        z-index: 1;
      }

      #screen-10 .s10-doc-stack {
        position: absolute;
        left: 0;
        bottom: 6%;
        width: min(92%, 520px);
        height: auto;
        z-index: 1;
        transform: perspective(1000px) rotateY(14deg) rotateZ(-3deg);
        transform-origin: 60% 80%;
        pointer-events: none;
      }

      #screen-10 .s10-badge {
        position: absolute;
        right: 5%;
        bottom: 40%;
        z-index: 3;
        max-width: 270px;
        width: 100%;
        background: var(--accent-teal);
        border-radius: 16px;
        padding: 30px 25px;
        color: var(--color-white);
        text-align: center;
        transform: perspective(1200px) rotateY(-22deg) rotateX(7deg) rotateZ(-2deg);
        transform-origin: center center;
        box-shadow:
          -15px 25px 50px rgba(0, 0, 0, 0.2),
          0 0 30px rgba(var(--accent-teal-rgb), 0.4);
      }

      #screen-10 .s10-badge p {
        margin: 0;
        font-size: 18px;
        line-height: 1.35;
        font-weight: 700;
        color: var(--color-white);
      }

      #screen-10 .s10-right {
        position: absolute;
        left: 48.5%;
        top: 24%;
        width: 42%;
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
      }

      #screen-10 .s10-list {
        margin: 0;
        padding: 0 0 0 1.15em;
        list-style: disc;
        font-size: 16px;
        line-height: 1.5;
        max-width: 38rem;
      }

      #screen-10 .s10-list li {
        margin-bottom: 24px;
        padding-left: 0.15em;
        color: var(--color-black);
      }

      #screen-10 .s10-list li:last-child {
        margin-bottom: 0;
      }

      #screen-10 .s10-list li::marker {
        color: var(--slate-400);
      }

      #screen-10 .btn-primary-oval {
        position: relative;
        z-index: 100;
        cursor: pointer !important;
      }

      #screen-10 a.s10-cta.btn-primary-oval {
        margin-top: clamp(22px, 2.2vw, 36px);
        width: 100%;
        max-width: min(100%, 420px);
        min-width: min(100%, clamp(160px, 12vw, 240px));
        justify-content: center;
        font-size: clamp(12px, 0.95vw, 16px);
        font-weight: 600 !important;
        border-radius: 9999px !important;
        background: linear-gradient(180deg, var(--primary-green) 0%, var(--primary-green-dark) 100%) !important;
        box-shadow:
          0 0 0 4px var(--color-white),
          0 0 0 5px var(--slate-300),
          0 10px 32px rgba(var(--teal-deep-rgb), 0.22) !important;
        border: none !important;
        outline: 2px solid transparent;
        outline-offset: 4px;
      }

      #screen-10 a.s10-cta.btn-primary-oval:hover {
        box-shadow:
          0 0 0 4px var(--color-white),
          0 0 0 5px var(--border-slate-light),
          0 14px 40px rgba(var(--teal-deep-rgb), 0.28) !important;
      }

      #screen-10 a.s10-cta.btn-primary-oval:focus-visible {
        outline-color: rgba(var(--accent-teal-rgb), 0.55);
      }

      #screen-10 .s10-notice {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-top: 30px;
        max-width: min(100%, 420px);
      }

      #screen-10 .s10-info-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 20px;
        height: 20px;
        flex-shrink: 0;
        background: var(--gray-200);
        border-radius: 50%;
        font-size: 14px;
        font-weight: 900;
        line-height: 1;
        color: var(--color-black);
      }

      #screen-10 .s10-notice p {
        margin: 0;
        font-size: 13px;
        line-height: 1.35;
        color: var(--slate-600);
      }

      /* ── Section 11: "СМИ о нас" quote slider + logo grid ──────────────── */
      #screen-11 .s11-body {
        position: absolute;
        inset: 0;
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: clamp(28px, 4vh, 60px) clamp(24px, 4vw, 72px);
      }

      #screen-11 .s11-title {
        font-size: clamp(22px, 2.2vw, 38px);
        font-weight: 800;
        color: var(--slate-900);
        text-align: center;
        line-height: 1.15;
        letter-spacing: -0.02em;
        margin: 0 0 clamp(12px, 1.4vw, 22px);
      }

      #screen-11 .s11-pagination {
        display: inline-flex;
        align-items: baseline;
        gap: 0.3em;
        margin-bottom: clamp(22px, 2.4vw, 40px);
        line-height: 1;
      }

      #screen-11 .s11-pagination .s11-cur {
        font-weight: 900;
        font-size: 24px;
        color: var(--color-black);
      }

      #screen-11 .s11-pagination .s11-tot {
        font-weight: 400;
        font-size: 16px;
        color: var(--slate-400);
      }

      /* Slider row: arrow + quote + arrow */
      #screen-11 .s11-slider-row {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: clamp(16px, 2.4vw, 40px);
        width: 100%;
        max-width: 960px;
        flex: 1 1 auto;
        min-height: 0;
      }

      #screen-11 .s11-arrow {
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: clamp(32px, 2.8vw, 48px);
        height: clamp(32px, 2.8vw, 48px);
        background: transparent;
        border: none;
        cursor: pointer;
        color: var(--slate-700);
        transition: transform 0.2s ease, color 0.2s ease;
      }

      #screen-11 .s11-arrow:hover {
        color: var(--accent-teal-soft);
        transform: scale(1.15);
      }

      #screen-11 .s11-arrow svg {
        display: block;
        width: clamp(20px, 1.8vw, 32px);
        height: auto;
      }

      #screen-11 .s11-quote-block {
        flex: 1 1 auto;
        min-width: 0;
        text-align: center;
        position: relative;
      }


      #screen-11 .s11-quote-text {
  /* Фиксируем размер, чтобы clamp не сбоил */
  font-size: clamp(18px, 1.4vw, 24px); 
  font-weight: 500;
  line-height: 1.6;
  color: var(--slate-700);
  margin: 0 auto;
  max-width: 60ch;
  text-align: center;
  position: relative;
}

/* Общие стили для кавычек */
#screen-11 .s11-quote-text::before,
#screen-11 .s11-quote-text::after {
  display: inline-block;
  font-size: 1.8em; /* Делаем их чуть крупнее текста */
  font-weight: 900;
  color: var(--quote-indigo);
  line-height: 1;
  vertical-align: middle;
  user-select: none;
}

/* Открывающая кавычка */
#screen-11 .s11-quote-text::before {
  content: "“";
  margin-right: 8px;
}

/* Закрывающая кавычка */
#screen-11 .s11-quote-text::after {
  content: "”";
  margin-left: 8px;
}



      /* Logo bar at the bottom */
      #screen-11 .s11-logos {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: clamp(24px, 3.5vw, 56px);
        margin-top: clamp(22px, 2.4vw, 40px);
        flex-shrink: 0;
        width: 100%;
      }

      #screen-11 .s11-logos img {
        display: block;
        height: 50px;
        width: auto;
        max-width: 150px;
        object-fit: contain;
        filter: grayscale(100%) opacity(0.5);
        transition: filter 0.25s ease;
      }

      #screen-11 .s11-logos img:hover {
        filter: grayscale(0%) opacity(1);
      }

      /* ════════════════════════════════════════════════════════════════════
         Section 7 — Two opposite-direction 3D panels, straight inner text
         ════════════════════════════════════════════════════════════════════ */
      .screen-section--7 { overflow: visible; }

      #screen-7 {
        overflow: visible !important;
      }

      /* Full-width wrapper that holds both panels */
      #screen-7 .s7-wrap {
        position: absolute;
        inset: 0;
        z-index: 2;
        display: flex;
        justify-content: center;
        align-items: center;
        perspective: 2500px;
        perspective-origin: 50% 50%;
      }

      /* ── Panel A: photo (no grey box — shadow only on PNG via filter) ── */
      #screen-7 .s7-photo-panel {
        position: absolute;
        left: 11%;
        top: 50%;
        transform: translateY(-50%) perspective(2500px) rotateY(18deg);
        transform-origin: 100% 50%;
        z-index: 50;
        width: min(42%, 640px);
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        box-shadow: none;
        overflow: visible;
        transform-style: flat;
      }

      #screen-7 .s7-photo-panel img {
        display: block;
        width: 85%;
        max-width: 100%;
        height: auto;
        max-height: min(52vh, 520px);
        object-fit: contain;
        object-position: center bottom;
        border-radius: 32px;
        filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
      }

      /* ── Panel B: white card, rotates RIGHT edge away (outward slant) ── */
      #screen-7 .s7-card-panel {
        position: absolute;
        left: 44%;
        top: 50%;
        transform: translateY(-50%) perspective(2500px) rotateY(-18deg);
        transform-origin: 0% 50%;
        z-index: 60;
        width: min(40%, 520px);
        border-radius: 32px;
        background: var(--color-white);
        box-shadow: 0 60px 120px -30px rgba(0, 0, 0, 0.22);
        overflow: hidden;
        transform-style: flat;
      }

      /* Inner wrapper that perfectly un-slants all child content */
      #screen-7 .s7-card-content {
        transform: perspective(2500px) rotateY(18deg);
        transform-origin: 0% 50%;
        padding: clamp(24px, 3vw, 56px) clamp(26px, 3.5vw, 64px);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: min(42vh, 420px);
      }

      /* Top body */
      #screen-7 .s7-top { flex: 1 1 auto; }

/* Общий контейнер цитаты */
#screen-7 .s7-quote {
  font-size: clamp(14px, 1.1vw, 22px);
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-black);
  margin-bottom: 40px;
}

/* Кавычки: теперь они inline и не рвут строку */
#screen-7 .s7-quote-mark {
  display: inline; /* Убираем block */
  font-size: 1.5em; /* Размер относительно текста, чтобы не скакали */
  line-height: 0;
  color: var(--accent-teal); /* Твой фирменный бирюзовый для акцента */
  font-weight: 900;
  user-select: none;
  margin: 0 4px; /* Небольшой отступ от текста */
}

/* Жирный текст внутри цитаты */
#screen-7 .s7-quote em {
  font-style: normal;
  font-weight: 800;
  color: var(--color-black);
}

#screen-7 .s7-name {
  font-family: "Museo Sans Cyrl", "Montserrat", sans-serif;
  font-size: clamp(16px, 1.2vw, 20px);
  font-weight: 900; /* Максимальный вес для выделения */
  color: var(--color-black);
  text-transform: none; /* Или uppercase, если хочешь как в заголовках */
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

#screen-7 .s7-role {
  font-family: "Museo Sans Cyrl", "Montserrat", sans-serif;
  font-size: clamp(12px, 0.9vw, 15px);
  line-height: 1.5;
  font-weight: 400; /* Делаем текст тоньше */
  color: var(--gray-500); /* Мягкий серый цвет */
}

#screen-7 .s7-bottom {
  display: flex;
  align-items: center;
  justify-content: center; /* Центрирование по горизонтали */
  gap: 15px;
  margin-top: 40px; /* Немного увеличил отступ для "воздуха" */
  width: 100%;      /* Чтобы центрирование работало относительно всей карты */
}

/* Если внутри есть логотип и текст, можно добавить это для идеального выравнивания */
#screen-7 .s7-bottom img {
  display: block;
}

      #screen-7 .s7-bel-img {
        display: block;
        height: 40px;
        width: auto;
        max-width: min(38%, 200px);
        object-fit: contain;
        flex-shrink: 0;
      }

      #screen-7 .s7-vline {
        width: 1px;
        height: 35px;
        background: var(--gray-200);
        flex-shrink: 0;
      }

      #screen-7 .s7-fine-print {
        font-size: 11px;
        line-height: 1.2;
        color: var(--color-black);
        text-align: left;
        font-weight: 500;
        margin: 0;
        flex: 1 1 auto;
        min-width: 0;
      }

      #screen-7 .s7-fine-print a {
        color: var(--color-black);
        text-decoration: underline;
        text-underline-offset: 2px;
      }
    }

    @media (max-width: 1023px) {
      #fullpage-track {
        transform: none !important;
        transition: none !important;
      }
    }

/* ---- Migrated from inline (index.html) ---------------------------------- */
.aspect-1800-1313 { aspect-ratio: 1800 / 1313; }
.aspect-1800-1000 { aspect-ratio: 1800 / 1000; }
.aspect-1800-796 { aspect-ratio: 1800 / 796; }
.aspect-1800-860 { aspect-ratio: 1800 / 860; }
.aspect-618-520 { aspect-ratio: 618 / 520; }
.aspect-1800-910 { aspect-ratio: 1800 / 910; }
.aspect-1800-900 { aspect-ratio: 1800 / 900; }
.aspect-1800-1204 { aspect-ratio: 1800 / 1204; }
.aspect-1800-948 { aspect-ratio: 1800 / 948; }
.aspect-1800-1027 { aspect-ratio: 1800 / 1027; }
.aspect-1800-654 { aspect-ratio: 1800 / 654; }
.aspect-1800-1145 { aspect-ratio: 1800 / 1145; }

.type-s1-tagline { font-size: clamp(9px, 0.6vw, 10px); }
.type-s1-phone { font-size: clamp(18px, 1.2vw, 22px); }
.type-s1-callback { font-size: clamp(11px, 0.72vw, 13px); }

.s2-title-wrap { padding-top: clamp(2px, 0.35vw, 8px); }
.type-s2-h2 { font-size: clamp(20px, 2.4vw, 44px); line-height: 1.18; }
.type-s2-lead { font-size: clamp(12px, 0.95vw, 17px); }
.type-s2-pag-current { font-size: clamp(28px, 2.15vw, 38px); }
.type-s2-pag-slash { font-size: clamp(14px, 1vw, 18px); }
.type-s2-pag-total { font-size: clamp(14px, 0.95vw, 17px); }

.s2-stats-pos { left: 54.72%; top: 23.5%; width: 36%; }
.s2-card-pos { left: 50.83%; top: 45%; width: 28%; }

.s4-bg-layer { z-index: 0; }
.screen4-head-band { z-index: 10; padding-top: clamp(2px, 0.35vw, 8px); }
.type-screen4-h2 { font-size: clamp(20px, 2.2vw, 40px); line-height: 1.18; }

.s7-hero-pad { padding-top: clamp(20px, 2.8vw, 52px); }

.screen12-container {
  position: absolute;
  left: 20%;
  top: 25%;
  width: 60%;
  max-width: 1100px;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between;
  gap: 40px;
  z-index: 10;
}

.screen12-image-wrap {
  position: relative;
  z-index: 1;
  flex: 0 1 auto;
}

.screen12-cart-visual {
  display: block;
  width: min(80%, 470px);
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* Screen 12: skewed white plate (.s12-form-bg) + compact flat form (.s12-form-content) */
#screen12.s12-form-wrapper {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 90% !important;
  max-width: 450px !important;
  margin: auto 0;
  flex: 0 1 auto;
  box-sizing: border-box;
  z-index: 10;
}

#screen12 .s12-form-bg {
  position: absolute;
  inset: 0;
  background: #fff;
  border-radius: 20px;
  transform: perspective(2000px) rotateY(-15deg);
  transform-origin: left center;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
  z-index: 1;
  pointer-events: none;
}

#screen12 .s12-form-content {
  position: relative;
  z-index: 2;
  padding: 2rem !important;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  transform: none !important;
  text-align: left !important;
}

#screen12 .s12-form-content h2.screen12-form-heading {
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 0.9em !important;
  line-height: 1.3;
  text-align: left;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
  font-weight: 800;
  color: #1a1a1a;
}

.screen12-form {
  gap: 0;
  align-items: flex-start;
}

#screen12 .s12-form-content input {
  width: 100% !important;
  height: 44px !important;
  border-radius: 40px !important;
  margin-bottom: 15px !important;
  padding: 0 20px !important;
  font-size: 14px !important;
  border: 1px solid #dce1e6;
  background: #fdfdfd;
  color: #333;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

#screen12 .s12-form-content input:focus {
  border-color: #2fb586 !important;
  outline: none;
}

#screen12 .s12-form-content .btn-primary-oval {
  width: fit-content !important;
  padding: 0 40px !important;
  height: 48px !important;
  font-size: 14px !important;
  margin: 20px auto 0 auto !important;
  display: flex !important;
  justify-content: center;
  align-items: center;
  min-width: 0;
  text-align: center;
}

@media (max-width: 1500px) {
  .screen12-container {
    gap: 20px;
    left: 18%;
    width: 72%;
    justify-content: center;
  }
}
.type-screen12-footer-copy { font-size: clamp(9px, 0.68vw, 11px); }
.type-screen12-phone { font-size: clamp(16px, 1.18vw, 21px); }
.type-screen12-callback { font-size: clamp(10px, 0.72vw, 13px); }
