:root {
      --bg: #070814;
      --bg2: #101033;
      --card: rgba(255,255,255,.075);
      --card2: rgba(255,255,255,.115);
      --line: rgba(255,255,255,.14);
      --line2: rgba(255,255,255,.22);
      --text: #f7f8ff;
      --muted: rgba(247,248,255,.72);
      --muted2: rgba(247,248,255,.52);
      --accent: #7c6cff;
      --accent2: #b14cff;
      --accent3: #13c6e5;
      --warm: #ff8a3d;
      --good: #66f5b8;
      --shadow: 0 28px 90px rgba(0,0,0,.42);
      --radius: 28px;
      --max: 1180px;
      --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      font-family: var(--font);
      color: var(--text);
      background:
        radial-gradient(circle at 12% 8%, rgba(124,108,255,.28), transparent 30%),
        radial-gradient(circle at 88% 4%, rgba(177,76,255,.22), transparent 28%),
        radial-gradient(circle at 30% 72%, rgba(19,198,229,.12), transparent 36%),
        linear-gradient(180deg, #070814 0%, #11113a 42%, #070814 100%);
      overflow-x: hidden;
    }
    body::before {
      content: "";
      position: fixed;
      inset: 0;
      z-index: -2;
      background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
      background-size: 70px 70px;
      mask-image: linear-gradient(to bottom, rgba(0,0,0,.75), transparent 82%);
      pointer-events: none;
    }
    body::after {
      content: "";
      position: fixed;
      inset: 0;
      z-index: -1;
      background: radial-gradient(circle at center, transparent 0, rgba(0,0,0,.34) 83%);
      pointer-events: none;
    }
    a { color: inherit; text-decoration: none; }
    img { max-width: 100%; display: block; }
    button, input, select, textarea { font-family: inherit; }

    .site-loader {
      position: fixed;
      inset: 0;
      z-index: 9999;
      display: grid;
      place-items: center;
      background:
        radial-gradient(circle at center, rgba(124,108,255,.16), transparent 34%),
        #000;
      transition: opacity .55s ease, visibility .55s ease;
    }
    .site-loader img {
      width: min(260px, 54vw);
      height: auto;
      max-height: 42vh;
      object-fit: contain;
      animation: loaderPulse 1.7s ease-in-out infinite;
      filter: none;
      transform-origin: center;
    }
    .site-loader.is-hidden {
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
    }
    body.is-loading {
      overflow: hidden;
    }
    @keyframes loaderPulse {
      0%, 100% { transform: scale(.96); opacity: .82; }
      50% { transform: scale(1.04); opacity: 1; }
    }

    .container { width: min(var(--max), calc(100% - 36px)); margin: 0 auto; }
    .nav {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(7,8,20,.76);
      border-bottom: 1px solid rgba(255,255,255,.09);
      backdrop-filter: blur(18px);
    }
    .nav-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
    .brand { display:flex; align-items:center; gap:12px; min-width: 230px; }
    .brand-mark { width:46px; height:46px; flex: 0 0 auto; object-fit: contain; filter: none; }
    .brand-title { display:block; font-weight: 950; letter-spacing:-.045em; line-height:1; }
    .brand-title small { display:block; margin-top:5px; color: var(--muted2); font-size:12px; letter-spacing:0; font-weight:800; }
    .nav-links { display:flex; gap:20px; align-items:center; color: var(--muted); font-size:14px; }
    .nav-links a { transition:.2s ease; }
    .nav-links a:hover { color: #fff; }
    .nav-actions { display:flex; gap:10px; align-items:center; }
    .btn {
      display:inline-flex;
      align-items:center;
      justify-content:center;
      gap:10px;
      min-height:48px;
      padding:0 18px;
      border-radius:999px;
      border:1px solid rgba(255,255,255,.15);
      background: rgba(255,255,255,.07);
      color:#fff;
      font-weight: 950;
      cursor:pointer;
      white-space: nowrap;
      transition: .22s ease;
    }
    .btn:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.12); }
    .btn-primary { border:0; background: linear-gradient(135deg, var(--accent), var(--accent2) 55%, var(--accent3)); box-shadow: 0 18px 55px rgba(124,108,255,.32); }
    .btn-ghost { background: rgba(255,255,255,.055); }
    .btn-small { min-height:40px; padding:0 14px; font-size:13px; }
    .pill {
      display:inline-flex; align-items:center; gap:8px;
      padding:9px 13px;
      border:1px solid var(--line);
      background: rgba(255,255,255,.06);
      color: var(--muted);
      border-radius:999px;
      font-size:13px;
      backdrop-filter: blur(12px);
    }
    .dot { width:8px; height:8px; border-radius:50%; background: var(--good); box-shadow:0 0 18px var(--good); }
    .hero { padding: 82px 0 68px; }
    .hero-grid { display:grid; grid-template-columns: 1.05fr .95fr; gap:42px; align-items:center; }
    h1 { margin: 22px 0 20px; font-size: clamp(42px, 7vw, 80px); line-height:.94; letter-spacing:-.075em; }
    h2 { margin:0; font-size: clamp(31px, 4vw, 54px); line-height:1; letter-spacing:-.06em; }
    h3 { margin: 0 0 10px; font-size:22px; letter-spacing:-.035em; }
    p { line-height:1.65; }
    .gradient-text { background: linear-gradient(135deg, #fff 6%, #dce4ff 28%, #91f0ff 54%, #d7b3ff 76%, #ffb06d 100%); -webkit-background-clip:text; background-clip:text; color: transparent; }
    .lead { max-width:760px; margin: 0 0 28px; color: var(--muted); font-size: clamp(18px,2vw,22px); line-height:1.55; }
    .hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin: 28px 0; }
    .proof-row { display:grid; grid-template-columns: repeat(3, 1fr); gap:12px; max-width: 640px; }
    .proof { padding:16px; border:1px solid var(--line); background: rgba(255,255,255,.055); border-radius:22px; }
    .proof b { display:block; font-size:20px; letter-spacing:-.04em; }
    .proof span { display:block; margin-top:5px; color: var(--muted2); font-size:13px; line-height:1.35; }
    .trust-strip { display:flex; flex-wrap:wrap; gap:10px; margin-top:18px; color: var(--muted); font-size:14px; }
    .trust-strip span { padding:10px 12px; border:1px solid var(--line); background: rgba(255,255,255,.045); border-radius:999px; }
    .system-card {
      position:relative;
      overflow:hidden;
      border:1px solid var(--line2);
      border-radius:38px;
      background: linear-gradient(180deg, rgba(255,255,255,.135), rgba(255,255,255,.055));
      box-shadow: var(--shadow);
    }
    .system-card::before { content:""; position:absolute; width:260px; height:260px; border-radius:50%; background: var(--accent2); filter: blur(56px); opacity:.36; right:-96px; top:-46px; }
    .system-card::after { content:""; position:absolute; width:250px; height:250px; border-radius:50%; background: var(--accent3); filter: blur(58px); opacity:.24; left:-100px; bottom:80px; }
    .system-card { animation: floatPanel 7s ease-in-out infinite; }
    .flow-step { position:relative; overflow:hidden; animation: flowPulse 5.2s ease-in-out infinite; }
    .flow-step:nth-child(2) { animation-delay: .45s; }
    .flow-step:nth-child(3) { animation-delay: .9s; }
    .flow-step::after { content:""; position:absolute; inset:0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent); transform: translateX(-120%); animation: sheen 5.5s ease-in-out infinite; }
    .flow-step:nth-child(2)::after { animation-delay: .8s; }
    .flow-step:nth-child(3)::after { animation-delay: 1.6s; }
    .flow-num { animation: numPulse 2.7s ease-in-out infinite; }
    @keyframes floatPanel { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
    @keyframes flowPulse { 0%,100% { border-color: rgba(255,255,255,.11); background: rgba(0,0,0,.16); } 50% { border-color: rgba(124,108,255,.42); background: rgba(124,108,255,.13); } }
    @keyframes sheen { 0%, 42% { transform: translateX(-125%); } 60%, 100% { transform: translateX(125%); } }
    @keyframes numPulse { 0%,100% { transform: scale(1); box-shadow: 0 14px 35px rgba(124,108,255,.24); } 50% { transform: scale(1.06); box-shadow: 0 18px 45px rgba(177,76,255,.42); } }
    .system-top { position:relative; z-index:1; display:flex; justify-content:space-between; align-items:center; gap:18px; padding:22px; border-bottom:1px solid rgba(255,255,255,.10); }
    .lights { display:flex; gap:8px; }
    .lights i { width:11px; height:11px; border-radius:50%; background: rgba(255,255,255,.28); }
    .system-title { font-weight:950; letter-spacing:-.035em; font-size:20px; }
    .system-body { position:relative; z-index:1; padding:22px; display:grid; gap:16px; }
    .profile-mini { display:flex; gap:16px; align-items:center; padding:16px; border:1px solid rgba(255,255,255,.12); border-radius:24px; background: rgba(255,255,255,.08); }
    .profile-mini img { width:74px; height:74px; object-fit:cover; border-radius:22px; border:1px solid rgba(255,255,255,.22); }
    .profile-mini b { display:block; font-size:24px; letter-spacing:-.04em; }
    .profile-mini span { display:block; margin-top:4px; color: var(--muted); line-height:1.45; }
    .client-flow { display:grid; gap:10px; }
    .flow-step { display:grid; grid-template-columns: 54px 1fr; gap:14px; align-items:start; padding:15px; border:1px solid rgba(255,255,255,.11); border-radius:22px; background: rgba(0,0,0,.16); }
    .flow-num { width:42px; height:42px; border-radius:16px; display:flex; align-items:center; justify-content:center; background: linear-gradient(135deg, var(--accent), var(--accent2)); font-weight:950; box-shadow: 0 14px 35px rgba(124,108,255,.24); }
    .flow-step b { display:block; font-size:17px; letter-spacing:-.02em; }
    .flow-step span { display:block; color: var(--muted); margin-top:4px; line-height:1.45; }
    .system-note { color:var(--muted2); font-size:13px; line-height:1.5; text-align:center; padding:2px 10px 0; }
    section { scroll-margin-top: 96px; padding: 76px 0; }
    .section-head { display:flex; justify-content:space-between; gap:24px; align-items:end; margin-bottom:28px; }
    .section-head p { margin:0; max-width:560px; color: var(--muted); }
    .grid-4 { display:grid; grid-template-columns: repeat(4, 1fr); gap:16px; }
    .grid-3 { display:grid; grid-template-columns: repeat(3, 1fr); gap:16px; }
    .grid-2 { display:grid; grid-template-columns: repeat(2, 1fr); gap:16px; }
    .split { display:grid; grid-template-columns: 1.05fr .95fr; gap:20px; align-items:stretch; }
    .card { position:relative; overflow:hidden; border:1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.045)); box-shadow: 0 18px 60px rgba(0,0,0,.20); }
    .card-inner { padding:24px; }
    .card p, .card li { color: var(--muted); }
    .card ul { margin:16px 0 0; padding-left:20px; }
    .card li { margin:8px 0; line-height:1.55; }
    .icon { width:44px; height:44px; display:flex; align-items:center; justify-content:center; margin-bottom:16px; border-radius:16px; background: rgba(255,255,255,.11); border:1px solid rgba(255,255,255,.12); font-size:22px; }
    .tag { display:inline-flex; align-items:center; padding:7px 10px; border-radius:999px; background: rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.12); color: var(--muted); font-size:12px; font-weight:850; }
    .value-card.primary { background: linear-gradient(135deg, rgba(124,108,255,.20), rgba(19,198,229,.08)); border-color: rgba(124,108,255,.32); }
    .about-photo { min-height: 520px; }
    .about-photo img { width:100%; height:100%; object-fit:cover; object-position:center 28%; }
    .photo-caption { position:absolute; left:20px; right:20px; bottom:20px; padding:18px; border-radius:22px; background: rgba(7,8,20,.72); border:1px solid rgba(255,255,255,.16); backdrop-filter: blur(14px); }
    .photo-caption b { display:block; font-size:22px; letter-spacing:-.04em; }
    .photo-caption span { display:block; margin-top:5px; color: var(--muted); line-height:1.45; }
    .problem-card { border-color: rgba(255,138,61,.20); }
    .solution-card { border-color: rgba(102,245,184,.20); }
    .big-service { grid-column: span 2; background: linear-gradient(135deg, rgba(124,108,255,.18), rgba(255,255,255,.05)); }
    .case-card { display:grid; grid-template-columns: .9fr 1.1fr; gap:0; }
    .case-visual { min-height: 340px; border-right:1px solid rgba(255,255,255,.1); background: rgba(0,0,0,.18); display:flex; align-items:center; justify-content:center; overflow:hidden; }
    .case-visual img { width:100%; height:100%; object-fit:cover; opacity:.92; }
    .browser-preview { width:88%; min-height:230px; border:1px solid rgba(255,255,255,.16); border-radius:24px; background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.045)); overflow:hidden; box-shadow: var(--shadow); }
    .browser-bar { height:42px; display:flex; align-items:center; gap:7px; padding:0 14px; border-bottom:1px solid rgba(255,255,255,.12); }
    .browser-bar i { width:10px; height:10px; border-radius:50%; background: rgba(255,255,255,.32); }
    .preview-content { padding:22px; }
    .preview-hero { height:70px; border-radius:18px; background: linear-gradient(135deg, rgba(124,108,255,.55), rgba(19,198,229,.38)); margin-bottom:14px; }
    .preview-lines { display:grid; gap:9px; }
    .preview-lines span { height:12px; border-radius:999px; background: rgba(255,255,255,.18); }
    .case-tags { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:16px; }
    .price-card { min-height:100%; }
    .price-top { display:flex; justify-content:space-between; align-items:start; gap:16px; padding:24px 24px 0; }
    .price { font-size:42px; font-weight:950; letter-spacing:-.06em; }
    .price small { color: var(--muted2); font-size:14px; letter-spacing:0; }
    .popular { border-color: rgba(19,198,229,.35); background: linear-gradient(180deg, rgba(19,198,229,.12), rgba(255,255,255,.045)); }
    .steps { counter-reset: step; }
    .step-number { width:34px; height:34px; display:flex; align-items:center; justify-content:center; border-radius:14px; background:#fff; color:#101320; font-weight:950; margin-bottom:14px; }
    .step-number::before { counter-increment: step; content: counter(step); }
    .testimonial p { font-size:19px; color:#fff; margin-top:0; }
    .contact-wrap { display:grid; grid-template-columns: .88fr 1.12fr; gap:20px; align-items:stretch; }
    .contact-list { display:grid; gap:12px; margin-top:20px; }
    .contact-item { display:flex; justify-content:space-between; align-items:center; gap:14px; padding:14px; border:1px solid rgba(255,255,255,.12); border-radius:20px; background: rgba(255,255,255,.055); }
    .contact-item span { color:var(--muted2); font-size:13px; display:block; margin-top:4px; }
    .form { display:grid; gap:12px; }
    .form-row { display:grid; grid-template-columns: 1fr 1fr; gap:12px; }
    .field { display:grid; gap:7px; }
    label { color: var(--muted); font-weight:850; font-size:13px; }
    input, select, textarea { width:100%; border:1px solid rgba(255,255,255,.14); background: rgba(0,0,0,.18); color:#fff; border-radius:18px; padding:14px 15px; outline:none; transition:.2s ease; }
    input:focus, select:focus, textarea:focus { border-color: rgba(124,108,255,.75); box-shadow: 0 0 0 4px rgba(124,108,255,.14); }
    select option { background:#101033; color:#fff; }
    textarea { min-height:120px; resize: vertical; }
    .form-note { color:var(--muted2); font-size:13px; line-height:1.45; }
    details { border:1px solid var(--line); border-radius:22px; background: rgba(255,255,255,.055); overflow:hidden; }
    summary { padding:18px 20px; cursor:pointer; font-weight:950; }
    details p { margin:0; padding:0 20px 20px; color: var(--muted); }
    .faq { display:grid; gap:12px; }
    .footer { padding:34px 0 46px; color:var(--muted2); border-top:1px solid rgba(255,255,255,.09); }
    .footer-inner { display:flex; justify-content:space-between; gap:18px; align-items:center; flex-wrap:wrap; }
    .reveal { opacity:0; transform: translateY(18px); transition:.62s ease; }
    .reveal.visible { opacity:1; transform: translateY(0); }
    @media (prefers-reduced-motion: reduce) { html { scroll-behavior:auto !important; } .reveal { opacity:1; transform:none; } }
    @media (max-width: 980px) {
      .nav-links { display:none; }
      .hero-grid, .split, .case-card, .contact-wrap { grid-template-columns:1fr; }
      .proof-row, .grid-4 { grid-template-columns: repeat(2, 1fr); }
      .grid-3 { grid-template-columns: 1fr 1fr; }
      .case-visual { min-height:300px; border-right:0; border-bottom:1px solid rgba(255,255,255,.1); }
      .section-head { flex-direction:column; align-items:flex-start; }
      .big-service { grid-column: span 1; }
    }
    @media (max-width: 680px) {
      .container { width:min(var(--max), calc(100% - 24px)); }
      .nav-inner { min-height:70px; }
      .brand { min-width: 0; }
      .brand-title { font-size:17px; }
      .brand-title small { display:none; }
      .brand-mark { width:44px; height:44px; }
      .nav-actions .btn-ghost { display:none; }
      .btn-small { min-height:38px; padding:0 13px; }
      .hero { padding:52px 0 42px; }
      section { padding:54px 0; }
      h1 { font-size: clamp(40px, 12.5vw, 58px); letter-spacing:-.067em; }
      h2 { font-size:34px; }
      .lead { font-size:17px; }
      .hero-actions .btn { width:100%; }
      .proof-row, .grid-4, .grid-3, .grid-2, .form-row { grid-template-columns:1fr; }
      .system-top { padding:18px; }
      .system-title { font-size:18px; }
      .system-body { padding:16px; }
      .profile-mini { align-items:flex-start; }
      .profile-mini img { width:62px; height:62px; border-radius:18px; }
      .profile-mini b { font-size:21px; }
      .flow-step { grid-template-columns:44px 1fr; gap:12px; padding:13px; }
      .flow-num { width:38px; height:38px; border-radius:14px; }
      .about-photo { min-height:390px; }
      .price { font-size:36px; }
      .reveal { opacity:1; transform:none; }
    }


    /* Final case layout: 16:9 image on top, short text below. Stable on desktop, tablet and mobile. */
    #cases .case-grid-final { align-items: stretch; gap: 18px; }
    #cases .case-card-final { display: flex; flex-direction: column; min-height: 100%; overflow: hidden; }
    #cases .case-visual-final { position: relative; padding: 18px; border-bottom: 1px solid rgba(255,255,255,.10); background: linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.025)); }
    #cases .case-frame-final { width: 100%; aspect-ratio: 16 / 9; border-radius: 26px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 24px 70px rgba(0,0,0,.28); background: #0B0E20; }
    #cases .case-frame-final img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
    #cases .crm-card-final .case-frame-final img { object-fit: cover; object-position: center; }
    #cases .wing-card-final .case-frame-final img { object-fit: cover; object-position: center 48%; transform: scale(1.035); }
    #cases .case-content-final { padding: 24px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
    #cases .case-content-final h3 { margin: 0; font-size: clamp(24px, 2.2vw, 34px); line-height: 1.05; letter-spacing: -.045em; }
    #cases .case-summary-final { color: var(--muted); font-size: 16px; line-height: 1.58; margin: 0; }
    #cases .case-result-final { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: auto; }
    #cases .case-mini-final { padding: 13px; border: 1px solid rgba(255,255,255,.11); border-radius: 18px; background: rgba(255,255,255,.055); }
    #cases .case-mini-final b { display: block; margin-bottom: 6px; font-size: 14px; }
    #cases .case-mini-final span { display: block; color: var(--muted2); font-size: 12.5px; line-height: 1.45; }
    #cases .case-link-final { margin-top: 2px; }

    #cases .case-demo-access-final { margin: -4px 0 0; padding: 12px 14px; border: 1px solid rgba(124,108,255,.28); border-radius: 16px; background: rgba(124,108,255,.10); color: rgba(247,248,255,.78); font-size: 13px; line-height: 1.45; }
    #cases .case-demo-access-final b { color: var(--text); font-weight: 850; }
    #cases .case-card, #cases .case-visual { min-height: auto; }
    @media (max-width: 980px) {
      #cases .case-result-final { grid-template-columns: 1fr; }
      #cases .case-visual-final { padding: 14px; }
      #cases .case-content-final { padding: 20px; }
    }
    @media (max-width: 680px) {
      #cases .case-grid-final { gap: 14px; }
      #cases .case-frame-final { border-radius: 20px; }
      #cases .case-content-final h3 { font-size: 25px; }
    }

  
    /* Sticky right hero card for tablet/desktop. Added to the latest 16:9 cases version. */
    @media (min-width: 981px) {
      .hero {
        overflow: visible !important;
      }
      .hero-grid {
        align-items: start !important;
      }
      .system-card {
        position: sticky !important;
        top: 104px !important;
        align-self: start !important;
        max-height: calc(100svh - 124px) !important;
        overflow: auto !important;
        scrollbar-width: none;
      }
      .system-card::-webkit-scrollbar {
        display: none;
      }
    }
    @media (min-width: 981px) and (max-width: 1180px) {
      .system-card {
        top: 92px !important;
        max-height: calc(100svh - 108px) !important;
      }
      .system-body {
        padding-bottom: 20px;
      }
      .flow-step {
        padding: 13px;
      }
      .system-note {
        margin-top: 2px;
      }
    }
    @media (max-width: 980px) {
      .system-card {
        position: relative !important;
        top: auto !important;
        max-height: none !important;
        overflow: hidden !important;
      }
    }

  
    /* Three case cards with 16:9 covers */
    #cases .case-grid-final {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
      align-items: stretch;
    }
    #cases .case-card-final {
      min-width: 0;
    }
    #cases .case-result-final {
      grid-template-columns: 1fr;
    }
    #cases .case-actions-final {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }
    #cases .case-actions-final .btn {
      flex: 1 1 160px;
      justify-content: center;
    }
    #cases .casa-card-final .case-frame-final img {
      object-fit: cover;
      object-position: center;
    }
    @media (max-width: 1180px) {
      #cases .case-grid-final { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }
    @media (max-width: 760px) {
      #cases .case-grid-final { grid-template-columns: 1fr; }
    }


    #cases .daria-card-final .case-frame-final img,
    #cases .novadent-card-final .case-frame-final img {
      object-fit: cover;
      object-position: center;
    }
    @media (prefers-reduced-motion: reduce) {
      .site-loader img { animation: none; }
    }



    /* Reviews slider */
    .reviews-section { padding-top: 38px; }
    .mini-pill { width: fit-content; margin-bottom: 12px; }
    .reviews-shell {
      position: relative;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background:
        radial-gradient(circle at 18% 0%, rgba(124,108,255,.20), transparent 32%),
        radial-gradient(circle at 86% 8%, rgba(19,198,229,.16), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,.095), rgba(255,255,255,.045));
      box-shadow: 0 24px 70px rgba(0,0,0,.22);
      padding: 24px;
    }
    .reviews-top {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 18px;
      margin-bottom: 18px;
    }
    .reviews-top h3 {
      margin: 0;
      font-size: clamp(26px, 3vw, 44px);
      line-height: 1.02;
      letter-spacing: -.055em;
    }
    .reviews-controls {
      display: flex;
      gap: 10px;
      flex: 0 0 auto;
    }
    .review-control {
      width: 46px;
      height: 46px;
      border: 1px solid rgba(255,255,255,.15);
      border-radius: 16px;
      color: #fff;
      background: rgba(255,255,255,.08);
      cursor: pointer;
      font-size: 22px;
      line-height: 1;
      transition: transform .2s ease, background .2s ease, border-color .2s ease;
    }
    .review-control:hover { transform: translateY(-2px); background: rgba(255,255,255,.13); border-color: rgba(19,198,229,.35); }
    .reviews-window { overflow: hidden; border-radius: 24px; }
    .reviews-track {
      display: flex;
      transition: transform .55s cubic-bezier(.2,.8,.2,1);
      will-change: transform;
    }
    .review-card {
      min-width: 100%;
      padding: clamp(22px, 3vw, 34px);
      border: 1px solid rgba(255,255,255,.12);
      border-radius: 24px;
      background: rgba(0,0,0,.18);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
    }
    .review-stars {
      color: #ffd27a;
      letter-spacing: .16em;
      font-size: 15px;
      margin-bottom: 16px;
    }
    .review-card p {
      margin: 0;
      color: #fff;
      font-size: clamp(20px, 2.4vw, 31px);
      line-height: 1.3;
      letter-spacing: -.035em;
      max-width: 920px;
    }
    .review-author {
      margin-top: 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      flex-wrap: wrap;
      padding-top: 18px;
      border-top: 1px solid rgba(255,255,255,.10);
    }
    .review-author b { font-size: 18px; }
    .review-author span { color: var(--muted2); font-size: 13px; font-weight: 750; }
    .reviews-dots {
      display: flex;
      justify-content: center;
      gap: 8px;
      margin-top: 16px;
    }
    .review-dot {
      width: 9px;
      height: 9px;
      border: 0;
      padding: 0;
      border-radius: 99px;
      background: rgba(255,255,255,.28);
      cursor: pointer;
      transition: width .25s ease, background .25s ease;
    }
    .review-dot.is-active { width: 28px; background: linear-gradient(90deg, var(--accent2), var(--accent3)); }
    @media (max-width: 680px) {
      .reviews-shell { padding: 16px; }
      .reviews-top { align-items: stretch; flex-direction: column; }
      .reviews-controls { justify-content: flex-end; }
      .review-control { width: 44px; height: 44px; }
      .review-card { border-radius: 20px; }
      .review-author { align-items: flex-start; flex-direction: column; }
    }


