:root{--red:#f32828;--red2:#a80810;--black:#070707;--panel:#101010;--line:#252525;--white:#f5f3f0;--muted:#999;--radius:22px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--black);color:var(--white);font-family:Manrope,Arial,sans-serif;overflow-x:hidden}

/* ─── ОБЫЧНЫЙ КУРСОР ВОССТАНОВЛЕН ────────────────────────────────────────── */
/* Кастомный курсор удален, теперь используется стандартный курсор мыши */.noise{position:fixed;inset:0;opacity:.035;pointer-events:none;z-index:20;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}.header{height:82px;position:absolute;top:0;left:0;right:0;z-index:100;display:flex;align-items:center;justify-content:space-between;padding:0 6vw;border-bottom:1px solid rgba(255,255,255,.08)}.logo{display:flex;gap:11px;align-items:center;color:#fff;text-decoration:none;font-size:14px;letter-spacing:.08em}.logo b{color:var(--red)}.logo-mark{display:grid;place-items:center;width:34px;height:34px;background:var(--red);font-weight:800;font-size:19px;clip-path:polygon(18% 0,100% 0,82% 100%,0 100%)}nav{display:flex;gap:36px}nav a,footer a{color:#aaa;text-decoration:none;font-size:13px;transition:.2s}nav a:hover,footer a:hover{color:#fff}.button{border:0;border-radius:999px;padding:16px 25px;background:var(--red);color:#fff;font:700 14px Manrope;cursor:pointer;box-shadow:0 10px 35px rgba(243,40,40,.2);transition:transform .2s,background .2s}.button:hover{transform:translateY(-2px);background:#ff3838}.button span{margin-left:16px}.button-small{padding:11px 21px}.hero{min-height:780px;height:100vh;position:relative;display:flex;flex-direction:column;justify-content:center;padding:130px 9vw 60px;overflow:hidden;background:radial-gradient(circle at 78% 48%,rgba(150,0,9,.3),transparent 28%)}.hero-glow{position:absolute;width:300px;height:600px;right:14vw;top:15%;background:linear-gradient(180deg,transparent,var(--red),transparent);filter:blur(100px);opacity:.17;transform:rotate(32deg);pointer-events:none}.eyebrow,.kicker{font-size:11px;font-weight:700;letter-spacing:.2em;color:#a8a8a8}.eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:22px}.eyebrow span{width:27px;height:2px;background:var(--red)}h1{font-size:clamp(58px,8vw,124px);line-height:.89;letter-spacing:-.065em;margin:0;max-width:1000px;position:relative}h1 em,.cta em{font-style:normal;color:var(--red)}.hero-copy{font-size:16px;color:#aaa;line-height:1.75;max-width:590px;margin:32px 0}.hero-actions{display:flex;align-items:center;gap:32px;position:relative;z-index:2}.text-link{font-size:13px;color:#bbb;text-decoration:none}.hero-stats{display:flex;gap:70px;margin-top:70px}.hero-stats div{display:flex;flex-direction:column}.hero-stats strong{font-size:23px}.hero-stats span{color:#777;font-size:11px;margin-top:5px}.orbit{position:absolute;border:1px solid rgba(243,40,40,.12);border-radius:50%;pointer-events:none}.orbit-one{width:520px;height:520px;right:-170px;top:170px;animation:spin 20s linear infinite}.orbit-two{width:760px;height:760px;right:-280px;top:50px;border-style:dashed;animation:spin 40s linear infinite reverse}@keyframes spin{to{transform:rotate(360deg)}}.marquee{background:var(--red);color:#fff;overflow:hidden;white-space:nowrap;padding:15px 0;transform:rotate(-1deg) scale(1.02);font-size:12px;font-weight:800;letter-spacing:.18em}.marquee div{display:inline-block;animation:marquee 22s linear infinite}.marquee i{padding:0 24px}@keyframes marquee{to{transform:translateX(-50%)}}.section{padding:120px 7vw}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:50px}.section-heading h2,.cta h2{font-size:clamp(38px,5vw,68px);letter-spacing:-.055em;line-height:1;margin:12px 0 0}.section-heading>p{max-width:390px;color:#888;font-size:14px;line-height:1.7}.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.service-card{background:linear-gradient(145deg,#131313,#0c0c0c);border:1px solid #202020;border-radius:var(--radius);padding:26px;min-height:255px;display:flex;flex-direction:column;cursor:pointer;position:relative;overflow:hidden;transition:.3s}.service-card:hover{transform:translateY(-5px);border-color:#642126}.service-card:after{content:"";position:absolute;width:140px;height:140px;border-radius:50%;background:var(--red);filter:blur(75px);opacity:0;right:-50px;top:-50px;transition:.3s}.service-card:hover:after{opacity:.18}.service-card .icon{width:43px;height:43px;display:grid;place-items:center;border-radius:12px;background:#1e1112;color:var(--red);font-size:20px}.service-card h3{font-size:19px;margin:23px 0 8px}.service-card p{color:#777;font-size:12px;line-height:1.55;margin:0}.service-meta{margin-top:auto;display:flex;justify-content:space-between;align-items:end}.service-meta strong{font-size:16px}.service-meta span{color:#666;font-size:11px}.service-arrow{color:var(--red)!important;font-size:22px!important}.benefits{background:#0b0b0b}.benefit-grid{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);border-left:1px solid var(--line)}.benefit-grid article{padding:35px 28px;min-height:230px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.benefit-grid article>span{font-size:11px;color:var(--red)}.benefit-grid h3{font-size:17px;margin:50px 0 12px}.benefit-grid p{font-size:12px;line-height:1.7;color:#777}.steps{display:flex;align-items:center;justify-content:space-between}.steps div{display:flex;align-items:center;gap:15px}.steps b{width:48px;height:48px;display:grid;place-items:center;background:#171717;border-radius:50%;color:var(--red)}.steps span{display:flex;flex-direction:column;gap:5px}.steps strong{font-size:13px}.steps small{color:#777;font-size:10px}.steps>i{color:#3b3b3b;font-style:normal}.cta{text-align:center;padding:140px 6vw;background:radial-gradient(circle at center,rgba(148,0,10,.24),transparent 48%);border-top:1px solid #1b1b1b}.cta .button{margin-top:42px}footer{padding:35px 6vw;border-top:1px solid #1f1f1f;display:flex;align-items:center;justify-content:space-between}footer p{font-size:11px;color:#666}.modal{position:fixed;inset:0;z-index:50;display:none}.modal.open{display:block}.modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.78);backdrop-filter:blur(12px)}.modal-panel{position:absolute;right:0;top:0;height:100%;width:min(720px,100%);background:#0e0e0e;border-left:1px solid #2a2a2a;padding:38px 44px;overflow-y:auto;animation:slide .35s ease}@keyframes slide{from{transform:translateX(100%)}}.modal-close{position:absolute;right:30px;top:25px;background:none;border:0;color:#777;font-size:32px;cursor:pointer}.progress{display:flex;gap:7px;margin-bottom:42px;padding-right:50px}.progress span{height:3px;flex:1;background:#272727;border-radius:9px}.progress span.active{background:var(--red)}.modal h2{font-size:35px;letter-spacing:-.04em;margin:0 0 10px}.modal .intro{color:#777;font-size:13px;margin-bottom:30px}.choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.choice,.plan{border:1px solid #292929;background:#131313;border-radius:15px;padding:18px;color:#fff;text-align:left;cursor:pointer;font-family:inherit;transition:.2s}.choice:hover,.plan:hover,.choice.selected,.plan.selected{border-color:var(--red);background:#1a1011}.choice b{display:block;font-size:13px;margin-bottom:6px}.choice small{color:#777}.plans{display:grid;gap:10px}.plan{display:flex;justify-content:space-between;align-items:center}.plan div{display:flex;flex-direction:column;gap:5px}.plan b{font-size:14px}.plan small{color:#777}.plan strong{color:var(--red)}.modal-actions{display:flex;gap:10px;margin-top:28px}.modal-actions .button{flex:1}.button-ghost{background:#1c1c1c;box-shadow:none}.field{margin:16px 0}.field label{font-size:11px;color:#888;display:block;margin-bottom:7px}.field input,.field textarea,.field select{width:100%;border:1px solid #292929;background:#151515;color:#fff;border-radius:11px;padding:13px 14px;font:12px Manrope;outline:none}.field textarea{min-height:78px;resize:vertical}.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--red)}.palette{display:flex;gap:8px;flex-wrap:wrap;max-width:340px}.color-dot{width:28px;height:28px;border-radius:50%;border:3px solid #111;outline:1px solid #333;cursor:pointer;transition:transform .15s,outline .15s}.color-dot:hover{transform:scale(1.18)}.color-dot.selected{outline:2px solid #fff;transform:scale(1.18)}.template-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;max-height:360px;overflow-y:auto;overflow-x:hidden;padding-right:5px;align-content:start;grid-auto-rows:auto}.template{aspect-ratio:1;border:1px solid #3a3a3a;border-radius:10px;background:linear-gradient(135deg,#1a0e0e,#0c0c0c);display:block;width:100%;padding:0;color:#777;font-weight:800;cursor:pointer;overflow:hidden;position:relative;isolation:isolate;font-family:inherit}.template img{width:100%;height:100%;object-fit:cover;display:block;position:absolute;inset:0;z-index:1}.template span{position:absolute;z-index:2;background:rgba(0,0,0,.72);padding:3px 7px;border-radius:6px;pointer-events:none}.template-empty{inset:0;display:grid;place-items:center;font-size:8px;letter-spacing:.1em}.template.selected{border:2px solid var(--red)}.payment-box{border:1px solid #292929;background:#141414;border-radius:16px;padding:20px;margin:12px 0}.payment-box .pay-head{display:flex;justify-content:space-between;margin-bottom:14px}.payment-box p{font-size:13px;margin:7px 0;word-break:break-all}.copy{background:#242424;border:0;color:#aaa;border-radius:7px;padding:6px 9px;cursor:pointer}.summary{background:#171717;border-radius:14px;padding:17px;margin:20px 0;font-size:12px}.summary div{display:flex;justify-content:space-between;margin:7px 0;color:#888}.summary b{color:#fff}.status{text-align:center;padding-top:30px}.status-icon{width:85px;height:85px;margin:0 auto 25px;border-radius:50%;display:grid;place-items:center;background:#211012;color:var(--red);font-size:32px;box-shadow:0 0 60px rgba(243,40,40,.17);animation:pulse 2s infinite}@keyframes pulse{50%{transform:scale(1.07)}}.timeline{margin:35px auto;text-align:left;max-width:360px}.timeline-item{display:flex;gap:15px;min-height:63px;color:#555}.timeline-item i{width:16px;height:16px;border:2px solid #3a3a3a;border-radius:50%;flex:0 0 auto;position:relative}.timeline-item:not(:last-child) i:after{content:"";position:absolute;top:16px;left:5px;width:2px;height:48px;background:#292929}.timeline-item.done,.timeline-item.active{color:#fff}.timeline-item.done i,.timeline-item.active i{border-color:var(--red);background:var(--red)}.timeline-item span{font-size:12px}.telegram-note{font-size:11px;color:#777;line-height:1.6}.toast{position:fixed;z-index:100;bottom:30px;left:50%;transform:translate(-50%,30px);opacity:0;background:#fff;color:#111;border-radius:99px;padding:10px 17px;font-size:12px;transition:.3s}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:900px){nav{display:none}.hero{padding-left:6vw}.hero-stats{gap:30px}.service-grid{grid-template-columns:repeat(2,1fr)}.benefit-grid{grid-template-columns:repeat(2,1fr)}.steps{display:grid;grid-template-columns:1fr 1fr;gap:30px}.steps>i{display:none}
  /* Модалка на планшетах */
  .modal-panel{width:min(600px,100%)}
  .modal h2{font-size:30px}
  .choice-grid{grid-template-columns:1fr}
  .plans{gap:9px}
  .plan{padding:16px}
}

@media(max-width:580px){.header{height:70px;padding:0 5vw}.hero{min-height:720px;padding:110px 6vw 50px}.hero-copy{font-size:14px}.hero-actions{align-items:flex-start;flex-direction:column;gap:20px}.hero-stats{gap:20px;flex-wrap:wrap;margin-top:48px}.hero-stats strong{font-size:18px}.section{padding:80px 5vw}.section-heading{display:block}.section-heading>p{margin-top:18px}.service-grid,.benefit-grid{grid-template-columns:1fr}.service-card{min-height:225px}.benefit-grid article{min-height:180px}.benefit-grid h3{margin-top:30px}.steps{grid-template-columns:1fr}.cta{padding:100px 5vw}footer{gap:22px;flex-direction:column;text-align:center}
  /* Модалка на мобильных */
  .modal-panel{padding:30px 20px;width:100%}
  .modal-close{font-size:28px;right:16px;top:18px}
  .progress{margin-bottom:28px;padding-right:40px}
  .modal h2{font-size:26px;margin-bottom:8px}
  .modal .intro{font-size:12px;margin-bottom:24px;line-height:1.6}
  .choice-grid{grid-template-columns:1fr;gap:8px}
  .choice,.plan{padding:15px;border-radius:12px}
  .choice b{font-size:12px}
  .choice small{font-size:11px}
  .plan b{font-size:13px}
  .plan small{font-size:11px}
  .plan strong{font-size:15px}
  .modal-actions{margin-top:24px;gap:8px}
  .modal-actions .button{font-size:13px;padding:14px 20px}
  .field{margin:14px 0}
  .field label{font-size:10px}
  .field input,.field textarea,.field select{font-size:13px;padding:12px 13px;border-radius:10px}
  .palette{gap:7px}
  .color-dot{width:26px;height:26px}
  .template-grid{grid-template-columns:repeat(2,1fr);max-height:min(52vh,400px);gap:10px;align-content:start}
  .template-preview{height:220px}
  .modal-actions{position:sticky;bottom:-20px;background:#0e0e0e;padding:16px 0;z-index:5;border-top:1px solid #1a1a1a;margin-top:30px}
  .plan{padding:14px}
  .payment-box{padding:15px;margin:10px 0;border-radius:12px}
  .payment-box p{font-size:12px}
  .pay-head{gap:8px;flex-wrap:wrap}
  .pay-head b{font-size:12px}
  .copy{font-size:10px;padding:5px 8px}
  .summary{padding:14px;font-size:11px;margin:16px 0}
  .summary div{margin:6px 0}
  .telegram-note{font-size:10px;line-height:1.5;margin:16px 0}
  .status{padding-top:20px}
  .status-icon{width:70px;height:70px;font-size:28px;margin-bottom:20px}
  .status h2{font-size:24px}
  .status .intro{font-size:12px}
  .timeline{margin:28px auto;max-width:100%}
  .timeline-item{min-height:56px}
  .timeline-item i{width:14px;height:14px}
  .timeline-item:not(:last-child) i:after{height:42px;left:4px}
  .timeline-item span{font-size:11px}
}

/* Template gallery and enhanced mobile layout */
.template-sale{display:flex;align-items:center;gap:10px;margin-bottom:14px;flex-wrap:wrap}
.template-sale span{font-weight:800;font-size:18px}
.template-sale s{color:#666}
.template-sale b{font-size:10px;background:var(--red);padding:4px 7px;border-radius:99px}
.template-preview{height:270px;border:1px solid #292929;border-radius:16px;background:#111;display:grid;place-items:center;position:relative;overflow:hidden;margin-bottom:12px}
.template-preview img{width:100%;height:100%;object-fit:contain;background:#090909}
.preview-placeholder{color:#666;font-size:12px;text-align:center;padding:20px}
.preview-number{position:absolute;z-index:2;left:12px;top:12px;background:var(--red);padding:6px 10px;border-radius:7px;font-size:10px;font-weight:800}
.preview-selected{position:absolute;right:12px;bottom:12px;background:#fff;color:#111;padding:6px 10px;border-radius:7px;font-size:10px}
.template-grid{grid-template-columns:repeat(4,1fr);gap:8px;max-height:440px;padding:2px 5px 2px 2px;align-content:start}
.template img.missing{display:none}
.template-empty{font-size:8px;letter-spacing:.1em}
.template-number{z-index:2!important;top:6px;left:6px;background:rgba(0,0,0,.86)!important;color:#fff;padding:4px 6px!important;border-radius:5px!important;font-size:9px}
.template.selected{box-shadow:0 0 0 2px rgba(243,40,40,.18)}
.template.banners{aspect-ratio:4/3}.template.avatars{aspect-ratio:1}.template-preview.avatars{max-width:430px;margin-left:auto;margin-right:auto;aspect-ratio:1;height:auto}.template-preview.banners{aspect-ratio:4/3;height:auto}
.template.avatars,.template.banners{min-height:64px;-webkit-touch-callout:none;touch-action:manipulation}
@media(max-width:580px){
  .template.banners{aspect-ratio:4/3;min-height:80px}
  .template.avatars{aspect-ratio:1;min-height:80px}
}

/* Планшеты - шаблоны */
@media(max-width:900px) and (min-width:581px){
  .template-grid{grid-template-columns:repeat(3,1fr);max-height:400px}
  .template-preview{height:240px}
}

/* Мобильные - шаблоны */
@media(max-width:580px){
  .template-sale{gap:8px;margin-bottom:12px}
  .template-sale span{font-size:16px}
  .template-sale s{font-size:13px}
  .template-sale b{font-size:9px;padding:3px 6px}
  .header .button-small{padding:10px 15px}
  .hero{height:auto;padding-bottom:60px}
  .hero h1{font-size:50px}
  .hero-actions .button{width:100%;position:relative;z-index:10;touch-action:manipulation;-webkit-tap-highlight-color:transparent;cursor:pointer}
  .hero-stats{display:grid;grid-template-columns:1fr 1fr;gap:24px}
  .section{padding:72px 5vw}
  .service-card{min-height:205px}
  .template-grid{grid-template-columns:repeat(2,1fr);max-height:min(52vh,380px);gap:10px;align-content:start}
  .template-preview{height:200px;border-radius:12px}
  .preview-number{font-size:9px;padding:5px 8px;left:8px;top:8px}
  .preview-selected{font-size:9px;padding:5px 8px;right:8px;bottom:8px}
  .preview-placeholder{font-size:11px;padding:16px}
}


/* ─── РАЗДЕЛ ШАБЛОНОВ НА ГЛАВНОЙ ─────────────────────────────────────────── */
.templates-section{padding:120px 7vw;background:#0a0a0a}
.templates-tabs{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:36px}
.templates-tab{border:1px solid #252525;background:#111;color:#777;padding:10px 20px;border-radius:99px;font:700 12px Manrope;cursor:pointer;transition:.18s}
.templates-tab:hover{border-color:#444;color:#ccc}
.templates-tab.active{background:var(--red);border-color:var(--red);color:#fff}
.templates-showcase{display:none}
.templates-showcase.active{display:block}
.templates-grid-home{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}
.tpl-card{aspect-ratio:1;border:1px solid #1e1e1e;border-radius:14px;background:linear-gradient(135deg,#181010,#0c0c0c);overflow:hidden;position:relative;isolation:isolate;cursor:pointer;transition:.25s}
.tpl-card:hover{transform:translateY(-4px);border-color:#642126}
.tpl-card img{width:100%;height:100%;object-fit:cover;display:block;position:relative;z-index:1;transition:.35s}
.tpl-card:hover img{transform:scale(1.06)}
.tpl-card .tpl-num{position:absolute;top:8px;left:8px;z-index:2;background:rgba(0,0,0,.82);padding:4px 8px;border-radius:6px;font-size:9px;font-weight:800;color:#aaa;pointer-events:none}
.tpl-card.tpl-banner{aspect-ratio:4/3}
.tpl-card .tpl-overlay{position:absolute;inset:0;background:rgba(0,0,0,0);display:flex;align-items:flex-end;padding:10px;z-index:3;transition:.25s;pointer-events:none}
.tpl-card:hover .tpl-overlay{background:rgba(0,0,0,.45)}
.tpl-overlay-btn{opacity:0;transform:translateY(6px);background:var(--red);color:#fff;border:0;border-radius:8px;padding:7px 12px;font:700 11px Manrope;cursor:pointer;width:100%;transition:.2s;pointer-events:none}
.tpl-card:hover .tpl-overlay-btn{opacity:1;transform:none;pointer-events:auto}
.tpl-empty-placeholder{display:grid;place-items:center;height:100%;color:#3a3a3a;font-size:10px;font-weight:800;letter-spacing:.12em;text-align:center;padding:10px}
.templates-cta-row{display:flex;align-items:center;justify-content:space-between;margin-top:28px;flex-wrap:wrap;gap:14px}
.templates-count{font-size:12px;color:#555}
.templates-count b{color:#888}

/* Планшеты - шаблоны на главной */
@media(max-width:900px) and (min-width:581px){
  .templates-section{padding:100px 6vw}
  .templates-tabs{gap:8px;margin-bottom:30px}
  .templates-tab{padding:9px 18px;font-size:11px}
  .templates-grid-home{grid-template-columns:repeat(4,1fr);gap:9px}
  .tpl-card{border-radius:12px}
  .tpl-card .tpl-num{font-size:8px;padding:3px 7px}
  .tpl-overlay-btn{font-size:10px;padding:6px 10px}
  .templates-cta-row{margin-top:24px;gap:12px}
  .templates-count{font-size:11px}
}

/* Мобильные - шаблоны на главной */
@media(max-width:580px){
  .templates-section{padding:80px 5vw}
  .templates-tabs{gap:6px;margin-bottom:24px}
  .templates-tab{padding:8px 14px;font-size:10px;border-radius:20px}
  .templates-grid-home{grid-template-columns:repeat(2,1fr);gap:8px}
  .tpl-card{border-radius:11px}
  .tpl-card .tpl-num{font-size:8px;padding:3px 6px;top:6px;left:6px}
  .tpl-card .tpl-overlay{padding:8px}
  .tpl-overlay-btn{opacity:1;transform:none;pointer-events:auto;font-size:10px;padding:6px 8px;border-radius:6px}
  .tpl-empty-placeholder{font-size:9px;padding:8px}
  .templates-cta-row{margin-top:20px;gap:10px;flex-direction:column;align-items:stretch}
  .templates-count{font-size:11px;text-align:center}
  .templates-cta-row .button{width:100%}
}

/* ─── РАЗДЕЛ ПОДПИСОК ────────────────────────────────────────────────────── */
.subscriptions-section{padding:120px 7vw}
.sub-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:0}
.sub-card{background:linear-gradient(145deg,#131313,#0c0c0c);border:1px solid #202020;border-radius:var(--radius);padding:32px 28px;display:flex;flex-direction:column;position:relative;overflow:hidden;transition:.3s}
.sub-card:hover{transform:translateY(-5px);border-color:#642126}
.sub-card.sub-popular{border-color:var(--red);background:linear-gradient(145deg,#1a0d0d,#0e0a0a)}
.sub-card.sub-popular:after{content:"ХИТ";position:absolute;top:20px;right:20px;background:var(--red);color:#fff;font-size:9px;font-weight:800;letter-spacing:.15em;padding:4px 10px;border-radius:99px}
.sub-card .sub-icon{font-size:28px;margin-bottom:16px}
.sub-card h3{font-size:20px;margin:0 0 8px;letter-spacing:-.03em}
.sub-card .sub-desc{font-size:12px;color:#777;line-height:1.6;margin:0 0 24px;flex:1}
.sub-price{margin-bottom:20px}
.sub-price strong{font-size:32px;font-weight:800;letter-spacing:-.04em;color:var(--red)}
.sub-price span{font-size:12px;color:#666;margin-left:4px}
.sub-features{list-style:none;padding:0;margin:0 0 28px;display:flex;flex-direction:column;gap:8px}
.sub-features li{font-size:12px;color:#888;display:flex;align-items:center;gap:8px}
.sub-features li:before{content:"✓";color:var(--red);font-weight:800;flex-shrink:0}
.sub-btn{border:0;border-radius:999px;padding:14px 20px;background:var(--red);color:#fff;font:700 13px Manrope;cursor:pointer;transition:transform .2s,background .2s;width:100%}
.sub-btn:hover{transform:translateY(-2px);background:#ff3838}
.sub-card:not(.sub-popular) .sub-btn{background:#1c1c1c;color:#ccc;box-shadow:none;border:1px solid #2e2e2e}
.sub-card:not(.sub-popular) .sub-btn:hover{background:#252525;color:#fff}

/* Планшеты - подписки */
@media(max-width:900px) and (min-width:581px){
  .subscriptions-section{padding:100px 6vw}
  .sub-grid{grid-template-columns:repeat(2,1fr);gap:14px}
  .sub-card{padding:28px 24px}
  .sub-card .sub-icon{font-size:26px;margin-bottom:14px}
  .sub-card h3{font-size:18px}
  .sub-card .sub-desc{font-size:11px;margin-bottom:20px}
  .sub-price strong{font-size:28px}
  .sub-features{margin-bottom:24px;gap:7px}
  .sub-features li{font-size:11px}
  .sub-btn{padding:13px 18px;font-size:12px}
}

/* Мобильные - подписки */
@media(max-width:580px){
  .subscriptions-section{padding:80px 5vw}
  .sub-grid{grid-template-columns:1fr;gap:12px}
  .sub-card{padding:24px 20px;border-radius:18px}
  .sub-card.sub-popular:after{top:16px;right:16px;font-size:8px;padding:3px 8px}
  .sub-card .sub-icon{font-size:24px;margin-bottom:12px}
  .sub-card h3{font-size:17px;margin-bottom:6px}
  .sub-card .sub-desc{font-size:11px;line-height:1.55;margin-bottom:18px}
  .sub-price{margin-bottom:16px}
  .sub-price strong{font-size:26px}
  .sub-price span{font-size:11px}
  .sub-features{margin-bottom:20px;gap:6px}
  .sub-features li{font-size:11px;gap:6px}
  .sub-btn{padding:12px 18px;font-size:12px}
}

/* ─── ПРОМОКОД В ФОРМЕ ЗАКАЗА ────────────────────────────────────────────── */
.promo-wrap{display:flex;gap:8px;align-items:flex-end}
.promo-wrap .field{flex:1;margin:0}
.promo-apply{border:0;border-radius:11px;padding:13px 16px;background:#1c1c1c;color:#aaa;font:700 12px Manrope;cursor:pointer;white-space:nowrap;border:1px solid #2e2e2e;transition:.18s;height:46px;align-self:flex-end}
.promo-apply:hover{background:#252525;color:#fff}
.promo-msg{font-size:11px;margin-top:6px;min-height:16px}
.promo-msg.ok{color:#00dd66}
.promo-msg.err{color:#f32828}
.promo-applied-badge{display:inline-flex;align-items:center;gap:6px;background:rgba(0,221,102,.12);border:1px solid rgba(0,221,102,.3);border-radius:99px;padding:4px 12px;font-size:11px;font-weight:700;color:#00dd66;margin-top:8px}

/* Адаптивность промокодов */
@media(max-width:580px){
  .promo-wrap{flex-direction:column;align-items:stretch;gap:8px}
  .promo-wrap .field{width:100%}
  .promo-apply{width:100%;height:auto;padding:12px 16px;align-self:auto}
  .promo-msg{font-size:10px}
  .promo-applied-badge{font-size:10px;padding:3px 10px}
}

/* ─── ПРОМОКОДЫ В АДМИН-ПАНЕЛИ ───────────────────────────────────────────── */
.promo-tag{display:inline-flex;align-items:center;gap:5px;background:rgba(243,40,40,.12);border:1px solid rgba(243,40,40,.3);border-radius:99px;padding:3px 9px;font-size:10px;font-weight:800;color:#f32828;margin-left:6px;vertical-align:middle}

/* ─── ОПИСАНИЕ УСЛУГИ В МОДАЛКЕ ──────────────────────────────────────────── */
.svc-desc{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:24px}
.svc-desc-what,.svc-desc-diff{background:#111;border:1px solid #222;border-radius:14px;padding:16px 18px}
.svc-desc-diff{border-color:#2a1212;background:#130d0d}
.svc-desc-label{font-size:10px;font-weight:800;letter-spacing:.16em;color:#666;margin-bottom:10px}
.svc-desc-label--red{color:var(--red)}
.svc-desc-what ul{margin:0;padding:0 0 0 14px;list-style:none}
.svc-desc-what ul li{font-size:12px;color:#aaa;line-height:1.65;margin-bottom:5px;position:relative;padding-left:14px}
.svc-desc-what ul li:before{content:"✓";position:absolute;left:0;color:var(--red);font-weight:800}
.svc-desc-diff p{font-size:12px;color:#aaa;line-height:1.7;margin:0}

/* Планшеты (portrait) */
@media(max-width:900px) and (min-width:581px){
  .svc-desc{grid-template-columns:1fr;gap:10px}
  .svc-desc-what,.svc-desc-diff{padding:14px 16px}
}

/* Мобильные */
@media(max-width:580px){
  .svc-desc{grid-template-columns:1fr;gap:10px;margin-bottom:20px}
  .svc-desc-what,.svc-desc-diff{padding:12px 14px}
  .svc-desc-label{font-size:9px}
  .svc-desc-what ul li,.svc-desc-diff p{font-size:11px}
}

/* ─── СРАВНЕНИЕ ПАКЕТОВ ───────────────────────────────────────────────────── */
.plan{position:relative}
.plan-tag{position:absolute;top:-1px;right:12px;background:var(--red);color:#fff;font-size:9px;font-weight:800;letter-spacing:.12em;padding:3px 9px;border-radius:0 0 8px 8px;pointer-events:none}
.plan.selected{border-color:var(--red);background:#1a0d0d}

.plan-compare{max-height:0;overflow:hidden;transition:max-height .35s ease,opacity .25s ease;opacity:0;margin-top:4px}
.plan-compare.visible{max-height:800px;opacity:1;margin-bottom:4px}

.cmp-box{background:#0f0d0d;border:1px solid#2e1414;border-radius:14px;padding:18px 20px}
.cmp-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.cmp-name{font-weight:800;font-size:15px}
.cmp-price{color:var(--red);font-weight:800;font-size:17px}

.cmp-why{background:#1a1112;border:1px solid #2a1a1a;border-radius:10px;padding:12px 14px;margin-bottom:14px}
.cmp-why-label{font-size:10px;font-weight:800;letter-spacing:.15em;color:var(--red);margin-bottom:7px}
.cmp-why p{font-size:11px;color:#bbb;line-height:1.65;margin:0}

.cmp-vs{font-size:11px;color:#666;margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid#1e1e1e}
.cmp-vs b{color:#999}

.cmp-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:7px}
.cmp-list li{font-size:12px;line-height:1.5;padding-left:20px;position:relative}
.cmp-added{color:#f5f3f0}
.cmp-added:before{content:"✦";position:absolute;left:0;color:var(--red);font-weight:800;font-size:11px}
.cmp-kept{color:#555}
.cmp-kept:before{content:"✓";position:absolute;left:0;color:#3a3a3a;font-weight:800}

#planConfirm{transition:opacity .2s}

/* Планшеты */
@media(max-width:900px) and (min-width:581px){
  .plan-compare.visible{max-height:1000px}
  .cmp-box{padding:16px 18px}
  .cmp-name{font-size:14px}
  .cmp-price{font-size:16px}
  .cmp-why{padding:11px 13px}
  .cmp-why-label{font-size:9px}
  .cmp-why p{font-size:10px}
  .cmp-list li{font-size:11px}
}

/* Мобильные */
@media(max-width:580px){
  .plan-tag{font-size:8px;padding:2px 7px}
  .plan-compare.visible{max-height:1200px}
  .cmp-box{padding:14px 15px}
  .cmp-header{flex-direction:column;align-items:flex-start;gap:6px;margin-bottom:10px}
  .cmp-name{font-size:13px}
  .cmp-price{font-size:15px}
  .cmp-why{padding:10px 12px;margin-bottom:12px}
  .cmp-why-label{font-size:9px;letter-spacing:.12em}
  .cmp-why p{font-size:10px;line-height:1.6}
  .cmp-vs{font-size:10px;margin-bottom:8px;padding-bottom:8px}
  .cmp-list{gap:6px}
  .cmp-list li{font-size:11px;padding-left:18px;line-height:1.6}
  .cmp-added:before,.cmp-kept:before{font-size:10px}
}

/* ─── CRYSTALPAY БЛОК В ФОРМЕ ОПЛАТЫ ─────────────────────────────────────── */
.crystalpay-box,.anypay-box{border-color:#2a1f0a!important;background:linear-gradient(135deg,#141008,#0e0e0e)!important}
.pay-badge{background:#f5a623;color:#111;font-size:9px;font-weight:800;letter-spacing:.1em;padding:3px 8px;border-radius:99px;margin-left:8px;vertical-align:middle}

/* ─── МЕТОДЫ ОПЛАТЫ ──────────────────────────────────────────────────────── */
.crystalpay-methods,.anypay-methods{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-bottom:10px}
.crystalpay-methods span,.anypay-methods span{background:#161616;border:1px solid #222;border-radius:8px;font-size:11px;color:#888;padding:5px 12px}

/* ─── GATE СОГЛАСИЯ С УСЛОВИЯМИ ─────────────────────────────────────────── */
#termsGate{position:fixed;inset:0;background:rgba(0,0,0,.85);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);z-index:9999;display:flex;align-items:center;justify-content:center;padding:20px;animation:tgFadeIn .2s ease}
@keyframes tgFadeIn{from{opacity:0}to{opacity:1}}

.tg-box{background:#0e0e0e;border:1px solid #222;border-radius:20px;padding:36px 32px;max-width:460px;width:100%;display:flex;flex-direction:column;gap:16px;animation:tgSlideUp .25s ease}
@keyframes tgSlideUp{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}

.tg-icon{font-size:32px;line-height:1}
.tg-box h3{font-size:20px;font-weight:800;letter-spacing:-.03em;margin:0}
.tg-box p{font-size:13px;color:#888;line-height:1.7;margin:0}

.tg-link{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;color:var(--red);text-decoration:none;letter-spacing:.04em;transition:.15s}
.tg-link:hover{opacity:.75}

/* чекбокс */
.tg-check{display:flex;align-items:flex-start;gap:12px;cursor:pointer;user-select:none;padding:14px 16px;background:#111;border:1px solid #1e1e1e;border-radius:12px;transition:.15s}
.tg-check:hover{border-color:#2e2e2e}
.tg-check input{display:none}
.tg-checkmark{width:20px;height:20px;min-width:20px;border:2px solid #333;border-radius:6px;display:flex;align-items:center;justify-content:center;transition:.15s;margin-top:1px}
.tg-check input:checked ~ .tg-checkmark{background:var(--red);border-color:var(--red)}
.tg-check input:checked ~ .tg-checkmark:after{content:"✓";font-size:12px;font-weight:800;color:#fff}
.tg-check span:last-child{font-size:12px;color:#aaa;line-height:1.6}

.tg-actions{display:flex;gap:10px;margin-top:4px}
.tg-actions .button{flex:1}
.tg-actions .button:disabled{opacity:.35;cursor:not-allowed;pointer-events:none}

@media(max-width:480px){.tg-box{padding:24px 20px}.tg-actions{flex-direction:column-reverse}}


/* ─── ДОПОЛНИТЕЛЬНАЯ АДАПТИВНОСТЬ ДЛЯ ВСЕХ УСТРОЙСТВ ──────────────────── */

/* Улучшенная читаемость на маленьких экранах */
@media(max-width:380px){
  body{font-size:14px}
  .header{height:65px;padding:0 4vw}
  .logo{font-size:13px;gap:9px}
  .logo-mark{width:30px;height:30px;font-size:17px}
  .button-small{padding:9px 14px;font-size:12px}
  
  .hero{padding:100px 5vw 50px}
  h1{font-size:44px}
  .hero-copy{font-size:13px}
  .hero-stats strong{font-size:16px}
  .hero-stats span{font-size:10px}
  
  .section{padding:70px 5vw}
  .section-heading h2,.cta h2{font-size:32px}
  .kicker,.eyebrow{font-size:10px}
  
  .service-card{padding:22px;min-height:200px}
  .service-card .icon{width:38px;height:38px;font-size:18px}
  .service-card h3{font-size:17px}
  .service-card p{font-size:11px}
  
  .benefit-grid article{padding:28px 22px;min-height:170px}
  .benefit-grid h3{font-size:16px;margin-top:25px}
  .benefit-grid p{font-size:11px}
  
  .steps b{width:42px;height:42px;font-size:16px}
  .steps strong{font-size:12px}
  .steps small{font-size:9px}
  
  .cta{padding:90px 5vw}
  .cta .kicker{font-size:10px}
  .cta h2{font-size:32px}
  .cta .button{padding:14px 22px;font-size:13px}
  
  footer{padding:30px 5vw}
  footer p{font-size:10px}
  footer a{font-size:12px}
  
  /* Модалка на очень маленьких экранах */
  .modal-panel{padding:24px 16px}
  .modal h2{font-size:24px}
  .modal .intro{font-size:11px}
  .choice,.plan{padding:13px}
  .choice b,.plan b{font-size:12px}
  .choice small,.plan small{font-size:10px}
  .field input,.field textarea{font-size:12px;padding:11px 12px}
  .button{font-size:12px;padding:13px 18px}
  
  .tg-box{padding:20px 16px}
  .tg-box h3{font-size:16px}
  .tg-box p{font-size:11px}
  .tg-check{padding:11px 12px}
  .tg-check span:last-child{font-size:10px}
}

/* Ландшафтная ориентация на мобильных */
@media(max-height:500px) and (orientation:landscape){
  .hero{min-height:auto;padding:80px 6vw 40px}
  h1{font-size:38px}
  .hero-stats{margin-top:35px;gap:18px}
  .section{padding:60px 5vw}
  .modal-panel{padding:20px 16px;overflow-y:auto}
  #termsGate{align-items:flex-start;overflow-y:auto}
  .tg-box{margin:20px auto;max-width:500px}
}

/* Планшеты в портретной ориентации */
@media(min-width:581px) and (max-width:900px) and (orientation:portrait){
  .hero{min-height:650px}
  .service-grid{grid-template-columns:repeat(2,1fr);gap:12px}
  .service-card{min-height:240px}
  .benefit-grid{grid-template-columns:repeat(2,1fr)}
}

/* Планшеты в ландшафтной ориентации */
@media(min-width:581px) and (max-width:1200px) and (orientation:landscape){
  .hero{min-height:580px;padding:120px 7vw 50px}
  .service-grid{grid-template-columns:repeat(3,1fr)}
  .benefit-grid{grid-template-columns:repeat(4,1fr)}
}

/* Большие экраны - ограничение ширины контента */
@media(min-width:1600px){
  .section{padding-left:calc((100vw - 1400px)/2);padding-right:calc((100vw - 1400px)/2)}
  .hero{padding-left:calc((100vw - 1400px)/2);padding-right:calc((100vw - 1400px)/2)}
  .header{padding-left:calc((100vw - 1400px)/2);padding-right:calc((100vw - 1400px)/2)}
}

/* Улучшение производительности анимаций на мобильных */
@media(max-width:900px){
  .service-card:hover,.tpl-card:hover,.sub-card:hover{transform:none}
  .orbit{display:none}
  .hero-glow{opacity:.12}
}

/* Поддержка touch-устройств */
@media(hover:none) and (pointer:coarse){
  .button:hover{transform:none}
  .service-card:hover:after{opacity:0}
  .tpl-card:hover img{transform:none}
  .tpl-card .tpl-overlay-btn{opacity:1;pointer-events:auto}
  .choice:hover,.plan:hover{border-color:#292929;background:#131313}
  .choice.selected,.plan.selected{border-color:var(--red);background:#1a1011}
}

/* ─── БУРГЕР-КНОПКА И МОБИЛЬНОЕ МЕНЮ ────────────────────────────────────── */
.burger-btn{
  display:none;
  flex-direction:column;
  gap:5px;
  background:none;
  border:0;
  padding:8px;
  cursor:pointer;
  z-index:101;
}

.burger-btn span{
  display:block;
  width:24px;
  height:2px;
  background:var(--white);
  border-radius:2px;
  transition:.3s;
}

.burger-btn:hover span{
  background:var(--red);
}

/* Мобильное меню */
.mobile-menu{
  position:fixed;
  top:0;
  right:-100%;
  width:min(320px, 85vw);
  height:100%;
  background:#0a0a0a;
  border-left:1px solid #1e1e1e;
  z-index:100;
  display:flex;
  flex-direction:column;
  transition:right .3s ease;
  box-shadow:-4px 0 30px rgba(0,0,0,.5);
}

.mobile-menu.open{
  right:0;
}

.mobile-menu-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:20px 24px;
  border-bottom:1px solid #1e1e1e;
}

.mobile-menu-header .logo{
  font-size:13px;
  gap:10px;
}

.mobile-menu-header .logo-mark{
  width:32px;
  height:32px;
  font-size:18px;
}

.mobile-menu-close{
  background:none;
  border:0;
  color:#777;
  font-size:36px;
  line-height:1;
  cursor:pointer;
  padding:0;
  width:40px;
  height:40px;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:.2s;
}

.mobile-menu-close:hover{
  color:var(--red);
}

.mobile-menu-content{
  flex:1;
  overflow-y:auto;
  padding:16px 0;
}

.mobile-menu-item{
  display:flex;
  align-items:center;
  gap:16px;
  padding:16px 24px;
  color:#aaa;
  text-decoration:none;
  font-size:15px;
  font-weight:600;
  transition:.2s;
  border:0;
  background:none;
  width:100%;
  text-align:left;
  cursor:pointer;
  border-left:3px solid transparent;
}

.mobile-menu-item:hover{
  background:#111;
  color:var(--white);
  border-left-color:var(--red);
}

.mobile-menu-item svg{
  width:22px;
  height:22px;
  flex-shrink:0;
  stroke:#666;
  transition:.2s;
}

.mobile-menu-item:hover svg{
  stroke:var(--red);
}

.mobile-menu-order{
  margin-top:auto;
  background:linear-gradient(135deg, #1a0d0d, #0f0808);
  border-left:3px solid var(--red);
  color:var(--red);
  font-weight:800;
}

.mobile-menu-order svg{
  stroke:var(--red);
}

.mobile-menu-order:hover{
  background:linear-gradient(135deg, #220e0e, #140909);
}

/* Оверлей при открытом меню */
.mobile-menu::before{
  content:'';
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.75);
  backdrop-filter:blur(4px);
  opacity:0;
  pointer-events:none;
  transition:.3s;
  z-index:-1;
}

.mobile-menu.open::before{
  opacity:1;
  pointer-events:auto;
  right:min(320px, 85vw);
}

/* Показываем бургер только на мобильных */
@media(max-width:900px){
  .burger-btn{
    display:flex;
  }
  
  /* Убираем обычную навигацию */
  nav#siteNav{
    display:none;
  }
  
  /* Убираем кнопку заказать из шапки на очень маленьких экранах */
  @media(max-width:580px){
    .header-actions .button{
      display:none;
    }
  }
}

/* Анимация бургера при открытии */
.mobile-menu.open ~ header .burger-btn span:nth-child(1){
  transform:rotate(45deg) translate(7px, 7px);
}

.mobile-menu.open ~ header .burger-btn span:nth-child(2){
  opacity:0;
}

.mobile-menu.open ~ header .burger-btn span:nth-child(3){
  transform:rotate(-45deg) translate(7px, -7px);
}
