/* ═══════════════════════════════════════════════════════════════
   COMMON — resets, html, body, #app, #bgContainer
   (same on all screen sizes)
   ═══════════════════════════════════════════════════════════════ */

    *,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      -webkit-tap-highlight-color: transparent;
      user-select: none;
      -webkit-user-select: none;
    }

    html,
    body {
      width: 100%;
      height: 100%;
      overflow: hidden;
      background-color: #000;
      font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
      -webkit-font-smoothing: antialiased;
    }

    #app {
      position: fixed;
      inset: 0;
      display: flex;
      flex-direction: column;
    }

    #bgContainer {
      position: absolute;
      inset: 0;
      z-index: 0;
      width: 100%;
      height: 100%;
    }


/* ═══════════════════════════════════════════════════════════════
   MOBILE BASE — mobile-first component styles
   Applies to all sizes; desktop overrides in @media block below.
   Explicitly "mobile-only" properties are marked with ← MOBILE
   ═══════════════════════════════════════════════════════════════ */

    .bg-layer {
      position: absolute;
      inset: 0;
      z-index: 0;
      opacity: 0;
      pointer-events: none;
      transform: translateY(100%);
      transition: transform 0.45s cubic-bezier(.4, 0, .2, 1), opacity 0.45s cubic-bezier(.4, 0, .2, 1);
      overflow: hidden;
    }

    .bg-layer.active {
      opacity: 1;
      transform: translateY(0);
      pointer-events: auto;
    }

    .port-track {
      display: flex;
      height: 100%;
      transition: transform 0.5s cubic-bezier(.4, 0, .2, 1);
    }

    .port-item {
      flex: 1;
      height: 100%;
      position: relative;
    }

    /* ── Mobile default: blur layer hidden, image fills screen ── */
    .bg-blur-layer { display: none; }
    .bg-single {
      position: absolute;
      inset: 0;
      background-size: cover;
      background-position: center;
      transform: scale(1.05);
      z-index: 1;
    }

    /* ══ BA SLIDER — изолированный плеер ══ */
    .ba-slider {
      position: absolute;
      inset: 0;
      overflow: hidden;
      /* touch-action: none здесь — браузер знает что этот элемент сам обрабатывает тач */
      touch-action: none;
    }

    .ba-after {
      position: absolute;
      inset: 0;
    }

    /* Mobile default */
    .ba-bg-blur { display: none; }
    .ba-after { z-index: 1; }
    .ba-after-inner {
      position: absolute;
      inset: 0;
      background-size: cover;
      background-position: center;
      transform: scale(1.05);
    }

    .ba-before {
      position: absolute;
      top: 0;
      left: 0;
      bottom: 0;
      width: 50%;
      overflow: hidden;
      z-index: 5;
      border-right: 3px solid #fff;
      box-shadow: 2px 0 15px rgba(0, 0, 0, 0.5);
    }

    .ba-before-inner {
      position: absolute;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background-size: cover;
      background-position: center;
      transform: scale(1.05);
    }

    .ba-handle {
      position: absolute;
      top: 0;
      bottom: 0;
      left: 50%;
      width: 80px;
      transform: translateX(-50%);
      z-index: 6;
      display: flex;
      align-items: center;
      justify-content: center;
      pointer-events: none;
    }

    .ba-btn {
      pointer-events: auto !important;
      cursor: pointer !important;
      font-family: inherit;
    }

    .ba-btn {
      background: rgba(0, 0, 0, 0.7);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      border: 1.5px solid rgba(255, 255, 255, 0.7);
      border-radius: 24px;
      padding: 15px 8px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
      color: #ffffff;
      font-size: 11px;
      font-weight: 900;
      letter-spacing: 1.2px;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
      transform: translateY(-30px);
      position: relative;
      overflow: hidden;
    }

    .ba-btn::before,
    .back-to-svc-btn::before,
    .projects-side-btn::before {
      content: '';
      position: absolute;
      top: 0; left: -60%;
      width: 40%;
      height: 100%;
      background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,0.35) 50%, transparent 80%);
      animation: sideSheen 4s 1.5s infinite;
      pointer-events: none;
    }

    @keyframes sideSheen {
      0%   { left: -60%; opacity: 1; }
      35%  { left: 130%; opacity: 1; }
      100% { left: 130%; opacity: 0; }
    }

    .ba-btn svg {
      width: 14px;
      height: 14px;
      pointer-events: none;
    }

    @keyframes baHintBefore {

      0%,
      100% {
        width: 50%;
      }

      25% {
        width: 35%;
      }

      75% {
        width: 65%;
      }
    }

    @keyframes baHintHandle {

      0%,
      100% {
        left: 50%;
      }

      25% {
        left: 35%;
      }

      75% {
        left: 65%;
      }
    }

    .ba-slider.hint-active .ba-before {
      animation: baHintBefore 1.8s ease-in-out;
    }

    .ba-slider.hint-active .ba-handle {
      animation: baHintHandle 1.8s ease-in-out;
    }

    .split-label {
      position: absolute;
      top: calc(env(safe-area-inset-top, 0px) + 85px);
      background: rgba(0, 0, 0, 0.6);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      padding: 6px 12px;
      border-radius: 6px;
      color: #fff;
      font-size: 11px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 1px;
      border: 1px solid rgba(255, 255, 255, 0.2);
      z-index: 2;
      pointer-events: none;
      transition: opacity 0.3s ease;
    }

    .split-label.left {
      left: 14px;
      right: auto;
    }

    .split-label.right {
      right: 14px;
      left: auto;
    }

    .bg-single::after,
    .ba-after-inner::after,
    .ba-before-inner::after {
      content: '';
      position: absolute;
      inset: 0;
      z-index: 1;
      pointer-events: none;
      background: linear-gradient(180deg, transparent 0%, transparent 55%, rgba(0,0,0,0.72) 80%, rgba(0,0,0,0.93) 100%);
      opacity: var(--ba-overlay, 1);
      transition: opacity 0.3s ease;
    }
    .ba-slider.dragging .ba-after-inner::after,
    .ba-slider.dragging .ba-before-inner::after {
      opacity: 0 !important;
    }

    .bg-num {
      position: absolute;
      z-index: 2;
      font-size: min(55vw, 340px);
      font-weight: 900;
      line-height: 1;
      letter-spacing: -8px;
      pointer-events: none;
      transition: opacity 0.5s, color 0.7s;
      right: -4vw;
      bottom: 15%;
      opacity: 0.3;
    }

    .bg-num.n0 {
      color: rgba(249, 115, 22, .15);
    }

    .bg-num.n1 {
      color: rgba(34, 197, 94, .15);
    }

    .bg-num.n2 {
      color: rgba(239, 68, 68, .15);
    }

    .bg-num.n3 {
      color: rgba(168, 85, 247, .15);
    }

    .bg-num.n4 {
      color: rgba(148, 163, 184, .15);
    }

    .bg-num.n5 {
      color: rgba(245, 158, 11, .15);
    }

    .top-bar {
      position: relative;
      z-index: 10;
      flex-shrink: 0;
      pointer-events: none;
      padding: calc(env(safe-area-inset-top, 0px) + 14px) 20px 14px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: rgba(0, 0, 0, 0.5);
      border-bottom: 1px solid rgba(255, 255, 255, .55);
    }

    .top-bar * {
      pointer-events: auto;
    }

    .logo {
      display: flex;
      flex-direction: column;
      gap: 1px;
      flex: 1;
    }

    .logo-name {
      font-size: 18px;
      font-weight: 900;
      letter-spacing: -.5px;
      line-height: 1;
      color: #ffffff;
      text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    }

    .logo-brand {
      font-size: 9px;
      font-weight: 700;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: #fff;
      text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
    }

    .svc-divider {
      position: relative;
      z-index: 10;
      height: 0;
      overflow: visible;
      margin-bottom: 10px;
      pointer-events: none;
    }

    .svc-divider-line {
      display: none;
    }

    .logo-sub {
      font-size: 15px;
      font-weight: 800;
      letter-spacing: .10em;
      text-transform: uppercase;
      color: #fff;
      text-shadow: 0 1px 6px rgba(0, 0, 0, .9);
      white-space: nowrap;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.4s;
      border: 1.5px solid rgba(255, 255, 255, 0.7);
      padding: 5px 16px;
      border-radius: 12px;
      background: rgba(0, 0, 0, 0.7);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      position: absolute;
      left: 50%;
      top: 0;
      transform: translate(-50%, -50%);
      z-index: 11;
    }

    .top-right {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-top: 2px;
    }

    .top-phone {
      font-size: 15px;
      font-weight: 800;
      color: #ffffff;
      text-decoration: none;
      text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
      transition: opacity 0.2s;
    }

    .top-phone:active {
      opacity: 0.7;
    }

    .side-dots {
      position: absolute;
      right: 13px;
      top: calc(45% + 148px);
      z-index: 10;
      pointer-events: none;
      display: flex;
      flex-direction: column;
      gap: 8px;
      align-items: center;
    }

    .side-dots * {
      pointer-events: auto;
    }


    .sdot {
      width: 4px;
      height: 4px;
      border-radius: 2px;
      background: rgba(255, 255, 255, .3);
      transition: height .35s, background .4s, width .35s, box-shadow .4s;
      cursor: pointer;
    }

    .sdot.active {
      height: 24px;
      width: 4px;
      box-shadow: 0 0 8px currentColor;
    }

    .content-area {
      flex: 1;
      position: relative;
      z-index: 30;
      display: flex;
      flex-direction: column;
      justify-content: center;
      overflow: hidden;
      padding: 0 24px;
      pointer-events: none;
    }

    .slide {
      position: absolute;
      inset: 0;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 0 24px;
      opacity: 0;
      pointer-events: none;
      transform: translateY(100%);
      transition: transform 0.45s cubic-bezier(.4, 0, .2, 1), opacity 0.45s cubic-bezier(.4, 0, .2, 1);
    }

    .slide.active {
      opacity: 1;
      pointer-events: none;
      transform: translateY(0);
    }

    .slide .case-badge,
    .slide .slide-title,
    .slide .slide-desc,
    .slide .port-dots-wrap,
    .slide .stat-row,
    .slide .inline-quote-btn {
      opacity: 0;
      transform: translateY(40px) scale(0.95);
      transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .slide.active .case-badge {
      opacity: 1;
      transform: translateY(0) scale(1);
      transition-delay: 0.1s;
    }

    .slide.active .slide-title {
      opacity: 1;
      transform: translateY(0) scale(1);
      transition-delay: 0.2s;
    }

    .slide.active .slide-desc {
      opacity: 1;
      transform: translateY(0) scale(1);
      transition-delay: 0.3s;
    }

    .slide.active .port-dots-wrap {
      opacity: 1;
      transform: translateY(0) scale(1);
      transition-delay: 0.35s;
    }

    .slide.active .stat-row {
      opacity: 1;
      transform: translateY(0) scale(1);
      transition-delay: 0.4s;
    }

    .slide.active .inline-quote-btn {
      opacity: 1;
      transform: translateY(0) scale(1);
      transition-delay: 0.5s;
    }

    .case-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: rgba(0, 0, 0, 0.4);
      backdrop-filter: blur(12px);
      padding: 6px 14px;
      border-radius: 10px;
      border: 1px solid rgba(255, 255, 255, 0.15);
      font-size: 11px;
      font-weight: 800;
      color: #fff;
      text-transform: uppercase;
      letter-spacing: .5px;
      margin-bottom: 16px;
      width: fit-content;
      transition: opacity 0.3s ease;
      pointer-events: auto;
    }

    .slide-title {
      font-size: clamp(38px, 11vw, 56px);
      font-weight: 900;
      letter-spacing: -1.5px;
      line-height: 1.05;
      color: #ffffff;
      margin-bottom: 16px;
      text-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
      pointer-events: auto;
    }

    .marketing-content {
      opacity: 1;
      transform: translateY(0);
      transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
      pointer-events: auto;
    }

    .slide-desc {
      font-size: 16px;
      color: #f1f5f9;
      line-height: 1.6;
      font-weight: 500;
      max-width: 310px;
      margin-bottom: 18px;
      text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    }

    .stat-row {
      display: flex;
      gap: 24px;
      margin-bottom: 24px;
    }

    .stat {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .stat-val {
      font-size: 26px;
      font-weight: 900;
      letter-spacing: -1px;
      transition: color 0.5s;
      text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    }

    .stat-lbl {
      font-size: 11px;
      font-weight: 700;
      color: rgba(255, 255, 255, 0.7);
      text-transform: uppercase;
      letter-spacing: .08em;
    }

    .inline-quote-btn {
      background: rgba(255, 255, 255, 0.15);
      border: 1px solid rgba(255, 255, 255, 0.25);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      color: #fff;
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-size: 14px;
      font-weight: 800;
      padding: 14px 20px;
      border-radius: 18px;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      width: fit-content;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
      transition: background 0.2s, transform 0.1s;
      pointer-events: auto;
    }

    .inline-quote-btn:active {
      transform: scale(0.96);
      background: rgba(255, 255, 255, 0.25);
    }

    .port-dots-wrap {
      display: none;
    }

    .pdot {
      width: 8px;
      height: 4px;
      border-radius: 2px;
      background: rgba(255, 255, 255, .3);
      transition: width 0.3s, background 0.3s, box-shadow 0.3s;
    }

    .pdot.active {
      width: 20px;
    }

    .portfolio-ui {
      position: absolute;
      inset: 0;
      opacity: 0;
      pointer-events: none;
      z-index: 40;
      transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }

    @keyframes btnShine {
      0%   { transform: translateX(-120%) skewX(-15deg); }
      100% { transform: translateX(400%) skewX(-15deg); }
    }
    .open-project-btn {
      position: absolute;
      bottom: calc(12vh + 70px);
      left: 50%;
      transform: translateX(-50%);
      background: rgba(0, 0, 0, 0.7);
      backdrop-filter: blur(12px);
      border: 1.5px solid rgba(255, 255, 255, 0.7);
      color: #fff;
      font-weight: 800;
      font-size: 12px;
      padding: 16px 28px;
      border-radius: 12px;
      cursor: pointer;
      text-transform: uppercase;
      letter-spacing: 1px;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
      pointer-events: auto;
      z-index: 1000;
      overflow: hidden;
    }
    .open-project-btn::after {
      content: '';
      position: absolute;
      top: -50%; left: 0;
      width: 35%; height: 200%;
      background: linear-gradient(
        105deg,
        transparent 20%,
        rgba(255,255,255,0.5) 50%,
        transparent 80%
      );
      transform: translateX(-120%) skewX(-15deg);
      pointer-events: none;
    }
    .open-project-btn.shine::after {
      animation: btnShine 0.7s ease-in forwards;
    }

    .slide.is-portfolio .slide-title {
      opacity: 0;
      transform: translateX(-40px) scale(0.95);
      pointer-events: none;
      transition-delay: 0s;
    }

    .slide.is-portfolio .marketing-content {
      opacity: 0;
      transform: translateX(-40px) scale(0.95);
      pointer-events: none;
      transition-delay: 0s;
    }

    .slide.is-portfolio .back-to-svc-btn {
      opacity: 1;
      transform: translateX(0);
      transition-delay: 0.1s;
    }

    .slide.is-portfolio .portfolio-ui {
      opacity: 1;
      pointer-events: none;
      transition-delay: 0.1s;
    }

    /* Kill pointer events on ALL marketing-content children in portfolio mode
       so they don't block clicks on the Open Project button overlay */
    .slide.is-portfolio .marketing-content,
    .slide.is-portfolio .marketing-content * {
      pointer-events: none !important;
    }

    .back-to-svc-btn {
      position: absolute;
      top: 30%;
      left: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      padding: 15px 7px;
      border-radius: 0 12px 12px 0;
      font-size: 9px;
      font-weight: 900;
      letter-spacing: 1.2px;
      text-transform: uppercase;
      background: rgba(0, 0, 0, 0.7);
      border: 1.5px solid rgba(255, 255, 255, 0.7);
      border-left: none;
      color: #fff;
      cursor: pointer;
      pointer-events: auto;
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
      opacity: 0;
      writing-mode: vertical-lr;
      text-orientation: upright;
      transform: translateX(-100%);
      transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
      overflow: hidden;
    }

    /* ── Projects side button (mirror of back-to-svc-btn) ── */
    .projects-side-btn {
      position: absolute;
      top: 30%;
      right: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      padding: 15px 7px;
      border-radius: 12px 0 0 12px;
      font-size: 9px;
      font-weight: 900;
      letter-spacing: 1.2px;
      text-transform: uppercase;
      background: rgba(0, 0, 0, 0.7);
      border: 1.5px solid rgba(255, 255, 255, 0.7);
      border-right: none;
      color: #fff;
      cursor: pointer;
      pointer-events: none;
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
      writing-mode: vertical-lr;
      text-orientation: upright;
      z-index: 10;
      opacity: 0;
      transform: translateX(100%);
      transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                  transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
      overflow: hidden;
    }
    /* Show when slide is active and NOT in portfolio mode */
    .slide.active .projects-side-btn {
      opacity: 1;
      transform: translateX(0);
      pointer-events: auto;
      transition-delay: 0.25s;
    }
    /* Hide when portfolio is open */
    .slide.active.is-portfolio .projects-side-btn {
      opacity: 0;
      transform: translateX(100%);
      pointer-events: none;
      transition-delay: 0s;
    }

    .virtual-finger {
      position: absolute;
      z-index: 1000;
      width: 48px;
      height: 48px;
      background: rgba(255, 255, 255, 0.3);
      border: 2px solid rgba(255, 255, 255, 0.9);
      border-radius: 50%;
      pointer-events: none;
      opacity: 0;
      will-change: transform, left, top, opacity;
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .virtual-finger::after {
      content: '';
      width: 24px;
      height: 24px;
      background: #fff;
      border-radius: 50%;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    }

    .swipe-trail {
      position: absolute;
      z-index: 999;
      pointer-events: none;
      opacity: 0;
      border-radius: 100px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }

    .bottom-bar {
      position: relative;
      z-index: 10;
      flex-shrink: 0;
      padding: 12px 20px calc(env(safe-area-inset-bottom, 0px) + 16px);
      display: flex;
      align-items: center;
      gap: 12px;
      pointer-events: none;
    }

    .bottom-bar * {
      pointer-events: auto;
    }

    .call-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
      width: 56px;
      height: 56px;
      border-radius: 18px;
      background: rgba(255, 255, 255, .15);
      border: 1px solid rgba(255, 255, 255, .2);
      backdrop-filter: blur(12px);
      text-decoration: none;
      color: #ffffff;
      flex-shrink: 0;
      box-shadow: 0 4px 16px rgba(0, 0, 0, .2);
    }

    #btnHome {
      position: absolute;
      right: 20px;
      bottom: 85px;
      opacity: 0;
      pointer-events: none !important;
      transform: translateY(10px);
      transition: all 0.3s;
      z-index: 20;
    }
    #btnHome.visible {
      opacity: 1;
      pointer-events: auto !important;
      transform: translateY(0);
    }

    .quote-btn {
      flex: 1;
      min-height: 56px;
      border: none;
      border-radius: 18px;
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-size: 16px;
      font-weight: 800;
      cursor: pointer;
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: background 0.5s, box-shadow 0.5s, transform .1s;
      letter-spacing: -.2px;
      position: relative;
      overflow: hidden;
    }
    .quote-btn::after {
      content: '';
      position: absolute;
      top: -50%; left: 0;
      width: 35%; height: 200%;
      background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,0.45) 50%, transparent 80%);
      transform: translateX(-120%) skewX(-15deg);
      pointer-events: none;
    }
    .quote-btn.shine::after {
      animation: btnShine 0.7s ease-in forwards;
    }

    .quote-btn:active {
      transform: scale(.98);
    }

    .progress-bar {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: rgba(255, 255, 255, .1);
      z-index: 10;
      pointer-events: none;
    }

    .progress-fill {
      height: 100%;
      border-radius: 0 2px 2px 0;
      transition: width 2s linear, background 0.5s, box-shadow 0.5s;
      width: 0%;
      box-shadow: 0 0 10px currentColor;
    }

    .overlay {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 90;
      background: rgba(0, 0, 0, .6);
      backdrop-filter: blur(12px);
      align-items: flex-end;
    }

    @keyframes fadeOverlay {
      from {
        opacity: 0;
      }

      to {
        opacity: 1;
      }
    }

    .overlay.open {
      display: flex;
      animation: fadeOverlay .3s ease;
    }

    .sheet {
      width: 100%;
      max-height: 90svh;
      overflow-y: auto;
      background: #fff;
      border-radius: 28px 28px 0 0;
      padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 16px);
      animation: shUp .35s cubic-bezier(.32, .72, 0, 1);
      -webkit-overflow-scrolling: touch;
    }

    @keyframes shUp {
      from {
        transform: translateY(100%)
      }

      to {
        transform: translateY(0)
      }
    }

    .sh-handle {
      width: 48px;
      height: 5px;
      background: #e2e8f0;
      border-radius: 3px;
      margin: 12px auto 0;
    }

    .sh-head {
      position: relative;
      padding: 20px 60px 16px 24px;
      border-bottom: 1px solid #e2e8f0;
    }

    .sh-title {
      font-size: 22px;
      font-weight: 900;
      color: #0f172a;
      letter-spacing: -.4px;
    }

    .sh-sub {
      font-size: 13px;
      font-weight: 600;
      color: #64748b;
      margin-top: 4px;
    }

    .sh-body {
      padding: 24px 24px 8px;
    }

    /* ── PROJECT DETAIL SHEET ── */
    .sheet-overlay {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 80;
      background: rgba(0, 0, 0, 1);
      backdrop-filter: blur(12px);
      align-items: flex-end;
    }

    /* PC project viewer/gallery — скрыты по умолчанию (показ только на десктопе через JS) */
    .pc-viewer-overlay { display: none; }
    .pc-gallery-overlay { display: none; }

    /* Live activity toast — недавняя работа/отзыв (из реальных проектов) */
    .activity-toast {
      position: fixed;
      left: 50%;
      bottom: 92px;
      width: calc(100% - 32px);
      max-width: 360px;
      background: rgba(15, 17, 24, .95);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border: 1px solid rgba(34, 197, 94, .35);
      border-radius: 14px;
      padding: 11px 12px;
      display: none;
      align-items: center;
      gap: 10px;
      z-index: 70;
      box-shadow: 0 8px 32px rgba(0, 0, 0, .5);
      opacity: 0;
      transform: translateX(-50%) translateY(20px);
      transition: opacity .4s ease, transform .4s ease;
    }
    .activity-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
    .at-icon {
      width: 34px; height: 34px;
      background: rgba(34, 197, 94, .15);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 17px; flex-shrink: 0;
    }
    .at-text { flex: 1; min-width: 0; font-size: 12px; line-height: 1.35; color: #94a3b8; overflow: hidden; }
    .at-text strong { color: #fff; font-weight: 700; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .at-text span { color: #94a3b8; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .at-text .at-stars { color: #f9ab00; letter-spacing: 1px; }
    .at-time { font-size: 10px; color: #94a3b8; flex-shrink: 0; white-space: nowrap; }
    .at-close {
      background: none; border: none; color: #94a3b8;
      font-size: 17px; cursor: pointer; line-height: 1; padding: 0 2px; flex-shrink: 0;
    }
    @media (min-width: 1024px) {
      .activity-toast { bottom: 96px; left: 50%; max-width: 360px; }
    }

    .sheet-overlay.open {
      display: flex;
      animation: fadeOverlay .3s ease;
    }

    .sheet-close {
      position: absolute;
      top: 16px;
      right: 16px;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: #f1f5f9;
      border: 1px solid #e2e8f0;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #64748b;
      cursor: pointer;
      transition: all 0.2s;
    }

    .sheet-close:active {
      transform: scale(0.9);
      background: #e2e8f0;
    }

    .proj-sheet {
      width: 100%;
      max-height: 96svh;
      overflow-y: auto;
      background: #f8fafc;
      border-radius: 28px 28px 0 0;
      padding-bottom: calc(env(safe-area-inset-bottom, 0px)+24px);
      animation: shUp .35s cubic-bezier(.32, .72, 0, 1);
      -webkit-overflow-scrolling: touch;
    }

    .ps-drag {
      width: 44px;
      height: 5px;
      background: #e2e8f0;
      border-radius: 3px;
      margin: 13px auto 0;
    }

    .ps-head {
      position: relative;
      padding: 16px 60px 14px 20px;
      border-bottom: 1px solid #e2e8f0;
    }

    .ps-title {
      font-size: 19px;
      font-weight: 900;
      color: #0f172a;
      letter-spacing: -.3px;
    }

    .ps-loc {
      font-size: 12px;
      font-weight: 600;
      color: #64748b;
      margin-top: 3px;
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .ps-body {
      padding: 0 0 8px;
    }

    .ps-inner {
      padding: 16px 16px 0;
    }

    .ps-sec {
      font-size: 11px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .1em;
      color: #94a3b8;
      margin-bottom: 10px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .ps-sec::after {
      content: '';
      flex: 1;
      height: 1px;
      background: #e2e8f0;
    }

    .ps-desc {
      font-size: 15px;
      line-height: 1.7;
      color: #334155;
      margin-bottom: 24px;
      white-space: pre-wrap;
    }

    .ps-review {
      background: #ffffff;
      border: 1px solid #e2e8f0;
      border-radius: 14px;
      padding: 14px 16px;
      margin-bottom: 16px;
    }

    .ps-rev-top {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 8px;
    }

    .ps-avatar {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      font-size: 14px;
      font-weight: 900;
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .ps-rname {
      font-size: 14px;
      font-weight: 800;
      color: #0f172a;
    }

    .ps-stars {
      font-size: 18px;
      color: #f9ab00;
      letter-spacing: 2px;
      display: flex;
      gap: 2px;
    }
    @keyframes starPop {
      0%   { transform: scale(0) rotate(-30deg); opacity: 0; }
      65%  { transform: scale(1.4) rotate(8deg);  opacity: 1; }
      100% { transform: scale(1)   rotate(0deg);  opacity: 1; }
    }
    @keyframes starPopGlow {
      0%   { transform: scale(0) rotate(-30deg); opacity: 0; }
      65%  { transform: scale(1.6) rotate(8deg);  opacity: 1; filter: none; }
      82%  { transform: scale(1)   rotate(0deg);  filter: drop-shadow(0 0 4px rgba(249,171,0,.5)); }
      100% { transform: scale(1)   rotate(0deg);  filter: drop-shadow(0 0 10px rgba(249,171,0,1)) drop-shadow(0 0 22px rgba(249,171,0,.55)); }
    }
    .ps-stars span {
      display: inline-block;
      animation: starPop 0.68s cubic-bezier(.36,.07,.19,.97) both;
      filter: drop-shadow(0 0 4px rgba(249,171,0,.6));
    }
    .ps-stars span:nth-child(1) { animation-delay: 0.08s; }
    .ps-stars span:nth-child(2) { animation-delay: 0.22s; }
    .ps-stars span:nth-child(3) { animation-delay: 0.38s; }
    .ps-stars span:nth-child(4) { animation-delay: 0.53s; }
    .ps-stars span:nth-child(5) { animation: starPopGlow 0.68s cubic-bezier(.36,.07,.19,.97) both; animation-delay: 0.80s; }

    .ps-rtext {
      font-size: 14px;
      line-height: 1.6;
      color: #475569;
      white-space: pre-wrap;
    }
    .ps-rtext b, .ps-rtext strong { font-weight: 800; }
    .ps-rtext i, .ps-rtext em { font-style: italic; }
    .ps-rtext u { text-decoration: underline; }
    .ps-rtext s { text-decoration: line-through; }
    .ps-rtext p { margin: 0 0 6px; }
    .ps-rtext p:last-child { margin: 0; }
    .ps-desc b, .ps-desc strong { font-weight: 800; }
    .ps-desc i, .ps-desc em { font-style: italic; }
    .ps-desc u { text-decoration: underline; }
    .ps-desc s { text-decoration: line-through; }
    .ps-desc p { margin: 0 0 6px; }
    .ps-desc p:last-child { margin: 0; }

    .ps-back-btn { display: flex; align-items: center; gap: 6px; padding: 10px 16px; font-size: 13px; font-weight: 700; color: #64748b; background: none; border: none; cursor: pointer; font-family: inherit; }
    .ps-back-btn:hover { color: #0f172a; }

    .ps-video {
      background: #ffffff;
      border: 1px solid #e2e8f0;
      border-radius: 14px;
      overflow: hidden;
      margin-bottom: 8px;
    }

    .ps-vthumb {
      height: 160px;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      background: linear-gradient(135deg, #181818, #0a0a0a);
    }

    .ps-play {
      width: 56px;
      height: 56px;
      border-radius: 50%;
      background: rgba(255, 255, 255, .15);
      border: 2px solid rgba(255, 255, 255, .3);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .ps-vlbl {
      position: absolute;
      bottom: 12px;
      left: 14px;
      font-size: 11px;
      font-weight: 700;
      color: rgba(255, 255, 255, .4);
    }

    .ps-quote-btn {
      width: 100%;
      min-height: 56px;
      border-radius: 18px;
      border: none;
      font-family: inherit;
      font-size: 16px;
      font-weight: 800;
      color: #fff;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      margin-top: 8px;
    }

    .ps-gallery {
      display: flex;
      gap: 8px;
      overflow-x: auto;
      scrollbar-width: none;
      padding: 16px 16px 0;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
    }

    .ps-gallery::-webkit-scrollbar {
      display: none;
    }

    .ps-gimg {
      flex-shrink: 0;
      width: 85vw;
      height: 280px;
      border-radius: 12px;
      scroll-snap-align: start;
      position: relative;
      overflow: hidden;
      cursor: pointer;
    }
    /* Mobile: ps-gimg — cover fills card, no blur */
    .ps-gimg-blur { display: none; }
    .ps-gimg-main {
      position: absolute;
      inset: 0;
      background-size: cover;
      background-position: center;
      z-index: 1;
    }

    .ps-gimg-lbl {
      position: absolute;
      bottom: 8px;
      left: 8px;
      z-index: 2;
      background: rgba(0, 0, 0, .6);
      padding: 3px 8px;
      border-radius: 4px;
      font-size: 10px;
      font-weight: 800;
      color: #fff;
      text-transform: uppercase;
      letter-spacing: .5px;
    }

    /* Album strip */
    .album-strip {
      position: absolute;
      bottom: 12vh;
      left: 50%;
      transform: translateX(-50%);
      z-index: 100;
      display: flex;
      gap: 10px;
      opacity: 0;
      transition: opacity .35s .1s;
      pointer-events: none;
    }

    .slide.is-portfolio .album-strip {
      opacity: 1;
      pointer-events: auto;
    }

    .a-thumb {
      width: 44px;
      height: 44px;
      border-radius: 8px;
      background-size: cover;
      background-position: center;
      border: 2px solid rgba(255, 255, 255, .3);
      opacity: .6;
      transition: all .2s ease;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
      cursor: pointer;
    }

    .a-thumb.active {
      opacity: 1;
      border-color: #fff;
      transform: scale(1.08);
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
    }

    .dyn-proj-lbl {
      position: absolute;
      bottom: calc(12vh - 28px);
      left: 50%;
      transform: translateX(-50%);
      color: #fff;
      font-size: 13px;
      font-weight: 800;
      letter-spacing: 0.5px;
      text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
      text-align: center;
      white-space: nowrap;
      pointer-events: none;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 2px;
    }
    .proj-stars {
      color: #FBBF24;
      font-size: 13px;
      letter-spacing: 2px;
      line-height: 1;
      filter: drop-shadow(0 1px 4px rgba(0,0,0,.7));
    }
    .ba-expand-btn {
      position: absolute;
      top: 12px;
      right: 12px;
      width: 34px;
      height: 34px;
      background: rgba(0,0,0,.45);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border: 1px solid rgba(255,255,255,.22);
      border-radius: 9px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      z-index: 20;
      color: #fff;
      transition: background .18s;
    }
    .ba-expand-btn:active { background: rgba(255,255,255,.18); }

    /* ── Fullscreen overlay ── */
    .fs-overlay {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 9999;
      background: #000;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transition: opacity .25s;
    }
    .fs-overlay.open { opacity: 1; }
    /* Mobile: fullscreen — cover fills screen, no blur */
    .fs-img-blur { display: none; }
    .fs-img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 0;
      pointer-events: none;
      -webkit-touch-callout: none;
      user-select: none;
      -webkit-user-drag: none;
      z-index: 2;
    }
    .fs-frame {
      position: absolute;
      inset: 0;           /* default: full overlay until JS positions it */
      z-index: 10;
      pointer-events: none;
      overflow: hidden;
    }
    /* fs-frame gradient — desktop only, see @media 1024px */
    .fs-frame > * { pointer-events: auto; z-index: 1; }
    .fs-protect {
      position: absolute;
      inset: 0;
      z-index: 4;
      -webkit-touch-callout: none;
      user-select: none;
      touch-action: pan-x;
    }
    .fs-close {
      position: absolute;
      top: 18px;
      right: 18px;
      width: 40px;
      height: 40px;
      background: rgba(255,255,255,.12);
      border: 1px solid rgba(255,255,255,.2);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      color: #fff;
      transition: background .18s, box-shadow .18s;
      box-shadow: 0 0 0 3px rgba(0,0,0,.4), 0 0 16px 4px rgba(0,0,0,.7);
    }
    .fs-close:active { background: rgba(255,255,255,.25); }
    .fs-close svg { filter: drop-shadow(0 0 3px rgba(0,0,0,1)); }
    .fs-nav {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 44px;
      height: 44px;
      background: rgba(255,255,255,.12);
      border: 1px solid rgba(255,255,255,.2);
      border-radius: 50%;
      color: #fff;
      font-size: 28px;
      line-height: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: background .18s, box-shadow .18s;
      box-shadow: 0 0 0 3px rgba(0,0,0,.4), 0 0 16px 4px rgba(0,0,0,.7);
      text-shadow: 0 0 3px rgba(0,0,0,1);
      z-index: 1;
    }
    .fs-nav:active { background: rgba(255,255,255,.25); }
    .fs-prev { left: 14px; }
    .fs-next { right: 14px; }
    .fs-counter {
      position: absolute;
      bottom: 28px;
      left: 50%;
      transform: translateX(-50%);
      background: rgba(0,0,0,.55);
      color: #fff;
      font-size: 13px;
      font-weight: 600;
      padding: 4px 14px;
      border-radius: 20px;
      letter-spacing: .4px;
      white-space: nowrap;
    }
    .fs-watermark {
      position: absolute;
      top: calc(50% + 34px);
      right: 14px;
      color: rgba(255,255,255,.45);
      font-size: 10px;
      text-align: right;
      line-height: 1.5;
      pointer-events: none;
      text-shadow: 0 1px 4px rgba(0,0,0,.9);
      font-weight: 500;
      z-index: 10;
    }

    .step {
      display: none;
    }

    .step.on {
      display: block;
      animation: fade .3s ease;
    }

    @keyframes fade {
      from {
        opacity: 0;
        transform: translateY(10px)
      }

      to {
        opacity: 1;
        transform: translateY(0)
      }
    }

    .sq {
      font-size: 15px;
      font-weight: 800;
      color: #0f172a;
      margin-bottom: 12px;
    }

    .zip-wrap {
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin-bottom: 20px;
    }

    .zip-pills {
      display: flex;
      gap: 6px;
      flex-wrap: wrap;
      margin-bottom: 20px;
    }

    .z-pill {
      background: #f1f5f9;
      border: 2px solid #e2e8f0;
      border-radius: 20px;
      padding: 6px 14px;
      font-size: 13px;
      font-weight: 700;
      color: #475569;
      cursor: pointer;
      transition: all 0.2s;
    }

    .z-pill:active {
      transform: scale(0.95);
    }

    .z-pill.sel {
      border-color: #3b82f6;
      color: #3b82f6;
      background: #eff6ff;
    }

    .btn-next {
      width: 100%;
      min-height: 56px;
      background: #0f172a;
      color: #fff;
      border: none;
      border-radius: 14px;
      font-size: 16px;
      font-weight: 800;
      cursor: pointer;
      transition: transform 0.1s;
      margin-top: 10px;
    }

    .btn-next:active {
      transform: scale(0.98);
    }
    @keyframes shake {
      0%,100%{transform:translateX(0)}
      20%{transform:translateX(-7px)}
      40%{transform:translateX(7px)}
      60%{transform:translateX(-5px)}
      80%{transform:translateX(5px)}
    }
    .shake { animation: shake .35s ease; }
    .field-err { border-color: #ef4444 !important; }

    .btn-back {
      background: none;
      border: none;
      color: #64748b;
      font-size: 14px;
      font-weight: 700;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 4px;
      padding: 0;
      margin-bottom: 16px;
    }

    .quiz-dots {
      display: flex;
      gap: 6px;
      justify-content: center;
      margin-bottom: 20px;
    }

    .q-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #e2e8f0;
      transition: 0.3s;
    }

    .q-dot.active {
      width: 24px;
      border-radius: 4px;
      background: #f97316;
    }

    .q-dot.done {
      background: #22c55e;
    }

    .svc-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
      margin-bottom: 20px;
    }

    .svc-chip {
      display: flex;
      align-items: center;
      gap: 10px;
      background: #ffffff;
      border: 2px solid #e2e8f0;
      border-radius: 16px;
      padding: 12px 14px;
      font-size: 13.5px;
      line-height: 1.2;
      font-weight: 800;
      color: #334155;
      cursor: pointer;
      transition: all .2s;
      min-height: 56px;
    }

    .svc-chip-icon {
      font-size: 20px;
    }

    .inp {
      width: 100%;
      min-height: 56px;
      background: #ffffff;
      border: 2px solid #e2e8f0;
      border-radius: 14px;
      padding: 14px 18px;
      font-size: 16px;
      color: #0f172a;
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-weight: 600;
      outline: none;
      -webkit-appearance: none;
      transition: border-color .2s, box-shadow .2s;
      margin-bottom: 12px;
      display: block;
    }

    .inp::placeholder {
      color: #94a3b8;
      font-weight: 500;
    }

    .send-row {
      display: flex;
      gap: 10px;
      margin-top: 8px;
    }

    .send-btn {
      flex: 1;
      min-height: 56px;
      color: #fff;
      border: none;
      border-radius: 18px;
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-size: 16px;
      font-weight: 800;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      background: #475569;
      opacity: 1;
      transition: background .25s;
      pointer-events: auto;
    }
    .inp-wrap { position: relative; }
    .inp-wrap .inp { width: 100%; box-sizing: border-box; }
    .char-count { font-size: 11px; color: #94a3b8; text-align: right; display: block; margin-top: 2px; transition: color .2s; }
    .char-count.warn  { color: #f59e0b; }
    .char-count.limit { color: #ef4444; font-weight: 700; }
    .send-btn.ready {
      background: #22c55e;
      opacity: 1;
      pointer-events: auto;
    }
    /* Индикатор отправки */
    .send-btn:disabled { cursor: progress; opacity: 1; }
    .btn-spin {
      width: 18px; height: 18px;
      border: 2.5px solid rgba(255, 255, 255, .35);
      border-top-color: #fff;
      border-radius: 50%;
      animation: btnspin .7s linear infinite;
      flex-shrink: 0;
      display: inline-block;
    }
    @keyframes btnspin { to { transform: rotate(360deg); } }

    /* Оверлей «идёт отправка заявки» */
    .send-loading {
      position: fixed; inset: 0; z-index: 9999;
      display: none; align-items: center; justify-content: center;
      background: rgba(8, 11, 18, .6);
      backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    }
    .send-loading.show { display: flex; }
    .sl-card {
      background: #fff; border-radius: 20px; padding: 28px 34px;
      display: flex; flex-direction: column; align-items: center; gap: 16px;
      box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
      max-width: 80vw;
    }
    .sl-spin {
      width: 42px; height: 42px;
      border: 4px solid #e2e8f0; border-top-color: #22c55e;
    }
    .sl-text { font-size: 15px; font-weight: 700; color: #0f172a; text-align: center; }

    /* ── Photo upload ── */
    .desc-photo-row{display:flex;gap:8px;align-items:flex-start;margin-top:0}
    .desc-photo-row #f-desc{width:100%;margin:0;min-height:72px;resize:none;display:block;box-sizing:border-box}
    .photo-add-btn{width:52px;flex-shrink:0;background:rgba(255,255,255,.05);border:1.5px dashed rgba(255,255,255,.18);border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;cursor:pointer;color:#94a3b8;transition:.2s;padding:0}
    .photo-add-btn:hover{border-color:rgba(255,255,255,.38);background:rgba(255,255,255,.09);color:#e2e8f0}
    .photo-add-btn svg{opacity:.7}
    .photo-add-btn span{font-size:22px;font-weight:300;line-height:1;margin-top:-2px}
    .photo-toggle-btn{width:100%;margin-top:7px;padding:7px 12px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.1);border-radius:10px;display:none;align-items:center;gap:8px;cursor:pointer;color:#94a3b8;font-size:12px;font-weight:600;font-family:inherit;transition:.18s}
    .photo-toggle-btn:hover{background:rgba(255,255,255,.08);color:#e2e8f0}
    .photo-toggle-btn .pt-count{flex:1;text-align:left}
    .photo-toggle-btn .pt-arrow{width:16px;height:16px;transition:transform .22s;flex-shrink:0}
    .photo-toggle-btn.pt-open .pt-arrow{transform:rotate(180deg)}
    .photo-carousel{overflow:hidden;max-height:0;transition:max-height .28s ease}
    .photo-carousel.pc-open{max-height:120px}
    .photo-carousel-track{display:flex;gap:8px;overflow-x:auto;padding:8px 0 4px;scrollbar-width:none}
    .photo-carousel-track::-webkit-scrollbar{display:none}
    .pc-item{position:relative;flex-shrink:0;width:74px;height:74px}
    .pc-item img{width:74px;height:74px;object-fit:cover;border-radius:10px;border:2px solid rgba(255,255,255,.12);display:block}
    .pc-del{position:absolute;top:-5px;right:-5px;width:20px;height:20px;border-radius:50%;background:#ef4444;border:2px solid #0f172a;color:#fff;font-size:12px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0;font-family:inherit}
    .pc-add-more{flex-shrink:0;width:74px;height:74px;background:rgba(255,255,255,.04);border:1.5px dashed rgba(255,255,255,.18);border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;cursor:pointer;color:#64748b;font-size:11px;font-weight:600;transition:.18s}
    .pc-add-more:hover{border-color:rgba(255,255,255,.3);color:#94a3b8}
    .sh-note {
      font-size: 12px;
      font-weight: 600;
      color: #94a3b8;
      text-align: center;
      margin-top: 16px;
      margin-bottom: 8px;
    }

    .success {
      display: none;
      text-align: center;
      padding: 40px 0;
    }

    .s-ring {
      width: 80px;
      height: 80px;
      border-radius: 50%;
      border: 3px solid #22c55e;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 20px;
      color: #22c55e;
    }

    .success h3 {
      font-size: 24px;
      font-weight: 900;
      color: #0f172a;
      margin-bottom: 10px;
    }

    .success p {
      font-size: 15px;
      font-weight: 500;
      color: #64748b;
      line-height: 1.6;
    }

    .success a {
      font-weight: 900;
      text-decoration: none;
      font-size: 20px;
    }

    .more-sheet .sh-body {
      padding: 20px 24px;
    }

    /* ── New Menu Styles ── */
    .menu-group {
      margin-bottom: 24px;
    }

    .menu-group:last-child {
      margin-bottom: 0;
    }

    .menu-group-title {
      font-size: 12px;
      font-weight: 800;
      color: #94a3b8;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      margin-bottom: 12px;
      padding-left: 4px;
    }

    .menu-acc-item {
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      border-radius: 14px;
      margin-bottom: 8px;
      overflow: hidden;
      transition: all 0.3s ease;
    }

    .menu-acc-head {
      display: flex;
      align-items: center;
      padding: 14px 16px;
      cursor: pointer;
      font-weight: 800;
      color: #0f172a;
      font-size: 15px;
    }

    .menu-acc-icon {
      width: 36px;
      height: 36px;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-right: 14px;
      font-size: 18px;
      flex-shrink: 0;
    }

    .menu-acc-arrow {
      margin-left: auto;
      color: #94a3b8;
      transition: transform 0.3s;
      display: flex;
      align-items: center;
    }

    .menu-acc-item.open .menu-acc-arrow {
      transform: rotate(180deg);
    }

    .menu-acc-body {
      display: none;
      padding: 0 16px 12px 66px;
    }

    .menu-acc-item.open .menu-acc-body {
      display: block;
      animation: fade .3s ease;
    }

    .menu-proj-link {
      padding: 12px 0;
      font-size: 14px;
      font-weight: 700;
      color: #334155;
      border-bottom: 1px solid #e2e8f0;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .menu-proj-link::after {
      content: '→';
      color: rgba(255,255,255,0.3);
      font-size: 16px;
    }

    .menu-proj-link:active {
      opacity: 0.6;
    }

    .menu-num {
      font-size: 16px;
      font-weight: 900;
      color: #cbd5e1;
      margin-right: 14px;
      width: 12px;
    }

    .menu-proj-link:last-child {
      border-bottom: none;
      padding-bottom: 0;
    }

    a.menu-info-item,
    .menu-info-item {
      display: flex;
      align-items: center;
      gap: 16px;
      padding: 14px 16px;
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      border-radius: 14px;
      margin-bottom: 8px;
      text-decoration: none;
      cursor: default;
    }

    a.menu-info-item {
      cursor: pointer;
    }

    a.menu-info-item:active {
      transform: scale(0.98);
    }

    .menu-info-icon {
      width: 44px;
      height: 44px;
      border-radius: 12px;
      background: #f1f5f9;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 22px;
      flex-shrink: 0;
    }

    .menu-info-text strong {
      display: block;
      font-size: 15px;
      font-weight: 800;
      color: #0f172a;
      margin-bottom: 2px;
    }

    .menu-info-text span {
      font-size: 13px;
      color: #64748b;
      font-weight: 600;
      line-height: 1.3;
      display: block;
    }

    /* ── Reviews / Testimonials ───────────────────────── */
    .menu-reviews-scroll {
      display: flex;
      gap: 12px;
      overflow-x: auto;
      padding: 4px 0 12px;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
    }
    .menu-reviews-scroll::-webkit-scrollbar { display: none; }

    .rev-card {
      flex: 0 0 260px;
      scroll-snap-align: start;
      background: #f8fafc;
      border-radius: 14px;
      padding: 14px;
      border: 1px solid #e2e8f0;
    }

    .rev-card .ps-rtext {
      margin-top: 10px;
      font-size: 13px;
      line-height: 1.55;
      color: #475569;
      display: -webkit-box;
      -webkit-line-clamp: 5;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .rev-card .ps-stars {
      font-size: 14px;
      color: #f9ab00;
      letter-spacing: 1px;
    }

    .rev-card .ps-rname {
      font-size: 13px;
      font-weight: 800;
      color: #0f172a;
    }

    .rev-card .ps-avatar {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      font-size: 12px;
      font-weight: 900;
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .rev-loading {
      font-size: 13px;
      color: #94a3b8;
      padding: 8px 0;
    }

    .rev-summary {
      font-size: 13px;
      color: #64748b;
      margin: 0 0 10px;
      font-weight: 600;
    }

    /* ── Review card in menu (extends menu-info-item style) ──────────── */
    .rev-menu-card {
      margin-bottom: 8px;
    }
    .rev-rich p { margin: 0 0 6px; }
    .rev-rich p:last-child { margin: 0; }
    .rev-rich b, .rev-rich strong { font-weight: 800; }
    .rev-rich i, .rev-rich em { font-style: italic; }
    .rev-rich u { text-decoration: underline; }
    .rev-rich s { text-decoration: line-through; }

    .rev-thumbs {
      display: flex;
      gap: 6px;
      margin-top: 10px;
      flex-wrap: wrap;
    }
    .rev-photo-thumb {
      width: 60px;
      height: 60px;
      border-radius: 8px;
      background-size: cover;
      background-position: center;
      border: 2px solid #e2e8f0;
      cursor: pointer;
      flex-shrink: 0;
      transition: transform .15s, border-color .15s;
    }
    .rev-photo-thumb:hover {
      transform: scale(1.05);
      border-color: #3b82f6;
    }
    .rev-photo-more {
      width: 60px;
      height: 60px;
      border-radius: 8px;
      background: #f1f5f9;
      border: 2px solid #e2e8f0;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
      font-weight: 700;
      color: #64748b;
    }

    /* ── Landing Reviews slide ───────────────────────────────────────── */
    .rev-landing-wrap {
      position: absolute;
      inset: 0;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      touch-action: pan-y;   /* allow native vertical scroll, block horizontal swipe capture */
      padding: 20px 16px 100px;
      scrollbar-width: none;
      pointer-events: auto;  /* override .slide.active pointer-events:none */
    }
    .rev-landing-wrap::-webkit-scrollbar { display: none; }
    .rev-landing-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      /* Sticky so close button stays visible while scrolling */
      position: sticky;
      top: 0;
      z-index: 10;
      background: rgba(0,0,0,0.55);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      margin: -20px -16px 16px;
      padding: 14px 16px;
    }
    .rev-landing-title {
      font-size: 20px;
      font-weight: 900;
      color: #ffffff;
      text-shadow: 0 2px 8px rgba(0,0,0,.4);
    }
    .rev-landing-badge {
      font-size: 17px;
      font-weight: 700;
      color: #fbbf24;
      margin-top: 4px;
    }
    /* Close button — glass style like other overlays */
    .rev-close-btn {
      flex-shrink: 0;
      width: 42px;
      height: 42px;
      border-radius: 50%;
      background: rgba(255,255,255,.12);
      border: 1px solid rgba(255,255,255,.3);
      color: #fff;
      font-size: 20px;
      font-weight: 900;
      line-height: 1;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      box-shadow: none;
      transition: transform .15s, background .15s;
    }
    .rev-close-btn:hover { background: rgba(255,255,255,.22); transform: scale(1.08); }
    .rev-close-btn:active { transform: scale(0.94); }
    .rev-landing-scroll {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    /* ── Reviews button below service list ── */
    .svc-reviews-btn {
      display: flex;
      align-items: center;
      gap: 7px;
      width: 100%;
      background: rgba(34,197,94,.15);
      border: 1px solid rgba(34,197,94,.45);
      border-radius: 12px;
      padding: 9px 14px;
      cursor: pointer;
      margin-bottom: 10px;
      transition: background .2s;
      text-align: left;
    }
    .svc-reviews-btn:hover { background: rgba(34,197,94,.25); }
    .svc-reviews-stars { color: #fbbf24; font-size: 16px; letter-spacing: 1px; flex-shrink: 0; }
    .svc-reviews-label { color: #ffffff; font-size: 13px; font-weight: 800; flex-shrink: 0; }
    .svc-reviews-sub { color: rgba(255,255,255,.75); font-size: 11px; font-weight: 500; flex: 1; }
    .svc-reviews-arrow { color: rgba(255,255,255,.7); flex-shrink: 0; }

    /* ── Service list ── */
    .svc-list {
      display: flex;
      flex-direction: column;
      gap: 5px;
      margin-top: 0;
      margin-bottom: 14px;
    }

    .svc-row {
      display: flex;
      align-items: center;
      gap: 9px;
      opacity: 0;
      transform: translateX(-12px);
      transition: opacity .45s cubic-bezier(.16, 1, .3, 1), transform .45s cubic-bezier(.16, 1, .3, 1);
    }

    .svc-row.has-desc {
      align-items: flex-start;
    }

    .svc-row.has-desc .svc-num {
      padding-top: 0;
    }

    .svc-pill-col {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
    }

    .svc-text-block {
      background: rgba(0, 0, 0, .72);
      border: none;
      border-radius: 14px;
      margin-top: 6px;
      overflow: hidden;
      cursor: pointer;
    }

    .svc-open-row {
      display: flex;
      justify-content: flex-end;
      padding: 4px 12px 10px;
    }

    .svc-open-btn {
      font-family: inherit;
      font-size: 11px;
      font-weight: 800;
      letter-spacing: .06em;
      text-transform: uppercase;
      color: #fff;
      background: rgba(255, 255, 255, .15);
      border: 1px solid rgba(255, 255, 255, .4);
      border-radius: 20px;
      padding: 5px 14px;
      cursor: pointer;
      transition: background .2s;
    }

    .svc-open-btn:active {
      background: rgba(255, 255, 255, .28);
    }

    .svc-row:not(.is-active-svc) .svc-text-block { display: none; }

    .svc-inline-title {
      font-size: 30px;
      font-weight: 900;
      color: #fff;
      line-height: 1.1;
      padding: 10px 14px 2px;
      letter-spacing: -.8px;
      text-shadow: 0 4px 16px rgba(0, 0, 0, .6);
      pointer-events: none;
    }

    /* Mobile: non-active rows hide title/desc — handled by .svc-text-block */

    .svc-inline-desc {
      font-size: 13px;
      color: #fff;
      line-height: 1.5;
      font-weight: 500;
      padding: 4px 14px 4px;
      max-width: 260px;
      pointer-events: none;
    }

    .slide.active .svc-list .svc-row {
      opacity: 1;
      transform: none;
    }

    .slide.active .svc-list .svc-row:nth-child(1) {
      transition-delay: .18s
    }

    .slide.active .svc-list .svc-row:nth-child(2) {
      transition-delay: .25s
    }

    .slide.active .svc-list .svc-row:nth-child(3) {
      transition-delay: .32s
    }

    .slide.active .svc-list .svc-row:nth-child(4) {
      transition-delay: .39s
    }

    .slide.active .svc-list .svc-row:nth-child(5) {
      transition-delay: .46s
    }

    .slide.active .svc-list .svc-row:nth-child(6) {
      transition-delay: .53s
    }

    .svc-num {
      font-size: 10px;
      font-weight: 900;
      color: rgba(255, 255, 255, .9);
      min-width: 16px;
      letter-spacing: .03em;
      flex-shrink: 0;
      line-height: 1;
    }

    .svc-pill {
      position: relative;
      isolation: isolate;
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 7px 14px;
      border-radius: 100px;
      font-size: 13px;
      font-weight: 800;
      background: rgba(0, 0, 0, .45);
      border: 1px solid rgba(255, 255, 255, .55);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      color: #fff;
      overflow: hidden;
      white-space: nowrap;
      max-width: 34px;
      transition: max-width .7s cubic-bezier(.16, 1, .3, 1), border-color .4s, box-shadow .4s;
    }

    .slide.active .svc-pill {
      max-width: 270px;
    }

    .pill-fill {
      display: none;
    }

    .slide.active .svc-list .svc-row:nth-child(1) .svc-pill {
      transition-delay: .18s
    }

    .slide.active .svc-list .svc-row:nth-child(2) .svc-pill {
      transition-delay: .25s
    }

    .slide.active .svc-list .svc-row:nth-child(3) .svc-pill {
      transition-delay: .32s
    }

    .slide.active .svc-list .svc-row:nth-child(4) .svc-pill {
      transition-delay: .39s
    }

    .slide.active .svc-list .svc-row:nth-child(5) .svc-pill {
      transition-delay: .46s
    }

    .slide.active .svc-list .svc-row:nth-child(6) .svc-pill {
      transition-delay: .53s
    }

    .svc-dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      flex-shrink: 0;
      transition: background .4s, box-shadow .4s;
    }

    .svc-pill {
      cursor: pointer;
      pointer-events: auto;
    }

    .svc-pill:active {
      opacity: .75;
      transform: scale(.97);
    }

    /* ── Slide stats ── */
    .slide-stats {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 16px;
      opacity: 0;
      transform: translateY(10px);
      transition: opacity .5s cubic-bezier(.16, 1, .3, 1), transform .5s;
    }

    .slide.active .slide-stats {
      opacity: 1;
      transform: none;
      transition-delay: .60s;
    }

    .slide.is-portfolio .slide-stats {
      opacity: 0;
      pointer-events: none;
    }

    .stat-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 3px;
    }

    .stat-val {
      font-size: 26px;
      font-weight: 900;
      letter-spacing: -1px;
      text-shadow: 0 2px 10px rgba(0, 0, 0, .5);
    }

    .stat-lbl {
      font-size: 11px;
      font-weight: 700;
      color: rgba(255, 255, 255, .7);
      text-transform: uppercase;
      letter-spacing: .08em;
    }

    /* ── Logo service-name fill ── */
    .logo-fill-wrap {
      position: relative;
      display: inline-block;
      margin-top: 2px;
    }

    .logo-fill-base {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: .06em;
      text-transform: uppercase;
      color: rgba(255, 255, 255, .22);
    }

    .logo-fill-layer {
      position: absolute;
      inset: 0;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: .06em;
      text-transform: uppercase;
      clip-path: inset(0 100% 0 0);
      pointer-events: none;
    }

    .logo-fill-layer.run {
      clip-path: inset(0 0% 0 0);
      transition: clip-path 6s linear;
    }
  .grecaptcha-badge { visibility: hidden !important; }

/* ═══════════════════════════════════════════════════════════════
   DESKTOP — @media (min-width: 1024px)
   Overrides the mobile base above for screens ≥ 1024px.
   Add new desktop styles here, not in the mobile base.
   ═══════════════════════════════════════════════════════════════ */
  @media (min-width: 1024px) {

    /* Slide: opacity fade instead of translateY */
    .slide {
      align-items: center;
      justify-content: center;
      transform: none;
      transition: opacity 0.4s ease;
      /* центрируем содержимое строго между шапкой (сверху) и кнопкой/футером (снизу) */
      padding-top: clamp(70px, 9vh, 104px);
      padding-bottom: clamp(96px, 12vh, 130px);
    }
    .slide:not(.active) { opacity: 0; pointer-events: none; }

    /* Background: fade only */
    .bg-layer { transform: none; transition: opacity 0.5s ease; }
    .bg-layer.active { transform: none; }

    /* Content column */
    .marketing-content { width: 100%; max-width: min(1320px, 95vw); }
    .slide-title { font-size: clamp(42px, 5vw, 72px); }
    .slide-desc  { max-width: 460px; font-size: 17px; }

    /* ── Service grid 3 × 2 ── */
    .svc-list {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      grid-auto-rows: clamp(190px, 30vh, 340px);
      gap: clamp(14px, 1.6vw, 26px);
      width: 100%;
      margin-bottom: 16px;
      align-items: stretch;
    }

    /* All non-active titles/descs restored on desktop */
    .svc-row:not(.is-active-svc) .svc-inline-title,
    .svc-row:not(.is-active-svc) .svc-inline-desc { display: block; }

    /* Cards — exact mobile look: capsule pill + dark text block, responsive fonts */
    .slide.active .svc-list .svc-row {
      opacity: 1;
      transform: translateY(0);
      transition: transform .2s;
      background: none;
      backdrop-filter: none;
      -webkit-backdrop-filter: none;
      border: none;
      border-radius: 0;
      padding: 0;
      cursor: pointer;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      height: 100%;
    }
    .slide.active .svc-list .svc-row:hover {
      transform: translateY(-4px);
    }
    .slide.active .svc-list .svc-row.is-active-svc {
      transform: none;
      z-index: 2;
    }

    /* Remove stagger delays */
    .slide.active .svc-list .svc-row:nth-child(n)       { transition-delay: 0s; }
    .slide.active .svc-list .svc-row:nth-child(n) .svc-pill { transition-delay: 0s; }

    /* Pill — mobile capsule, responsive font */
    .slide .svc-pill {
      max-width: 100%;
      width: auto;
      background: rgba(0, 0, 0, .45);
      border: 1px solid rgba(255, 255, 255, .55);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border-radius: 100px;
      padding: clamp(6px, .5vw, 9px) clamp(12px, .9vw, 16px);
      font-size: clamp(12px, .95vw, 15px);
      font-weight: 800;
      gap: clamp(6px, .6vw, 9px);
      pointer-events: auto;
      cursor: pointer;
    }
    .slide .svc-pill:hover { background: rgba(0, 0, 0, .62); border-color: rgba(255, 255, 255, .8); }

    /* Show number + dot like mobile */
    .svc-num { display: inline; }
    .svc-pill-col { width: 100%; flex: 1; display: flex; flex-direction: column; align-items: flex-start; }

    /* Text block — mobile dark rounded rect, responsive */
    .slide.active .svc-list .svc-row .svc-text-block {
      display: flex;
      flex-direction: column;
      background: rgba(0, 0, 0, .72);
      border-radius: 14px;
      margin-top: clamp(6px, .7vw, 10px);
      width: 100%;
      flex: 1;
      overflow: hidden;
    }
    /* Open прижат к низу-вправо на всех карточках (ПК) */
    .slide.active .svc-list .svc-row .svc-open-row {
      margin-top: auto;
      justify-content: flex-end;
      padding: 6px clamp(11px, 1vw, 16px) clamp(10px, .9vw, 14px);
    }
    .slide.active .svc-list .svc-row.is-active-svc .svc-text-block {
      box-shadow: 0 0 0 1.5px var(--svc-color),
                  0 0 26px color-mix(in srgb, var(--svc-color) 30%, transparent);
    }

    /* All titles/descs always visible, responsive scaling */
    .slide.active .svc-list .svc-row .svc-inline-title {
      opacity: 1; transform: none; transition: none; transition-delay: 0s;
      font-size: clamp(17px, 1.6vw, 25px); line-height: 1.08;
      padding: clamp(7px, .7vw, 11px) clamp(11px, 1vw, 16px) 2px;
      letter-spacing: -.6px; color: #fff; pointer-events: none;
    }
    .slide.active .svc-list .svc-row .svc-inline-desc {
      opacity: 1; transform: none; transition: none; transition-delay: 0s;
      font-size: clamp(11px, .85vw, 13px); line-height: 1.45;
      padding: 3px clamp(11px, 1vw, 16px) clamp(8px, .7vw, 11px); max-width: none;
      color: #fff; font-weight: 500; pointer-events: none;
    }

    /* Bars */
    .top-bar    { padding-left: 40px; padding-right: 40px; }
    .svc-divider{ padding-left: 40px; padding-right: 40px; }
    .bottom-bar {
      padding-left: 0; padding-right: 0; justify-content: center;
      padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 16px);
    }
    .quote-btn { flex: none; width: min(460px, 50vw); border-radius: 22px; }
    .call-btn  { width: 56px; height: 56px; }

    /* Sheets */
    .overlay { align-items: center; justify-content: center; }
    .sheet, .more-sheet { width: min(480px, 90vw); border-radius: 28px; max-height: 85svh; }
    .overlay .sheet { width: min(480px, 90vw); border-radius: 28px; }
    /* Project sheet — centered panel on desktop */
    .sheet-overlay { align-items: center; justify-content: center; }
    .proj-sheet { width: min(560px, 92vw); border-radius: 28px; }
    .ps-gimg { width: 100%; }

    /* Misc */
    .side-dots          { right: 28px; top: 50%; transform: translateY(-50%); }
    .open-project-btn   { bottom: calc(10vh + 70px); }
    /* portfolio-ui, album-strip, projects-side-btn are controlled by JS/is-portfolio class — do NOT hide on desktop */

    /* ════════════════════════════════════════════════
       DESKTOP-ONLY: Shorts / pillarbox blur effect
       Мобильный — base styles выше (cover, без blur)
       ════════════════════════════════════════════════ */

    /* 1. Главный фон — одиночный слайд */
    .bg-blur-layer { display: none; }
    .bg-single { background-size: cover; background-repeat: no-repeat; transform: none; }

    /* 2. Before/After слайдер */
    .ba-bg-blur {
      display: block;
      position: absolute;
      top: -20px; left: -20px;
      width: calc(100% + 40px);
      height: calc(100% + 40px);
      background-size: cover;
      background-position: center;
      filter: blur(26px) brightness(0.75) saturate(1.3);
      z-index: 0;
    }
    .ba-after-inner  { background-size: contain; background-repeat: no-repeat; transform: none; }
    .ba-before-inner { background-size: contain; background-repeat: no-repeat; transform: none; }

    /* 3. Полноэкранная галерея */
    .fs-img-blur {
      display: block;
      position: absolute;
      top: -20px; left: -20px;
      width: calc(100% + 40px);
      height: calc(100% + 40px);
      object-fit: cover;
      filter: blur(28px) brightness(0.6) saturate(1.4);
      pointer-events: none;
      z-index: 1;
    }
    .fs-img { object-fit: contain; z-index: 2; }
    .fs-frame::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.72) 100%);
      pointer-events: none;
      z-index: 0;
    }

    /* 4. Галерея в карточке проекта */
    .ps-gimg-blur {
      display: block;
      position: absolute;
      top: -20px; left: -20px;
      width: calc(100% + 40px);
      height: calc(100% + 40px);
      background-size: cover;
      background-position: center;
      filter: blur(22px) brightness(0.65) saturate(1.4);
      z-index: 0;
    }
    .ps-gimg-main { background-size: contain; background-repeat: no-repeat; }

    /* Hide mobile-only UI on desktop */
    .side-dots     { display: none; }
    .ba-btn        { display: none; }

    /* ════════════════════════════════════════════════
       PC projects gallery — промежуточный выбор проекта
       ════════════════════════════════════════════════ */
    .pc-gallery-overlay {
      position: fixed;
      inset: 0;
      z-index: 190;
      display: none;
      align-items: center;
      justify-content: center;
      padding: clamp(24px, 4vh, 48px);
      background: rgba(2, 3, 6, 1);
      backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
      opacity: 0;
      transition: opacity .18s ease;
    }
    .pc-gallery-overlay.open { opacity: 1; }

    .pcg-panel {
      position: relative;
      width: min(1180px, 94vw);
      max-height: 88vh;
      display: flex;
      flex-direction: column;
      border-radius: 26px;
      background: rgba(18, 22, 30, .92);
      border: 1px solid rgba(255, 255, 255, .1);
      box-shadow: 0 30px 90px rgba(0, 0, 0, .55);
      overflow: hidden;
      transform: translateY(14px) scale(.985);
      transition: transform .22s cubic-bezier(.16, 1, .3, 1);
    }
    .pc-gallery-overlay.open .pcg-panel { transform: translateY(0) scale(1); }

    .pcg-head {
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: clamp(20px, 2vw, 28px) clamp(22px, 2.2vw, 32px);
      border-bottom: 1px solid rgba(255, 255, 255, .08);
    }
    .pcg-title {
      font-size: clamp(22px, 2vw, 30px);
      font-weight: 900;
      letter-spacing: -.5px;
      color: #fff;
    }
    .pcg-sub {
      margin-top: 3px;
      font-size: 13px;
      font-weight: 600;
      color: #94a3b8;
      text-transform: uppercase;
      letter-spacing: .06em;
    }
    .pcg-close {
      flex-shrink: 0;
      width: 44px; height: 44px;
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      background: rgba(255, 255, 255, .08);
      border: 1px solid rgba(255, 255, 255, .18);
      color: #fff;
      cursor: pointer;
      transition: background .15s, transform .15s;
    }
    .pcg-close:hover { background: rgba(255, 255, 255, .18); transform: scale(1.06); }
    .pcg-close:active { transform: scale(.94); }

    .pcg-grid {
      flex: 1;
      min-height: 0;
      overflow-y: auto;
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(clamp(300px, 30vw, 360px), 1fr));
      gap: clamp(16px, 1.6vw, 24px);
      padding: clamp(20px, 2vw, 30px) clamp(22px, 2.2vw, 32px) clamp(24px, 2.4vw, 34px);
    }
    .pcg-grid::-webkit-scrollbar { width: 8px; }
    .pcg-grid::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .18); border-radius: 4px; }

    .pcg-card {
      display: flex;
      flex-direction: column;
      text-align: left;
      padding: 0;
      border: 1px solid rgba(255, 255, 255, .1);
      border-radius: 18px;
      overflow: hidden;
      background: rgba(255, 255, 255, .04);
      cursor: pointer;
      transition: transform .18s, border-color .18s, box-shadow .18s;
    }
    .pcg-card:hover {
      transform: translateY(-5px);
      border-color: var(--svc-color, rgba(255, 255, 255, .4));
      box-shadow: 0 16px 38px rgba(0, 0, 0, .45);
    }
    .pcg-card-img {
      position: relative;
      width: 100%;
      aspect-ratio: 16 / 10;
      background-size: cover;
      background-position: center;
    }
    .pcg-card-img::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .35) 100%);
    }
    .pcg-card-badge {
      position: absolute;
      top: 12px; left: 12px;
      z-index: 1;
      padding: 5px 11px;
      border-radius: 100px;
      background: rgba(0, 0, 0, .55);
      border: 1px solid rgba(255, 255, 255, .3);
      backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
      color: #fff;
      font-size: 11px;
      font-weight: 800;
      letter-spacing: .03em;
      text-transform: uppercase;
    }
    .pcg-card-count {
      position: absolute;
      bottom: 12px; right: 12px;
      z-index: 1;
      display: inline-flex;
      align-items: center;
      gap: 5px;
      padding: 4px 9px;
      border-radius: 100px;
      background: rgba(0, 0, 0, .55);
      backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
      color: #fff;
      font-size: 12px;
      font-weight: 700;
    }
    .pcg-card-body {
      padding: 15px 16px 17px;
    }
    .pcg-card-title {
      font-size: 17px;
      font-weight: 800;
      line-height: 1.25;
      color: #f8fafc;
    }
    .pcg-card-loc {
      display: flex;
      align-items: center;
      gap: 5px;
      margin-top: 7px;
      font-size: 13px;
      font-weight: 600;
      color: #94a3b8;
    }
    .pcg-card-stars {
      margin-top: 9px;
      font-size: 15px;
      letter-spacing: 2px;
      color: #f9ab00;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .pcg-card-rev {
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0;
      color: #94a3b8;
    }

    /* ════════════════════════════════════════════════
       PC split-screen project viewer
       ════════════════════════════════════════════════ */
    .pc-viewer-overlay {
      position: fixed;
      inset: 0;
      z-index: 200;
      display: none;
      flex-direction: column;
      padding: clamp(20px, 3vh, 40px) clamp(24px, 3.5vw, 56px) clamp(16px, 2.5vh, 28px);
      gap: clamp(12px, 1.6vh, 20px);
      background: rgba(2, 3, 6, 1);
      opacity: 0;
      transition: opacity .18s ease;
    }
    .pc-viewer-overlay.open { opacity: 1; }

    .pcv-bg {
      position: absolute;
      inset: -40px;
      background-size: cover;
      background-position: center;
      filter: blur(40px) brightness(.42) saturate(1.35);
      transform: scale(1.08);
      z-index: 0;
      transition: background-image .35s ease;
    }

    .pcv-close {
      position: absolute;
      top: 14px;
      right: 14px;
      z-index: 5;
      width: 46px; height: 46px;
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      background: rgba(255, 255, 255, .12);
      border: 1px solid rgba(255, 255, 255, .25);
      color: #fff;
      backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
      cursor: pointer;
      transition: background .15s, transform .15s;
    }
    .pcv-close:hover { background: rgba(255, 255, 255, .22); transform: scale(1.06); }
    .pcv-close:active { transform: scale(.94); }

    .pcv-stage {
      position: relative;
      z-index: 1;
      flex: 1;
      min-height: 0;
      display: flex;
      gap: clamp(16px, 1.8vw, 30px);
      align-items: stretch;
    }

    /* ── Левая часть: крупное медиа ── */
    .pcv-media {
      position: relative;
      flex: 1.75;
      min-width: 0;
      border-radius: 22px;
      overflow: hidden;
      background: rgba(0, 0, 0, .45);
      border: 1px solid rgba(255, 255, 255, .1);
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .pcv-img {
      position: absolute;
      inset: 0;
      background-size: contain;
      background-position: center;
      background-repeat: no-repeat;
      transition: background-image .3s ease;
    }
    .pcv-imglabel {
      position: absolute;
      top: 16px; left: 16px;
      z-index: 3;
      padding: 6px 14px;
      border-radius: 100px;
      background: rgba(0, 0, 0, .55);
      border: 1px solid rgba(255, 255, 255, .35);
      backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
      color: #fff;
      font-size: 12px;
      font-weight: 800;
      letter-spacing: .04em;
      text-transform: uppercase;
    }
    .pcv-arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      z-index: 4;
      width: 52px; height: 52px;
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      background: rgba(0, 0, 0, .4);
      border: 1px solid rgba(255, 255, 255, .3);
      color: #fff;
      backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
      cursor: pointer;
      transition: background .15s, transform .15s;
    }
    .pcv-arrow:hover { background: rgba(0, 0, 0, .65); }
    .pcv-prev { left: 16px; }
    .pcv-next { right: 16px; }
    .pcv-prev:hover { transform: translateY(-50%) translateX(-2px); }
    .pcv-next:hover { transform: translateY(-50%) translateX(2px); }
    .pcv-counter {
      position: absolute;
      bottom: 16px; left: 50%;
      transform: translateX(-50%);
      z-index: 4;
      display: flex;
      gap: 7px;
      padding: 7px 12px;
      border-radius: 100px;
      background: rgba(0, 0, 0, .4);
      backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    }
    .pcv-dot {
      width: 7px; height: 7px;
      border-radius: 50%;
      background: rgba(255, 255, 255, .4);
      transition: background .2s, width .2s;
    }
    .pcv-dot.on { background: #fff; width: 20px; border-radius: 100px; }
    .pcv-counter.is-text {
      color: rgba(255, 255, 255, .7);
      font-size: 13px;
      font-weight: 700;
      letter-spacing: .03em;
    }
    .pcv-counter.is-text .pcv-cnum { color: #fff; }

    /* ── Правая часть: инфо-панель ── */
    .pcv-info {
      flex: 1;
      min-width: 0;
      max-width: 440px;
      display: flex;
      flex-direction: column;
      border-radius: 22px;
      background: rgba(20, 24, 33, .72);
      border: 1px solid rgba(255, 255, 255, .1);
      backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
      overflow: hidden;
      position: relative;
    }
    .pcv-info-scroll {
      flex: 1;
      min-height: 0;
      overflow-y: auto;
      padding: 70px clamp(20px, 2vw, 28px) 16px;
    }
    .pcv-info-scroll::-webkit-scrollbar { width: 6px; }
    .pcv-info-scroll::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .18); border-radius: 4px; }
    .pcv-title {
      font-size: clamp(22px, 1.9vw, 30px);
      font-weight: 900;
      letter-spacing: -.5px;
      line-height: 1.12;
      color: #fff;
    }
    .pcv-loc {
      display: flex;
      align-items: center;
      gap: 5px;
      margin-top: 8px;
      margin-bottom: 22px;
      font-size: 14px;
      font-weight: 600;
      color: #94a3b8;
    }
    .pcv-loc:empty { display: none; }
    .pcv-info-body { padding-bottom: 4px; }

    /* Переопределение .ps-* для тёмной панели */
    .pcv-info .ps-sec { color: #cbd5e1; margin-top: 22px; }
    .pcv-info .ps-sec:first-child { margin-top: 0; }
    .pcv-info .ps-sec::after { background: rgba(255, 255, 255, .12); }
    .pcv-info .ps-desc { color: #e2e8f0; }
    .pcv-info .ps-review {
      background: rgba(255, 255, 255, .05);
      border: 1px solid rgba(255, 255, 255, .1);
    }
    .pcv-info .ps-rname { color: #f8fafc; }
    .pcv-info .ps-rtext { color: #cbd5e1; }

    .pcv-cta {
      flex-shrink: 0;
      margin: 14px clamp(20px, 2vw, 28px) clamp(20px, 2vw, 28px);
      padding: 16px;
      border: none;
      border-radius: 16px;
      color: #fff;
      font-size: 16px;
      font-weight: 800;
      cursor: pointer;
      box-shadow: 0 8px 26px rgba(0, 0, 0, .4);
      transition: transform .15s, filter .15s;
    }
    .pcv-cta:hover { filter: brightness(1.08); transform: translateY(-2px); }
    .pcv-cta:active { transform: translateY(0); }

    /* ── Плёнка проектов снизу ── */
    .pcv-filmstrip {
      position: relative;
      z-index: 1;
      flex-shrink: 0;
      display: flex;
      gap: 12px;
      overflow-x: auto;
      padding: 4px 2px 8px;
      scrollbar-width: thin;
    }
    .pcv-filmstrip::-webkit-scrollbar { height: 6px; }
    .pcv-filmstrip::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .2); border-radius: 4px; }
    .pcv-film {
      flex-shrink: 0;
      width: 132px;
      border: 2px solid transparent;
      border-radius: 14px;
      overflow: hidden;
      background: rgba(0, 0, 0, .35);
      cursor: pointer;
      padding: 0;
      transition: border-color .18s, transform .18s;
    }
    .pcv-film:hover { transform: translateY(-3px); }
    .pcv-film.active { border-color: #fff; }
    .pcv-film-img {
      width: 100%;
      height: 74px;
      background-size: cover;
      background-position: center;
    }
    .pcv-film-lbl {
      display: block;
      padding: 7px 9px;
      font-size: 11px;
      font-weight: 700;
      line-height: 1.25;
      color: #cbd5e1;
      text-align: left;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .pcv-film.active .pcv-film-lbl { color: #fff; }
  }