/* Contact modal */
body.modal-open { overflow: hidden; }
.site-loader img, .brand-mark { filter: none !important; }
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
}
.contact-modal.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(12px);
}
.contact-modal-dialog {
  position: relative;
  width: min(560px, 100%);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 30px;
  padding: clamp(22px, 4vw, 34px);
  background:
    radial-gradient(circle at 18% 0%, rgba(124,108,255,.26), transparent 42%),
    radial-gradient(circle at 88% 16%, rgba(19,198,229,.20), transparent 40%),
    rgba(8,9,20,.96);
  box-shadow: 0 30px 100px rgba(0,0,0,.48);
  transform: translateY(12px) scale(.98);
  transition: transform .25s ease;
}
.contact-modal.is-open .contact-modal-dialog { transform: translateY(0) scale(1); }
.contact-modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  color: #fff;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}
.contact-modal-dialog h2 { margin: 12px 0 8px; }
.contact-modal-dialog p { margin: 0 0 20px; color: var(--muted); line-height: 1.55; }
.modal-contact-grid { display: grid; gap: 12px; }
.modal-contact-card {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 15px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 22px;
  background: rgba(255,255,255,.075);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.modal-contact-card:hover { transform: translateY(-2px); background: rgba(255,255,255,.12); border-color: rgba(19,198,229,.36); }
.modal-contact-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  font-weight: 950;
  letter-spacing: -.04em;
}
.modal-contact-card b { display: block; font-size: 18px; }
.modal-contact-card small { display: block; margin-top: 3px; color: var(--muted2); font-weight: 750; }
.modal-contact-card strong { color: #fff; font-size: 13px; }
@media (max-width: 560px) {
  .modal-contact-card { grid-template-columns: 48px 1fr; }
  .modal-contact-card strong { grid-column: 2; }
}

/* Final UX fixes */
.hero-actions .btn {
  min-height: 58px;
  padding: 0 28px;
  font-size: 18px;
  line-height: 1;
}
.nav-discuss-btn {
  appearance: none;
}
#briefForm .btn[type="submit"] {
  font-size: 16px;
}
.site-loader img, .brand-mark {
  filter: none !important;
}
@media (max-width: 680px) {
  .hero-actions .btn {
    min-height: 56px;
    font-size: 18px;
  }
  .nav-discuss-btn {
    font-size: 12px;
    padding: 0 11px;
  }
}
@media (max-width: 380px) {
  .brand-title { font-size: 15px; }
  .brand-mark { width: 40px; height: 40px; }
  .nav-discuss-btn { font-size: 11px; padding: 0 9px; }
}


