:root{
    --green:#087a52;
    --ink:#111513;
    --muted:#737a76;
    --line:#dfe4e1;
    --bg:#f8faf9;
    --bg-soft:#eef2f0;
    --card:#ffffff;
    --blue:#2c5f8a;
    --teal:#0f8a86;
    --coral:#b5502e;
    --radius-lg:20px;
    --shadow:0 4px 20px rgba(8,20,15,.05);
    --shadow-xl:0 20px 40px -12px rgba(8,20,15,.10);
    --ease-out:cubic-bezier(0.16, 1, 0.3, 1);
    --ease-back:cubic-bezier(.34, 1.56, .64, 1);
  }

  *{box-sizing:border-box}
  html{scroll-behavior:smooth}
  body{
    margin:0;
    font-family:Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color:var(--ink);
    background:var(--bg);
    overflow-x:hidden;
  }

  .nav{
    height:78px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 5vw;
    position:fixed;
    inset:0 0 auto;
    z-index:20;
    background:rgba(248,250,249,.78);
    backdrop-filter:blur(18px);
    border-bottom:1px solid rgba(0,0,0,.05);
  }

  .logo{
    text-decoration:none;
    width:42px;height:42px;
    border-radius:13px;
    background:var(--green);
    display:grid;
    place-items:center;
    color:white;
    font-weight:800;
    letter-spacing:-1.5px;
    font-size:14px;
  }

  .nav-cta{
    border:0;
    background:#111513;
    color:#fff;
    padding:12px 18px;
    border-radius:12px;
    font-size:14px;
    cursor:pointer;
    transition:transform .25s var(--ease-out), background .25s var(--ease-out);
  }
  .nav-cta:hover{background:#087a52}

  /* ========== МЕГА-МЕНЮ (десктоп) ========== */
  .menu{
    display:flex;
    gap:4px;
    align-items:center;
  }

  .menu-item{
    position:relative;
  }

  .menu-trigger{
    font:inherit;
    font-size:14px;
    font-weight:500;
    color:#333936;
    background:transparent;
    border:0;
    padding:8px 14px;
    border-radius:8px;
    cursor:pointer;
    transition:color .2s, background .2s;
    -webkit-tap-highlight-color:transparent;
    display:inline-flex;
    align-items:center;
    gap:6px;
  }

  .menu-trigger::after{
    content:'';
    width:6px;height:6px;
    border-right:1.5px solid currentColor;
    border-bottom:1.5px solid currentColor;
    transform:rotate(45deg) translateY(-2px);
    transition:transform .25s var(--ease-out);
    opacity:.55;
  }
  .menu-item.is-open .menu-trigger::after{
    transform:rotate(-135deg) translateY(-2px);
  }

  .menu-trigger:hover,
  .menu-item.is-open .menu-trigger{
    color:var(--green);
    background:rgba(8,122,82,.06);
  }

  .menu-trigger:focus-visible{
    outline:2px solid var(--green);
    outline-offset:2px;
  }

  .mega-panel{
    position:absolute;
    top:calc(100% + 8px);
    left:50%;
    transform:translateX(-50%) translateY(8px);
    width:max-content;
    min-width:680px;
    max-width:min(90vw, 900px);
    padding:28px 32px;
    background:var(--card);
    border:1px solid var(--line);
    border-radius:16px;
    box-shadow:
      0 4px 6px rgba(8,20,15,.03),
      0 20px 40px -12px rgba(8,20,15,.12);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:
      opacity .2s var(--ease-out),
      transform .25s var(--ease-out),
      visibility 0s linear .25s;
    z-index:30;
  }

  .menu-item.is-open .mega-panel{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:translateX(-50%) translateY(0);
    transition-delay:0s;
  }

  .mega-grid{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:32px;
  }

  .mega-col h4{
    font-size:12px;
    font-weight:700;
    letter-spacing:.04em;
    text-transform:uppercase;
    color:var(--muted);
    margin:0 0 14px;
  }

  .mega-col a{
    display:block;
    font-size:14px;
    color:var(--ink);
    text-decoration:none;
    padding:5px 0;
    line-height:1.4;
    border-radius:6px;
    transition:color .18s;
  }

  .mega-col a:hover{
    color:var(--green);
  }

  .mega-promo{
    background:linear-gradient(160deg, var(--bg-soft), rgba(8,122,82,.06));
    border-radius:12px;
    padding:18px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    min-height:100%;
  }
  .mega-promo h5{
    font-size:14px;
    font-weight:700;
    margin:0 0 6px;
    color:var(--ink);
    letter-spacing:-.01em;
  }
  .mega-promo p{
    font-size:13px;
    color:var(--muted);
    margin:0 0 14px;
    line-height:1.5;
  }
  .mega-promo a{
    display:inline-flex;
    align-items:center;
    gap:6px;
    font-size:13px;
    font-weight:600;
    color:var(--green);
    padding:0;
    align-self:flex-start;
  }
  .mega-promo a::after{
    content:'→';
    transition:transform .25s var(--ease-out);
  }
  .mega-promo a:hover::after{
    transform:translateX(3px);
  }

  /* ========== КНОПКА-ГАМБУРГЕР ========== */
  .nav-burger{
    display:none;
    width:44px;
    height:44px;
    border-radius:12px;
    border:1px solid var(--line);
    background:var(--card);
    cursor:pointer;
    padding:0;
    place-items:center;
    -webkit-tap-highlight-color:transparent;
    transition:background .2s, border-color .2s, transform .2s var(--ease-out);
  }
  .nav-burger:hover{background:var(--bg-soft)}
  .nav-burger:active{transform:scale(.94)}

  .nav-burger__bars{
    position:relative;
    width:19px;height:13px;
    display:block;
  }
  .nav-burger__bars span{
    position:absolute;left:0;right:0;
    height:2px;border-radius:2px;
    background:var(--ink);
    transition:transform .35s var(--ease-out), opacity .2s ease, width .3s ease, top .35s var(--ease-out);
  }
  .nav-burger__bars span:nth-child(1){top:0}
  .nav-burger__bars span:nth-child(2){top:5.5px}
  .nav-burger__bars span:nth-child(3){top:11px}

  .nav-burger[aria-expanded="true"]{background:var(--ink);border-color:var(--ink)}
  .nav-burger[aria-expanded="true"] .nav-burger__bars span{background:#fff}
  .nav-burger[aria-expanded="true"] .nav-burger__bars span:nth-child(1){top:5.5px;transform:rotate(45deg)}
  .nav-burger[aria-expanded="true"] .nav-burger__bars span:nth-child(2){opacity:0;width:0;left:50%}
  .nav-burger[aria-expanded="true"] .nav-burger__bars span:nth-child(3){top:5.5px;transform:rotate(-45deg)}

  /* ============================================================
     МОБИЛЬНОЕ МЕГА-МЕНЮ (полноэкранное)
     ============================================================ */
  .mobile-drawer{
    position:fixed;inset:0;z-index:60;
    pointer-events:none;visibility:hidden;
  }
  .mobile-drawer.is-open{pointer-events:auto;visibility:visible}

  .mobile-drawer__overlay{position:absolute;inset:0;background:transparent}

  .mobile-drawer__panel{
    position:absolute;inset:0;
    display:flex;flex-direction:column;
    background:var(--card);
    transform:translateY(100%);
    transition:transform .55s cubic-bezier(.22,1,.36,1);
    will-change:transform;
  }
  .mobile-drawer.is-open .mobile-drawer__panel{
    transform:translateY(0);
  }
  .mobile-drawer__panel.is-dragging{
    transition:none !important;
  }

  /* --- Шапка панели --- */
  .mobile-drawer__head{
    position:relative;
    display:flex;align-items:center;justify-content:space-between;
    padding:18px 20px 14px;
    border-bottom:1px solid var(--line);
    flex-shrink:0;
    background:rgba(255,255,255,.94);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
    touch-action:none;
    z-index:3;
  }
  .mobile-drawer__head .logo{
    width:38px;height:38px;border-radius:11px;font-size:13px;
  }
  .mobile-drawer__drag{
    position:absolute;top:8px;left:50%;transform:translateX(-50%);
    width:36px;height:4px;border-radius:3px;
    background:rgba(15,26,23,.14);
  }

  .mobile-drawer__close{
    width:38px;height:38px;border-radius:10px;
    border:1px solid var(--line);
    background:var(--bg-soft);
    cursor:pointer;display:grid;place-items:center;
    -webkit-tap-highlight-color:transparent;
    transition:background .2s, transform .2s var(--ease-out), border-color .2s;
  }
  .mobile-drawer__close:hover{background:rgba(8,122,82,.10);border-color:rgba(8,122,82,.3)}
  .mobile-drawer__close:active{transform:scale(.92)}
  .mobile-drawer__close svg{
    width:16px;height:16px;
    stroke:var(--ink);stroke-width:2;
    stroke-linecap:round;fill:none;
  }

  /* --- Скролл-контейнер --- */
  .mmenu__body{
    flex:1;
    overflow-y:auto;
    overflow-x:hidden;
    -webkit-overflow-scrolling:touch;
    padding:14px 14px 24px;
    scrollbar-width:none;
  }
  .mmenu__body::-webkit-scrollbar{display:none}

  /* --- Секция-аккордеон --- */
  .acc{
    border-radius:16px;
    margin-bottom:6px;
    overflow:hidden;
    transition:background .35s ease;
  }
  .acc.is-open{
    background:linear-gradient(180deg, rgba(8,122,82,.07), rgba(8,122,82,.015));
  }

  .acc__head{
    display:flex;align-items:center;gap:14px;
    width:100%;
    padding:15px 14px;
    border:0;
    background:transparent;
    color:var(--ink);
    font:inherit;
    font-size:16px;
    font-weight:650;
    letter-spacing:-.01em;
    text-align:left;
    cursor:pointer;
    border-radius:16px;
    -webkit-tap-highlight-color:transparent;
    transition:background .25s;
  }
  .acc__head:active{background:rgba(15,26,23,.04)}

  .acc__icon{
    flex:0 0 auto;
    width:38px;height:38px;
    display:grid;place-items:center;
    border-radius:12px;
    background:var(--bg-soft);
    border:1px solid var(--line);
    color:var(--muted);
    transition:all .35s var(--ease-out);
  }
  .acc__icon svg{width:19px;height:19px}

  .acc.is-open .acc__icon{
    background:var(--green);
    border-color:var(--green);
    color:#fff;
    box-shadow:0 8px 20px -8px rgba(8,122,82,.75);
  }

  .acc__head span{flex:1}

  .acc__arrow{
    flex:0 0 auto;
    width:10px;height:10px;
    border-right:2px solid #98a5a1;
    border-bottom:2px solid #98a5a1;
    transform:rotate(45deg) translate(-2px, -2px);
    transition:transform .4s var(--ease-out), border-color .3s;
  }
  .acc.is-open .acc__arrow{
    transform:rotate(225deg) translate(-4px, -4px);
    border-color:var(--green);
  }

  .acc__panel{
    display:grid;
    grid-template-rows:0fr;
    transition:grid-template-rows .45s var(--ease-out);
  }
  .acc.is-open .acc__panel{grid-template-rows:1fr}

  .acc__inner{overflow:hidden}

  .acc__content{
    padding:2px 14px 18px 66px;
    display:grid;
    gap:2px;
    opacity:0;
    transform:translateY(-8px);
    transition:opacity .35s ease .08s, transform .45s var(--ease-out) .08s;
  }
  .acc.is-open .acc__content{
    opacity:1;
    transform:none;
  }

  /* --- Список ссылок --- */
  .mlist{display:grid;gap:2px}
  .mlist a{
    display:flex;
    align-items:flex-start;
    gap:12px;
    padding:11px 12px;
    margin-left:-12px;
    border-radius:12px;
    color:#455a54;
    text-decoration:none;
    font-size:14.5px;
    font-weight:500;
    transition:background .25s, color .25s, transform .3s var(--ease-out);
  }
  .mlist a:active{
    background:rgba(8,122,82,.14);
    color:var(--green);
    transform:translateX(3px);
  }
  .mlist a b{
    display:block;
    font-weight:600;
    color:var(--ink);
    margin-bottom:2px;
  }
  .mlist a small{
    display:block;
    font-size:12.5px;
    font-weight:400;
    color:var(--muted);
    line-height:1.4;
  }
  .mlist__dot{
    flex:0 0 auto;
    width:6px;height:6px;
    margin-top:8px;
    border-radius:50%;
    background:var(--green);
    box-shadow:0 0 8px rgba(8,122,82,.5);
    transition:transform .3s var(--ease-out);
  }
  .mlist a:active .mlist__dot{transform:scale(1.5)}

  /* --- Плитки (2 колонки) --- */
  .mtiles{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:8px;
  }
  .mtile{
    display:flex;
    flex-direction:column;
    gap:9px;
    padding:13px;
    border-radius:14px;
    background:var(--bg-soft);
    border:1px solid var(--line);
    color:#455a54;
    text-decoration:none;
    font-size:13px;
    font-weight:600;
    transition:all .3s var(--ease-out);
  }
  .mtile:active{
    background:rgba(8,122,82,.16);
    border-color:rgba(8,122,82,.35);
    transform:scale(.97);
    color:var(--green);
  }
  .mtile svg{
    width:20px;height:20px;
    color:var(--green);
  }
  .mtile small{
    display:block;
    font-size:11px;
    font-weight:400;
    color:var(--muted);
    margin-top:3px;
  }

  /* --- Картинка-заглушка --- */
  .mimage{
    position:relative;
    margin:6px 4px 4px;
    border-radius:18px;
    overflow:hidden;
    border:1px solid var(--line);
    aspect-ratio:16/10;
    background:linear-gradient(135deg, #d6e4df 0%, #b8d4ca 45%, #9cc6b8 100%);
    display:flex;
    align-items:flex-end;
    justify-content:flex-start;
  }
  .mimage__ph{
    position:absolute;inset:0;
    display:flex;flex-direction:column;align-items:center;justify-content:center;
    gap:8px;
    color:rgba(15,26,23,.38);
    font-size:12.5px;font-weight:600;
    letter-spacing:.02em;text-transform:uppercase;
  }
  .mimage__ph svg{width:36px;height:36px;opacity:.75}
  .mimage::before,
  .mimage::after{
    content:"";position:absolute;border-radius:50%;
    background:rgba(255,255,255,.28);
  }
  .mimage::before{width:140px;height:140px;top:-50px;right:-40px}
  .mimage::after{
    width:90px;height:90px;bottom:-30px;left:-20px;
    background:rgba(8,122,82,.18);
  }
  .mimage__caption{
    position:relative;z-index:2;
    margin:0 0 12px 12px;
    padding:8px 14px;
    border-radius:999px;
    background:rgba(255,255,255,.92);
    backdrop-filter:blur(8px);
    color:var(--ink);
    font-size:12.5px;font-weight:700;
    box-shadow:0 8px 20px -10px rgba(15,26,23,.35);
    display:inline-flex;align-items:center;gap:8px;
  }
  .mimage__caption::before{
    content:"";width:8px;height:8px;border-radius:50%;
    background:var(--green);
    box-shadow:0 0 8px rgba(8,122,82,.8);
  }

  /* --- Нижние кнопки --- */
  .mmenu__foot{
    position:relative;
    z-index:3;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    padding:14px 18px calc(20px + env(safe-area-inset-bottom, 0px));
    border-top:1px solid var(--line);
    background:rgba(255,255,255,.96);
    backdrop-filter:blur(14px);
    flex-shrink:0;
  }
  .mmenu__foot .btn{
    width:100%;
    padding:14px 12px;
    font-size:13.5px;
  }

  @media (prefers-reduced-motion: reduce){
    .mobile-drawer__panel{transition:none !important}
    .acc__panel{transition:none !important}
  }

  /* ========== HERO ========== */
  .hero{
    min-height:100vh;
    padding:78px 5vw 0;
    position:relative;
    display:flex;
    align-items:center;
  }

  .copy{
    position:relative;
    z-index:8;
    width:min(570px,45vw);
    margin-left:5vw;
  }

  .eyebrow{
    color:var(--green);
    font-size:13px;
    font-weight:700;
    letter-spacing:.08em;
    text-transform:uppercase;
    margin-bottom:25px;
  }

  h1{
    font-size:clamp(54px,6.5vw,96px);
    line-height:.94;
    letter-spacing:-.065em;
    margin:0 0 30px;
    font-weight:720;
  }

  .sub{
    max-width:470px;
    color:var(--muted);
    font-size:17px;
    line-height:1.55;
    margin:0;
  }

  .stage{
    position:absolute;
    inset:78px 0 0;
    pointer-events:none;
    z-index:3;
  }
  .stage canvas{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
  }

  svg{
    width:100%;
    height:100%;
    overflow:visible;
  }

  .curve{
    fill:none;
    stroke-width:1.7;
    vector-effect:non-scaling-stroke;
  }

  .p{stroke:#111513}
  .q{stroke:var(--green)}

  .label{
    font-size:17px;
    font-weight:650;
    letter-spacing:-.02em;
  }

  .intersection{
    fill:var(--green);
    filter:drop-shadow(0 0 9px rgba(8,122,82,.32));
  }

  .scroll-note{
    position:absolute;
    left:5vw;
    bottom:32px;
    font-size:11px;
    color:#9aa19e;
    letter-spacing:.08em;
    text-transform:uppercase;
  }

  /* ========== FEATURES (bento) ========== */
  .container{width:100%;max-width:1240px;margin:0 auto;padding:0 24px}

  .features{padding:clamp(64px,9vw,120px) 0}

  .section-head{max-width:640px;margin:0 auto 56px;text-align:center}
  .eyebrow{
    display:inline-block;
    font-size:13px;font-weight:700;letter-spacing:.02em;
    color:var(--green);margin-bottom:16px;
  }
  .section-head h2{
    font-size:clamp(28px,3.6vw,42px);
    letter-spacing:-.02em;line-height:1.12;
    color:var(--ink);font-weight:700;margin-bottom:16px;
  }
  .section-head p{font-size:17px;color:var(--muted);max-width:520px;margin:0 auto}

  .reveal{opacity:0;transform:translateY(20px);transition:opacity .6s var(--ease-out), transform .6s var(--ease-out)}
  .reveal.in{opacity:1;transform:none}
  .reveal-group > *{opacity:0;transform:translateY(20px);transition:opacity .6s var(--ease-out), transform .6s var(--ease-out)}
  .reveal-group.in > *{opacity:1;transform:none}
  .reveal-group.in > *:nth-child(1){transition-delay:0ms}
  .reveal-group.in > *:nth-child(2){transition-delay:90ms}
  .reveal-group.in > *:nth-child(3){transition-delay:180ms}
  .reveal-group.in > *:nth-child(4){transition-delay:270ms}
  .reveal-group.in > *:nth-child(5){transition-delay:360ms}
  .reveal-group.in > *:nth-child(6){transition-delay:450ms}

  .bento{display:grid;grid-template-columns:repeat(6,1fr);gap:20px}
  .bento > *{
    background:var(--card);
    border:1px solid var(--line);
    padding:28px;
    border-radius:var(--radius-lg);
    position:relative;overflow:hidden;
    transition:transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .3s;
    display:flex;flex-direction:column;
  }
  .bento > *:hover{
    transform:translateY(-6px);
    box-shadow:var(--shadow-xl);
    border-color:transparent;
  }
  .bento > *:nth-child(1){grid-column:span 3;grid-row:span 2;background:linear-gradient(160deg, var(--card) 55%, rgba(8,122,82,.08))}
  .bento > *:nth-child(2){grid-column:span 3;background:linear-gradient(160deg, var(--card) 60%, rgba(44,95,138,.07))}
  .bento > *:nth-child(3){grid-column:span 3;background:linear-gradient(160deg, var(--card) 60%, rgba(15,138,134,.07))}
  .bento > *:nth-child(4){grid-column:span 2}
  .bento > *:nth-child(5){grid-column:span 2}
  .bento > *:nth-child(6){grid-column:span 2}
  .bento-icon{
    width:44px;height:44px;border-radius:12px;display:grid;place-items:center;
    background:var(--bg-soft);margin-bottom:20px;
    transition:transform .35s var(--ease-out);
  }
  .bento > *:hover .bento-icon{transform:scale(1.1) rotate(-4deg)}
  .bento-icon svg{width:22px;height:22px;stroke:var(--ink);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .bento h3{font-size:20px;margin-bottom:10px;color:var(--ink);font-weight:700;letter-spacing:-.01em}
  .bento p{font-size:15px;color:var(--muted);margin-bottom:auto;line-height:1.55}
  .bento-demo{
    margin-top:24px;border-radius:14px;
    background:var(--bg-soft);padding:18px;
    font-family:ui-monospace,"SF Mono",Menlo,Consolas,monospace;
    font-size:13px;color:var(--ink);
    border:1px solid var(--line);overflow:hidden;
  }
  .bento-demo .row{display:flex;justify-content:space-between;padding:4px 0}
  .bento-demo .row span:last-child{color:var(--teal);font-weight:600}
  .bento-demo .row.warn span:last-child{color:var(--coral)}
  .bento-demo .row.ok span:last-child{color:var(--green)}

  @media(max-width:1024px){
    .bento{grid-template-columns:repeat(4,1fr)}
    .bento > *:nth-child(1){grid-column:span 4;grid-row:auto}
    .bento > *:nth-child(2){grid-column:span 2}
    .bento > *:nth-child(3){grid-column:span 2}
    .bento > *:nth-child(4),
    .bento > *:nth-child(5),
    .bento > *:nth-child(6){grid-column:span 2}
  }

  @media(max-width:768px){
    .features{padding:56px 0}
    .section-head{margin-bottom:40px}
    .bento{
      display:flex;
      flex-direction:column;
      gap:14px;
      padding-bottom:18vh;
    }
    .bento > *{
      grid-column:auto !important;
      grid-row:auto !important;
      position:sticky;
      min-height:56vh;
      padding:24px 22px;
      border-radius:var(--radius-lg);
      border:1px solid var(--line);
      box-shadow:
        0 -14px 30px -18px rgba(8,20,15,.20),
        var(--shadow);
      background:var(--card);
      transform:none !important;
      will-change:transform;
    }
    .bento > *:nth-child(1){ top:76px;  z-index:1; background:linear-gradient(160deg, var(--card) 55%, rgba(8,122,82,.08)); }
    .bento > *:nth-child(2){ top:84px;  z-index:2; background:linear-gradient(160deg, var(--card) 60%, rgba(44,95,138,.07)); }
    .bento > *:nth-child(3){ top:92px;  z-index:3; background:linear-gradient(160deg, var(--card) 60%, rgba(15,138,134,.07)); }
    .bento > *:nth-child(4){ top:100px; z-index:4; }
    .bento > *:nth-child(5){ top:108px; z-index:5; }
    .bento > *:nth-child(6){ top:116px; z-index:6; }
    .bento h3{font-size:18px}
    .bento p{font-size:14px}
  }

  @media (prefers-reduced-motion: reduce){
    .reveal,.reveal-group > *{opacity:1 !important;transform:none !important;transition:none !important}
    .bento > *{transition:none !important}
  }
  @media (prefers-reduced-motion: reduce) and (max-width:768px){
    .bento > *{position:static !important}
  }

  /* ========== MODULES (tab switcher) ========== */
  .modules{padding:clamp(64px,9vw,120px) 0;background:var(--bg-soft)}

  .module-tabs-wrap{
    position:relative;
    width:max-content;
    max-width:100%;
    margin:0 auto 40px;
    background:var(--card);
    border:1px solid var(--line);
    border-radius:999px;
    padding:5px;
    box-shadow:0 1px 2px rgba(8,20,15,.04);
  }

  .module-tabs-wrap::before,
  .module-tabs-wrap::after{
    content:'';
    position:absolute;
    top:5px;bottom:5px;
    width:44px;
    pointer-events:none;
    z-index:2;
    opacity:0;
    transition:opacity .25s var(--ease-out);
  }
  .module-tabs-wrap::before{
    left:5px;
    border-radius:999px 0 0 999px;
    background:linear-gradient(to right, var(--card) 25%, rgba(255,255,255,0));
  }
  .module-tabs-wrap::after{
    right:5px;
    border-radius:0 999px 999px 0;
    background:linear-gradient(to left, var(--card) 25%, rgba(255,255,255,0));
  }
  .module-tabs-wrap.has-left::before,
  .module-tabs-wrap.has-right::after{opacity:1}

  .module-tabs{
    position:relative;
    display:flex;
    gap:2px;
    overflow-x:auto;
    overflow-y:hidden;
    scrollbar-width:none;
    -ms-overflow-style:none;
    scroll-behavior:smooth;
    scroll-snap-type:x proximity;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-x:contain;
  }
  .module-tabs::-webkit-scrollbar{display:none}

  .module-tabs__pill{
    position:absolute;
    top:0;left:0;
    height:100%;
    width:var(--pill-w, 0px);
    transform:translateX(var(--pill-x, 0px));
    background:var(--green);
    border-radius:999px;
    z-index:0;
    pointer-events:none;
    transition:transform .38s var(--ease-out), width .38s var(--ease-out);
    will-change:transform, width;
  }
  .module-tabs__pill.no-anim{transition:none !important}

  .module-tab{
    position:relative;
    z-index:1;
    flex:0 0 auto;
    font:inherit;
    cursor:pointer;
    padding:9px 18px;
    border:0;
    border-radius:999px;
    background:transparent;
    color:var(--ink);
    font-size:14px;
    font-weight:600;
    letter-spacing:-.01em;
    white-space:nowrap;
    min-height:38px;
    display:inline-flex;
    align-items:center;
    scroll-snap-align:center;
    -webkit-tap-highlight-color:transparent;
    transition:color .25s var(--ease-out);
  }
  .module-tab:hover{color:var(--green)}
  .module-tab.active{color:#fff}
  .module-tab:focus-visible{outline:2px solid var(--green);outline-offset:2px}

  .module-panel{
    position:relative;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:48px;
    align-items:center;
    background:var(--card);
    border:1px solid var(--line);
    border-radius:var(--radius-lg);
    padding:clamp(28px,3.5vw,48px);
    overflow:hidden;
    touch-action:pan-y;
    transition:transform .35s var(--ease-out);
    outline:none;
    will-change:transform;
  }
  .module-panel:focus-visible{
    box-shadow:0 0 0 2px var(--green), var(--shadow);
  }

  .module-panel::before{
    content:'';
    position:absolute;
    top:-40%;right:-20%;
    width:60%;height:80%;
    background:radial-gradient(closest-side, rgba(8,122,82,.07), transparent 70%);
    pointer-events:none;
  }

  .module-swipe-hint{
    display:none;
    position:absolute;
    right:14px;bottom:14px;
    font-size:11px;
    font-weight:600;
    color:var(--muted);
    letter-spacing:.06em;
    text-transform:uppercase;
    padding:6px 12px;
    border-radius:999px;
    background:rgba(255,255,255,.75);
    border:1px solid var(--line);
    backdrop-filter:blur(6px);
    pointer-events:none;
    z-index:2;
    transition:opacity .5s var(--ease-out), transform .5s var(--ease-out);
  }
  .module-swipe-hint.hidden{opacity:0;transform:translateY(4px)}
  @media(max-width:900px){
    .module-swipe-hint{display:inline-block}
  }
  @media (prefers-reduced-motion: reduce){
    .module-swipe-hint{display:none !important}
  }

  .module-media{
    position:relative;
    aspect-ratio:4/3;
    border-radius:14px;
    overflow:hidden;
    background:
      radial-gradient(circle at 30% 20%, rgba(8,122,82,.06), transparent 60%),
      repeating-linear-gradient(45deg, var(--bg-soft) 0 12px, var(--bg) 12px 24px);
    border:1px dashed var(--line);
    display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;
    color:var(--muted);
  }
  .module-media__bar{
    position:absolute;
    top:0;left:0;right:0;
    height:28px;
    display:flex;
    align-items:center;
    gap:6px;
    padding:0 12px;
    border-bottom:1px solid var(--line);
    background:rgba(255,255,255,.55);
    backdrop-filter:blur(6px);
  }
  .module-media__bar span{
    width:8px;height:8px;border-radius:50%;
    background:var(--line);
  }
  .module-media__bar span:nth-child(1){background:#ff5f57}
  .module-media__bar span:nth-child(2){background:#febc2e}
  .module-media__bar span:nth-child(3){background:#28c840}

  .module-media svg{
    width:34px;height:34px;
    stroke:var(--muted);fill:none;stroke-width:1.6;
    transform:scale(.85);
    opacity:.55;
    transition:transform .5s var(--ease-out), opacity .5s var(--ease-out);
  }
  .module-media span{font-size:13px;letter-spacing:.01em}

  .module-kicker{
    display:inline-block;
    font-family:ui-monospace,"SF Mono",Menlo,Consolas,monospace;
    font-size:13px;font-weight:600;color:var(--green);
    margin-bottom:10px;letter-spacing:.02em;
  }
  .module-info h3{
    font-size:clamp(22px,2.4vw,28px);color:var(--ink);
    font-weight:700;letter-spacing:-.01em;margin-bottom:14px;line-height:1.2;
  }
  .module-info .module-desc{
    font-size:15.5px;color:var(--muted);line-height:1.6;margin-bottom:22px;
  }
  .module-list{display:flex;flex-direction:column;gap:10px;margin:0;padding:0;list-style:none}
  .module-list li{
    font-size:14.5px;color:var(--ink);line-height:1.5;
    display:flex;align-items:flex-start;gap:10px;
  }
  .module-list li::before{
    content:'';width:6px;height:6px;border-radius:50%;
    background:var(--green);flex-shrink:0;margin-top:8px;
  }

  .module-media,
  .module-kicker,
  .module-info h3,
  .module-info .module-desc{
    opacity:0;
    transform:translateY(12px);
    transition:opacity .45s var(--ease-out), transform .45s var(--ease-out);
  }
  .module-panel.is-in .module-media,
  .module-panel.is-in .module-kicker,
  .module-panel.is-in .module-info h3,
  .module-panel.is-in .module-info .module-desc{
    opacity:1;
    transform:none;
  }
  .module-panel.is-in .module-media{transition-delay:.06s}
  .module-panel.is-in .module-kicker{transition-delay:.12s}
  .module-panel.is-in .module-info h3{transition-delay:.18s}
  .module-panel.is-in .module-info .module-desc{transition-delay:.24s}

  .module-panel.is-in .module-media svg{
    transform:scale(1);
    opacity:1;
    transition-delay:.15s;
  }

  .module-list li{
    opacity:0;
    transform:translateY(8px);
    transition:opacity .35s var(--ease-out), transform .35s var(--ease-out);
  }
  .module-panel.is-in .module-list li{opacity:1;transform:none}
  .module-panel.is-in .module-list li:nth-child(1){transition-delay:.30s}
  .module-panel.is-in .module-list li:nth-child(2){transition-delay:.35s}
  .module-panel.is-in .module-list li:nth-child(3){transition-delay:.40s}
  .module-panel.is-in .module-list li:nth-child(4){transition-delay:.45s}
  .module-panel.is-in .module-list li:nth-child(5){transition-delay:.50s}
  .module-panel.is-in .module-list li:nth-child(6){transition-delay:.55s}

  .module-panel:not(.is-in) .module-media,
  .module-panel:not(.is-in) .module-kicker,
  .module-panel:not(.is-in) .module-info h3,
  .module-panel:not(.is-in) .module-info .module-desc,
  .module-panel:not(.is-in) .module-media svg,
  .module-panel:not(.is-in) .module-list li{
    transition-delay:0s;
    transition-duration:.18s;
  }

  .module-panel.is-dragging .module-media,
  .module-panel.is-dragging .module-kicker,
  .module-panel.is-dragging .module-info h3,
  .module-panel.is-dragging .module-info .module-desc,
  .module-panel.is-dragging .module-list li,
  .module-panel.is-dragging .module-media svg{
    transition:none !important;
  }

  @media(max-width:900px){
    .module-panel{grid-template-columns:1fr;gap:24px}
    .module-media{aspect-ratio:16/9}
  }

  @media(max-width:768px){
    .modules{padding:56px 0}
    .module-tabs-wrap{
      margin:0 auto 24px;
      padding:4px;
    }
    .module-tabs-wrap::before{left:4px;top:4px;bottom:4px;width:36px}
    .module-tabs-wrap::after{right:4px;top:4px;bottom:4px;width:36px}
    .module-tab{
      padding:10px 16px;
      font-size:13.5px;
      min-height:42px;
    }
    .module-panel{padding:22px 20px}
    .module-info h3{font-size:20px}
    .module-info .module-desc{font-size:14.5px}
    .module-list li{font-size:13.5px}
  }

  @media (prefers-reduced-motion: reduce){
    .module-tabs__pill{transition:none !important}
    .module-panel{transition:none !important}
    .module-media,
    .module-kicker,
    .module-info h3,
    .module-info .module-desc,
    .module-media svg,
    .module-list li{
      opacity:1 !important;
      transform:none !important;
      transition:none !important;
    }
  }

  /* ========== FLOW ========== */
  :root{
    --bg-panel:var(--card);
    --bg-panel-alt:var(--bg-soft);
    --border:var(--line);
    --border-strong:#c7cbd4;
    --text:var(--ink);
    --text-dim:var(--muted);
    --accent:#1f63d6;
    --accent-soft:rgba(31,99,214,.10);
    --accent-2:#0f8f72;
    --accent-3:#7f3fc0;
    --warn:#b5720a;
    --r-md:10px;
    --r-lg:16px;
    --sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
    --font-mono:ui-monospace,"SF Mono",Menlo,Consolas,monospace;
  }

  .wrap{width:100%;max-width:1240px;margin:0 auto;padding:0 24px}
  .sec{padding:clamp(64px,9vw,120px) 0}
  .sec--alt{background:var(--bg-soft);border-block:1px solid var(--border)}

  .sec__head{max-width:640px;margin:0 auto 56px;text-align:center}
  .sec__head h2{
    font-size:clamp(28px,3.6vw,42px);letter-spacing:-.02em;line-height:1.12;
    color:var(--ink);font-weight:700;margin-bottom:16px;
  }
  .sec__head p{font-size:17px;color:var(--text-dim);max-width:560px;margin:0 auto}

  /* --- оболочка схемы: рамка + скругление + обрезка --- */
  .flow-shell{
    position:relative;
    border:1px solid var(--border);
    border-radius:var(--r-lg);
    background:var(--bg-panel);
    overflow:hidden;
  }

  .flow-wrap{
    padding:32px 28px 36px;
    overflow-x:auto;
    overflow-y:hidden;
    scrollbar-width:none;
    -ms-overflow-style:none;
    -webkit-overflow-scrolling:touch;
  }
  .flow-wrap::-webkit-scrollbar{display:none}

  .flow-wrap svg{
    display:block;
    width:100%;
    min-width:880px;
    height:auto;
  }

  /* мягкие затухания у краёв при скролле */
  .flow-shell::before,
  .flow-shell::after{
    content:'';
    position:absolute;
    top:0;bottom:3px;
    width:1px;
    pointer-events:none;
    z-index:2;
    opacity:0;
    transition:opacity .3s var(--ease-out);
  }
  .flow-shell::before{
    left:0;
    background:linear-gradient(to right, var(--bg-panel) 20%, rgba(255,255,255,0));
  }
  .flow-shell::after{
    right:0;
    background:linear-gradient(to left, var(--bg-panel) 20%, rgba(255,255,255,0));
  }
  .flow-shell.has-left::before,
  .flow-shell.has-right::after{opacity:1}

  /* подсказка «свайп» */
  .flow-hint{
    position:absolute;
    bottom:18px;right:14px;
    display:inline-flex;align-items:center;gap:6px;
    padding:6px 12px;
    border-radius:999px;
    background:rgba(17,21,19,.82);
    color:#fff;
    font-size:11px;font-weight:600;
    letter-spacing:.05em;text-transform:uppercase;
    backdrop-filter:blur(6px);
    -webkit-backdrop-filter:blur(6px);
    z-index:3;
    pointer-events:none;
    transition:opacity .5s var(--ease-out), transform .5s var(--ease-out);
  }
  .flow-hint svg{
    width:12px;height:12px;
    min-width:12px;
    stroke:currentColor;fill:none;
    stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;
    overflow:visible;
  }
  .flow-hint.is-hidden{opacity:0;transform:translateY(6px)}

  /* полоса прогресса скролла */
  .flow-progress{
    position:relative;
    height:3px;
    background:var(--bg-soft);
    overflow:hidden;
  }
  .flow-progress__bar{
    height:100%;width:0;
    background:var(--green);
    transition:width .12s linear;
    will-change:width;
  }

  @media (prefers-reduced-motion: reduce){
    .flow-wrap{scroll-behavior:auto}
    .flow-progress__bar{transition:none}
    .flow-hint{display:none}
  }

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

  .card{
    background:var(--bg-panel);border:1px solid var(--border);
    border-radius:var(--r-md);padding:24px;
    transition:transform .35s var(--ease-out),
               box-shadow .35s var(--ease-out),
               border-color .3s;
  }
  .card:hover{
    border-color:transparent;
    transform:translateY(-6px);
    box-shadow:var(--shadow-xl);
  }
  .card h3{font-size:17px;margin-bottom:10px;color:var(--ink);font-weight:700}
  .card p{color:var(--text-dim);font-size:14.5px;line-height:1.55}

  .card__ico{
    width:38px;height:38px;border-radius:9px;
    display:grid;place-items:center;margin-bottom:16px;
    background:var(--accent-soft);color:var(--accent);
    transition:transform .35s var(--ease-out);
  }
  .card:hover .card__ico{transform:scale(1.1) rotate(-4deg)}
  .card__ico svg{width:20px;height:20px}
  .card__ico--teal{background:rgba(15,143,114,.13);color:var(--accent-2)}
  .card__ico--violet{background:rgba(127,63,192,.13);color:var(--accent-3)}

  .rise{opacity:0;transform:translateY(18px);transition:opacity .6s ease, transform .6s ease}
  .rise.is-in{opacity:1;transform:none}

  @media(max-width:768px){
    .sec{padding:56px 0}
    .grid--3{
      display:flex;
      flex-direction:column;
      gap:14px;
      padding-bottom:18vh;
    }
    .grid--3 > *{
      grid-column:auto !important;
      grid-row:auto !important;
      position:sticky;
      min-height:56vh;
      padding:24px 22px;
      border-radius:var(--radius-lg);
      border:1px solid var(--line);
      box-shadow:
        0 -14px 30px -18px rgba(8,20,15,.20),
        var(--shadow);
      background:var(--bg-panel);
      transform:none !important;
      will-change:transform;
      display:flex;
      flex-direction:column;
    }
    .grid--3 > *:nth-child(1){ top:76px;  z-index:1; }
    .grid--3 > *:nth-child(2){ top:84px;  z-index:2; }
    .grid--3 > *:nth-child(3){ top:92px;  z-index:3; }
    .grid--3 .card__ico{margin-bottom:16px}
    .grid--3 .card h3{font-size:18px}
    .grid--3 .card p{font-size:14px}
    .grid--3 .card:hover{transform:none;box-shadow:
      0 -14px 30px -18px rgba(8,20,15,.20),
      var(--shadow);border-color:var(--line)}
    .grid--3 .card:hover .card__ico{transform:none}
  }

  @media (prefers-reduced-motion: reduce){
    .rise{opacity:1 !important;transform:none !important;transition:none !important}
    .reveal-group > *{opacity:1 !important;transform:none !important;transition:none !important}
    .card, .card__ico{transition:none !important}
    .card:hover, .card:hover .card__ico{transform:none !important}
  }
  @media (prefers-reduced-motion: reduce) and (max-width:768px){
    .grid--3 > *{position:static !important}
  }

  /* ========== АДАПТИВ ШАПКИ ========== */
  @media (max-width: 800px) {
    .menu { display: none; }
    .nav-cta { display: none; }
    .nav-burger { display: grid; }
  }

  /* ========== КНОПКИ ========== */
  .btn{
    display:inline-flex;align-items:center;justify-content:center;gap:8px;
    padding:14px 24px;border-radius:12px;
    font-size:15px;font-weight:600;letter-spacing:-.01em;
    text-decoration:none;cursor:pointer;border:1px solid transparent;
    transition:transform .25s var(--ease-out), background .25s var(--ease-out),
               border-color .25s var(--ease-out), box-shadow .25s var(--ease-out);
    white-space:nowrap;
  }
  .btn-primary{
    background:var(--green);color:#fff;
    box-shadow:0 10px 24px -10px rgba(8,122,82,.55);
  }
  .btn-primary:hover{background:#066443;transform:translateY(-2px)}
  .btn-ghost{background:var(--card);color:var(--ink);border-color:var(--line)}
  .btn-ghost:hover{background:var(--bg-soft);transform:translateY(-2px)}

  .hero-cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:32px;position:relative;z-index:8}
  .hero-note{
    margin-top:18px;font-size:13px;color:var(--muted);
    position:relative;z-index:8;
  }
  @media(max-width:768px){
    .hero-cta .btn{flex:1 1 auto;min-width:0}
  }

  /* ========== ЗАГЛУШКИ (.todo) ========== */
  .todo{
    border-bottom:1px dashed var(--coral);
    color:var(--coral);
    cursor:help;
  }
  .todo-tag{
    display:inline-block;font-size:10px;font-weight:700;
    letter-spacing:.04em;text-transform:uppercase;
    color:var(--coral);background:rgba(181,80,46,.10);
    border-radius:5px;padding:2px 6px;margin-left:6px;
    vertical-align:middle;
  }

  /* ========== НОРМАТИВНАЯ БАЗА ========== */
  .norms-note{
    display:flex;gap:10px;align-items:flex-start;
    background:var(--bg-soft);border:1px solid var(--line);
    border-radius:12px;padding:14px 16px;margin-bottom:28px;
    font-size:13.5px;color:var(--muted);line-height:1.5;
  }
  .norms-note svg{width:17px;height:17px;flex-shrink:0;margin-top:1px;stroke:var(--muted);fill:none;stroke-width:1.8}
  .norms-table-wrap{
    border:1px solid var(--line);border-radius:16px;
    overflow:hidden;overflow-x:auto;background:var(--card);
  }
  table.norms{width:100%;border-collapse:collapse;min-width:640px;font-size:14.5px}
  table.norms th{
    text-align:left;font-size:12px;font-weight:700;letter-spacing:.04em;
    text-transform:uppercase;color:var(--muted);
    padding:14px 20px;background:var(--bg-soft);border-bottom:1px solid var(--line);
  }
  table.norms td{padding:14px 20px;border-bottom:1px solid var(--line);color:var(--ink);vertical-align:top}
  table.norms tr:last-child td{border-bottom:0}
  table.norms td.norms-mod{font-weight:700;white-space:nowrap}
  table.norms td.norms-doc{color:var(--muted)}

  /* ========== ВЕРИФИКАЦИЯ ========== */
  .verify-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
  .verify-card{
    background:var(--card);border:1px solid var(--line);border-radius:16px;
    padding:26px 24px;
  }
  .verify-card h3{font-size:17px;margin:0 0 10px;color:var(--ink);font-weight:700}
  .verify-card p{font-size:14.5px;color:var(--muted);line-height:1.6;margin:0 0 14px}
  .verify-list{display:flex;flex-wrap:wrap;gap:8px}
  .verify-list span{
    font-family:ui-monospace,"SF Mono",Menlo,Consolas,monospace;
    font-size:12.5px;background:var(--bg-soft);border:1px solid var(--line);
    border-radius:7px;padding:5px 9px;color:var(--ink);
  }
  .verify-card.pending{
    background:transparent;border-style:dashed;
  }
  .verify-card.pending h3{color:var(--muted)}
  @media(max-width:768px){
    .verify-grid{grid-template-columns:1fr}
  }

  /* ========== ФУТЕР ========== */
  footer{
    background:var(--ink);color:rgba(255,255,255,.68);
    padding:clamp(56px,7vw,80px) 0 28px;
  }
  .footer-grid{
    display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:40px;
    padding-bottom:44px;border-bottom:1px solid rgba(255,255,255,.12);
  }
  .footer-brand{display:flex;align-items:center;gap:10px;color:#fff;font-weight:800;font-size:16px;margin-bottom:14px}
  .footer-brand .logo{width:34px;height:34px;font-size:12px;border-radius:10px}
  .footer-about{font-size:14px;line-height:1.6;max-width:280px}
  .footer-col h4{
    font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;
    color:rgba(255,255,255,.45);margin:0 0 16px;
  }
  .footer-col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:11px}
  .footer-col a{color:rgba(255,255,255,.75);text-decoration:none;font-size:14.5px;transition:color .2s}
  .footer-col a:hover{color:#fff}
  .footer-col li{font-size:14.5px;line-height:1.5}
  .footer-bottom{
    display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;
    gap:12px;padding-top:24px;font-size:13px;color:rgba(255,255,255,.4);
  }
  footer .todo{color:#e8a17e;border-bottom-color:#e8a17e}
  footer .todo-tag{color:#e8a17e;background:rgba(232,161,126,.14)}
  @media(max-width:900px){
    .footer-grid{grid-template-columns:1fr 1fr;gap:32px 24px}
  }
  @media(max-width:520px){
    .footer-grid{grid-template-columns:1fr;gap:28px}
    .footer-bottom{flex-direction:column;align-items:flex-start}
  }


/* ========== SUB-PAGES ========== */
.page-hero{
  padding:clamp(120px,16vw,170px) 0 clamp(56px,8vw,88px);
  text-align:center;
  background:
    radial-gradient(circle at 18% 12%, rgba(8,122,82,.07), transparent 46%),
    radial-gradient(circle at 82% 8%, rgba(44,95,138,.06), transparent 42%);
}
.page-hero .eyebrow{display:inline-block;margin-bottom:16px}
.page-hero h1{
  font-size:clamp(34px,5.5vw,64px);
  letter-spacing:-.04em;line-height:1.03;
  font-weight:720;margin:0 auto 20px;max-width:860px;
}
.page-hero p{font-size:17px;color:var(--muted);max-width:620px;margin:0 auto;line-height:1.6}
.page-hero .hero-cta{justify-content:center;margin-top:30px}

.toc{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:30px}
.toc a{
  padding:8px 16px;border-radius:999px;border:1px solid var(--line);
  background:var(--card);color:var(--ink);font-size:13.5px;font-weight:600;
  text-decoration:none;transition:color .2s,border-color .2s,background .2s;
}
.toc a:hover{color:var(--green);border-color:rgba(8,122,82,.35);background:rgba(8,122,82,.06)}

.mod-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.mod-card{
  background:var(--card);border:1px solid var(--line);border-radius:var(--radius-lg);
  padding:32px 30px;scroll-margin-top:100px;
  transition:transform .35s var(--ease-out),box-shadow .35s var(--ease-out),border-color .3s;
}
.mod-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-xl);border-color:transparent}
.mod-card .module-kicker{display:inline-block;margin-bottom:12px}
.mod-card h3{font-size:20px;margin:0 0 12px;color:var(--ink);font-weight:700;letter-spacing:-.01em}
.mod-card > p{font-size:15px;color:var(--muted);line-height:1.6;margin:0 0 18px}
.mod-card .module-list{margin:0}
@media(max-width:768px){
  .mod-grid{grid-template-columns:1fr}
  .mod-card{padding:24px 22px}
}

.tariff-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.tariff{
  background:var(--card);border:1px solid var(--line);border-radius:var(--radius-lg);
  padding:28px 26px;display:flex;flex-direction:column;
  transition:transform .35s var(--ease-out),box-shadow .35s var(--ease-out),border-color .3s;
}
.tariff:hover{transform:translateY(-4px);box-shadow:var(--shadow-xl);border-color:transparent}
.tariff--featured{border-color:var(--green);box-shadow:0 0 0 1px var(--green) inset}
.tariff .tariff-name{font-size:13px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);margin-bottom:14px}
.tariff .tariff-price{font-size:30px;font-weight:800;letter-spacing:-.03em;color:var(--ink);margin-bottom:4px}
.tariff .tariff-per{font-size:13px;color:var(--muted);margin-bottom:18px}
.tariff ul{list-style:none;margin:0 0 24px;padding:0;display:flex;flex-direction:column;gap:10px;flex:1}
.tariff ul li{font-size:14px;color:var(--ink);line-height:1.45;display:flex;align-items:flex-start;gap:10px}
.tariff ul li::before{content:'';width:6px;height:6px;border-radius:50%;background:var(--green);flex-shrink:0;margin-top:7px}
.tariff .btn{margin-top:auto}
@media(max-width:1000px){.tariff-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.tariff-grid{grid-template-columns:1fr}}

  /* ========== CTA-БЛОК НА ГЛАВНОЙ ========== */
  #cta{background:var(--bg-soft);padding-top:0}
  .cta-band{
    position:relative;overflow:hidden;
    display:grid;grid-template-columns:1.15fr 1fr;align-items:center;gap:clamp(32px,5vw,72px);
    padding:clamp(32px,5vw,64px);border-radius:28px;
    background:linear-gradient(135deg,var(--green),#05553a);color:#fff;
    box-shadow:0 30px 60px -30px rgba(8,122,82,.6);
  }
  .cta-band::after{
    content:"";position:absolute;right:-120px;top:-120px;width:380px;height:380px;border-radius:50%;
    background:radial-gradient(circle,rgba(255,255,255,.14),transparent 70%);pointer-events:none;
  }
  .cta-band__copy{position:relative;z-index:1}
  .cta-band .eyebrow{color:rgba(255,255,255,.75)}
  .cta-band h2{color:#fff;margin:8px 0 14px;font-size:clamp(26px,3.4vw,42px);line-height:1.1;letter-spacing:-.02em}
  .cta-band p{color:rgba(255,255,255,.85);margin:0;font-size:16px;line-height:1.55;max-width:520px}
  .cta-band__actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
  .cta-steps{
    position:relative;z-index:1;list-style:none;margin:0;padding:8px 24px;counter-reset:step;
    background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);border-radius:20px;
  }
  .cta-steps li{counter-increment:step;display:grid;grid-template-columns:36px 1fr;column-gap:14px;padding:18px 0}
  .cta-steps li+li{border-top:1px solid rgba(255,255,255,.14)}
  .cta-steps li::before{
    content:counter(step);grid-row:span 2;width:36px;height:36px;border-radius:10px;
    display:grid;place-items:center;background:#fff;color:var(--green);font-weight:800;font-size:15px;
  }
  .cta-steps b{font-size:16px;font-weight:700}
  .cta-steps span{font-size:14px;color:rgba(255,255,255,.75);margin-top:2px}
  .btn-light{background:#fff;color:var(--green)}
  .btn-light:hover{background:#eef7f2;transform:translateY(-2px)}
  .btn-outline-light{background:transparent;color:#fff;border-color:rgba(255,255,255,.5)}
  .btn-outline-light:hover{background:rgba(255,255,255,.1);transform:translateY(-2px)}
  @media(max-width:900px){
    .cta-band{grid-template-columns:1fr}
    .cta-steps{display:none}
    .cta-band__actions .btn{flex:1 1 auto}
  }
