@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@500;600;700;800;900&display=swap');

html,
body,
button,
input,
textarea,
select {
  font-family: 'Nunito', Arial, sans-serif !important;
}

a {
  color: inherit !important;
  text-decoration: none !important;
}

a:hover {
  color: inherit !important;
  text-decoration: none !important;
}

.header a,
.footer a,
.btn,
.quiz-buy,
.quiz-free,
.quest-card a,
.catalog a {
  color: inherit !important;
  text-decoration: none !important;
}

.btn-primary,
.quiz-buy {
  color: #fff !important;
}

.btn-outline,
.footer a:hover,
.header a:hover {
  color: #8B5CF6 !important;
}
.footer a {
  color: #4F4960 !important;
  text-decoration: none !important;
}


:root{
  --ink:#27233d;--muted:#6d6880;--lav:#8f5cf7;--lav2:#b18cff;--mint:#7fd7bf;--mint2:#dff7ef;--yellow:#ffd766;--line:#eee7ff;--bg:#fffefd;--card:#fff;
}
*{box-sizing:border-box} html{scroll-behavior:smooth} body{margin:0;font-family:'Nunito',Arial,sans-serif;color:var(--ink);background:radial-gradient(circle at 18% 10%,rgba(231,222,255,.75),transparent 22%),radial-gradient(circle at 82% 22%,rgba(213,247,237,.55),transparent 18%),linear-gradient(180deg,#fff 0%,#fffefd 45%,#fff9fd 100%);overflow-x:hidden;font-size:16px}
a{color:inherit;text-decoration:none} button,input{font-family:inherit} .page{position:relative;min-height:100vh;overflow:hidden} .container{width:min(1200px,calc(100% - 48px));margin:0 auto}
/* doodle background */
.doodles{position:fixed;inset:0;pointer-events:none;z-index:0;opacity:.95} .doodle{position:absolute;color:#94dfcb;opacity:.48;filter:drop-shadow(0 8px 20px rgba(143,92,247,.04));animation:float 7s ease-in-out infinite} .doodle svg{display:block;width:100%;height:100%;stroke:currentColor;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round} .d1{left:24px;top:70px;width:120px;height:160px} .d2{right:30px;top:58px;width:118px;height:120px;animation-delay:-2s} .d3{left:32px;top:390px;width:100px;height:94px;color:#bda2ff;opacity:.35} .d4{right:76px;top:335px;width:88px;height:132px;color:#bca2ff;opacity:.38} .d5{left:36px;top:560px;width:120px;height:140px;color:#bca2ff;opacity:.36} .d6{right:25px;top:680px;width:130px;height:150px} .d7{left:45px;top:900px;width:125px;height:190px} .d8{right:30px;top:1040px;width:130px;height:180px} .d9{left:62%;top:112px;width:48px;height:48px;color:#f6c94f;opacity:.65} .d10{left:42%;top:210px;width:52px;height:52px;color:#bba3ff;opacity:.45} .d11{left:66%;top:570px;width:52px;height:52px;color:#bba3ff;opacity:.42} .dot{position:absolute;width:10px;height:10px;border-radius:50%;background:#c8b5ff;opacity:.46;animation:float 6s ease-in-out infinite} .dot:nth-child(12){left:6%;top:730px}.dot:nth-child(13){right:15%;top:290px;background:#ffdc74}.dot:nth-child(14){left:76%;top:1180px}.dot:nth-child(15){right:5%;top:850px}
@keyframes float{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-13px) rotate(3deg)}}
/* header */
.header{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.78);backdrop-filter:blur(18px);border-bottom:1px solid rgba(229,222,255,.78)} .nav{height:76px;display:flex;align-items:center;justify-content:space-between;gap:20px;position:relative} .brand{display:flex;align-items:center;gap:10px;min-width:180px;flex:0 0 auto} .logo{width:42px;height:42px;border-radius:13px;background:linear-gradient(135deg,#9a65ff,#ffd86a);display:grid;place-items:center;box-shadow:0 12px 28px rgba(143,92,247,.18);font-size:23px} .brand strong{display:block;font-weight:900;font-size:24px;line-height:.9;letter-spacing:-.04em} .brand span{display:block;font-size:11px;font-weight:700;color:#6f6980;margin-top:4px} .menu{display:flex;align-items:center;gap:34px;font-weight:800;color:#3a354e;white-space:nowrap;flex:1;justify-content:center;font-size:15px} .menu a{transition:.2s} .menu a:hover,.menu .active{color:var(--lav)} .cat-trigger{display:flex;gap:8px;align-items:center;color:var(--lav)} .chev{font-size:17px;transform:translateY(-1px)} .cart{display:flex;align-items:center;gap:8px;padding:12px 20px;flex:0 0 auto;border-radius:20px;background:#fff;box-shadow:0 10px 28px rgba(143,92,247,.16);font-weight:900;color:var(--lav);border:1px solid #eee7ff} .cart span:first-child{font-size:19px}
.mega{position:absolute;left:50%;top:72px;transform:translateX(-50%) translateY(8px);width:min(1200px,calc(100vw - 48px));background:rgba(255,255,255,.96);backdrop-filter:blur(16px);border:1px solid #eee7ff;border-radius:28px;padding:28px;box-shadow:0 20px 60px rgba(95,77,140,.14);opacity:0;visibility:hidden;transition:.22s;z-index:40} .menu-item:hover .mega,.mega:hover{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0)} .mega-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #eee7ff;padding:0 0 24px;margin-bottom:22px} .mega-title{font-size:28px;font-weight:900;color:var(--lav);letter-spacing:-.03em} .mega-sub{font-size:15px;color:#6f6980;font-weight:800;margin-top:4px} .mega-all{padding:15px 28px;border-radius:24px;background:#eee6ff;color:var(--lav);font-weight:900} .mega-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px} .mega-card{min-height:285px;border:1px solid #eee7ff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;justify-content:space-between;background:linear-gradient(180deg,#fff,rgba(249,246,255,.75))} .mega-card h4{margin:0 0 18px;font-size:18px;line-height:1.2;color:#6742c7;display:flex;gap:10px;align-items:center;font-weight:900} .mega-card ul{margin:0;padding:0;list-style:none;color:#665f78;font-weight:800;line-height:2.05} .theme-link{display:flex;justify-content:center;align-items:center;gap:12px;white-space:nowrap;margin-top:18px;padding:13px 16px;border-radius:15px;background:linear-gradient(135deg,#efe6ff,#e8fbf5);color:var(--lav);font-weight:900}
/* sections */
main{position:relative;z-index:1} .hero{padding:52px 0 42px} .hero-grid{display:grid;grid-template-columns:1fr 1.18fr;gap:54px;align-items:center} .eyebrow{display:inline-flex;gap:8px;align-items:center;padding:8px 14px;border-radius:99px;background:#fff;box-shadow:0 8px 25px rgba(143,92,247,.1);font-weight:900;color:var(--lav);font-size:14px;margin-bottom:20px} h1{margin:0;font-size:56px;line-height:.98;letter-spacing:-.055em;font-weight:900;color:var(--ink)} .lav{color:var(--lav)} .mint{color:var(--mint)} .hero p{font-size:18px;line-height:1.72;color:#504a63;font-weight:700;max-width:520px;margin:24px 0 30px} .actions{display:flex;align-items:center;gap:22px} .btn{border:0;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:23px;padding:18px 32px;background:linear-gradient(135deg,#8f5cf7,#9b67fb);color:#fff;font-weight:900;font-size:16px;box-shadow:0 14px 32px rgba(143,92,247,.32);transition:.22s} .btn:hover{transform:translateY(-2px);box-shadow:0 18px 42px rgba(143,92,247,.4)} .play{display:inline-flex;align-items:center;gap:12px;font-weight:900;color:#3d3753} .play-i{width:48px;height:48px;border-radius:50%;background:#fff;box-shadow:0 12px 28px rgba(143,92,247,.14);display:grid;place-items:center;color:var(--lav)} .hero-visual{position:relative;min-height:355px} .hero-photo{position:absolute;right:50px;top:0;width:560px;max-width:100%;height:330px;border-radius:48px;background:linear-gradient(135deg,rgba(248,241,255,.65),rgba(225,249,242,.7));overflow:hidden;display:flex;align-items:flex-end;justify-content:center;box-shadow:0 25px 70px rgba(132,113,166,.13)} .hero-photo img{width:560px;height:auto;object-fit:contain;display:block} .note{position:absolute;right:0;top:92px;width:182px;border-radius:26px;background:linear-gradient(135deg,#dff7ef,#eefef9);padding:20px 18px 20px 64px;font-weight:800;font-size:14px;line-height:1.4;color:#3d465a;box-shadow:0 18px 38px rgba(126,215,191,.18)} .note:before{content:'◷';position:absolute;left:20px;top:22px;width:32px;height:32px;border-radius:50%;border:3px solid #b495ff;color:#9b67fb;display:grid;place-items:center;font-size:17px} .section-title{text-align:center;color:var(--lav);font-size:30px;line-height:1.1;font-weight:900;letter-spacing:-.03em;margin:0 0 22px} .title-decor{display:flex;align-items:center;justify-content:center;gap:16px} .title-decor:before,.title-decor:after{content:'⌁';color:#b59cff;font-size:32px}
.problems{padding:8px 0 14px} .problem-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px} .problem-card{height:78px;border-radius:17px;border:1px solid #ebe4ff;background:#fff;display:flex;align-items:center;gap:18px;padding:12px 18px;box-shadow:0 12px 32px rgba(124,105,158,.06);font-weight:800;color:#4b455c} .problem-card .ico{font-size:42px;line-height:1} .ribbon{margin:12px auto 0;border-radius:20px;width:min(980px,100%);height:34px;display:grid;place-items:center;background:linear-gradient(90deg,#f6e9ff,#f8f3ff);color:#4c465d;font-weight:800;white-space:nowrap;font-size:clamp(13px,1.8vw,16px);padding:0 18px} .ribbon b{color:#2f2944}
.steps{padding:6px 0 38px} .steps-box{width:min(880px,100%);margin:0 auto;border:1px solid #ebe4ff;border-radius:22px;background:#fff;display:grid;grid-template-columns:1fr 40px 1fr 40px 1fr;align-items:center;padding:18px 26px;box-shadow:0 12px 32px rgba(124,105,158,.06)} .step{display:flex;align-items:center;gap:16px;font-weight:800;color:#3d3852;font-size:13px} .num{width:28px;height:28px;border-radius:50%;background:linear-gradient(135deg,#8f5cf7,#a980ff);color:white;display:grid;place-items:center;font-weight:900;margin-right:-3px} .step-ico{width:52px;height:52px;border-radius:50%;border:1px solid #eee7ff;display:grid;place-items:center;font-size:28px;background:#fff} .arr{color:var(--lav);font-size:24px;text-align:center} .mini-ribbon{margin:-9px auto 0;background:#dff7ef;color:#36a98e;border-radius:18px;width:max-content;max-width:100%;padding:8px 24px;font-weight:900}
.catalog{padding:10px 0 22px} .section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px} .section-head h2{margin:0;color:var(--lav);font-weight:900;font-size:25px;letter-spacing:-.03em} .small-link{padding:10px 20px;border-radius:18px;background:#f0e7ff;color:var(--lav);font-weight:900;font-size:13px} .cards{display:grid;grid-template-columns:repeat(6,1fr);gap:18px} .quest-card{background:#fff;border:1px solid #ebe4ff;border-radius:16px;overflow:hidden;box-shadow:0 12px 30px rgba(124,105,158,.07);transition:.22s;display:flex;flex-direction:column;height:100%} .quest-card:hover{transform:translateY(-4px);box-shadow:0 18px 40px rgba(143,92,247,.15)} .quest-card img{width:100%;height:154px;object-fit:cover;display:block} .quest-body{padding:11px 12px 13px;display:flex;flex-direction:column;flex:1} .type{font-size:11px;color:#746d84;font-weight:800} .qname{font-weight:900;font-size:14px;line-height:1.15;margin:3px 0;color:#29243d;min-height:34px} .age{font-size:12px;color:#6e687e;font-weight:700} .price{font-size:18px;font-weight:900;margin:4px 0 8px} .more{display:block;text-align:center;border-radius:12px;padding:8px 12px;background:linear-gradient(135deg,#8f5cf7,#9b67fb);color:white;font-weight:900;font-size:12px;margin-top:auto}
.advantages{padding:0 0 22px} .adv-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px} .adv{border-radius:21px;background:linear-gradient(135deg,#fff,#fbf4ff);border:1px solid #f1e8ff;padding:22px 22px;display:flex;align-items:center;gap:16px;box-shadow:0 14px 30px rgba(124,105,158,.06)} .adv-i{width:54px;height:54px;min-width:54px;border-radius:50%;display:grid;place-items:center;color:var(--lav)} .adv-i svg{width:48px;height:48px;stroke:currentColor;fill:none;stroke-width:2.7;stroke-linecap:round;stroke-linejoin:round} .adv b{display:block;color:var(--lav);font-weight:900;line-height:1.15} .adv span{font-size:13px;color:#554f68;font-weight:700}
.reviews{padding:0 0 28px} .review-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px} .review{background:#fff;border:1px solid #ebe4ff;border-radius:16px;padding:18px;display:flex;gap:14px;box-shadow:0 12px 30px rgba(124,105,158,.06)} .avatar{width:72px;height:72px;border-radius:50%;background:linear-gradient(135deg,#ffe2b4,#d9f8ee);display:grid;place-items:center;font-size:40px;flex:0 0 auto} .review p{margin:0 0 8px;font-size:14px;font-weight:800;line-height:1.35} .review small{color:#776f86;font-weight:700} .stars{color:#ffc637;letter-spacing:2px;margin-top:9px}
.lead{padding:0 0 20px} .lead-box{display:grid;grid-template-columns:180px 1fr 420px;gap:28px;align-items:center;background:linear-gradient(100deg,#fff,#fff5ff 50%,#fff);border:1px solid #f0e5ff;border-radius:24px;padding:24px 30px;box-shadow:0 18px 40px rgba(124,105,158,.08)} .book{width:125px;height:150px;border-radius:12px;background:linear-gradient(160deg,#70d5c7,#bdf4e7);transform:rotate(-8deg);box-shadow:0 18px 35px rgba(126,215,191,.22);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:white;font-weight:900;font-size:18px;line-height:1.05;position:relative;overflow:hidden}.book:before{content:'🦷';font-size:44px;line-height:1;margin:8px 0 5px;filter:drop-shadow(0 3px 0 rgba(0,0,0,.04))}.book:after{content:'';position:absolute;left:14px;right:14px;bottom:12px;height:5px;border-radius:99px;background:rgba(255,255,255,.45)} .lead h2,.about h2,.faq h2{margin:0 0 8px;color:var(--lav);font-size:30px;line-height:1.1;font-weight:900;letter-spacing:-.03em} .lead p{margin:0;font-weight:800;line-height:1.55} .form{display:grid;grid-template-columns:1fr 180px;gap:12px} .form input{border:1px solid #eee7ff;border-radius:12px;padding:17px 18px;font-weight:700;outline:none} .form button{border-radius:12px;padding:16px 22px} .policy{grid-column:1/-1;font-size:12px;color:#6f6980;font-weight:700}
.bottom{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding-bottom:34px} .about,.faq{background:rgba(255,255,255,.9);border:1px solid #eee7ff;border-radius:24px;padding:28px;box-shadow:0 16px 40px rgba(124,105,158,.07)} .about-grid{display:grid;grid-template-columns:1fr 135px;gap:20px;align-items:center} .about p{margin:0 0 18px;font-weight:700;line-height:1.65;color:#4f4960} .founder{width:125px;height:125px;border-radius:50%;overflow:hidden;background:#f3e9ff} .founder img{width:100%;height:100%;object-fit:cover} .about .btn{padding:13px 22px;font-size:14px;border-radius:16px} .faq-item{border-bottom:1px solid #eee7ff} .faq-q{width:100%;border:0;background:transparent;text-align:left;display:flex;justify-content:space-between;gap:18px;padding:12px 0;font-weight:900;color:#3f3950;cursor:pointer;font-size:15px} .faq-q span:last-child{color:var(--lav);font-size:20px} .faq-a{max-height:0;overflow:hidden;transition:max-height .25s ease;color:#6b6479;font-weight:700;line-height:1.5;font-size:14px} .faq-item.open .faq-a{max-height:100px;padding-bottom:12px} .faq-item.open .faq-q span:last-child{transform:rotate(45deg)}
.footer{position:relative;z-index:1;background:linear-gradient(180deg,rgba(255,255,255,.8),#fff);border-top:1px solid #eee7ff;padding:28px 0} .foot-grid{display:grid;grid-template-columns:1.3fr .7fr .9fr .9fr;gap:40px} .foot-logo{display:flex;gap:9px;align-items:center;margin-bottom:12px} .foot-logo .logo{width:36px;height:36px;border-radius:10px;font-size:18px} .foot-logo strong{font-weight:900;font-size:22px} .footer p,.footer a{font-size:13px;color:#5c566c;font-weight:700;line-height:1.6} .footer h4{margin:0 0 10px;color:#2c273f;font-weight:900} .social{display:flex;gap:9px;margin-top:12px} .social span{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#f0e7ff;color:var(--lav);font-weight:900;font-size:12px} .copy{text-align:center;color:#7d748b;font-weight:700;font-size:12px;margin-top:20px}

@media(max-width:1180px){.menu{gap:22px;font-size:14px}.brand{min-width:165px}.brand strong{font-size:22px}.brand span{font-size:10px}.cart{padding:11px 16px}.container{width:min(1100px,calc(100% - 36px))}}
@media(max-width:980px){.container{width:min(100% - 28px,720px)}.nav{height:auto;padding:14px 0;flex-wrap:wrap}.menu{order:3;width:100%;justify-content:center;gap:18px;flex-wrap:wrap;font-size:14px;white-space:normal}.cart{padding:11px 16px}.mega{display:none}.hero-grid{grid-template-columns:1fr;gap:20px}h1{font-size:44px}.hero-photo{position:relative;right:auto;width:100%;height:auto;border-radius:32px}.note{right:10px;top:40px}.problem-grid,.adv-grid,.review-grid,.bottom{grid-template-columns:1fr 1fr}.cards{grid-template-columns:repeat(3,1fr)}.steps-box{grid-template-columns:1fr;gap:10px}.arr{display:none}.lead-box{grid-template-columns:1fr;text-align:center}.book{margin:auto}.foot-grid{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.brand strong{font-size:22px}.logo{width:42px;height:42px}h1{font-size:36px}.hero{padding-top:30px}.actions{flex-direction:column;align-items:flex-start}.problem-grid,.adv-grid,.review-grid,.bottom,.cards,.foot-grid{grid-template-columns:1fr}.problem-card{height:auto}.section-head{align-items:flex-start;gap:10px;flex-direction:column}.form{grid-template-columns:1fr}.note{position:relative;right:auto;top:auto;margin:12px auto 0}.hero-photo img{width:100%}}

/* === точечные правки v3 === */
.actions{gap:0}.play{display:none!important}
.ribbon{width:100%;max-width:980px;white-space:nowrap;overflow:hidden;text-overflow:clip;font-size:16px;padding:0 24px}.ribbon br{display:none}
@media(max-width:760px){.ribbon{font-size:13px;height:auto;min-height:34px;padding:8px 12px;white-space:nowrap}}
.quest-card{min-height:318px}.quest-body{min-height:150px}.more{margin-top:auto}
.adv-grid{align-items:stretch}.adv{min-height:116px}.adv-i{background:transparent!important;border:0!important;color:#8f5cf7}.adv-i svg{width:56px!important;height:56px!important;stroke-width:2.45!important}
.review-slider{position:relative;overflow:hidden}.review-track{display:flex;gap:20px;transition:transform .45s ease;will-change:transform}.review{min-width:calc((100% - 40px)/3)}.review-dots{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:18px}.review-dot{width:9px;height:9px;border-radius:50%;border:0;background:#d8cbff;cursor:pointer;transition:.2s}.review-dot.active{width:22px;border-radius:99px;background:#8f5cf7}.review-arrow{position:absolute;top:50%;transform:translateY(-50%);width:36px;height:36px;border-radius:50%;border:1px solid #eee7ff;background:#fff;color:#8f5cf7;box-shadow:0 10px 25px rgba(143,92,247,.12);font-weight:900;cursor:pointer;z-index:3}.review-prev{left:6px}.review-next{right:6px}
@media(max-width:980px){.review{min-width:calc((100% - 20px)/2)}}
@media(max-width:640px){.review{min-width:100%}.review-arrow{display:none}.ribbon{font-size:12px;letter-spacing:-.01em}.adv-i svg{width:50px!important;height:50px!important}}
.book{background:linear-gradient(160deg,#65d0c4,#c7f6e9)!important;color:#fff!important;box-shadow:0 20px 42px rgba(126,215,191,.26)!important}.book:before{content:'🦷'!important}.lead-box:before{content:'↝';position:absolute;left:50%;bottom:22px;color:#8f5cf7;font-size:30px;opacity:.65}.lead-box{position:relative}

/* === FIX v4: ribbon exactly one line like mockup === */
.problems .ribbon{
  width:min(1400px, calc(100vw - 420px));
  max-width:1400px;
  min-width:980px;
  height:48px;
  margin:18px auto 0;
  padding:0 34px;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:24px;
  line-height:1!important;
  box-sizing:border-box;
  white-space:nowrap!important;
  overflow:visible!important;
}
.problems .ribbon span{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  flex-wrap:nowrap!important;
  white-space:nowrap!important;
  word-break:keep-all!important;
  overflow-wrap:normal!important;
  line-height:1!important;
  font-size:21px;
  font-weight:900;
  letter-spacing:-.02em;
}
.problems .ribbon b{display:inline;white-space:nowrap!important;margin-left:5px;}
@media(max-width:1180px){
  .problems .ribbon{width:calc(100vw - 44px);min-width:0;height:42px;padding:0 16px;}
  .problems .ribbon span{font-size:clamp(13px,2.25vw,18px);}
}
@media(max-width:560px){
  .problems .ribbon{height:auto;min-height:40px;border-radius:18px;}
  .problems .ribbon span{font-size:12px;letter-spacing:-.04em;}
}



/* === FIX v5: аккуратная галочка подменю как в макете === */
.cat-trigger{
  gap:7px!important;
}
.chev{
  width:8px!important;
  height:8px!important;
  display:inline-block!important;
  flex:0 0 8px!important;
  margin-left:1px!important;
  border-right:2px solid currentColor!important;
  border-bottom:2px solid currentColor!important;
  transform:translateY(-2px) rotate(45deg)!important;
  font-size:0!important;
  line-height:0!important;
  opacity:.95;
  transition:transform .22s ease;
}
.menu-item:hover .chev{
  transform:translateY(2px) rotate(225deg)!important;
}



/* === FIX v6: мобильная шапка до 960px — логотип + гамбургер === */
.hamburger{
  display:none;
  width:46px;
  height:46px;
  border:1px solid #eee7ff;
  border-radius:16px;
  background:#fff;
  box-shadow:0 10px 25px rgba(143,92,247,.12);
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
  padding:0;
  margin-left:auto;
}
.hamburger span{
  width:20px;
  height:2px;
  border-radius:99px;
  background:#8f5cf7;
  transition:.22s ease;
}
.header.mobile-open .hamburger span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.header.mobile-open .hamburger span:nth-child(2){opacity:0}
.header.mobile-open .hamburger span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.mobile-panel{display:none;}

@media(max-width:1100px){
  .header{background:rgba(255,255,255,.9)}
  .nav{
    height:70px!important;
    padding:0!important;
    flex-wrap:nowrap!important;
    gap:12px!important;
  }
  .brand{min-width:0!important;flex:0 0 auto!important;gap:9px!important;}
  .brand strong{font-size:23px!important;line-height:.92!important;}
  .brand span span{font-size:10px!important;white-space:nowrap;}
  .logo{width:42px!important;height:42px!important;border-radius:13px!important;font-size:22px!important;}
  .menu,
  .cart{display:none!important;}
  .hamburger{display:flex!important;}
  .mobile-panel{
    position:absolute;
    left:14px;
    right:14px;
    top:76px;
    display:grid;
    gap:6px;
    padding:16px;
    border:1px solid #eee7ff;
    border-radius:24px;
    background:rgba(255,255,255,.98);
    box-shadow:0 20px 55px rgba(95,77,140,.16);
    opacity:0;
    visibility:hidden;
    transform:translateY(-8px);
    pointer-events:none;
    transition:.22s ease;
    z-index:60;
  }
  .header.mobile-open .mobile-panel{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
    pointer-events:auto;
  }
  .mobile-panel a,
  .mobile-panel summary{
    min-height:44px;
    display:flex;
    align-items:center;
    padding:10px 14px;
    border-radius:15px;
    font-weight:900;
    color:#3a354e;
    cursor:pointer;
  }
  .mobile-panel a:hover,
  .mobile-panel summary:hover{background:#f5efff;color:#8f5cf7;}
  .mobile-panel details{border-radius:16px;background:linear-gradient(135deg,#faf7ff,#f3fffb);border:1px solid #f0eaff;overflow:hidden;}
  .mobile-panel details a{margin-left:10px;color:#6d6880;min-height:38px;font-size:14px;}
  .mobile-panel summary{color:#8f5cf7;list-style:none;justify-content:space-between;}
  .mobile-panel summary::-webkit-details-marker{display:none;}
  .mobile-panel summary:after{content:'';width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);}
  .mobile-panel details[open] summary:after{transform:rotate(225deg) translate(-2px,-2px);}
  .mobile-cart{background:#8f5cf7!important;color:#fff!important;justify-content:center;box-shadow:0 12px 28px rgba(143,92,247,.22);}
}
@media(max-width:380px){
  .brand strong{font-size:20px!important;}
  .brand span span{display:none!important;}
  .logo{width:38px!important;height:38px!important;}
  .hamburger{width:42px;height:42px;border-radius:14px;}
}


/* === FIX v7: планшетная версия мегаменю 960–1199px, чтобы не обрезалось === */
@media (min-width:1101px) and (max-width:1199px){
  .container{width:min(100% - 32px,1040px)!important;}
  .nav{gap:12px!important;}
  .brand{min-width:150px!important;gap:9px!important;}
  .brand strong{font-size:22px!important;}
  .brand span{font-size:10px!important;}
  .logo{width:40px!important;height:40px!important;border-radius:13px!important;font-size:21px!important;}
  .menu{gap:18px!important;font-size:13px!important;justify-content:center!important;}
  .cart{padding:10px 15px!important;border-radius:18px!important;font-size:14px!important;}
  .mega{
    width:calc(100vw - 32px)!important;
    max-width:1040px!important;
    max-height:calc(100vh - 96px)!important;
    overflow-y:auto!important;
    padding:22px!important;
    border-radius:26px!important;
    top:68px!important;
  }
  .mega-head{padding-bottom:18px!important;margin-bottom:18px!important;gap:18px!important;}
  .mega-title{font-size:24px!important;}
  .mega-sub{font-size:13px!important;}
  .mega-all{padding:12px 20px!important;border-radius:20px!important;font-size:14px!important;white-space:nowrap!important;}
  .mega-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;}
  .mega-card{min-height:238px!important;padding:17px 16px!important;border-radius:20px!important;}
  .mega-card h4{font-size:16px!important;margin-bottom:12px!important;gap:8px!important;}
  .mega-card ul{font-size:14px!important;line-height:1.72!important;}
  .theme-link{height:42px!important;padding:0 14px!important;font-size:14px!important;border-radius:14px!important;}
}



/* === FIX v8: меню под бренд + кабинет героя, без лишних кнопок в мегаменю === */
.nav-actions{display:flex;align-items:center;gap:10px;flex:0 0 auto;white-space:nowrap;}
.account,.cart{height:48px;display:flex;align-items:center;gap:8px;padding:0 17px;border-radius:999px;background:#fff;box-shadow:0 10px 28px rgba(143,92,247,.13);font-weight:900;color:var(--lav);border:1px solid #eee7ff;line-height:1;}
.account span:first-child,.cart span:first-child{font-size:18px;line-height:1;}
.mega-head{justify-content:flex-start!important;}
.mega-grid .mega-card{justify-content:flex-start!important;min-height:245px!important;}
.mega-card ul{margin-top:auto!important;}
.theme-link,.mega-all{display:none!important;}
.mobile-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:8px;border-top:1px solid #eee7ff;padding-top:12px;}
.mobile-account,.mobile-cart{justify-content:center!important;background:#fff!important;color:#8f5cf7!important;border:1px solid #eee7ff!important;box-shadow:0 10px 25px rgba(143,92,247,.12)!important;}
.mobile-cart{background:#8f5cf7!important;color:#fff!important;}
@media (min-width:1101px) and (max-width:1240px){
  .menu{gap:16px!important;font-size:13px!important;}
  .account,.cart{height:44px;padding:0 13px!important;font-size:13px!important;}
  .brand{min-width:150px!important;}
  .brand strong{font-size:21px!important;}
  .brand span{font-size:10px!important;}
}
@media(max-width:1100px){
  .nav-actions{display:none!important;}
}
@media(max-width:420px){
  .mobile-actions{grid-template-columns:1fr;}
}



/* === MOCKUP HEADER + HERO UPDATE === */
:root{--lav:#8b5cf6;--mint:#76d8bc;--ink:#28233f;}
.container{width:min(1380px,calc(100% - 64px));}
.header{background:rgba(255,255,255,.86);border-bottom:1px solid rgba(229,222,255,.9);}
.nav{height:90px;gap:28px;}
.brand{min-width:330px;gap:16px;}
.logo{width:54px;height:54px;border-radius:16px;font-size:26px;background:linear-gradient(135deg,#9368ff 0%,#c99bf6 50%,#ffd36f 100%);}
.brand strong{font-size:29px;letter-spacing:-.045em;color:#5a546e;line-height:1;}
.brand span span,.brand > span > span{font-size:13px;font-weight:800;color:#77718a;letter-spacing:.01em;margin-top:6px;}
.menu{gap:48px;justify-content:center;font-size:17px;color:#211d35;font-weight:900;}
.cat-trigger{color:#211d35!important;}
.cat-trigger.active{color:var(--lav)!important;}
.nav-actions{gap:16px;margin-left:auto;}
.account,.cart{height:62px;padding:0 28px;border-radius:28px;font-size:18px;box-shadow:0 14px 36px rgba(143,92,247,.11);border-color:#eadfff;}
.account span:first-child,.cart span:first-child{font-size:26px;color:var(--lav);filter:saturate(1.1);}
.hero{padding:84px 0 70px;min-height:780px;display:flex;align-items:center;}
.hero-grid{grid-template-columns:1fr 1.32fr;gap:70px;align-items:center;}
h1{font-size:67px;line-height:1.1;letter-spacing:-.055em;color:#241f3b;}
.hero p{font-size:22px;line-height:1.72;max-width:650px;margin:34px 0 34px;color:#3f3a55;font-weight:700;}
.actions{display:flex!important;gap:28px!important;align-items:center!important;flex-wrap:wrap;}
.btn{height:66px;border-radius:16px;padding:0 30px;font-size:19px;background:linear-gradient(135deg,#8b5cf6,#925ff5);box-shadow:0 16px 34px rgba(139,92,246,.28);}
.btn-star{font-size:35px;line-height:1;font-weight:400;transform:translateY(-1px);}
.btn-outline{height:66px;display:inline-flex;align-items:center;justify-content:center;gap:14px;padding:0 32px;border-radius:16px;background:#fff;border:3px solid #8b5cf6;color:#8b5cf6;font-size:19px;font-weight:900;box-shadow:0 12px 28px rgba(139,92,246,.08);}
.btn-play{font-size:30px;line-height:1;transform:translateY(1px);}
.hero-visual{min-height:620px;}
.hero-photo{right:72px;top:18px;width:610px;height:620px;border-radius:48px;align-items:center;box-shadow:0 30px 90px rgba(132,113,166,.15);background:linear-gradient(135deg,rgba(248,241,255,.8),rgba(225,249,242,.84));}
.hero-photo img{width:100%;height:100%;object-fit:cover;object-position:center;}
.note{right:0;top:165px;width:232px;min-height:228px;border-radius:28px;padding:34px 28px 30px 82px;font-size:16px;line-height:1.42;background:linear-gradient(135deg,#dff7ef,#eefef9);box-shadow:0 24px 55px rgba(126,215,191,.2);}
.note:before{left:28px;top:34px;width:45px;height:45px;font-size:23px;border-width:4px;}
.note:after{content:'Квест придёт вам на почту сразу после оплаты';display:block;margin-top:28px;padding-top:28px;border-top:2px solid rgba(118,216,188,.42);font-weight:900;color:#3d465a;}
.hero-badges{display:flex;gap:38px;margin-top:44px;align-items:center;}
.hero-badge{display:flex;align-items:center;gap:14px;font-weight:800;color:#403a55;line-height:1.35;}
.hero-badge span:first-child{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;font-size:25px;background:#eee6ff;color:#8b5cf6;}
.hero-badge:nth-child(2) span:first-child{background:#dff7ef;color:#3ab596;}
.hero-badge:nth-child(3) span:first-child{background:#fff0c9;color:#e5aa2d;}
@media(min-width:1200px){.hero .actions + .hero-badges{display:flex}}
@media(max-width:1240px){.container{width:min(1120px,calc(100% - 44px));}.brand{min-width:300px}.menu{gap:28px;font-size:16px}.account,.cart{height:54px;padding:0 20px;font-size:16px}h1{font-size:56px}.hero-photo{width:520px;height:540px;right:40px}.note{right:0;top:140px}.hero-grid{gap:46px}}
@media(max-width:1100px){.nav{height:76px!important}.brand{min-width:0!important}.brand strong{font-size:23px!important}.brand > span > span{font-size:11px!important}.hero{padding:46px 0 42px;min-height:auto}.hero-grid{grid-template-columns:1fr;gap:28px}h1{font-size:44px}.hero p{font-size:18px}.hero-visual{min-height:auto}.hero-photo{position:relative;right:auto;top:auto;width:100%;height:520px;border-radius:32px}.note{position:relative;right:auto;top:auto;width:100%;min-height:auto;margin:18px 0 0;padding:22px 24px 22px 74px}.note:before{left:22px;top:22px}.note:after{margin-top:16px;padding-top:16px}.hero-badges{flex-direction:column;align-items:flex-start;gap:16px}}
@media(max-width:640px){.container{width:min(100% - 28px,720px)}h1{font-size:36px}.actions{gap:14px!important}.btn,.btn-outline{height:58px;width:100%;font-size:17px}.hero-photo{height:390px}.logo{width:44px!important;height:44px!important}.hero-badges{margin-top:26px}}


/* === FIX v9: компактный первый экран ближе к макету === */
@media (min-width:1101px){
  .container{width:min(1320px,calc(100% - 64px))!important;}
  .nav{height:78px!important;gap:22px!important;}
  .brand{min-width:290px!important;gap:14px!important;}
  .logo{width:50px!important;height:50px!important;border-radius:15px!important;font-size:24px!important;}
  .brand strong{font-size:27px!important;line-height:.95!important;color:#5a546e!important;}
  .brand > span > span{font-size:12px!important;margin-top:5px!important;}
  .menu{gap:42px!important;font-size:16px!important;}
  .account,.cart{height:54px!important;padding:0 23px!important;border-radius:26px!important;font-size:17px!important;}
  .account span:first-child,.cart span:first-child{font-size:23px!important;}

  .hero{padding:58px 0 46px!important;min-height:640px!important;display:flex!important;align-items:center!important;}
  .hero-grid{grid-template-columns:minmax(430px,.92fr) minmax(520px,1.08fr)!important;gap:56px!important;align-items:center!important;}
  h1{font-size:56px!important;line-height:1.09!important;letter-spacing:-.055em!important;}
  .hero p{font-size:19px!important;line-height:1.68!important;max-width:560px!important;margin:26px 0 28px!important;}
  .actions{gap:24px!important;}
  .btn,.btn-outline{height:58px!important;border-radius:15px!important;font-size:17px!important;}
  .btn{padding:0 27px!important;}
  .btn-outline{padding:0 29px!important;border-width:2px!important;}
  .btn-star{font-size:31px!important;}
  .btn-play{font-size:26px!important;}
  .hero-badges{margin-top:34px!important;gap:28px!important;}
  .hero-badge{gap:12px!important;font-size:14px!important;}
  .hero-badge span:first-child{width:46px!important;height:46px!important;font-size:22px!important;}

  .hero-visual{min-height:500px!important;}
  .hero-photo{width:560px!important;height:500px!important;right:60px!important;top:0!important;border-radius:42px!important;}
  .hero-photo img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;}
  .note{right:0!important;top:145px!important;width:215px!important;min-height:210px!important;border-radius:26px!important;padding:30px 24px 26px 76px!important;font-size:15px!important;line-height:1.42!important;}
  .note:before{left:25px!important;top:30px!important;width:40px!important;height:40px!important;font-size:21px!important;border-width:3px!important;}
  .note:after{margin-top:22px!important;padding-top:22px!important;}
}

@media (min-width:1101px) and (max-width:1240px){
  .container{width:min(1120px,calc(100% - 44px))!important;}
  .nav{height:74px!important;gap:14px!important;}
  .brand{min-width:260px!important;gap:12px!important;}
  .logo{width:46px!important;height:46px!important;font-size:22px!important;}
  .brand strong{font-size:24px!important;}
  .brand > span > span{font-size:11px!important;}
  .menu{gap:28px!important;font-size:15px!important;}
  .account,.cart{height:48px!important;padding:0 18px!important;font-size:15px!important;}
  .hero{padding:46px 0 40px!important;min-height:575px!important;}
  .hero-grid{grid-template-columns:minmax(390px,.95fr) minmax(430px,1.05fr)!important;gap:36px!important;}
  h1{font-size:48px!important;line-height:1.1!important;}
  .hero p{font-size:17px!important;max-width:490px!important;margin:22px 0 24px!important;}
  .btn,.btn-outline{height:54px!important;font-size:16px!important;}
  .hero-badges{margin-top:26px!important;gap:18px!important;}
  .hero-badge{font-size:13px!important;}
  .hero-badge span:first-child{width:42px!important;height:42px!important;font-size:20px!important;}
  .hero-visual{min-height:445px!important;}
  .hero-photo{width:470px!important;height:425px!important;right:42px!important;border-radius:36px!important;}
  .note{top:118px!important;width:190px!important;min-height:190px!important;padding:25px 20px 22px 66px!important;font-size:13.5px!important;}
  .note:before{left:21px!important;top:25px!important;width:35px!important;height:35px!important;font-size:18px!important;}
  .note:after{margin-top:18px!important;padding-top:18px!important;}
}

@media(max-width:1100px){
  .hero{padding:38px 0 34px!important;}
  h1{font-size:clamp(34px,7.2vw,44px)!important;line-height:1.08!important;}
  .hero p{font-size:17px!important;margin:20px 0 24px!important;}
  .hero-photo{height:min(440px,70vw)!important;}
}



/* === FIX v3: hero icons + background closer to approved mockup === */
body{
  background:
    radial-gradient(circle at 5% 28%, rgba(238,230,255,.82) 0 18%, rgba(238,230,255,0) 36%),
    radial-gradient(circle at 94% 25%, rgba(225,250,243,.78) 0 16%, rgba(225,250,243,0) 34%),
    radial-gradient(circle at 58% 8%, rgba(255,249,239,.9) 0 14%, rgba(255,249,239,0) 34%),
    linear-gradient(180deg,#fff 0%,#fffefd 46%,#fff 100%)!important;
}
.header{background:rgba(255,255,255,.88)!important;box-shadow:0 8px 28px rgba(139,92,246,.035)!important;}
.doodles{opacity:.78!important;}
.doodle{opacity:.34!important;}
.d9{left:66%!important;top:112px!important;width:52px!important;height:52px!important;color:#ffd766!important;opacity:.78!important;}
.d10{left:43%!important;top:218px!important;color:#bda6ff!important;opacity:.44!important;}
.d2{right:12px!important;top:92px!important;color:#9be6d2!important;opacity:.48!important;}
.hero{position:relative;isolation:isolate;}
.hero:before{content:'';position:absolute;left:0;top:0;width:42%;height:100%;background:radial-gradient(circle at 0 45%, rgba(236,229,255,.62), transparent 62%);z-index:-1;pointer-events:none;}
.hero:after{content:'';position:absolute;right:0;top:0;width:45%;height:100%;background:radial-gradient(circle at 100% 42%, rgba(224,250,242,.62), transparent 62%);z-index:-1;pointer-events:none;}
.hero-badge span:first-child.hero-badge-icon{
  width:52px!important;height:52px!important;border-radius:50%!important;display:grid!important;place-items:center!important;font-size:0!important;line-height:0!important;box-shadow:none!important;
}
.hero-badge-icon svg{width:30px;height:30px;stroke:currentColor;fill:none;stroke-width:2.7;stroke-linecap:round;stroke-linejoin:round;display:block;}
.hero-badge-icon-shield{background:#eee6ff!important;color:#8f5cf7!important;}
.hero-badge-icon-game{background:#dff7ef!important;color:#37b99b!important;}
.hero-badge-icon-gift{background:#fff0c9!important;color:#e8ac28!important;}
.hero-badge b{font-size:15px!important;line-height:1.35!important;letter-spacing:-.01em!important;}
@media(min-width:1101px){
  .hero-badges{gap:42px!important;margin-top:36px!important;}
}
@media(max-width:640px){
  .hero-badge span:first-child.hero-badge-icon{width:46px!important;height:46px!important;}
  .hero-badge-icon svg{width:27px;height:27px;}
}



/* === FIX v4: рабочие ссылки в мегаменю === */
.mega-card ul a{
  display:block;
  padding:6px 0;
  color:#6F6A82;
  font-weight:800;
  text-decoration:none;
  transition:color .2s ease, transform .2s ease;
}
.mega-card ul a:hover{
  color:#8f5cf7;
  transform:translateX(4px);
}
@media(max-width:1100px){
  .mobile-panel details a{
    color:#6d6880!important;
  }
  .mobile-panel details a:hover{
    color:#8f5cf7!important;
  }
}



/* === FIX v5: мегаменю как на раннем макете — воздух, карточки, пункты-ссылки === */
@media (min-width:1101px){
  .menu-item{position:relative;}
  .mega{
    top:70px!important;
    width:min(1180px,calc(100vw - 96px))!important;
    padding:28px 28px 22px!important;
    border-radius:26px!important;
    background:rgba(255,255,255,.97)!important;
    border:1px solid #eee7ff!important;
    box-shadow:0 24px 70px rgba(80,64,120,.16)!important;
    overflow:visible!important;
  }
  .mega:before{
    content:'';
    position:absolute;
    top:-10px;
    left:50%;
    width:20px;
    height:20px;
    transform:translateX(-50%) rotate(45deg);
    background:rgba(255,255,255,.97);
    border-left:1px solid #eee7ff;
    border-top:1px solid #eee7ff;
    border-radius:4px 0 0 0;
  }
  .mega-head{
    padding:0 18px 22px!important;
    margin-bottom:20px!important;
    border-bottom:1px solid #eee7ff!important;
    display:flex!important;
    align-items:flex-start!important;
    justify-content:flex-start!important;
  }
  .mega-title{
    font-size:27px!important;
    line-height:1.05!important;
    color:#8f5cf7!important;
    font-weight:900!important;
    letter-spacing:-.035em!important;
  }
  .mega-sub{
    margin-top:8px!important;
    font-size:15px!important;
    line-height:1.25!important;
    color:#6e6880!important;
    font-weight:800!important;
  }
  .mega-grid{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:14px!important;
  }
  .mega-card{
    min-height:314px!important;
    padding:24px 18px 20px!important;
    border-radius:18px!important;
    background:linear-gradient(180deg,#fff 0%,#fff 58%,#fbf8ff 100%)!important;
    border:1px solid #eee7ff!important;
    box-shadow:0 12px 34px rgba(96,75,140,.055)!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:flex-start!important;
  }
  .mega-card:hover{
    transform:translateY(-2px);
    box-shadow:0 18px 42px rgba(143,92,247,.11)!important;
    border-color:#e2d7ff!important;
  }
  .mega-card h4{
    min-height:56px!important;
    margin:0 0 18px!important;
    display:flex!important;
    align-items:flex-start!important;
    gap:14px!important;
    font-size:17px!important;
    line-height:1.22!important;
    color:#5c36bf!important;
    font-weight:900!important;
    letter-spacing:-.01em!important;
  }
  .mega-card h4 .mega-ico{
    width:42px;
    min-width:42px;
    height:42px;
    display:grid;
    place-items:center;
    font-size:31px;
    line-height:1;
    filter:drop-shadow(0 8px 12px rgba(143,92,247,.10));
    transform:translateY(-3px);
  }
  .mega-card ul{
    margin:0!important;
    padding:0!important;
    list-style:none!important;
    display:grid!important;
    gap:4px!important;
    font-size:15px!important;
    line-height:1.32!important;
  }
  .mega-card ul li{margin:0!important;padding:0!important;}
  .mega-card ul a{
    position:relative;
    display:block!important;
    padding:7px 4px 7px 22px!important;
    border-radius:10px!important;
    color:#615b73!important;
    font-weight:800!important;
    text-decoration:none!important;
    transition:color .18s ease, transform .18s ease, background .18s ease!important;
  }
  .mega-card ul a:before{
    content:'';
    position:absolute;
    left:4px;
    top:50%;
    width:5px;
    height:5px;
    border-radius:50%;
    background:#8f5cf7;
    transform:translateY(-50%);
    opacity:.78;
  }
  .mega-card ul a:hover{
    color:#8f5cf7!important;
    background:linear-gradient(90deg,rgba(143,92,247,.08),rgba(127,215,191,.08))!important;
    transform:translateX(3px)!important;
  }
}
@media (min-width:1101px) and (max-width:1199px){
  .mega{width:calc(100vw - 32px)!important;max-width:1040px!important;padding:22px!important;}
  .mega-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;}
  .mega-card{min-height:250px!important;padding:20px 17px!important;}
  .mega-card h4{min-height:44px!important;font-size:16px!important;margin-bottom:12px!important;}
  .mega-card h4 .mega-ico{width:34px;min-width:34px;height:34px;font-size:26px;}
  .mega-card ul{font-size:14px!important;gap:1px!important;}
  .mega-card ul a{padding-top:6px!important;padding-bottom:6px!important;}
}


/* === FIX v6: мегаменю фиксируется по центру экрана и помещается по ширине === */
@media (min-width:1101px){
  .menu-item{position:static!important;}
  .mega{
    position:fixed!important;
    left:50vw!important;
    right:auto!important;
    top:76px!important;
    transform:translateX(-50%) translateY(8px)!important;
    width:min(1180px,calc(100vw - 40px))!important;
    max-width:1180px!important;
    padding:24px!important;
    border-radius:26px!important;
    overflow:visible!important;
  }
  .menu-item:hover .mega,.mega:hover{
    opacity:1!important;
    visibility:visible!important;
    transform:translateX(-50%) translateY(0)!important;
  }
  .mega:before{
    left:50%!important;
    transform:translateX(-50%) rotate(45deg)!important;
  }
  .mega-grid{
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:12px!important;
  }
  .mega-card{
    min-width:0!important;
    min-height:244px!important;
    padding:18px 14px 16px!important;
  }
  .mega-card h4{
    min-height:48px!important;
    margin-bottom:12px!important;
    gap:10px!important;
    font-size:15.5px!important;
    line-height:1.18!important;
  }
  .mega-card h4 span:last-child{
    min-width:0!important;
    overflow-wrap:break-word!important;
    word-break:normal!important;
  }
  .mega-card h4 .mega-ico{
    width:34px!important;
    min-width:34px!important;
    height:34px!important;
    font-size:26px!important;
  }
  .mega-card ul{
    font-size:14px!important;
    line-height:1.26!important;
    gap:2px!important;
  }
  .mega-card ul a{
    padding:6px 3px 6px 18px!important;
    white-space:normal!important;
  }
  .mega-card ul a:before{left:3px!important;}
}
@media (min-width:1200px){
  .mega{width:min(1180px,calc(100vw - 80px))!important;padding:28px!important;}
  .mega-grid{gap:14px!important;}
  .mega-card{min-height:270px!important;padding:22px 18px 18px!important;}
  .mega-card h4{font-size:17px!important;min-height:54px!important;margin-bottom:16px!important;}
  .mega-card h4 .mega-ico{width:42px!important;min-width:42px!important;height:42px!important;font-size:31px!important;}
  .mega-card ul{font-size:15px!important;gap:4px!important;}
  .mega-card ul a{padding:7px 4px 7px 22px!important;}
}
@media (min-width:1101px) and (max-width:1080px){
  .mega{width:calc(100vw - 24px)!important;padding:18px!important;}
  .mega-grid{gap:8px!important;}
  .mega-card{padding:16px 10px 14px!important;border-radius:16px!important;}
  .mega-card h4{font-size:14px!important;gap:7px!important;}
  .mega-card h4 .mega-ico{width:28px!important;min-width:28px!important;height:28px!important;font-size:22px!important;}
  .mega-card ul{font-size:13px!important;}
}


/* === FIX v7: шире центральная карточка, чтобы «Самостоятельность» помещалась === */
@media (min-width:1101px){
  .mega{
    width:min(1260px,calc(100vw - 44px))!important;
    max-width:1260px!important;
  }
  .mega-grid{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.34fr) minmax(0,.96fr) minmax(0,1.08fr)!important;
    gap:12px!important;
  }
  .mega-card h4 span:last-child{
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
  }
}
@media (min-width:1200px){
  .mega{
    width:min(1280px,calc(100vw - 80px))!important;
    max-width:1280px!important;
  }
  .mega-grid{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.32fr) minmax(0,.96fr) minmax(0,1.08fr)!important;
    gap:14px!important;
  }
  .mega-card h4{font-size:16px!important;}
}
@media (min-width:1101px) and (max-width:1080px){
  .mega{width:calc(100vw - 20px)!important;padding:16px!important;}
  .mega-grid{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.38fr) minmax(0,.95fr) minmax(0,1.05fr)!important;
    gap:7px!important;
  }
  .mega-card{padding:15px 9px 13px!important;}
  .mega-card h4{font-size:13.2px!important;gap:6px!important;}
  .mega-card h4 .mega-ico{width:26px!important;min-width:26px!important;height:26px!important;font-size:20px!important;}
  .mega-card ul{font-size:12.5px!important;}
}


/* === FIX v8: гамбургер включается раньше, чтобы меню не ломалось на 950–1100px === */
@media (max-width:1100px){
  .nav{height:76px!important;padding:0!important;flex-wrap:nowrap!important;}
  .brand{min-width:0!important;flex:0 0 auto!important;}
  .menu,.nav-actions{display:none!important;}
  .hamburger{display:flex!important;}
  .mobile-panel{
    display:grid!important;
    position:absolute!important;
    left:14px!important;
    right:14px!important;
    top:82px!important;
    z-index:80!important;
  }
}
@media (min-width:1101px){
  .hamburger,.mobile-panel{display:none!important;}
  .menu{display:flex!important;}
  .nav-actions{display:flex!important;}
}



/* === FIX v9: полное мобильное подменю с разделами и пунктами === */
@media(max-width:1100px){
  .mobile-panel{
    max-height:calc(100vh - 92px)!important;
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch;
  }
  .mobile-quests{padding:0!important;}
  .mobile-quest-groups{
    display:grid;
    gap:10px;
    padding:0 10px 12px;
  }
  .mobile-quest-group{
    padding:12px 12px 10px;
    border:1px solid #eee7ff;
    border-radius:16px;
    background:rgba(255,255,255,.74);
  }
  .mobile-group-title{
    display:flex;
    align-items:center;
    gap:9px;
    margin:0 0 7px;
    color:#6742c7;
    font-weight:900;
    font-size:15px;
    line-height:1.2;
  }
  .mobile-group-title span{font-size:20px;line-height:1;}
  .mobile-panel .mobile-quest-group a{
    min-height:34px!important;
    margin:0!important;
    padding:7px 10px 7px 24px!important;
    position:relative;
    border-radius:11px!important;
    color:#6d6880!important;
    font-size:14px!important;
    line-height:1.2!important;
    font-weight:800!important;
  }
  .mobile-panel .mobile-quest-group a:before{
    content:'';
    position:absolute;
    left:10px;
    top:50%;
    width:4px;
    height:4px;
    border-radius:50%;
    background:#8f5cf7;
    transform:translateY(-50%);
    opacity:.7;
  }
  .mobile-panel .mobile-quest-group a:hover{
    background:#f5efff!important;
    color:#8f5cf7!important;
  }
}


/* === V10: tablet hero fix 760–1100px === */
@media (min-width: 761px) and (max-width: 1100px){
  .container{
    width:min(100% - 44px,1040px)!important;
  }
  .hero{
    padding:42px 0 48px!important;
    min-height:auto!important;
    display:block!important;
  }
  .hero-grid{
    display:grid!important;
    grid-template-columns:minmax(0,0.95fr) minmax(380px,1fr)!important;
    gap:28px!important;
    align-items:center!important;
  }
  .hero h1, h1{
    font-size:clamp(34px,4.1vw,44px)!important;
    line-height:1.04!important;
    letter-spacing:-.045em!important;
  }
  .hero p{
    max-width:500px!important;
    font-size:16px!important;
    line-height:1.62!important;
    margin:22px 0 24px!important;
  }
  .hero .actions{
    gap:16px!important;
    flex-wrap:nowrap!important;
  }
  .hero .btn,.hero .btn-outline{
    height:56px!important;
    padding:0 24px!important;
    border-radius:18px!important;
    font-size:15px!important;
    white-space:nowrap!important;
    width:auto!important;
  }
  .hero-badges{
    display:flex!important;
    flex-direction:row!important;
    align-items:flex-start!important;
    gap:14px!important;
    margin-top:30px!important;
  }
  .hero-badge{
    gap:10px!important;
    font-size:12px!important;
    max-width:150px!important;
  }
  .hero-badge span:first-child,
  .hero-badge-icon{
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
  }
  .hero-visual{
    min-height:420px!important;
    position:relative!important;
  }
  .hero-photo{
    position:absolute!important;
    right:0!important;
    top:20px!important;
    width:min(100%,500px)!important;
    height:400px!important;
    border-radius:36px!important;
  }
  .hero-photo img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    object-position:center!important;
  }
  .note{
    position:absolute!important;
    right:0!important;
    top:122px!important;
    width:166px!important;
    min-height:auto!important;
    margin:0!important;
    padding:18px 16px 18px 58px!important;
    font-size:12px!important;
    border-radius:24px!important;
  }
  .note:before{
    left:17px!important;
    top:19px!important;
    width:30px!important;
    height:30px!important;
  }
  .note:after{
    margin-top:14px!important;
    padding-top:14px!important;
  }
}

@media (max-width: 760px){
  .hero{
    padding:34px 0 38px!important;
    min-height:auto!important;
    display:block!important;
  }
  .hero-grid{
    grid-template-columns:1fr!important;
    gap:24px!important;
  }
  .hero h1, h1{
    font-size:clamp(34px,10.2vw,44px)!important;
    line-height:1.08!important;
  }
  .hero p{
    font-size:16px!important;
    line-height:1.55!important;
    margin:22px 0 24px!important;
  }
  .hero .actions{
    flex-direction:column!important;
    align-items:stretch!important;
    gap:12px!important;
  }
  .hero .btn,.hero .btn-outline{
    width:100%!important;
    height:58px!important;
  }
  .hero-badges{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:14px!important;
    margin-top:28px!important;
  }
  .hero-visual{
    min-height:auto!important;
  }
  .hero-photo{
    position:relative!important;
    right:auto!important;
    top:auto!important;
    width:100%!important;
    height:auto!important;
    aspect-ratio:1.08/1!important;
    border-radius:32px!important;
  }
  .note{
    position:relative!important;
    right:auto!important;
    top:auto!important;
    width:100%!important;
    margin:14px 0 0!important;
    padding:20px 22px 20px 70px!important;
  }
}

@media (max-width: 420px){
  .hero h1, h1{font-size:36px!important;}
  .hero-photo{aspect-ratio:1/1.05!important;}
}



/* === V11: mobile hero benefits in one row === */
@media (max-width: 760px){
  .hero-badges{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:8px!important;
    margin-top:26px!important;
    align-items:stretch!important;
  }
  .hero-badge{
    min-width:0!important;
    max-width:none!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:8px!important;
    text-align:center!important;
    padding:0!important;
    font-size:11px!important;
    line-height:1.25!important;
  }
  .hero-badge span:first-child.hero-badge-icon,
  .hero-badge span:first-child{
    width:46px!important;
    height:46px!important;
    min-width:46px!important;
    flex:0 0 46px!important;
  }
  .hero-badge-icon svg{
    width:25px!important;
    height:25px!important;
  }
  .hero-badge b{
    display:block!important;
    font-size:11px!important;
    line-height:1.25!important;
    letter-spacing:-.02em!important;
  }
}

@media (max-width: 420px){
  .hero-badges{gap:6px!important;}
  .hero-badge span:first-child.hero-badge-icon,
  .hero-badge span:first-child{
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    flex-basis:42px!important;
  }
  .hero-badge-icon svg{width:23px!important;height:23px!important;}
  .hero-badge b{font-size:10px!important;}
}


/* === V12: mobile layout fixes for path + author/FAQ === */
@media (max-width: 760px){
  /* Путь маленького героя — три шага в один ряд */
  .steps{
    padding: 2px 0 30px!important;
  }
  .steps-box{
    width:100%!important;
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:8px!important;
    padding:12px!important;
    border-radius:22px!important;
    align-items:stretch!important;
  }
  .steps-box .arr{
    display:none!important;
  }
  .steps-box .step{
    min-width:0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:7px!important;
    text-align:center!important;
    padding:12px 5px!important;
    border-radius:17px!important;
    background:linear-gradient(180deg,#fff,#fbf8ff)!important;
    border:1px solid #f0eaff!important;
    font-size:11px!important;
    line-height:1.18!important;
    letter-spacing:-.02em!important;
  }
  .steps-box .num{
    width:24px!important;
    height:24px!important;
    margin:0!important;
    font-size:12px!important;
  }
  .steps-box .step-ico{
    width:42px!important;
    height:42px!important;
    font-size:23px!important;
  }
  .steps-box .step span:last-child{
    display:block!important;
    font-size:11px!important;
    line-height:1.18!important;
  }
  .mini-ribbon{
    width:100%!important;
    margin:10px auto 0!important;
    padding:9px 12px!important;
    text-align:center!important;
    font-size:12px!important;
    line-height:1.25!important;
    border-radius:16px!important;
  }

  /* Автор и FAQ — строго один под другим */
  .bottom{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:18px!important;
    padding-bottom:28px!important;
  }
  .about,
  .faq{
    width:100%!important;
    min-width:0!important;
    padding:22px!important;
    border-radius:22px!important;
  }
  .about h2,
  .faq h2{
    font-size:25px!important;
    line-height:1.08!important;
  }
  .about-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:18px!important;
  }
  .founder{
    order:-1!important;
    width:118px!important;
    height:118px!important;
    margin:0 auto!important;
  }
  .about .btn{
    width:100%!important;
  }
  .faq-q{
    font-size:14px!important;
    line-height:1.25!important;
  }
}

@media (max-width: 420px){
  .steps-box{gap:6px!important;padding:10px!important;}
  .steps-box .step{padding:10px 3px!important;font-size:10px!important;}
  .steps-box .step-ico{width:38px!important;height:38px!important;font-size:21px!important;}
  .steps-box .step span:last-child{font-size:10px!important;}
}


/* === V13: footer links + hover underline === */
.footer-col h4, .footer-title{
  transition:color .25s ease;
}
.footer-col:hover h4, .footer-col:hover .footer-title{
  color:#8f5cf7!important;
}
.footer a{
  position:relative;
  display:inline-block;
  color:#5c566c;
  text-decoration:none;
  transition:color .25s ease, transform .25s ease;
}
.footer a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-3px;
  width:0;
  height:2px;
  border-radius:99px;
  background:#8f5cf7;
  transition:width .25s ease;
}
.footer a:hover{
  color:#8f5cf7!important;
}
.footer a:hover::after{
  width:100%;
}
.footer-list{
  display:grid;
  gap:7px;
  margin:0;
}
.footer-contact{
  display:grid;
  gap:7px;
  margin:0 0 12px;
}
.footer-social{
  display:flex;
  gap:9px;
  margin-top:12px;
}
.footer-social a{
  width:30px;
  height:30px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#f0e7ff;
  color:#8f5cf7!important;
  font-weight:900;
  font-size:12px;
  line-height:1;
}
.footer-social a::after{display:none;}
.footer-social a:hover{
  transform:translateY(-2px);
  background:#8f5cf7;
  color:#fff!important;
}
.footer-docs{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px 18px;
  margin-top:14px;
  padding-top:16px;
  border-top:1px solid #eee7ff;
}
.copy{
  margin-top:18px!important;
}
@media(max-width:640px){
  .footer-docs{justify-content:flex-start;}
  .copy{text-align:left!important;}
}


/* === V18: hero note email text removed === */
.note:after{
  content:none!important;
  display:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
}
.note{
  min-height:auto!important;
}


/* === V19: author + FAQ stack below 1090px === */
@media (max-width: 1090px){
  .bottom{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:20px!important;
  }
  .about,
  .faq{
    width:100%!important;
    min-width:0!important;
  }
}


/* === V20 fixed: MAX social icon === */
.footer-social a,
.social span{
  font-size:10px!important;
  letter-spacing:-.04em!important;
}

/* === V22: quiz popup === */
.quiz-modal{
  position:fixed;
  inset:0;
  z-index:120;
  display:none;
  align-items:center;
  justify-content:center;
  padding:22px;
}
.quiz-modal.open{display:flex;}
.quiz-backdrop{
  position:absolute;
  inset:0;
  background:rgba(39,35,61,.34);
  backdrop-filter:blur(10px);
}
.quiz-box{
  position:relative;
  width:min(680px,100%);
  max-height:calc(100vh - 44px);
  overflow:auto;
  border-radius:34px;
  background:
    radial-gradient(circle at 10% 8%,rgba(238,230,255,.95),transparent 32%),
    radial-gradient(circle at 90% 10%,rgba(223,247,239,.9),transparent 30%),
    #fff;
  border:1px solid #eee7ff;
  box-shadow:0 30px 90px rgba(80,64,120,.24);
  padding:34px;
}
.quiz-close{
  position:absolute;
  top:18px;
  right:18px;
  width:42px;
  height:42px;
  border:0;
  border-radius:50%;
  background:#fff;
  color:#8b5cf6;
  font-size:26px;
  line-height:1;
  font-weight:900;
  box-shadow:0 10px 26px rgba(143,92,247,.14);
  cursor:pointer;
}
.quiz-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 14px;
  border-radius:99px;
  background:#fff;
  color:#8b5cf6;
  font-weight:900;
  font-size:13px;
  box-shadow:0 8px 22px rgba(143,92,247,.1);
  margin-bottom:14px;
}
.quiz-title{
  margin:0 52px 8px 0;
  font-size:34px;
  line-height:1.05;
  letter-spacing:-.035em;
  color:#8b5cf6;
  font-weight:900;
}
.quiz-sub{
  margin:0 0 22px;
  color:#5c566c;
  font-size:16px;
  line-height:1.5;
  font-weight:750;
}
.quiz-progress{
  height:8px;
  border-radius:99px;
  background:#f0e7ff;
  overflow:hidden;
  margin:0 0 24px;
}
.quiz-progress span{
  display:block;
  height:100%;
  width:20%;
  border-radius:99px;
  background:linear-gradient(90deg,#8b5cf6,#76d8bc);
  transition:.25s ease;
}
.quiz-step{display:none;}
.quiz-step.active{display:block;animation:quizFade .22s ease;}
@keyframes quizFade{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
.quiz-question{
  margin:0 0 16px;
  font-size:24px;
  line-height:1.16;
  color:#28233f;
  letter-spacing:-.025em;
  font-weight:900;
}
.quiz-options{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.quiz-option{
  min-height:70px;
  padding:14px 16px;
  border-radius:18px;
  border:1px solid #eee7ff;
  background:rgba(255,255,255,.86);
  color:#3f3950;
  font-weight:900;
  text-align:left;
  cursor:pointer;
  box-shadow:0 10px 26px rgba(124,105,158,.06);
  transition:.18s ease;
}
.quiz-option:hover{
  transform:translateY(-2px);
  border-color:#d8cbff;
  color:#8b5cf6;
  background:linear-gradient(135deg,#fff,#fbf7ff);
}
.quiz-option.selected{
  border-color:#8b5cf6;
  background:linear-gradient(135deg,#f1e9ff,#edfbf7);
  color:#8b5cf6;
}
.quiz-nav{
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin-top:24px;
}
.quiz-nav button,
.quiz-result-actions a{
  border:0;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:0 22px;
  border-radius:16px;
  font-weight:900;
  font-size:15px;
}
.quiz-prev{
  background:#fff;
  color:#8b5cf6;
  border:1px solid #eee7ff!important;
}
.quiz-next{
  background:linear-gradient(135deg,#8b5cf6,#925ff5);
  color:#fff;
  box-shadow:0 12px 28px rgba(139,92,246,.24);
}
.quiz-next:disabled{opacity:.45;cursor:not-allowed;box-shadow:none;}
.quiz-email{
  width:100%;
  border:1px solid #eee7ff;
  border-radius:17px;
  padding:18px 18px;
  font-weight:800;
  font-size:16px;
  outline:none;
  background:#fff;
}
.quiz-email:focus{border-color:#8b5cf6;box-shadow:0 0 0 4px rgba(143,92,247,.09)}
.quiz-note{
  margin:10px 0 0;
  color:#77718a;
  font-size:12px;
  line-height:1.4;
  font-weight:700;
}
.quiz-result{
  display:none;
  padding:24px;
  border-radius:24px;
  background:linear-gradient(135deg,#fff,#f6fffc);
  border:1px solid #e6f5f0;
}
.quiz-result.show{display:block;animation:quizFade .22s ease;}
.quiz-result h3{
  margin:0 0 10px;
  color:#8b5cf6;
  font-size:28px;
  line-height:1.08;
  letter-spacing:-.03em;
  font-weight:900;
}
.quiz-result p{
  margin:0 0 18px;
  color:#4f4960;
  font-weight:800;
  line-height:1.55;
}
.quiz-result-card{
  display:flex;
  gap:14px;
  align-items:flex-start;
  padding:16px;
  border-radius:18px;
  background:#fff;
  border:1px solid #eee7ff;
  margin-bottom:18px;
}
.quiz-result-icon{
  width:48px;
  height:48px;
  min-width:48px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#f0e7ff;
  font-size:25px;
}
.quiz-result-name{
  font-size:18px;
  font-weight:900;
  color:#28233f;
  line-height:1.2;
}
.quiz-result-meta{
  margin-top:4px;
  color:#6d6880;
  font-size:14px;
  font-weight:800;
}
.quiz-result-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.quiz-buy{
  background:linear-gradient(135deg,#8b5cf6,#925ff5);
  color:#fff!important;
}
.quiz-free{
  background:#dff7ef;
  color:#29a88a!important;
}
@media(max-width:640px){
  .quiz-box{padding:24px 18px 20px;border-radius:26px;}
  .quiz-title{font-size:28px;margin-right:44px;}
  .quiz-question{font-size:21px;}
  .quiz-options{grid-template-columns:1fr;}
  .quiz-option{min-height:58px;}
  .quiz-nav{position:sticky;bottom:0;background:linear-gradient(180deg,rgba(255,255,255,0),#fff 22%);padding-top:20px;}
  .quiz-nav button{flex:1;}
  .quiz-result-actions a{width:100%;}
}

/* === FINAL TILDA FIX: белый текст на фиолетовых кнопках === */
/* Вставить в самый конец CSS. Перебивает глобальные стили Тильды. */

/* Основные фиолетовые кнопки сайта */
.btn:not(.btn-outline),
.btn:not(.btn-outline):link,
.btn:not(.btn-outline):visited,
.btn:not(.btn-outline):hover,
.btn:not(.btn-outline):active,
.btn:not(.btn-outline) *,
.btn:not(.btn-outline):link *,
.btn:not(.btn-outline):visited *,
.btn:not(.btn-outline):hover *,
.btn:not(.btn-outline):active *,

/* Кнопки "Подробнее" в карточках */
.more,
.more:link,
.more:visited,
.more:hover,
.more:active,
.more *,
.more:link *,
.more:visited *,
.more:hover *,
.more:active *,

/* Кнопка формы "Получить квест" */
.form button,
.form button *,
.lead .form button,
.lead .form button *,

/* Фиолетовые кнопки квиза */
.quiz-next,
.quiz-next *,
.quiz-buy,
.quiz-buy *,
.quiz-buy:link,
.quiz-buy:visited,
.quiz-buy:hover,
.quiz-buy:active,
.quiz-buy:link *,
.quiz-buy:visited *,
.quiz-buy:hover *,
.quiz-buy:active *,

/* Мобильная кнопка корзины */
.mobile-cart,
.mobile-cart *,

/* Если Тильда оборачивает текст кнопки в свои элементы */
.btn:not(.btn-outline) .tn-atom,
.btn:not(.btn-outline) .t-btn,
.btn:not(.btn-outline) .t-submit,
.more .tn-atom,
.more .t-btn,
.more .t-submit,
.form button .tn-atom,
.form button .t-btn,
.form button .t-submit,
.quiz-buy .tn-atom,
.quiz-next .tn-atom {
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  text-decoration:none !important;
}

/* SVG/иконки внутри фиолетовых кнопок тоже белые */
.btn:not(.btn-outline) svg,
.btn:not(.btn-outline) svg *,
.btn:not(.btn-outline) path,
.more svg,
.more svg *,
.more path,
.form button svg,
.form button svg *,
.form button path,
.quiz-next svg,
.quiz-next svg *,
.quiz-next path,
.quiz-buy svg,
.quiz-buy svg *,
.quiz-buy path {
  color:#ffffff !important;
  stroke:#ffffff !important;
  fill:none !important;
}

/* Фон фиолетовых кнопок фиксируем повторно */
.btn:not(.btn-outline),
.more,
.form button,
.quiz-next,
.quiz-buy,
.mobile-cart {
  background:linear-gradient(135deg,#8b5cf6,#925ff5) !important;
}

/* Контурная кнопка "Как это работает" остается фиолетовой */
.btn-outline,
.btn-outline:link,
.btn-outline:visited,
.btn-outline:hover,
.btn-outline:active,
.btn-outline *,
.btn-outline:link *,
.btn-outline:visited *,
.btn-outline:hover *,
.btn-outline:active * {
  color:#8b5cf6 !important;
  -webkit-text-fill-color:#8b5cf6 !important;
}

/* Зеленая кнопка в результате квиза остается зеленой */
.quiz-free,
.quiz-free:link,
.quiz-free:visited,
.quiz-free:hover,
.quiz-free:active,
.quiz-free *,
.quiz-free:link *,
.quiz-free:visited *,
.quiz-free:hover *,
.quiz-free:active * {
  color:#29a88a !important;
  -webkit-text-fill-color:#29a88a !important;
}

/* Соцкнопки футера при наведении */
.footer-social a:hover,
.footer-social a:hover * {
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
}
/* ===== MENU LIKE CLOUDE ===== */

.menu{
    font-size:14px !important;
    font-weight:700 !important;
    gap:38px !important;
}

.menu a,
.cat-trigger{
    font-size:14px !important;
    font-weight:700 !important;
    letter-spacing:-0.01em !important;
    color:#5B5278 !important;
}

.menu a:hover,
.cat-trigger:hover,
.cat-trigger.active{
    color:#7C5CBF !important;
}

.brand strong{
    font-size:22px !important;
    font-weight:900 !important;
    letter-spacing:-0.03em !important;
}

.brand > span > span{
    font-size:11px !important;
    font-weight:600 !important;
    color:#9490A8 !important;
}

.account,
.cart{
    font-size:14px !important;
    font-weight:800 !important;
}
/* === Блок "Как работают" — плиточки как в cloude === */

.steps-box{
  display:grid !important;
  grid-template-columns:repeat(3,1fr) !important;
  gap:64px !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  padding:0 !important;
  width:100% !important;
}

.steps-box .arr{
  display:none !important;
}

.steps-box .step{
  min-height:260px !important;
  border:1px solid #EAE5F5 !important;
  border-radius:32px !important;
  background:#fff !important;
  box-shadow:0 10px 28px rgba(124,92,191,.06) !important;
  padding:46px 34px 38px !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:flex-start !important;
  text-align:center !important;
  gap:22px !important;
}

.steps-box .num{
  width:54px !important;
  height:54px !important;
  border-radius:50% !important;
  background:#7C5CBF !important;
  color:#fff !important;
  font-size:22px !important;
  font-weight:900 !important;
  margin:0 !important;
}

.steps-box .step-ico{
  width:auto !important;
  height:auto !important;
  border:0 !important;
  background:transparent !important;
  font-size:46px !important;
}

.steps-box .step span:last-child{
  font-size:24px !important;
  line-height:1.25 !important;
  font-weight:900 !important;
  color:#2A2040 !important;
}

/* === CLOUDE STYLE COMPACT: STEPS + ADVANTAGES === */

.steps-cloud,
.advantages-cloud{
  padding:46px 0 54px !important;
  background:#FAFAFE !important;
}

.steps-cloud .section-title,
.advantages-cloud .section-title{
  margin:0 0 34px !important;
  text-align:center !important;
  font-size:34px !important;
  line-height:1.08 !important;
  font-weight:900 !important;
  letter-spacing:-0.035em !important;
  color:#2A2040 !important;
}

/* steps */

.steps-cloud-grid{
  display:grid !important;
  grid-template-columns:1fr 36px 1fr 36px 1fr !important;
  align-items:center !important;
  gap:0 !important;
}

.steps-cloud-card{
  min-height:220px !important;
  border:1px solid #EAE5F5 !important;
  border-radius:26px !important;
  background:#fff !important;
  box-shadow:0 10px 26px rgba(124,92,191,.06) !important;
  padding:28px 24px !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:flex-start !important;
  text-align:center !important;
}

.steps-cloud-num{
  width:42px !important;
  height:42px !important;
  border-radius:50% !important;
  display:grid !important;
  place-items:center !important;
  background:#7C5CBF !important;
  color:#fff !important;
  font-size:18px !important;
  line-height:1 !important;
  font-weight:900 !important;
  margin:0 0 20px !important;
}

.steps-cloud-icon{
  font-size:34px !important;
  line-height:1 !important;
  margin:0 0 18px !important;
}

.steps-cloud-card h3{
  margin:0 0 10px !important;
  font-size:18px !important;
  line-height:1.25 !important;
  font-weight:900 !important;
  color:#19152E !important;
  letter-spacing:-0.02em !important;
}

.steps-cloud-card p{
  margin:0 !important;
  max-width:260px !important;
  font-size:15px !important;
  line-height:1.45 !important;
  font-weight:500 !important;
  color:#5B5278 !important;
}

.steps-cloud-arrow{
  text-align:center !important;
  color:#C4B1EC !important;
  font-size:28px !important;
  line-height:1 !important;
  font-weight:400 !important;
}

.steps-cloud-ribbon{
  width:max-content !important;
  max-width:100% !important;
  margin:30px auto 0 !important;
  padding:14px 28px !important;
  border-radius:999px !important;
  background:linear-gradient(90deg,#F3EFFE 0%,#E8F8F3 100%) !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:10px !important;
  font-size:16px !important;
  line-height:1.2 !important;
  font-weight:900 !important;
  color:#2A2040 !important;
}

.steps-cloud-ribbon b{
  background:#FFD65A !important;
  color:#2A2040 !important;
  padding:6px 14px !important;
  border-radius:11px !important;
  font-weight:900 !important;
}

.steps-cloud-clock{
  font-size:16px !important;
}

/* advantages */

.advantages-cloud-grid{
  display:grid !important;
  grid-template-columns:repeat(4,1fr) !important;
  gap:20px !important;
}

.advantages-cloud-card{
  min-height:220px !important;
  border:1px solid #EAE5F5 !important;
  border-radius:26px !important;
  background:#fff !important;
  box-shadow:0 10px 26px rgba(124,92,191,.06) !important;
  padding:26px 24px !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  justify-content:flex-start !important;
}

.advantages-cloud-icon{
  width:58px !important;
  height:58px !important;
  border-radius:18px !important;
  display:grid !important;
  place-items:center !important;
  font-size:26px !important;
  line-height:1 !important;
  margin:0 0 18px !important;
}

.advantages-cloud-icon-lav{
  background:#F3EFFE !important;
}

.advantages-cloud-icon-mint{
  background:#E8F8F3 !important;
}

.advantages-cloud-icon-yellow{
  background:#FFF0C9 !important;
}

.advantages-cloud-card h3{
  margin:0 0 10px !important;
  font-size:18px !important;
  line-height:1.3 !important;
  font-weight:900 !important;
  letter-spacing:-0.02em !important;
  color:#19152E !important;
}

.advantages-cloud-card p{
  margin:0 !important;
  font-size:15px !important;
  line-height:1.55 !important;
  font-weight:500 !important;
  color:#5B5278 !important;
}

/* mobile */

@media(max-width:1180px){
  .steps-cloud-grid{
    grid-template-columns:1fr !important;
    gap:16px !important;
  }

  .steps-cloud-arrow{
    display:none !important;
  }

  .advantages-cloud-grid{
    grid-template-columns:repeat(2,1fr) !important;
  }
}

@media(max-width:640px){
  .steps-cloud,
  .advantages-cloud{
    padding:38px 0 42px !important;
  }

  .steps-cloud .section-title,
  .advantages-cloud .section-title{
    margin-bottom:26px !important;
    font-size:28px !important;
  }

  .steps-cloud-card,
  .advantages-cloud-card{
    min-height:auto !important;
    border-radius:22px !important;
    padding:24px 20px !important;
  }

  .steps-cloud-ribbon{
    width:100% !important;
    flex-wrap:wrap !important;
    border-radius:20px !important;
    padding:14px 16px !important;
    font-size:15px !important;
    gap:8px !important;
  }

  .advantages-cloud-grid{
    grid-template-columns:1fr !important;
  }
}

/* === LEAD BLOCK LIKE CLOUDE === */

.lead{
  padding:40px 0 60px !important;
}

.lead-box{
  position:relative;
  overflow:hidden;

  display:grid !important;
  grid-template-columns:180px 1fr 420px !important;
  gap:42px !important;
  align-items:center !important;

  padding:42px 50px !important;

  border:0 !important;
  border-radius:42px !important;

  background:
    radial-gradient(circle at 78% 30%, rgba(255,255,255,.10), transparent 18%),
    radial-gradient(circle at 90% 60%, rgba(255,255,255,.06), transparent 25%),
    linear-gradient(135deg,#7C5CBF 0%, #8562D1 40%, #6F56C5 100%) !important;

  box-shadow:
    0 30px 80px rgba(124,92,191,.20),
    inset 0 1px 0 rgba(255,255,255,.12);
}

/* декоративное свечение */

.lead-box:before{
  content:'';
  position:absolute;
  width:520px;
  height:520px;
  border-radius:50%;
  right:-180px;
  top:-120px;
  background:rgba(255,255,255,.06);
}

.lead-box:after{
  content:'';
  position:absolute;
  width:280px;
  height:280px;
  border-radius:50%;
  right:260px;
  top:40px;
  background:rgba(255,255,255,.04);
}

/* книжка */

.book{
  background:rgba(255,255,255,.12) !important;
  backdrop-filter:blur(6px);

  border:1px solid rgba(255,255,255,.12);

  width:150px !important;
  height:190px !important;

  color:#fff !important;

  box-shadow:none !important;
}

/* заголовок */

.lead h2{
  color:#fff !important;
  font-size:48px !important;
  line-height:1.05 !important;
  font-weight:900 !important;
  margin:0 0 18px !important;
}

/* текст */

.lead p{
  color:rgba(255,255,255,.92) !important;
  font-size:20px !important;
  line-height:1.65 !important;
  margin:0 !important;
}

/* форма */

.form input{
  background:rgba(255,255,255,.12) !important;
  border:0 !important;

  color:#fff !important;

  height:72px !important;
  border-radius:24px !important;
}

.form input::placeholder{
  color:rgba(255,255,255,.75) !important;
}

.form button{
  height:72px !important;
  border-radius:24px !important;

  background:#fff !important;
  color:#7C5CBF !important;

  font-size:22px !important;
  font-weight:900 !important;

  box-shadow:none !important;
}

.form button *{
  color:#7C5CBF !important;
}

.policy{
  color:rgba(255,255,255,.75) !important;
  font-size:14px !important;
}

/* адаптив */

@media(max-width:980px){

  .lead-box{
    grid-template-columns:1fr !important;
    text-align:center !important;
    padding:34px 28px !important;
  }

  .book{
    margin:auto !important;
  }

  .lead h2{
    font-size:34px !important;
  }

  .lead p{
    font-size:17px !important;
  }
}

/* лого в меню */
.brand{
    display:flex;
    align-items:center;
    flex:0 0 auto;
}

.logo{
    display:none !important;
}

.brand-logo{
    width:auto;
    height:72px;
    display:block;
}

/* === CLOUDE STYLE: REVIEWS === */

.reviews-cloud{
  padding:48px 0 58px !important;
  background:#FAFAFE !important;
}

.reviews-cloud .section-title{
  margin:0 0 38px !important;
  text-align:center !important;
  font-size:34px !important;
  line-height:1.08 !important;
  font-weight:900 !important;
  letter-spacing:-0.035em !important;
  color:#2A2040 !important;
}

.reviews-cloud .review-slider{
  position:relative !important;
  overflow:hidden !important;
}

.reviews-cloud .review-track{
  display:flex !important;
  gap:22px !important;
  transition:transform .45s ease !important;
  will-change:transform !important;
}

.review-cloud-card{
  min-width:calc((100% - 44px) / 3) !important;
  min-height:300px !important;
  border:1px solid #EAE5F5 !important;
  border-radius:28px !important;
  background:#fff !important;
  box-shadow:0 10px 26px rgba(124,92,191,.06) !important;
  padding:28px !important;
  display:flex !important;
  flex-direction:column !important;
  gap:18px !important;
}

.review-cloud-head{
  display:flex !important;
  align-items:center !important;
  gap:16px !important;
}

.review-cloud-avatar{
  width:58px !important;
  height:58px !important;
  min-width:58px !important;
  border-radius:50% !important;
  display:grid !important;
  place-items:center !important;
  background:#8B6AD8 !important;
  color:#fff !important;
  font-size:24px !important;
  line-height:1 !important;
  font-weight:900 !important;
}

.review-cloud-head h3{
  margin:0 0 6px !important;
  font-size:18px !important;
  line-height:1.2 !important;
  font-weight:900 !important;
  color:#19152E !important;
}

.review-cloud-head span{
  display:block !important;
  font-size:14px !important;
  line-height:1.3 !important;
  font-weight:500 !important;
  color:#9490A8 !important;
}

.reviews-cloud .stars{
  margin:4px 0 0 !important;
  color:#FFC637 !important;
  font-size:18px !important;
  letter-spacing:2px !important;
}

.review-cloud-card p{
  margin:0 !important;
  font-size:18px !important;
  line-height:1.55 !important;
  font-weight:500 !important;
  color:#5B5278 !important;
}

.review-cloud-result{
  margin-top:auto !important;
  width:100% !important;
  padding:12px 18px !important;
  border-radius:999px !important;
  background:#E8F8F3 !important;
  color:#43B88F !important;
  font-size:15px !important;
  line-height:1.2 !important;
  font-weight:900 !important;
}

.reviews-cloud .review-arrow{
  position:absolute !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  width:42px !important;
  height:42px !important;
  border-radius:50% !important;
  border:1px solid #EAE5F5 !important;
  background:#fff !important;
  color:#7C5CBF !important;
  box-shadow:0 10px 24px rgba(124,92,191,.10) !important;
  font-size:26px !important;
  font-weight:900 !important;
  cursor:pointer !important;
  z-index:5 !important;
}

.reviews-cloud .review-prev{
  left:4px !important;
}

.reviews-cloud .review-next{
  right:4px !important;
}

.reviews-cloud .review-dots{
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
  gap:10px !important;
  margin-top:28px !important;
}

.reviews-cloud .review-dot{
  width:10px !important;
  height:10px !important;
  border-radius:50% !important;
  border:0 !important;
  background:#E4DDF3 !important;
  cursor:pointer !important;
  transition:.2s ease !important;
}

.reviews-cloud .review-dot.active{
  width:14px !important;
  height:14px !important;
  background:#7C5CBF !important;
}

/* mobile */

@media(max-width:980px){
  .review-cloud-card{
    min-width:calc((100% - 22px) / 2) !important;
  }
}

@media(max-width:640px){
  .reviews-cloud{
    padding:38px 0 44px !important;
  }

  .reviews-cloud .section-title{
    font-size:28px !important;
    margin-bottom:26px !important;
  }

  .review-cloud-card{
    min-width:100% !important;
    min-height:auto !important;
    border-radius:22px !important;
    padding:24px 20px !important;
  }

  .review-cloud-head h3{
    font-size:16px !important;
  }

  .review-cloud-head span{
    font-size:13px !important;
  }

  .review-cloud-card p{
    font-size:16px !important;
  }

  .reviews-cloud .review-arrow{
    display:none !important;
  }
}

/* === FINAL SPACING + PURPLE TITLES === */

.steps-cloud,
.advantages-cloud,
.reviews-cloud,
.lead{
  padding-top:72px !important;
  padding-bottom:72px !important;
}

/* фиолетовые заголовки секций */
.steps-cloud .section-title,
.advantages-cloud .section-title,
.reviews-cloud .section-title{
  color:#8B5CF6 !important;
}

/* если где-то заголовок вне cloud-класса */
.section-title{
  color:#8B5CF6 !important;
}

/* больше воздуха между соседними секциями */
.steps-cloud + section,
.advantages-cloud + section,
.reviews-cloud + section,
.lead + section{
  margin-top:28px !important;
}

/* внутри блоков тоже чуть больше воздуха */
.steps-cloud .section-title,
.advantages-cloud .section-title,
.reviews-cloud .section-title{
  margin-bottom:42px !important;
}

/* CTA-блок лучше сделать чуть компактнее, но с воздухом вокруг */
.lead{
  padding-top:84px !important;
  padding-bottom:84px !important;
}

@media(max-width:640px){
  .steps-cloud,
  .advantages-cloud,
  .reviews-cloud,
  .lead{
    padding-top:48px !important;
    padding-bottom:52px !important;
  }

  .steps-cloud .section-title,
  .advantages-cloud .section-title,
  .reviews-cloud .section-title{
    margin-bottom:28px !important;
  }
}
/* ===== бренд в футере ===== */

.footer-brand{
    display:flex !important;
    align-items:center !important;
    gap:12px !important;
    margin-bottom:18px !important;
    text-decoration:none !important;
}

.footer-brand::after{
    display:none !important;
}

.footer-brand-icon{
    width:52px !important;
    height:52px !important;
    flex-shrink:0 !important;
    display:block !important;
}

.footer-brand-text{
    display:flex !important;
    flex-direction:column !important;
}

.footer-brand-text strong{
    font-size:22px !important;
    line-height:1 !important;
    font-weight:900 !important;
    letter-spacing:-0.03em !important;
    color:#2A2040 !important;
}

.footer-brand-text span{
    font-size:11px !important;
    line-height:1.2 !important;
    font-weight:600 !important;
    color:#9490A8 !important;
    margin-top:4px !important;
}

/* старый футерный логотип отключаем */

.foot-logo{
    display:none !important;
}