/* Premium opening animation — split logo version */
.site-loader {
  overflow: hidden;
  isolation: isolate;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(124,108,255,.18), transparent 32%),
    radial-gradient(circle at 62% 53%, rgba(19,198,229,.14), transparent 28%),
    #02020a;
  transition: opacity .72s ease 1.18s, visibility 0s linear 1.95s;
}
.site-loader::before,
.site-loader::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.site-loader::before {
  z-index: 0;
  background:
    linear-gradient(115deg, transparent 0 34%, rgba(255,255,255,.08) 44%, transparent 56%),
    linear-gradient(90deg, rgba(124,108,255,.14), transparent 34%, transparent 66%, rgba(19,198,229,.12));
  transform: translateX(-120%);
  animation: loaderSweep 1.95s cubic-bezier(.76,0,.24,1) .22s forwards;
}
.site-loader::after {
  z-index: 1;
  background: linear-gradient(180deg, rgba(2,2,10,.08), rgba(2,2,10,.74));
}
.loader-noise {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: .08;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: clamp(44px, 5vw, 58px) clamp(44px, 5vw, 58px);
  mask-image: radial-gradient(circle at center, #000 0 58%, transparent 84%);
}
.loader-inner {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: clamp(14px, 2.4vw, 18px);
  padding: 24px;
}
.loader-mark {
  position: relative;
  width: clamp(150px, 28vw, 290px);
  aspect-ratio: 1 / 1;
  opacity: 0;
  transform: translateY(18px) scale(.92);
  animation: loaderMarkIn .9s cubic-bezier(.16,1,.3,1) .14s forwards;
}
.loader-half {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  will-change: transform, opacity;
}
.loader-half img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none !important;
  animation: loaderBreath 1.6s ease-in-out .72s infinite;
}
.loader-half-left {
  clip-path: polygon(0 0, 54% 0, 48% 100%, 0 100%);
}
.loader-half-right {
  clip-path: polygon(52% 0, 100% 0, 100% 100%, 46% 100%);
}
.loader-half-right img {
  transform: translateX(0);
}
/* Removed visual separator line between the two logo halves; split animation remains unchanged. */
.loader-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.5vw, 13px);
  color: rgba(247,248,255,.72);
  font-size: clamp(10px, 1.5vw, 14px);
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  transform: translateY(10px);
  opacity: 0;
  animation: loaderTextIn .7s ease .75s forwards;
}
.loader-meta i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent2), var(--accent3));
  box-shadow: 0 0 18px rgba(19,198,229,.7);
}
.loader-line {
  position: relative;
  width: min(280px, 58vw);
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  opacity: 0;
  animation: loaderTextIn .7s ease .9s forwards;
}
.loader-line span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent2), var(--accent3));
  transform: translateX(-100%);
  animation: loaderLine 1.75s cubic-bezier(.76,0,.24,1) .95s forwards;
}
.site-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.site-loader.is-hidden .loader-meta,
.site-loader.is-hidden .loader-line {
  animation: loaderMetaOut .28s ease forwards;
}
.site-loader.is-hidden .loader-half-left {
  animation: logoSplitLeft 1.38s cubic-bezier(.76,0,.24,1) forwards;
}
.site-loader.is-hidden .loader-half-right {
  animation: logoSplitRight 1.38s cubic-bezier(.76,0,.24,1) forwards;
}
body:not(.site-loaded) .nav,
body:not(.site-loaded) .hero .pill,
body:not(.site-loaded) .hero h1,
body:not(.site-loaded) .hero .lead,
body:not(.site-loaded) .hero-actions,
body:not(.site-loaded) .proof-row,
body:not(.site-loaded) .hero .trust-strip,
body:not(.site-loaded) .system-card {
  opacity: 0;
}
body.site-loaded .nav {
  animation: navDrop .7s cubic-bezier(.16,1,.3,1) .08s both;
}
body.site-loaded .hero .pill { animation: heroRise .72s cubic-bezier(.16,1,.3,1) .16s both; }
body.site-loaded .hero h1 { animation: heroRise .82s cubic-bezier(.16,1,.3,1) .24s both; }
body.site-loaded .hero .lead:nth-of-type(1) { animation: heroRise .82s cubic-bezier(.16,1,.3,1) .34s both; }
body.site-loaded .hero .lead:nth-of-type(2) { animation: heroRise .82s cubic-bezier(.16,1,.3,1) .44s both; }
body.site-loaded .hero-actions { animation: heroRise .82s cubic-bezier(.16,1,.3,1) .54s both; }
body.site-loaded .proof-row { animation: heroRise .82s cubic-bezier(.16,1,.3,1) .64s both; }
body.site-loaded .hero .trust-strip { animation: heroRise .82s cubic-bezier(.16,1,.3,1) .74s both; }
body.site-loaded .system-card { animation: heroPanelIn .95s cubic-bezier(.16,1,.3,1) .34s both, floatPanel 7s ease-in-out 1.4s infinite; }
@keyframes loaderSweep { to { transform: translateX(120%); } }
@keyframes loaderMarkIn { to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes loaderTextIn { to { opacity: 1; transform: translateY(0); } }
@keyframes loaderLine { to { transform: translateX(0); } }
@keyframes loaderBreath { 0%,100% { transform: scale(1); } 50% { transform: scale(1.024); } }
@keyframes loaderMetaOut { to { opacity: 0; transform: translateY(12px); } }
@keyframes logoSplitLeft {
  0% { transform: translateX(0) rotate(0deg) scale(1); opacity: 1; }
  100% { transform: translateX(-46vw) rotate(-10deg) scale(1.02); opacity: 0; }
}
@keyframes logoSplitRight {
  0% { transform: translateX(0) rotate(0deg) scale(1); opacity: 1; }
  100% { transform: translateX(46vw) rotate(10deg) scale(1.02); opacity: 0; }
}
@keyframes navDrop { from { opacity: 0; transform: translateY(-22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroRise { from { opacity: 0; transform: translateY(32px); filter: blur(12px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }
@keyframes heroPanelIn { from { opacity: 0; transform: translateY(34px) scale(.96); filter: blur(14px); } to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); } }
@media (max-width: 900px) {
  .loader-mark { width: clamp(150px, 38vw, 240px); }
  @keyframes logoSplitLeft {
    0% { transform: translateX(0) rotate(0deg) scale(1); opacity: 1; }
    100% { transform: translateX(-52vw) rotate(-8deg) scale(1.02); opacity: 0; }
  }
  @keyframes logoSplitRight {
    0% { transform: translateX(0) rotate(0deg) scale(1); opacity: 1; }
    100% { transform: translateX(52vw) rotate(8deg) scale(1.02); opacity: 0; }
  }
}
@media (max-width: 560px) {
  .site-loader { min-height: 100svh; min-height: 100dvh; }
  .loader-inner { transform: translateZ(0); }
  .loader-mark { width: clamp(170px, 54vw, 230px); }
  .loader-meta { letter-spacing: .14em; }
  .loader-line { width: min(220px, 62vw); }
  @keyframes logoSplitLeft {
    0% { transform: translateX(0) rotate(0deg) scale(1); opacity: 1; }
    100% { transform: translateX(-58vw) rotate(-6deg) scale(1.01); opacity: 0; }
  }
  @keyframes logoSplitRight {
    0% { transform: translateX(0) rotate(0deg) scale(1); opacity: 1; }
    100% { transform: translateX(58vw) rotate(6deg) scale(1.01); opacity: 0; }
  }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior:auto !important; } .reveal { opacity:1; transform:none; } }
    @media (max-width: 980px) {
      .nav-links { display:none; }
      .hero-grid, .split, .case-card, .contact-wrap { grid-template-columns:1fr; }
      .proof-row, .grid-4 { grid-template-columns: repeat(2, 1fr); }
      .grid-3 { grid-template-columns: 1fr 1fr; }
      .case-visual { min-height:300px; border-right:0; border-bottom:1px solid rgba(255,255,255,.1); }
      .section-head { flex-direction:column; align-items:flex-start; }
      .big-service { grid-column: span 1; }
    }
    @media (max-width: 680px) {
      .container { width:min(var(--max), calc(100% - 24px)); }
      .nav-inner { min-height:70px; }
      .brand { min-width: 0; }
      .brand-title { font-size:17px; }
      .brand-title small { display:none; }
      .brand-mark { width:44px; height:44px; }
      .nav-actions .btn-ghost { display:none; }
      .btn-small { min-height:38px; padding:0 13px; }
      .hero { padding:52px 0 42px; }
      section { padding:54px 0; }
      h1 { font-size: clamp(40px, 12.5vw, 58px); letter-spacing:-.067em; }
      h2 { font-size:34px; }
      .lead { font-size:17px; }
      .hero-actions .btn { width:100%; }
      .proof-row, .grid-4, .grid-3, .grid-2, .form-row { grid-template-columns:1fr; }
      .system-top { padding:18px; }
      .system-title { font-size:18px; }
      .system-body { padding:16px; }
      .profile-mini { align-items:flex-start; }
      .profile-mini img { width:62px; height:62px; border-radius:18px; }
      .profile-mini b { font-size:21px; }
      .flow-step { grid-template-columns:44px 1fr; gap:12px; padding:13px; }
      .flow-num { width:38px; height:38px; border-radius:14px; }
      .about-photo { min-height:390px; }
      .price { font-size:36px; }
      .reveal { opacity:1; transform:none; }
    }


    /* Final case layout: 16:9 image on top, short text below. Stable on desktop, tablet and mobile. */
    #cases .case-grid-final { align-items: stretch; gap: 18px; }
    #cases .case-card-final { display: flex; flex-direction: column; min-height: 100%; overflow: hidden; }
    #cases .case-visual-final { position: relative; padding: 18px; border-bottom: 1px solid rgba(255,255,255,.10); background: linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.025)); }
    #cases .case-frame-final { width: 100%; aspect-ratio: 16 / 9; border-radius: 26px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 24px 70px rgba(0,0,0,.28); background: #0B0E20; }
    #cases .case-frame-final img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
    #cases .crm-card-final .case-frame-final img { object-fit: cover; object-position: center; }
    #cases .wing-card-final .case-frame-final img { object-fit: cover; object-position: center 48%; transform: scale(1.035); }
    #cases .case-content-final { padding: 24px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
    #cases .case-content-final h3 { margin: 0; font-size: clamp(24px, 2.2vw, 34px); line-height: 1.05; letter-spacing: -.045em; }
    #cases .case-summary-final { color: var(--muted); font-size: 16px; line-height: 1.58; margin: 0; }
    #cases .case-result-final { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: auto; }
    #cases .case-mini-final { padding: 13px; border: 1px solid rgba(255,255,255,.11); border-radius: 18px; background: rgba(255,255,255,.055); }
    #cases .case-mini-final b { display: block; margin-bottom: 6px; font-size: 14px; }
    #cases .case-mini-final span { display: block; color: var(--muted2); font-size: 12.5px; line-height: 1.45; }
    #cases .case-link-final { margin-top: 2px; }

    #cases .case-demo-access-final { margin: -4px 0 0; padding: 12px 14px; border: 1px solid rgba(124,108,255,.28); border-radius: 16px; background: rgba(124,108,255,.10); color: rgba(247,248,255,.78); font-size: 13px; line-height: 1.45; }
    #cases .case-demo-access-final b { color: var(--text); font-weight: 850; }
    #cases .case-card, #cases .case-visual { min-height: auto; }
    @media (max-width: 980px) {
      #cases .case-result-final { grid-template-columns: 1fr; }
      #cases .case-visual-final { padding: 14px; }
      #cases .case-content-final { padding: 20px; }
    }
    @media (max-width: 680px) {
      #cases .case-grid-final { gap: 14px; }
      #cases .case-frame-final { border-radius: 20px; }
      #cases .case-content-final h3 { font-size: 25px; }
    }

  
    /* Sticky right hero card for tablet/desktop. Added to the latest 16:9 cases version. */
    @media (min-width: 981px) {
      .hero {
        overflow: visible !important;
      }
      .hero-grid {
        align-items: start !important;
      }
      .system-card {
        position: sticky !important;
        top: 104px !important;
        align-self: start !important;
        max-height: calc(100svh - 124px) !important;
        overflow: auto !important;
        scrollbar-width: none;
      }
      .system-card::-webkit-scrollbar {
        display: none;
      }
    }
    @media (min-width: 981px) and (max-width: 1180px) {
      .system-card {
        top: 92px !important;
        max-height: calc(100svh - 108px) !important;
      }
      .system-body {
        padding-bottom: 20px;
      }
      .flow-step {
        padding: 13px;
      }
      .system-note {
        margin-top: 2px;
      }
    }
    @media (max-width: 980px) {
      .system-card {
        position: relative !important;
        top: auto !important;
        max-height: none !important;
        overflow: hidden !important;
      }
    }

  
    /* Three case cards with 16:9 covers */
    #cases .case-grid-final {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
      align-items: stretch;
    }
    #cases .case-card-final {
      min-width: 0;
    }
    #cases .case-result-final {
      grid-template-columns: 1fr;
    }
    #cases .case-actions-final {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }
    #cases .case-actions-final .btn {
      flex: 1 1 160px;
      justify-content: center;
    }
    #cases .casa-card-final .case-frame-final img {
      object-fit: cover;
      object-position: center;
    }
    @media (max-width: 1180px) {
      #cases .case-grid-final { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }
    @media (max-width: 760px) {
      #cases .case-grid-final { grid-template-columns: 1fr; }
    }


    #cases .daria-card-final .case-frame-final img,
    #cases .novadent-card-final .case-frame-final img {
      object-fit: cover;
      object-position: center;
    }
    @media (prefers-reduced-motion: reduce) {
      .site-loader img { animation: none; }
    }



    /* Reviews slider */
    .reviews-section { padding-top: 38px; }
    .mini-pill { width: fit-content; margin-bottom: 12px; }
    .reviews-shell {
      position: relative;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background:
        radial-gradient(circle at 18% 0%, rgba(124,108,255,.20), transparent 32%),
        radial-gradient(circle at 86% 8%, rgba(19,198,229,.16), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,.095), rgba(255,255,255,.045));
      box-shadow: 0 24px 70px rgba(0,0,0,.22);
      padding: 24px;
    }
    .reviews-top {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 18px;
      margin-bottom: 18px;
    }
    .reviews-top h3 {
      margin: 0;
      font-size: clamp(26px, 3vw, 44px);
      line-height: 1.02;
      letter-spacing: -.055em;
    }
    .reviews-controls {
      display: flex;
      gap: 10px;
      flex: 0 0 auto;
    }
    .review-control {
      width: 46px;
      height: 46px;
      border: 1px solid rgba(255,255,255,.15);
      border-radius: 16px;
      color: #fff;
      background: rgba(255,255,255,.08);
      cursor: pointer;
      font-size: 22px;
      line-height: 1;
      transition: transform .2s ease, background .2s ease, border-color .2s ease;
    }
    .review-control:hover { transform: translateY(-2px); background: rgba(255,255,255,.13); border-color: rgba(19,198,229,.35); }
    .reviews-window { overflow: hidden; border-radius: 24px; }
    .reviews-track {
      display: flex;
      transition: transform .55s cubic-bezier(.2,.8,.2,1);
      will-change: transform;
    }
    .review-card {
      min-width: 100%;
      padding: clamp(22px, 3vw, 34px);
      border: 1px solid rgba(255,255,255,.12);
      border-radius: 24px;
      background: rgba(0,0,0,.18);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
    }
    .review-stars {
      color: #ffd27a;
      letter-spacing: .16em;
      font-size: 15px;
      margin-bottom: 16px;
    }
    .review-card p {
      margin: 0;
      color: #fff;
      font-size: clamp(20px, 2.4vw, 31px);
      line-height: 1.3;
      letter-spacing: -.035em;
      max-width: 920px;
    }
    .review-author {
      margin-top: 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      flex-wrap: wrap;
      padding-top: 18px;
      border-top: 1px solid rgba(255,255,255,.10);
    }
    .review-author b { font-size: 18px; }
    .review-author span { color: var(--muted2); font-size: 13px; font-weight: 750; }
    .reviews-dots {
      display: flex;
      justify-content: center;
      gap: 8px;
      margin-top: 16px;
    }
    .review-dot {
      width: 9px;
      height: 9px;
      border: 0;
      padding: 0;
      border-radius: 99px;
      background: rgba(255,255,255,.28);
      cursor: pointer;
      transition: width .25s ease, background .25s ease;
    }
    .review-dot.is-active { width: 28px; background: linear-gradient(90deg, var(--accent2), var(--accent3)); }
    @media (max-width: 680px) {
      .reviews-shell { padding: 16px; }
      .reviews-top { align-items: stretch; flex-direction: column; }
      .reviews-controls { justify-content: flex-end; }
      .review-control { width: 44px; height: 44px; }
      .review-card { border-radius: 20px; }
      .review-author { align-items: flex-start; flex-direction: column; }
    }


