/*
Theme Name: Живи сказку
Version: 1.4
Text Domain: zhivi-skazku
*/

*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:system-ui,-apple-system,Segoe UI,sans-serif;color:#171152;background:#fff}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.wrap{width:min(1180px,90%);margin:auto}.hero{background:#100a4b url('assets/hero.jpg') center/cover no-repeat;color:white;position:relative;overflow:hidden}.hero:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(11,7,58,.98) 0%,rgba(14,9,72,.94) 31%,rgba(15,9,78,.28) 70%,rgba(12,8,55,.08))}.hero>*{position:relative}.nav{height:94px;display:flex;align-items:center;justify-content:space-between;gap:28px}.logo{font-size:25px;font-weight:950;letter-spacing:-1.5px;color:white;text-shadow:0 3px 15px #31ccff}.logo i{font-style:normal;color:#ffe329}.navlinks{display:flex;gap:30px;font-size:14px;font-weight:650}.navlinks a:hover{text-decoration:underline}.navcta{border:1px solid #ffffff91;border-radius:50px;padding:12px 20px;font-size:14px;font-weight:750}.hero-content{min-height:610px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:50px 0 100px;max-width:610px}.eyebrow{font-size:12px;letter-spacing:.17em;font-weight:800;text-transform:uppercase;color:#a2eaff}.hero h1{font-size:clamp(43px,5.4vw,72px);line-height:1.03;letter-spacing:-.055em;margin:18px 0 20px;font-weight:900}.hero h1 span{color:#ffdf24}.hero p{font-size:19px;line-height:1.55;max-width:440px;color:#f1efff}.actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:22px}.btn{display:inline-flex;justify-content:center;align-items:center;gap:14px;border:0;cursor:pointer;background:#ffdc27;color:#151052;border-radius:50px;padding:18px 28px;font-weight:850;box-shadow:0 7px 0 #d89913,0 12px 35px #ffdc2740;transition:transform .2s}.btn:hover{transform:translateY(-3px)}.btn.secondary{background:transparent;border:1px solid #ffffffaa;color:white;box-shadow:none}.little{margin-top:34px;display:flex;align-items:center;gap:12px;font-size:13px;color:#dedcff}.little img{width:54px;height:54px;object-fit:cover;border:3px solid white;border-radius:13px;transform:rotate(-7deg)}.section{padding:100px 0}.overline{font-weight:850;color:#694bdb;font-size:12px;text-transform:uppercase;letter-spacing:.16em}.section h2{font-size:clamp(33px,4vw,53px);line-height:1.1;letter-spacing:-.045em;margin:14px 0 16px}.lead{font-size:18px;color:#656187;line-height:1.6;max-width:620px}.center{text-align:center}.center .lead{margin:0 auto}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:48px}.card{background:#fff;border:1px solid #e9e6fa;border-radius:24px;overflow:hidden;box-shadow:0 13px 45px #2313750d}.card img{display:block;width:100%;aspect-ratio:1.42;object-fit:cover}.cardbody{padding:23px}.cardbody small{color:#746db1;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.card h3{font-size:22px;margin:9px 0}.card p{color:#716e8e;line-height:1.55;margin:0}.notice{color:#777391;font-size:13px;margin:18px 0 0}.soft{background:#eff6ff}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:48px}.step{padding:32px;border-radius:24px;background:#fff}.num{height:45px;width:45px;display:grid;place-items:center;background:#ffdf2b;border-radius:50%;font-weight:900;font-size:20px}.step h3{font-size:22px;margin:22px 0 10px}.step p{color:#6d6989;line-height:1.6}.story{background:#160d59;color:#fff;border-radius:34px;padding:58px;display:grid;grid-template-columns:1fr 1fr;gap:35px;align-items:center;overflow:hidden}.story h2{margin-top:12px}.story p{color:#e0dcf9;line-height:1.7}.story .overline{color:#ffe028}.pills{display:flex;flex-wrap:wrap;gap:10px}.pills span{border:1px solid #ffffff62;border-radius:50px;padding:12px 17px;font-size:14px}.gift{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:42px}.gift div{border-radius:20px;background:#f6f3ff;padding:24px;font-weight:800;line-height:1.4}.gift b{display:block;color:#7b5de3;font-size:25px;margin-bottom:12px}.faq{max-width:800px;margin:42px auto 0}details{border-bottom:1px solid #e4e2f1;padding:20px 0}summary{font-size:18px;font-weight:750;cursor:pointer}details p{color:#6c6984;line-height:1.65}.order{background:linear-gradient(135deg,#23116c,#164ca8 65%,#4b1eb0);color:#fff;border-radius:35px;padding:60px;display:grid;grid-template-columns:1fr 1fr;gap:55px}.order p{color:#dfdef8;line-height:1.6}.form{background:#fff;color:#171152;padding:28px;border-radius:22px}.form label{display:block;font-size:13px;font-weight:750;margin:14px 0 6px}.form input,.form select,.form textarea{width:100%;border:1px solid #ddd9ee;border-radius:11px;padding:12px;background:#fafaff;color:#171152}.form textarea{resize:vertical;min-height:90px}.form .btn{width:100%;margin-top:17px}.form small{display:block;color:#77718d;line-height:1.5;margin-top:15px}.result{display:none;background:#f1edff;padding:15px;border-radius:12px;margin-top:16px;white-space:pre-wrap;color:#28205e;font-size:14px}.result.show{display:block}footer{padding:40px 0;color:#77718f;font-size:13px}.foot{display:flex;justify-content:space-between;gap:20px}.foot .logo{color:#27147d;text-shadow:none}.foot .logo i{color:#f4be00}@media(max-width:760px){.nav{height:75px}.navlinks,.navcta{display:none}.hero{background-position:60% center}.hero:before{background:linear-gradient(90deg,rgba(12,7,60,.97) 0%,rgba(12,7,60,.8) 56%,rgba(12,7,60,.3) 100%),linear-gradient(0deg,#100a4b 0%,transparent 50%)}.hero-content{min-height:630px;padding:55px 0 80px}.hero h1{max-width:460px;font-size:48px}.hero p{font-size:17px;max-width:340px}.section{padding:70px 0}.cards{grid-template-columns:1fr;gap:16px}.card img{aspect-ratio:1.75}.steps{grid-template-columns:1fr;gap:14px}.step{padding:25px}.story,.order{grid-template-columns:1fr;padding:30px;gap:25px}.gift{grid-template-columns:1fr 1fr}.foot{flex-direction:column}.btn{padding:16px 23px}}
.reference-hero{background:#0e0947}.reference-frame{position:relative;max-width:980px;margin:0 auto;line-height:0}.reference-frame img{display:block;width:100%;height:auto}.hotspot{position:absolute;display:block;border-radius:999px}.hotspot:focus-visible{outline:4px solid #fff;outline-offset:2px}.examples-nav{left:40%;top:2%;width:14%;height:7%}.how-nav{left:56%;top:2%;width:15%;height:7%}.gift-nav{left:73%;top:2%;width:26%;height:7%}.order-button{left:4%;top:54%;width:38%;height:11%}.examples-button{left:6%;top:67%;width:30%;height:8%}.play-button{left:65%;top:20%;width:15%;height:19%}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:600px){.reference-frame{width:100%}.reference-hero+.section{padding-top:55px}}.newyear{padding:84px 0;background:linear-gradient(180deg,#eff5ff 0%,#fff 100%)}.ny-panel{border-radius:32px;overflow:hidden;background:#120d53;display:grid;grid-template-columns:1fr 1fr;box-shadow:0 22px 60px #20136a24}.ny-copy{padding:54px 48px;color:white;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.ny-tag{color:#ffe26b;font-size:12px;font-weight:850;letter-spacing:.15em;text-transform:uppercase}.ny-copy h2{font-size:clamp(34px,3.9vw,51px);line-height:1.06;letter-spacing:-.045em;margin:15px 0}.ny-copy p{color:#e9e7ff;line-height:1.65;font-size:17px}.ny-copy .btn{margin-top:15px}.ny-art{min-height:390px;background:#191769 url('assets/newyear.jpg') center/cover no-repeat}.ny-example{margin-top:22px;border:1px solid #e4e3f5;border-radius:24px;padding:26px 30px;background:white;display:grid;grid-template-columns:220px 1fr;gap:22px}.ny-example small{display:block;color:#6a51d7;font-size:12px;font-weight:850;text-transform:uppercase;letter-spacing:.1em}.ny-example h3{margin:8px 0 0;font-size:23px}.ny-example p{margin:0;color:#656187;line-height:1.7}.ny-note{margin-top:10px;color:#777391;font-size:13px}@media(max-width:760px){.newyear{padding:55px 0}.ny-panel{grid-template-columns:1fr}.ny-copy{padding:32px 26px}.ny-art{min-height:260px;grid-row:1}.ny-example{grid-template-columns:1fr;gap:12px;padding:23px}} .journey-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin-top:45px}.journey-grid .step{background:#f5f3ff;padding:24px 20px}.journey-grid h3{font-size:19px}.journey-grid p{font-size:15px}@media(max-width:1000px){.journey-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:760px){.journey-grid{grid-template-columns:1fr;gap:14px}} 
/* Responsive, independently editable hero */
.hero-v2{background:#100a4b;isolation:isolate}.hero-v2:before{background:radial-gradient(circle at 80% 45%,#382392 0%,transparent 50%);pointer-events:none}.hero-v2 .hero-layout{display:grid;grid-template-columns:minmax(0,0.85fr) minmax(0,1.15fr);gap:clamp(24px,4vw,60px);align-items:center;padding:28px 0 76px}.hero-v2 .hero-content{min-height:0;max-width:none;padding:30px 0}.hero-v2 h1{font-size:clamp(42px,4.6vw,66px);line-height:1.08;overflow-wrap:anywhere}.hero-v2 .hero-visual{border-radius:30px;overflow:hidden;box-shadow:0 24px 70px #03012780;line-height:0}.hero-v2 .hero-visual img{display:block;width:100%;height:auto;aspect-ratio:16/11;object-fit:cover;object-position:72% center}.hero-v2 .btn:focus-visible,.hero-v2 a:focus-visible{outline:3px solid #fff;outline-offset:4px}@media(max-width:760px){.hero-v2 .hero-layout{grid-template-columns:1fr;gap:28px;padding:20px 0 55px}.hero-v2 .hero-content{padding:12px 0 0;min-height:0}.hero-v2 h1{font-size:clamp(34px,9vw,48px);line-height:1.08}.hero-v2 .hero-visual{border-radius:22px}.hero-v2 .hero-visual img{aspect-ratio:16/10;object-position:72% center}.hero-v2 .actions{margin-top:18px}.hero-v2 .actions .btn{max-width:100%}}

.zhivi-doc-links{display:flex;flex-wrap:wrap;gap:12px 25px;padding-bottom:30px;font-size:14px}.zhivi-doc-links a,.zhivi-consent a{text-decoration:underline}.form label.zhivi-consent{display:flex;align-items:flex-start;gap:10px;font-weight:400;line-height:1.5}.form .zhivi-consent input{width:auto;margin:4px 0 0;flex:none}.zhivi-page{min-height:50vh;padding:55px 0 80px}.zhivi-page-content{max-width:850px;margin:auto;line-height:1.7;overflow-wrap:anywhere}.zhivi-page-content img{max-width:100%;height:auto}

.hero-v3{background:#100a4b;isolation:isolate;min-height:730px}.hero-v3 .hero-backdrop{position:absolute;inset:0;z-index:-2;line-height:0}.hero-v3 .hero-backdrop img{width:100%;height:100%;object-fit:cover;object-position:70% center}.hero-v3:before{z-index:-1;background:linear-gradient(90deg,rgba(9,6,52,.97) 0%,rgba(11,7,61,.88) 30%,rgba(12,7,64,.20) 68%,transparent 100%);pointer-events:none}.hero-v3 .hero-wrap{position:relative}.hero-v3 .hero-content{min-height:625px;padding:40px 0 60px;max-width:565px}.hero-v3 h1{font-size:clamp(42px,5vw,68px);line-height:1.06;text-shadow:0 3px 24px #08052f}.hero-v3 p{text-shadow:0 2px 12px #08052f}.hero-transformation{display:flex;align-items:center;gap:12px;margin-top:34px;color:#fff;font-weight:700;font-size:14px}.hero-photo{width:100px;height:100px;object-fit:cover;border:5px solid white;border-radius:17px;transform:rotate(-7deg);box-shadow:0 7px 24px #05032680}.hero-arrow{width:70px;height:42px;flex:none}.hero-v3 a:focus-visible{outline:3px solid white;outline-offset:4px}@media(max-width:760px){.hero-v3{min-height:0}.hero-v3 .hero-backdrop img{object-position:72% bottom}.hero-v3:before{background:linear-gradient(180deg,rgba(9,6,52,.95) 0%,rgba(9,6,52,.86) 40%,rgba(9,6,52,.18) 80%,rgba(9,6,52,.48) 100%)}.hero-v3 .hero-content{min-height:710px;justify-content:flex-start;padding:35px 0 215px;max-width:100%}.hero-v3 h1{font-size:clamp(34px,9vw,48px);line-height:1.08;max-width:420px}.hero-v3 p{max-width:330px}.hero-transformation{margin-top:26px}.hero-photo{width:80px;height:80px}.hero-arrow{width:56px}.hero-transformation span{max-width:105px;font-size:12px}}