/* Contact modal */
body.modal-open { overflow: hidden; }
.site-loader img, .brand-mark { filter: none !important; }
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
}
.contact-modal.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(12px);
}
.contact-modal-dialog {
  position: relative;
  width: min(560px, 100%);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 30px;
  padding: clamp(22px, 4vw, 34px);
  background:
    radial-gradient(circle at 18% 0%, rgba(124,108,255,.26), transparent 42%),
    radial-gradient(circle at 88% 16%, rgba(19,198,229,.20), transparent 40%),
    rgba(8,9,20,.96);
  box-shadow: 0 30px 100px rgba(0,0,0,.48);
  transform: translateY(12px) scale(.98);
  transition: transform .25s ease;
}
.contact-modal.is-open .contact-modal-dialog { transform: translateY(0) scale(1); }
.contact-modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  color: #fff;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}
.contact-modal-dialog h2 { margin: 12px 0 8px; }
.contact-modal-dialog p { margin: 0 0 20px; color: var(--muted); line-height: 1.55; }
.modal-contact-grid { display: grid; gap: 12px; }
.modal-contact-card {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 15px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 22px;
  background: rgba(255,255,255,.075);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.modal-contact-card:hover { transform: translateY(-2px); background: rgba(255,255,255,.12); border-color: rgba(19,198,229,.36); }
.modal-contact-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  font-weight: 950;
  letter-spacing: -.04em;
}
.modal-contact-card b { display: block; font-size: 18px; }
.modal-contact-card small { display: block; margin-top: 3px; color: var(--muted2); font-weight: 750; }
.modal-contact-card strong { color: #fff; font-size: 13px; }
@media (max-width: 560px) {
  .modal-contact-card { grid-template-columns: 48px 1fr; }
  .modal-contact-card strong { grid-column: 2; }
}

/* Final UX fixes */
.hero-actions .btn {
  min-height: 58px;
  padding: 0 28px;
  font-size: 18px;
  line-height: 1;
}
.nav-discuss-btn {
  appearance: none;
}
#briefForm .btn[type="submit"] {
  font-size: 16px;
}
.site-loader img, .brand-mark {
  filter: none !important;
}
@media (max-width: 680px) {
  .hero-actions .btn {
    min-height: 56px;
    font-size: 18px;
  }
  .nav-discuss-btn {
    font-size: 12px;
    padding: 0 11px;
  }
}
@media (max-width: 380px) {
  .brand-title { font-size: 15px; }
  .brand-mark { width: 40px; height: 40px; }
  .nav-discuss-btn { font-size: 11px; padding: 0 9px; }
}


/* Premium opening animation — final version */
.site-loader {
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 42%, rgba(124,108,255,.22), transparent 30%),
    radial-gradient(circle at 62% 53%, rgba(19,198,229,.16), transparent 26%),
    #02020a;
  transition: transform .95s cubic-bezier(.76,0,.24,1), opacity .95s ease, visibility .95s ease;
}
.site-loader::before,
.site-loader::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.site-loader::before {
  z-index: 0;
  background:
    linear-gradient(115deg, transparent 0 36%, rgba(255,255,255,.09) 45%, transparent 56%),
    linear-gradient(90deg, rgba(124,108,255,.18), transparent 30%, transparent 70%, rgba(19,198,229,.16));
  transform: translateX(-120%);
  animation: loaderSweep 1.65s cubic-bezier(.76,0,.24,1) .25s forwards;
}
.site-loader::after {
  z-index: 2;
  background: linear-gradient(180deg, transparent 0 62%, rgba(2,2,10,.92) 100%);
  opacity: .75;
}
.loader-noise {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: .11;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(circle at center, #000 0 54%, transparent 82%);
}
.loader-inner {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 18px;
  transform: translateY(26px) scale(.92);
  opacity: 0;
  animation: loaderLogoIn .95s cubic-bezier(.16,1,.3,1) .15s forwards;
}
.site-loader .loader-logo {
  width: min(300px, 58vw);
  height: auto;
  max-height: 42vh;
  object-fit: contain;
  animation: loaderBreath 1.5s ease-in-out .6s infinite;
  filter: none !important;
}
.loader-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  color: rgba(247,248,255,.72);
  font-size: clamp(11px, 2.4vw, 14px);
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  transform: translateY(10px);
  opacity: 0;
  animation: loaderTextIn .7s ease .75s forwards;
}
.loader-meta i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent2), var(--accent3));
  box-shadow: 0 0 18px rgba(19,198,229,.7);
}
.loader-line {
  position: relative;
  width: min(280px, 58vw);
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  opacity: 0;
  animation: loaderTextIn .7s ease .9s forwards;
}
.loader-line span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent2), var(--accent3));
  transform: translateX(-100%);
  animation: loaderLine 1.75s cubic-bezier(.76,0,.24,1) .95s forwards;
}
.site-loader.is-hidden {
  transform: translateY(-102%);
  opacity: 1;
  visibility: visible;
  pointer-events: none;
}
.site-loader.is-hidden .loader-inner {
  animation: loaderLogoOut .6s cubic-bezier(.76,0,.24,1) forwards;
}
body:not(.site-loaded) .nav,
body:not(.site-loaded) .hero .pill,
body:not(.site-loaded) .hero h1,
body:not(.site-loaded) .hero .lead,
body:not(.site-loaded) .hero-actions,
body:not(.site-loaded) .proof-row,
body:not(.site-loaded) .hero .trust-strip,
body:not(.site-loaded) .system-card {
  opacity: 0;
}
body.site-loaded .nav {
  animation: navDrop .7s cubic-bezier(.16,1,.3,1) .08s both;
}
body.site-loaded .hero .pill { animation: heroRise .72s cubic-bezier(.16,1,.3,1) .16s both; }
body.site-loaded .hero h1 { animation: heroRise .82s cubic-bezier(.16,1,.3,1) .24s both; }
body.site-loaded .hero .lead:nth-of-type(1) { animation: heroRise .82s cubic-bezier(.16,1,.3,1) .34s both; }
body.site-loaded .hero .lead:nth-of-type(2) { animation: heroRise .82s cubic-bezier(.16,1,.3,1) .44s both; }
body.site-loaded .hero-actions { animation: heroRise .82s cubic-bezier(.16,1,.3,1) .54s both; }
body.site-loaded .proof-row { animation: heroRise .82s cubic-bezier(.16,1,.3,1) .64s both; }
body.site-loaded .hero .trust-strip { animation: heroRise .82s cubic-bezier(.16,1,.3,1) .74s both; }
body.site-loaded .system-card { animation: heroPanelIn .95s cubic-bezier(.16,1,.3,1) .34s both, floatPanel 7s ease-in-out 1.4s infinite; }
@keyframes loaderSweep { to { transform: translateX(120%); } }
@keyframes loaderLogoIn { to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes loaderTextIn { to { opacity: 1; transform: translateY(0); } }
@keyframes loaderLine { to { transform: translateX(0); } }
@keyframes loaderBreath { 0%,100% { transform: scale(1); } 50% { transform: scale(1.035); } }
@keyframes loaderLogoOut { to { opacity: 0; transform: translateY(-34px) scale(1.12); filter: blur(8px); } }
@keyframes navDrop { from { opacity: 0; transform: translateY(-22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroRise { from { opacity: 0; transform: translateY(32px); filter: blur(12px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }
@keyframes heroPanelIn { from { opacity: 0; transform: translateY(34px) scale(.96); filter: blur(14px); } to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); } }
@media (prefers-reduced-motion: reduce) {
  .site-loader, .site-loader *, body.site-loaded .nav, body.site-loaded .hero .pill, body.site-loaded .hero h1, body.site-loaded .hero .lead, body.site-loaded .hero-actions, body.site-loaded .proof-row, body.site-loaded .hero .trust-strip, body.site-loaded .system-card {
    animation: none !important;
    transition: none !important;
    filter: none !important;
  }
  .site-loader { display: none !important; }
  body:not(.site-loaded) .nav,
  body:not(.site-loaded) .hero .pill,
  body:not(.site-loaded) .hero h1,
  body:not(.site-loaded) .hero .lead,
  body:not(.site-loaded) .hero-actions,
  body:not(.site-loaded) .proof-row,
  body:not(.site-loaded) .hero .trust-strip,
  body:not(.site-loaded) .system-card { opacity: 1 !important; }
}

/* Final fix: Wingfoil CTA alignment should match other case buttons */
#cases .case-actions-final .btn:only-child {
  flex: 1 1 100%;
  width: 100%;
}

/* Mobile loader fix — keep the existing desktop animation, restore it on phones */
@media (max-width: 760px) {
  .site-loader {
    position: fixed;
    inset: 0;
    width: 100vw;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    display: grid !important;
    place-items: center;
    overflow: hidden;
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  .site-loader.is-hidden {
    transform: translate3d(0, -102%, 0);
    opacity: 1;
    visibility: visible;
    pointer-events: none;
  }
  .loader-inner {
    width: min(100%, 360px);
    max-width: calc(100vw - 28px);
    padding: 20px 14px;
    gap: 14px;
    transform: translate3d(0, 26px, 0) scale(.92);
    will-change: transform, opacity;
  }
  .loader-mark {
    width: clamp(158px, 56vw, 224px);
    aspect-ratio: 1 / 1;
    display: block;
    flex: 0 0 auto;
    transform: translate3d(0, 18px, 0) scale(.92);
    will-change: transform, opacity;
  }
  .loader-half {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  .loader-half-left {
    -webkit-clip-path: polygon(0 0, 54% 0, 48% 100%, 0 100%);
    clip-path: polygon(0 0, 54% 0, 48% 100%, 0 100%);
  }
  .loader-half-right {
    -webkit-clip-path: polygon(52% 0, 100% 0, 100% 100%, 46% 100%);
    clip-path: polygon(52% 0, 100% 0, 100% 100%, 46% 100%);
  }
  .loader-half img,
  .site-loader .loader-logo {
    width: 100% !important;
    height: 100% !important;
    max-height: none;
    object-fit: contain;
  }
  .loader-meta {
    max-width: calc(100vw - 28px);
    gap: 8px;
    font-size: clamp(9px, 2.8vw, 12px);
    letter-spacing: .12em;
    white-space: nowrap;
  }
  .loader-line {
    width: min(220px, 62vw);
  }
  .loader-noise {
    background-size: 44px 44px;
  }
  @keyframes logoSplitLeft {
    0% { transform: translateX(0) rotate(0deg) scale(1); opacity: 1; }
    100% { transform: translateX(-62vw) rotate(-6deg) scale(1.01); opacity: 0; }
  }
  @keyframes logoSplitRight {
    0% { transform: translateX(0) rotate(0deg) scale(1); opacity: 1; }
    100% { transform: translateX(62vw) rotate(6deg) scale(1.01); opacity: 0; }
  }
}

@media (max-width: 420px) {
  .loader-mark { width: clamp(154px, 60vw, 210px); }
  .loader-meta { font-size: clamp(8px, 2.65vw, 11px); gap: 7px; letter-spacing: .10em; }
  .loader-meta i { width: 4px; height: 4px; }
}

/* Some mobile browsers/devices report reduced motion and the old CSS hid the loader completely. */
@media (prefers-reduced-motion: reduce) {
  .site-loader {
    display: grid !important;
    transition: transform .95s cubic-bezier(.76,0,.24,1), opacity .95s ease, visibility .95s ease !important;
  }
  .site-loader::before { animation: loaderSweep 1.65s cubic-bezier(.76,0,.24,1) .25s forwards !important; }
  .loader-inner { animation: loaderLogoIn .95s cubic-bezier(.16,1,.3,1) .15s forwards !important; }
  .loader-mark { animation: loaderMarkIn .9s cubic-bezier(.16,1,.3,1) .14s forwards !important; }
  .loader-half img { animation: loaderBreath 1.5s ease-in-out .6s infinite !important; }
  .loader-meta { animation: loaderTextIn .7s ease .75s forwards !important; }
  .loader-line { animation: loaderTextIn .7s ease .9s forwards !important; }
  .loader-line span { animation: loaderLine 1.75s cubic-bezier(.76,0,.24,1) .95s forwards !important; }
  .site-loader.is-hidden .loader-inner { animation: loaderLogoOut .6s cubic-bezier(.76,0,.24,1) forwards !important; }
  .site-loader.is-hidden .loader-half-left { animation: logoSplitLeft 1.38s cubic-bezier(.76,0,.24,1) forwards !important; }
  .site-loader.is-hidden .loader-half-right { animation: logoSplitRight 1.38s cubic-bezier(.76,0,.24,1) forwards !important; }
}



/* Telegram request form — final server integration */
.request-card .card-inner {
  position: relative;
  overflow: hidden;
}
.request-card .card-inner::before {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(circle at 18% 0%, rgba(19,198,229,.16), transparent 34%),
    radial-gradient(circle at 90% 12%, rgba(124,108,255,.18), transparent 36%);
  pointer-events: none;
}
.request-card .card-inner > * { position: relative; z-index: 1; }
.form-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.form-topline-status {
  color: var(--muted2);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.form-intro {
  margin: -4px 0 18px;
  color: var(--muted);
  line-height: 1.55;
}
.field label span { color: var(--accent3); }
.form-website-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.submit-brief-btn {
  width: 100%;
  min-height: 58px;
  font-size: 17px;
  position: relative;
}
.submit-brief-btn:disabled {
  cursor: wait;
  opacity: .82;
}
.submit-loader {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,.34);
  border-top-color: #fff;
  display: none;
  animation: briefSpin .75s linear infinite;
}
.form.is-sending .submit-loader { display: inline-block; }
.form.is-sending .submit-label::after { content: "..."; }
.form-status {
  display: none;
  padding: 13px 15px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.form-status.is-loading,
.form-status.is-success,
.form-status.is-error { display: block; }
.form-status.is-loading {
  border-color: rgba(19,198,229,.30);
  background: rgba(19,198,229,.08);
  color: #dffaff;
}
.form-status.is-success {
  border-color: rgba(102,245,184,.34);
  background: rgba(102,245,184,.09);
  color: #dcfff0;
}
.form-status.is-error {
  border-color: rgba(255,138,61,.38);
  background: rgba(255,138,61,.10);
  color: #ffe7d8;
}
@keyframes briefSpin { to { transform: rotate(360deg); } }
@media (max-width: 560px) {
  .form-topline { align-items: flex-start; flex-direction: column; }
  .submit-brief-btn { min-height: 56px; }
}


/* === Cloudflare static hero redesign: large Egor portrait, clean CTA, mobile-first polish === */
.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - 78px);
  display: flex;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(19,198,229,.22), transparent 34%),
    radial-gradient(circle at 88% 72%, rgba(124,108,255,.19), transparent 38%),
    linear-gradient(115deg, rgba(0,0,0,.35), transparent 54%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero .hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, .9fr);
  gap: clamp(28px, 4.4vw, 74px);
  align-items: center;
}
.hero-main-copy { position: relative; z-index: 3; }
.hero-main-copy h1 {
  max-width: 780px;
  text-wrap: balance;
}
.hero-main-copy .lead { max-width: 690px; }
.hero-actions { margin-top: 30px; margin-bottom: 30px; }
.hero-actions .btn-primary {
  min-height: 58px;
  padding-inline: 28px;
  box-shadow: 0 18px 60px rgba(19,198,229,.20), 0 10px 34px rgba(124,108,255,.24);
}
.hero-photo-showcase {
  position: relative;
  min-height: clamp(560px, 62vh, 720px);
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hero-photo-aura {
  position: absolute;
  inset: 7% -8% 2% -10%;
  z-index: -2;
  border-radius: 42px;
  background:
    radial-gradient(circle at 54% 32%, rgba(19,198,229,.36), transparent 38%),
    radial-gradient(circle at 62% 72%, rgba(124,108,255,.24), transparent 44%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
  filter: blur(4px);
  opacity: .95;
}
.hero-photo-card {
  position: relative;
  width: min(100%, 510px);
  height: clamp(560px, 67vh, 735px);
  overflow: hidden;
  border-radius: 38px;
  border: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.035));
  box-shadow: 0 34px 110px rgba(0,0,0,.42), 0 0 0 1px rgba(19,198,229,.12) inset;
  transform: perspective(900px) rotateY(-5deg) rotateX(2deg);
}
.hero-photo-card::before {
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  background:
    linear-gradient(90deg, rgba(0,0,0,.14), transparent 36%, rgba(19,198,229,.10)),
    linear-gradient(180deg, transparent 46%, rgba(7,8,20,.78));
  pointer-events:none;
}
.hero-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transform: scale(1.045);
  filter: saturate(1.02) contrast(1.03);
}
.hero-photo-shade {
  position:absolute;
  inset:auto 0 0;
  height: 42%;
  z-index: 3;
  background: linear-gradient(180deg, transparent, rgba(7,8,20,.92));
}
.hero-name-badge,
.hero-small-badge {
  position: absolute;
  z-index: 5;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(7,8,20,.64);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(0,0,0,.26);
}
.hero-name-badge {
  left: 0;
  right: 0;
  bottom: 28px;
  width: min(86%, 390px);
  margin: 0 auto;
  padding: 16px 18px;
  border-radius: 24px;
}
.hero-name-badge span {
  display:block;
  color: var(--accent3);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .16em;
}
.hero-name-badge b {
  display:block;
  margin-top: 6px;
  font-size: 18px;
  letter-spacing: -.035em;
}
.hero-small-badge {
  padding: 11px 13px;
  border-radius: 999px;
  color: rgba(247,248,255,.86);
  font-size: 13px;
  font-weight: 900;
}
.hero-small-badge-top { right: -8px; top: 12%; }
.hero-small-badge-bottom { left: -16px; bottom: 19%; }
body:not(.site-loaded) .hero-photo-showcase { opacity: 0; }
body.site-loaded .hero-photo-showcase { animation: heroPanelIn .95s cubic-bezier(.16,1,.3,1) .34s both; }
body.site-loaded .hero-small-badge-top { animation: heroRise .82s cubic-bezier(.16,1,.3,1) .78s both; }
body.site-loaded .hero-small-badge-bottom { animation: heroRise .82s cubic-bezier(.16,1,.3,1) .9s both; }

.nav-discuss-btn { text-decoration: none; }

@media (max-width: 980px) {
  .hero { min-height: auto; align-items: stretch; }
  .hero .hero-grid { grid-template-columns: 1fr; }
  .hero-photo-showcase {
    min-height: 500px;
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
    order: -1;
  }
  .hero-photo-card { height: 500px; transform: none; }
  .hero-small-badge-top { right: 8px; top: 10%; }
  .hero-small-badge-bottom { left: 8px; bottom: 18%; }
}

@media (max-width: 760px) {
  .hero {
    min-height: calc(100svh - 64px);
    padding: 46px 0 46px;
    align-items: center;
  }
  .hero .hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    min-height: calc(100svh - 138px);
    align-items: end;
  }
  .hero-photo-showcase {
    position: absolute;
    inset: 0 -18px auto -18px;
    height: min(72svh, 650px);
    min-height: 520px;
    max-width: none;
    width: auto;
    margin: 0;
    opacity: .56;
    pointer-events: none;
    z-index: 0;
    align-items: stretch;
  }
  body:not(.site-loaded) .hero-photo-showcase { opacity: 0; }
  body.site-loaded .hero-photo-showcase { opacity: .56; }
  .hero-photo-aura { inset: 4% -16% 0 -16%; opacity: .9; }
  .hero-photo-card {
    width: 100%;
    height: 100%;
    border-radius: 0 0 34px 34px;
    border-left: 0;
    border-right: 0;
    transform: none;
    box-shadow: none;
  }
  .hero-photo-card img {
    object-position: center 15%;
    transform: scale(1.08);
  }
  .hero-photo-card::before {
    background:
      linear-gradient(180deg, rgba(7,8,20,.14), rgba(7,8,20,.66) 55%, rgba(7,8,20,.98)),
      linear-gradient(90deg, rgba(7,8,20,.72), rgba(7,8,20,.12) 48%, rgba(7,8,20,.62));
  }
  .hero-name-badge,
  .hero-small-badge { display: none; }
  .hero-main-copy {
    z-index: 2;
    padding-top: min(32svh, 250px);
    text-shadow: 0 12px 40px rgba(0,0,0,.48);
  }
  .hero-main-copy .pill {
    background: rgba(7,8,20,.62);
    backdrop-filter: blur(16px);
  }
  .hero-main-copy h1 {
    font-size: clamp(42px, 11vw, 64px);
    line-height: .91;
  }
  .hero-main-copy .lead:nth-of-type(2) { display: none; }
  .hero-actions { margin: 24px 0 18px; }
  .hero-actions .btn { width: 100%; }
  .proof-row { grid-template-columns: 1fr; }
  .proof:nth-child(2), .proof:nth-child(3), .hero .trust-strip { display: none; }
}

@media (max-width: 420px) {
  .hero-main-copy h1 { font-size: clamp(38px, 12vw, 54px); }
  .hero-photo-showcase { min-height: 500px; opacity: .50; }
  body.site-loaded .hero-photo-showcase { opacity: .50; }
}

@media (max-width: 760px) {
  body.site-loaded .hero-photo-showcase { animation: heroPanelInMobile .95s cubic-bezier(.16,1,.3,1) .34s both; }
}
@media (max-width: 420px) {
  body.site-loaded .hero-photo-showcase { animation: heroPanelInMobileSmall .95s cubic-bezier(.16,1,.3,1) .34s both; }
}
@keyframes heroPanelInMobile {
  from { opacity: 0; transform: translateY(28px) scale(.985); filter: blur(14px); }
  to { opacity: .56; transform: translateY(0) scale(1); filter: blur(0); }
}
@keyframes heroPanelInMobileSmall {
  from { opacity: 0; transform: translateY(28px) scale(.985); filter: blur(14px); }
  to { opacity: .50; transform: translateY(0) scale(1); filter: blur(0); }
}


/* === Final patch: two hero buttons + sticky Egor portrait on desktop === */
.hero-actions .btn { text-decoration: none; }

@media (min-width: 981px) {
  .hero {
    overflow: visible !important;
    min-height: min(1180px, 128svh) !important;
    align-items: flex-start !important;
    padding-top: clamp(76px, 9vh, 116px) !important;
    padding-bottom: clamp(94px, 11vh, 132px) !important;
  }

  .hero .hero-grid {
    align-items: start !important;
  }

  .hero-main-copy {
    padding-top: clamp(10px, 2vh, 28px);
  }

  .hero-photo-showcase {
    position: sticky !important;
    top: 96px !important;
    align-self: start !important;
    min-height: min(720px, calc(100svh - 116px)) !important;
    height: min(720px, calc(100svh - 116px)) !important;
  }

  .hero-photo-card {
    height: 100% !important;
    max-height: calc(100svh - 124px) !important;
  }
}

@media (min-width: 981px) and (max-height: 760px) {
  .hero-photo-showcase {
    top: 86px !important;
    min-height: calc(100svh - 106px) !important;
    height: calc(100svh - 106px) !important;
  }

  .hero-photo-card {
    height: 100% !important;
  }
}

@media (max-width: 760px) {
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-actions .btn-ghost {
    background: rgba(7,8,20,.54);
    backdrop-filter: blur(14px);
  }
}

/* === Final photo update: personal photos inside about/contact sections === */
.hero-actions .btn { text-decoration: none; }

.about-photo img[src*="egor-about-peace"] {
  object-position: center 21%;
  filter: saturate(.98) contrast(1.02) brightness(.92);
}

.contact-person-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  min-height: 0;
  margin: 18px 0 18px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 28px;
  background: rgba(255,255,255,.055);
  box-shadow: 0 24px 60px rgba(0,0,0,.24);
}
.contact-person-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 18%;
  filter: saturate(.96) contrast(1.04) brightness(.86);
}
.contact-person-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7,8,20,.04), rgba(7,8,20,.70) 62%, rgba(7,8,20,.94)),
    radial-gradient(circle at 15% 10%, rgba(19,198,229,.22), transparent 34%);
  pointer-events: none;
}
.contact-person-photo > div {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  padding: 15px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  background: rgba(7,8,20,.64);
  backdrop-filter: blur(14px);
}
.contact-person-photo b {
  display: block;
  font-size: 18px;
  letter-spacing: -.035em;
}
.contact-person-photo span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 760px) {
  .about-photo { min-height: 460px; }
  .about-photo img[src*="egor-about-peace"] { object-position: center 18%; }
  .contact-person-photo { aspect-ratio: 4 / 5; min-height: 0; border-radius: 24px; }
  .contact-person-photo img { height: 100%; object-position: center 16%; }
}


/* === Update: about section looping slider; no photo inside contact block === */

.about-photo {
  overflow: hidden;
}

.about-photo-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.about-photo-slider .about-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 20%;
  filter: saturate(.98) contrast(1.02) brightness(.92);
  opacity: 0;
  transform: scale(1.015);
  animation: egorAboutSlider 8s infinite;
}

.about-photo-slider .about-slide-two {
  animation-delay: 4s;
  object-position: center 8%;
}

@keyframes egorAboutSlider {
  0% { opacity: 0; transform: scale(1.025); }
  8% { opacity: 1; transform: scale(1.01); }
  46% { opacity: 1; transform: scale(1); }
  54% { opacity: 0; transform: scale(1.012); }
  100% { opacity: 0; transform: scale(1.025); }
}

.contact-person-photo {
  display: none !important;
}

@media (max-width: 760px) {
  .about-photo-slider .about-slide {
    object-position: center 18%;
  }

  .about-photo-slider .about-slide-two {
    object-position: center 7%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-photo-slider .about-slide {
    animation: none;
  }

  .about-photo-slider .about-slide-one {
    opacity: 1;
  }

  .about-photo-slider .about-slide-two {
    opacity: 0;
  }
}


/* === FIX: real class-based about slider, loops ✌️ / 🤙 === */
.about-photo-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
}

.about-photo-slider .about-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity .85s ease, transform 1.2s ease;
  animation: none !important;
  will-change: opacity, transform;
}

.about-photo-slider .about-slide-one {
  object-position: center 20%;
}

.about-photo-slider .about-slide-two {
  object-position: center 8%;
}

.about-photo-slider:not(.is-second) .about-slide-one,
.about-photo-slider.is-second .about-slide-two {
  opacity: 1 !important;
  transform: scale(1);
  z-index: 2;
}

.about-photo-slider:not(.is-second) .about-slide-two,
.about-photo-slider.is-second .about-slide-one {
  opacity: 0 !important;
  transform: scale(1.025);
  z-index: 1;
}

@media (max-width: 760px) {
  .about-photo-slider .about-slide-one {
    object-position: center 18%;
  }

  .about-photo-slider .about-slide-two {
    object-position: center 7%;
  }
}


/* === Final: static ✌️ photo, no about slider === */
.about-photo > img[src*="egor-about-peace"] {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 20%;
  filter: saturate(.98) contrast(1.02) brightness(.92);
}

@media (max-width: 760px) {
  .about-photo > img[src*="egor-about-peace"] {
    object-position: center 18%;
  }
}


/* === Mobile fix: show all 3 hero proof points === */
@media (max-width: 760px) {
  .hero .proof-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    max-width: 100% !important;
    margin-top: 16px !important;
  }

  .hero .proof,
  .hero .proof:nth-child(2),
  .hero .proof:nth-child(3) {
    display: block !important;
  }

  .hero .proof {
    padding: 13px 14px !important;
    border-radius: 18px !important;
    background: rgba(7, 8, 20, .54) !important;
    backdrop-filter: blur(14px);
  }

  .hero .proof b {
    font-size: 18px !important;
  }

  .hero .proof span {
    font-size: 12.5px !important;
    line-height: 1.35 !important;
  }
}


/* === HARD FIX: independent mobile 3 proof cards === */
.mobile-proof-row {
  display: none;
}

@media (max-width: 760px) {
  .hero .proof-row {
    display: none !important;
  }

  .mobile-proof-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 18px 0 0 !important;
    position: relative !important;
    z-index: 5 !important;
  }

  .mobile-proof {
    display: block !important;
    padding: 17px 18px !important;
    border: 1px solid rgba(255,255,255,.16) !important;
    border-radius: 22px !important;
    background: rgba(255,255,255,.055) !important;
    box-shadow: 0 16px 40px rgba(0,0,0,.14) !important;
    backdrop-filter: blur(14px);
  }

  .mobile-proof b {
    display: block !important;
    font-size: 24px !important;
    line-height: 1.05 !important;
    letter-spacing: -.04em !important;
    color: #fff !important;
  }

  .mobile-proof span {
    display: block !important;
    margin-top: 8px !important;
    color: rgba(235,239,255,.70) !important;
    font-size: 15px !important;
    line-height: 1.36 !important;
  }
}

@media (min-width: 761px) {
  .mobile-proof-row {
    display: none !important;
  }
}

/* === EGOR HOTFIX FINAL: mobile hero background + 3 points + no white bottom === */

html,
body {
  min-height: 100%;
  background: #070815 !important;
}

body {
  overflow-x: hidden !important;
}

.site,
main {
  background:
    radial-gradient(circle at 50% 0%, rgba(124,108,255,.18), transparent 38%),
    linear-gradient(180deg, #110d25 0%, #20134a 28%, #070815 100%) !important;
  overflow-x: hidden !important;
}

.mobile-proof-row {
  display: none;
}

@media (max-width: 760px) {
  html,
  body {
    background: #070815 !important;
  }

  .hero {
    position: relative !important;
    min-height: calc(100svh - 86px) !important;
    overflow: hidden !important;
    padding: 34px 0 44px !important;
    background:
      linear-gradient(180deg, rgba(20,12,52,.15), rgba(31,18,70,.72) 42%, rgba(31,18,70,.98) 100%) !important;
  }

  .hero .hero-grid {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    min-height: auto !important;
    align-items: start !important;
    z-index: 2 !important;
  }

  .hero-photo-showcase {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: min(86svh, 760px) !important;
    min-height: 620px !important;
    max-width: none !important;
    margin: 0 !important;
    order: initial !important;
    z-index: 0 !important;
    opacity: .42 !important;
    pointer-events: none !important;
    transform: none !important;
    display: block !important;
    overflow: hidden !important;
  }

  body.site-loaded .hero-photo-showcase {
    opacity: .42 !important;
    animation: none !important;
  }

  .hero-photo-aura,
  .hero-small-badge,
  .hero-name-badge,
  .hero-photo-shade {
    display: none !important;
  }

  .hero-photo-card {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    overflow: hidden !important;
  }

  .hero-photo-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
    transform: scale(1.02) !important;
    filter: saturate(1.02) contrast(1.02) brightness(.82) !important;
  }

  .hero::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    pointer-events: none !important;
    background:
      linear-gradient(180deg, rgba(7,8,21,.70) 0%, rgba(21,13,52,.42) 22%, rgba(31,18,70,.78) 58%, rgba(31,18,70,1) 100%),
      radial-gradient(circle at 78% 20%, rgba(19,198,229,.22), transparent 36%),
      radial-gradient(circle at 12% 62%, rgba(124,108,255,.18), transparent 36%) !important;
  }

  .hero-main-copy {
    position: relative !important;
    z-index: 3 !important;
    padding-top: 28px !important;
    text-shadow: 0 14px 44px rgba(0,0,0,.56) !important;
  }

  .hero-main-copy .pill {
    background: rgba(7,8,20,.56) !important;
    border-color: rgba(255,255,255,.16) !important;
    backdrop-filter: blur(16px) !important;
  }

  .hero-main-copy h1,
  .hero-main-copy .lead,
  .hero-actions,
  .mobile-proof-row {
    position: relative !important;
    z-index: 4 !important;
  }

  .hero-main-copy h1 {
    font-size: clamp(44px, 12vw, 68px) !important;
    line-height: .92 !important;
  }

  .hero-main-copy .lead {
    color: rgba(245,247,255,.76) !important;
  }

  .hero-main-copy .lead:nth-of-type(2) {
    display: none !important;
  }

  .hero-actions {
    margin: 24px 0 18px !important;
  }

  .hero-actions .btn {
    width: 100% !important;
  }

  .hero .proof-row {
    display: none !important;
  }

  .mobile-proof-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 18px 0 0 !important;
  }

  .mobile-proof {
    display: block !important;
    padding: 16px 18px !important;
    border: 1px solid rgba(255,255,255,.16) !important;
    border-radius: 22px !important;
    background: rgba(7,8,20,.46) !important;
    box-shadow: 0 16px 40px rgba(0,0,0,.16) !important;
    backdrop-filter: blur(14px) !important;
  }

  .mobile-proof b {
    display: block !important;
    font-size: 24px !important;
    line-height: 1.05 !important;
    color: #fff !important;
  }

  .mobile-proof span {
    display: block !important;
    margin-top: 8px !important;
    color: rgba(235,239,255,.72) !important;
    font-size: 15px !important;
    line-height: 1.36 !important;
  }

  .system-card {
    position: relative !important;
    top: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  section:last-of-type {
    padding-bottom: 56px !important;
  }
}

@media (min-width: 761px) {
  .mobile-proof-row {
    display: none !important;
  }
}


/* === Offer highlight: site from $500 === */

.hero-offer-badge {
  position: relative;
  z-index: 4;
  width: fit-content;
  max-width: 640px;
  margin: -8px 0 22px;
  padding: 14px 16px;
  border: 1px solid rgba(42, 255, 232, .26);
  border-radius: 22px;
  background:
    radial-gradient(circle at 0% 0%, rgba(42,255,232,.18), transparent 38%),
    linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.045));
  box-shadow: 0 18px 60px rgba(0,0,0,.22);
  backdrop-filter: blur(16px);
}

.hero-offer-badge span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
  color: #61ffe6;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero-offer-badge span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #61ffe6;
  box-shadow: 0 0 18px rgba(97,255,230,.8);
}

.hero-offer-badge b {
  display: block;
  color: #fff;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.05;
  letter-spacing: -.045em;
}

.hero-offer-badge small {
  display: block;
  max-width: 520px;
  margin-top: 7px;
  color: rgba(238,242,255,.74);
  font-size: 14px;
  line-height: 1.45;
}

.best-launch-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin: 10px 0 14px;
  padding: 9px 12px;
  border: 1px solid rgba(42,255,232,.30);
  border-radius: 999px;
  background: rgba(42,255,232,.10);
  color: #61ffe6;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.best-launch-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #61ffe6;
  box-shadow: 0 0 18px rgba(97,255,230,.75);
}

.launch-offer-panel {
  margin: 0 0 22px;
  padding: 18px;
  border: 1px solid rgba(42,255,232,.24);
  border-radius: 26px;
  background:
    radial-gradient(circle at 0% 0%, rgba(42,255,232,.16), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.09), rgba(255,255,255,.04));
  box-shadow: 0 20px 70px rgba(0,0,0,.22);
}

.launch-offer-panel span {
  display: inline-flex;
  margin-bottom: 8px;
  color: #61ffe6;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.launch-offer-panel b {
  display: block;
  color: #fff;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1;
  letter-spacing: -.06em;
}

.launch-offer-panel small {
  display: block;
  max-width: 680px;
  margin-top: 10px;
  color: rgba(238,242,255,.76);
  font-size: 16px;
  line-height: 1.5;
}

@media (max-width: 760px) {
  .hero-offer-badge {
    width: 100%;
    margin: -4px 0 20px;
    padding: 14px;
    border-radius: 20px;
  }

  .hero-offer-badge b {
    font-size: 23px;
  }

  .hero-offer-badge small {
    font-size: 13px;
  }

  .launch-offer-panel {
    border-radius: 22px;
    padding: 16px;
  }

  .launch-offer-panel b {
    font-size: 32px;
  }
}


/* === PREMIUM OFFER + BUTTON/SCROLL ANIMATIONS === */

.hero-offer-badge {
  position: relative;
  z-index: 5;
  width: fit-content;
  max-width: 640px;
  margin: -6px 0 22px;
  padding: 14px 16px;
  border: 1px solid rgba(42, 255, 232, .26);
  border-radius: 22px;
  background:
    radial-gradient(circle at 0% 0%, rgba(42,255,232,.18), transparent 38%),
    linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.045));
  box-shadow: 0 18px 60px rgba(0,0,0,.22);
  backdrop-filter: blur(16px);
}

.hero-offer-badge span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
  color: #61ffe6;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero-offer-badge span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #61ffe6;
  box-shadow: 0 0 18px rgba(97,255,230,.85);
}

.hero-offer-badge b {
  display: block;
  color: #fff;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.05;
  letter-spacing: -.045em;
}

.hero-offer-badge small {
  display: block;
  max-width: 520px;
  margin-top: 7px;
  color: rgba(238,242,255,.76);
  font-size: 14px;
  line-height: 1.45;
}

.best-launch-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin: 10px 0 14px;
  padding: 9px 12px;
  border: 1px solid rgba(42,255,232,.30);
  border-radius: 999px;
  background: rgba(42,255,232,.10);
  color: #61ffe6;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.best-launch-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #61ffe6;
  box-shadow: 0 0 18px rgba(97,255,230,.75);
}

/* Premium buttons */
.btn,
.contact-item,
.price-card,
.case-card-final {
  transition:
    transform .35s cubic-bezier(.16, 1, .3, 1),
    box-shadow .35s cubic-bezier(.16, 1, .3, 1),
    border-color .35s ease,
    background .35s ease,
    filter .35s ease;
}

.btn {
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
}

.btn::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.30) 45%, transparent 62%);
  transform: translateX(-130%) skewX(-18deg);
  transition: transform .75s cubic-bezier(.16, 1, .3, 1);
  pointer-events: none;
}

.btn:hover::after,
.btn.is-pressed::after {
  transform: translateX(130%) skewX(-18deg);
}

.btn:hover {
  transform: translateY(-2px) scale(1.012);
  filter: saturate(1.08);
}

.btn:active,
.btn.is-pressed {
  transform: translateY(1px) scale(.985);
}

.btn-primary:hover {
  box-shadow:
    0 20px 70px rgba(124,108,255,.34),
    0 10px 34px rgba(19,198,229,.20);
}

.btn-ghost:hover,
.contact-item:hover {
  border-color: rgba(97,255,230,.28);
  background: rgba(255,255,255,.075);
}

.price-card:hover,
.case-card-final:hover {
  transform: translateY(-4px);
  border-color: rgba(97,255,230,.22);
  box-shadow: 0 28px 90px rgba(0,0,0,.30);
}

/* Target section premium pulse after scroll */
.scroll-target-pulse {
  animation: targetPulsePremium 1.25s cubic-bezier(.16, 1, .3, 1);
}

@keyframes targetPulsePremium {
  0% {
    filter: brightness(1);
  }
  28% {
    filter: brightness(1.18) saturate(1.12);
  }
  100% {
    filter: brightness(1);
  }
}

@media (max-width: 760px) {
  .hero-offer-badge {
    width: 100%;
    margin: -4px 0 20px;
    padding: 14px;
    border-radius: 20px;
  }

  .hero-offer-badge b {
    font-size: 23px;
  }

  .hero-offer-badge small {
    font-size: 13px;
  }

  .best-launch-badge {
    font-size: 11px;
    padding: 8px 10px;
  }

  .btn:hover,
  .price-card:hover,
  .case-card-final:hover {
    transform: none;
  }
}


/* === FIX: keep price suffix "от" inline with $500 === */

.price-card .price,
.price {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 10px !important;
  white-space: nowrap !important;
  line-height: .95 !important;
}

.price-card .price small,
.price small {
  display: inline-block !important;
  margin: 0 !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  transform: translateY(-2px);
}

@media (max-width: 760px) {
  .price-card .price,
  .price {
    display: inline-flex !important;
    align-items: baseline !important;
    gap: 8px !important;
    white-space: nowrap !important;
    font-size: clamp(58px, 18vw, 76px) !important;
  }

  .price-card .price small,
  .price small {
    font-size: 20px !important;
    transform: translateY(-3px);
  }

  .price-top {
    align-items: flex-start !important;
  }
}


/* === FINAL FIX: price size back, "от" inline === */

.price-card .price,
.price {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 7px !important;
  white-space: nowrap !important;
  line-height: .95 !important;

  /* вернуть размер как был */
  font-size: 42px !important;
  font-weight: 950 !important;
  letter-spacing: -.06em !important;
}

.price-card .price small,
.price small {
  display: inline-block !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  font-size: 14px !important;
  letter-spacing: 0 !important;
  transform: none !important;
  opacity: .72;
}

@media (max-width: 680px) {
  .price-card .price,
  .price {
    font-size: 36px !important;
    gap: 6px !important;
  }

  .price-card .price small,
  .price small {
    font-size: 14px !important;
    transform: none !important;
  }
}


/* === PLAN SELECT MODAL === */

.price-card {
  position: relative;
}

.price-select-wrap {
  padding: 0 24px 24px;
}

.price-card .select-plan-btn {
  width: 100%;
  margin-top: 8px;
}

.plan-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity .34s cubic-bezier(.16, 1, .3, 1),
    visibility .34s cubic-bezier(.16, 1, .3, 1);
}

.plan-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.plan-modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 12%, rgba(124,108,255,.28), transparent 36%),
    rgba(4, 5, 14, .76);
  backdrop-filter: blur(18px);
}

.plan-modal-dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: min(86svh, 820px);
  overflow: auto;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 34px;
  background:
    radial-gradient(circle at 0% 0%, rgba(42,255,232,.14), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(124,108,255,.22), transparent 36%),
    linear-gradient(180deg, rgba(22,24,42,.96), rgba(8,9,22,.98));
  box-shadow:
    0 38px 120px rgba(0,0,0,.52),
    inset 0 1px 0 rgba(255,255,255,.10);
  padding: clamp(22px, 4vw, 34px);
  transform: translateY(18px) scale(.97);
  transition: transform .38s cubic-bezier(.16, 1, .3, 1);
}

.plan-modal.is-open .plan-modal-dialog {
  transform: translateY(0) scale(1);
}

.plan-modal-close {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease;
}

.plan-modal-close:hover {
  transform: rotate(6deg) scale(1.04);
  background: rgba(255,255,255,.11);
}

.plan-modal-head {
  padding-right: 48px;
}

.plan-modal-head h2 {
  margin: 14px 0 10px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: .95;
  letter-spacing: -.06em;
}

.plan-modal-head p {
  max-width: 620px;
  margin: 0;
  color: rgba(238,242,255,.74);
  font-size: 17px;
  line-height: 1.55;
}

.selected-plan-card {
  margin: 22px 0;
  padding: 18px;
  border: 1px solid rgba(42,255,232,.26);
  border-radius: 24px;
  background:
    radial-gradient(circle at 0% 0%, rgba(42,255,232,.16), transparent 36%),
    rgba(255,255,255,.055);
}

.selected-plan-card span {
  display: block;
  color: #61ffe6;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.selected-plan-card b {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1;
  letter-spacing: -.045em;
}

.selected-plan-card small {
  display: block;
  margin-top: 8px;
  color: rgba(238,242,255,.70);
  font-size: 15px;
}

.plan-modal-form {
  margin-top: 0;
}

body.plan-modal-open {
  overflow: hidden;
}

@media (max-width: 760px) {
  .price-select-wrap {
    padding: 0 18px 22px;
  }

  .plan-modal {
    padding: 12px;
    align-items: end;
  }

  .plan-modal-dialog {
    width: 100%;
    max-height: 88svh;
    border-radius: 28px 28px 20px 20px;
    padding: 22px;
  }

  .plan-modal-close {
    right: 14px;
    top: 14px;
  }

  .plan-modal-head {
    padding-right: 42px;
  }

  .plan-modal-head p {
    font-size: 15px;
  }
}


/* === HARD FIX: visible select buttons + plan modal === */

.price-card {
  position: relative;
}

.price-select-wrap {
  padding: 0 24px 24px !important;
  display: block !important;
}

.price-card .select-plan-btn {
  width: 100% !important;
  display: inline-flex !important;
  margin-top: 8px !important;
  justify-content: center !important;
  align-items: center !important;
}

.plan-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity .34s cubic-bezier(.16, 1, .3, 1),
    visibility .34s cubic-bezier(.16, 1, .3, 1);
}

.plan-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.plan-modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 12%, rgba(124,108,255,.28), transparent 36%),
    rgba(4, 5, 14, .76);
  backdrop-filter: blur(18px);
}

.plan-modal-dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: min(86svh, 820px);
  overflow: auto;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 34px;
  background:
    radial-gradient(circle at 0% 0%, rgba(42,255,232,.14), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(124,108,255,.22), transparent 36%),
    linear-gradient(180deg, rgba(22,24,42,.96), rgba(8,9,22,.98));
  box-shadow:
    0 38px 120px rgba(0,0,0,.52),
    inset 0 1px 0 rgba(255,255,255,.10);
  padding: clamp(22px, 4vw, 34px);
  transform: translateY(18px) scale(.97);
  transition: transform .38s cubic-bezier(.16, 1, .3, 1);
}

.plan-modal.is-open .plan-modal-dialog {
  transform: translateY(0) scale(1);
}

.plan-modal-close {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.plan-modal-head {
  padding-right: 48px;
}

.plan-modal-head h2 {
  margin: 14px 0 10px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: .95;
  letter-spacing: -.06em;
}

.plan-modal-head p {
  max-width: 620px;
  margin: 0;
  color: rgba(238,242,255,.74);
  font-size: 17px;
  line-height: 1.55;
}

.selected-plan-card {
  margin: 22px 0;
  padding: 18px;
  border: 1px solid rgba(42,255,232,.26);
  border-radius: 24px;
  background:
    radial-gradient(circle at 0% 0%, rgba(42,255,232,.16), transparent 36%),
    rgba(255,255,255,.055);
}

.selected-plan-card span {
  display: block;
  color: #61ffe6;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.selected-plan-card b {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1;
  letter-spacing: -.045em;
}

.selected-plan-card small {
  display: block;
  margin-top: 8px;
  color: rgba(238,242,255,.70);
  font-size: 15px;
}

body.plan-modal-open {
  overflow: hidden;
}

@media (max-width: 760px) {
  .price-select-wrap {
    padding: 0 18px 22px !important;
  }

  .plan-modal {
    padding: 12px;
    align-items: end;
  }

  .plan-modal-dialog {
    width: 100%;
    max-height: 88svh;
    border-radius: 28px 28px 20px 20px;
    padding: 22px;
  }

  .plan-modal-close {
    right: 14px;
    top: 14px;
  }
}


/* === MODAL OPEN FINAL FIX === */

.price-card {
  position: relative;
}

.price-select-wrap {
  display: block !important;
  padding: 0 24px 24px !important;
}

.select-plan-btn {
  display: inline-flex !important;
  width: 100% !important;
  justify-content: center !important;
  align-items: center !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  position: relative !important;
  z-index: 5 !important;
}

.plan-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
  display: grid !important;
  place-items: center !important;
  padding: 22px !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity .28s ease, visibility .28s ease !important;
}

.plan-modal.is-open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.plan-modal-backdrop {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(4,5,14,.78) !important;
  backdrop-filter: blur(18px) !important;
}

.plan-modal-dialog {
  position: relative !important;
  width: min(760px, 100%) !important;
  max-height: min(86svh, 820px) !important;
  overflow: auto !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  border-radius: 34px !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(42,255,232,.14), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(124,108,255,.22), transparent 36%),
    linear-gradient(180deg, rgba(22,24,42,.98), rgba(8,9,22,.99)) !important;
  box-shadow: 0 38px 120px rgba(0,0,0,.52) !important;
  padding: clamp(22px, 4vw, 34px) !important;
  transform: translateY(18px) scale(.97) !important;
  transition: transform .34s cubic-bezier(.16, 1, .3, 1) !important;
}

.plan-modal.is-open .plan-modal-dialog {
  transform: translateY(0) scale(1) !important;
}

.plan-modal-close {
  position: absolute !important;
  right: 18px !important;
  top: 18px !important;
  width: 44px !important;
  height: 44px !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.07) !important;
  color: #fff !important;
  font-size: 28px !important;
  line-height: 1 !important;
  cursor: pointer !important;
}

.plan-modal-head {
  padding-right: 48px !important;
}

.plan-modal-head h2 {
  margin: 14px 0 10px !important;
  font-size: clamp(34px, 5vw, 58px) !important;
  line-height: .95 !important;
  letter-spacing: -.06em !important;
}

.plan-modal-head p {
  max-width: 620px !important;
  margin: 0 !important;
  color: rgba(238,242,255,.74) !important;
  font-size: 17px !important;
  line-height: 1.55 !important;
}

.selected-plan-card {
  margin: 22px 0 !important;
  padding: 18px !important;
  border: 1px solid rgba(42,255,232,.26) !important;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(42,255,232,.16), transparent 36%),
    rgba(255,255,255,.055) !important;
}

.selected-plan-card span {
  display: block !important;
  color: #61ffe6 !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
}

.selected-plan-card b {
  display: block !important;
  margin-top: 8px !important;
  color: #fff !important;
  font-size: clamp(24px, 4vw, 38px) !important;
  line-height: 1 !important;
  letter-spacing: -.045em !important;
}

.selected-plan-card small {
  display: block !important;
  margin-top: 8px !important;
  color: rgba(238,242,255,.70) !important;
  font-size: 15px !important;
}

body.plan-modal-open {
  overflow: hidden !important;
}

@media (max-width: 760px) {
  .price-select-wrap {
    padding: 0 18px 22px !important;
  }

  .plan-modal {
    padding: 12px !important;
    align-items: end !important;
  }

  .plan-modal-dialog {
    width: 100% !important;
    max-height: 88svh !important;
    border-radius: 28px 28px 20px 20px !important;
    padding: 22px !important;
  }

  .plan-modal-close {
    right: 14px !important;
    top: 14px !important;
  }
}


/* === FINAL FIX: no infinite scroll after footer === */

html,
body {
  margin: 0 !important;
  min-height: 100% !important;
  background: #070815 !important;
  overflow-x: hidden !important;
}

body {
  position: relative !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(124,108,255,.12), transparent 36%),
    linear-gradient(180deg, #110d25 0%, #20134a 28%, #070815 100%) !important;
}

main {
  position: relative !important;
  z-index: 1 !important;
  background: transparent !important;
}

.footer {
  position: relative !important;
  z-index: 5 !important;
  margin-bottom: 0 !important;
  background: #070815 !important;
}

/* Важно: скрытые модалки не должны создавать высоту после подвала */
.contact-modal:not(.is-open),
.plan-modal:not(.is-open),
#contactModal:not(.is-open),
#planModal:not(.is-open) {
  display: none !important;
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  min-height: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Открытые модалки живут поверх сайта, а не после footer */
.contact-modal.is-open,
.plan-modal.is-open,
#contactModal.is-open,
#planModal.is-open {
  display: grid !important;
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  overflow: hidden !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.contact-modal-dialog,
.plan-modal-dialog {
  max-height: calc(100dvh - 32px) !important;
  overflow: auto !important;
}

/* Лоадер после завершения тоже не должен давать высоту */
.site-loader.is-hidden {
  display: none !important;
}

/* Убираем белую подложку при overscroll на мобильных */
@media (max-width: 760px) {
  html,
  body {
    background: #070815 !important;
    overscroll-behavior-y: none;
  }

  .footer {
    padding-bottom: max(22px, env(safe-area-inset-bottom)) !important;
  }
}


/* === TABLET PORTRAIT SCROLL FIX === */

@media (min-width: 601px) and (max-width: 1024px) {
  html,
  body {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    height: auto !important;
    min-height: 100% !important;
    touch-action: pan-y !important;
    overscroll-behavior-y: auto !important;
  }

  body.plan-modal-open {
    overflow: hidden !important;
  }

  main,
  .site {
    overflow: visible !important;
    height: auto !important;
    min-height: auto !important;
  }
}


/* === FINAL ANIMATION POLISH === */

/* Плавный скролл без тяжёлого JS */
html {
  scroll-behavior: smooth;
}

section,
#pricing,
#cases,
#contacts,
#process,
#faq {
  scroll-margin-top: 92px;
}

/* Более лёгкая reveal-анимация текста и карточек */
.reveal {
  opacity: 0;
  transform: translate3d(0, 14px, 0) !important;
  transition:
    opacity .36s ease,
    transform .44s cubic-bezier(.16, 1, .3, 1) !important;
  backface-visibility: hidden;
}

.reveal.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) !important;
}

/* Убираем дорогой filter-pulse, который мог дёргать текст */
.scroll-target-pulse {
  animation: targetPulsePolished .72s ease-out;
}

@keyframes targetPulsePolished {
  0% {
    box-shadow: 0 0 0 0 rgba(97,255,230,0);
  }
  38% {
    box-shadow: 0 0 0 8px rgba(97,255,230,.10);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(97,255,230,0);
  }
}

/* Кнопки: дорогой эффект, но без лагов */
.btn {
  transform: translateZ(0);
  backface-visibility: hidden;
  transition:
    transform .22s cubic-bezier(.16, 1, .3, 1),
    box-shadow .22s ease,
    background .22s ease,
    border-color .22s ease !important;
}

.btn.is-pressed {
  transform: translateY(1px) scale(.985) translateZ(0) !important;
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    transform: translateY(-2px) translateZ(0);
  }

  .price-card:hover,
  .case-card-final:hover,
  .contact-item:hover {
    transform: translateY(-3px) translateZ(0);
  }
}

/* На touch-устройствах hover-анимации часто дают микролаги */
@media (hover: none) {
  .btn:hover,
  .price-card:hover,
  .case-card-final:hover,
  .contact-item:hover {
    transform: none !important;
  }
}

/* Планшеты и телефоны: меньше blur/filter, больше FPS */
@media (max-width: 1024px) {
  .nav,
  .pill,
  .hero-offer-badge,
  .mobile-proof,
  .selected-plan-card,
  .contact-modal-backdrop,
  .plan-modal-backdrop,
  .hero-actions .btn-ghost {
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
  }

  .system-card,
  .flow-num,
  .flow-step::after {
    animation: none !important;
  }

  .about-photo img,
  .contact-person-photo img {
    filter: none !important;
  }
}

/* На телефоне вообще убираем reveal-анимации текста — сайт ощущается быстрее */
@media (max-width: 600px) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .scroll-target-pulse {
    animation: none !important;
  }

  section,
  #pricing,
  #cases,
  #contacts,
  #process,
  #faq {
    scroll-margin-top: 78px;
  }
}

/* Уважаем системную настройку уменьшения анимаций */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

