/* Знайка — страницы: предметы, о проекте, тарифы, помощь, контакты, достижения */

/* предметы */
.big-subjects { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: -30px; position: relative; z-index: 2; }
.bs-card { position: relative; display: flex; align-items: center; gap: 18px; min-height: 200px; padding: 24px 70px 24px 24px; border-radius: 30px; overflow: hidden; isolation: isolate; box-shadow: 0 14px 34px rgba(15,42,120,.12); transition: transform .25s ease, box-shadow .25s ease; }
.bs-card.tone-blue { background: linear-gradient(140deg, #e3f1ff, #b4dbfb); }
.bs-card.tone-violet { background: linear-gradient(140deg, #efe6ff, #ccb8f6); }
.bs-card.tone-green { background: linear-gradient(140deg, #e3faD8, #b3eb98); }
.bs-card.tone-orange { background: linear-gradient(140deg, #fff2c6, #fccb63); }
.bs-card:hover { transform: translateY(-6px) rotate(-.5deg); box-shadow: 0 22px 44px rgba(15,42,120,.2); }
.bs-blob { position: absolute; width: 260px; height: 260px; right: -80px; top: -90px; border-radius: 50%; background: rgba(255,255,255,.45); z-index: -1; transition: transform .4s ease; }
.bs-card:hover .bs-blob { transform: scale(1.3); }
.bs-img { width: 120px; flex-shrink: 0; filter: drop-shadow(0 10px 14px rgba(0,0,0,.15)); transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.bs-card:hover .bs-img { transform: scale(1.12) rotate(-6deg); }
.bs-body h2 { font-size: 26px; font-weight: 900; }
.bs-body p { margin: 6px 0 10px; font-size: 15px; color: var(--ink); font-weight: 500; }
.bs-meta { display: flex; gap: 6px; flex-wrap: wrap; }
.bs-meta span { padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.75); font-size: 13px; font-weight: 700; }
.bs-bar { height: 8px; border-radius: 8px; background: rgba(255,255,255,.7); margin-top: 10px; overflow: hidden; }
.bs-bar i { display: block; height: 100%; width: var(--w); border-radius: 8px; background: linear-gradient(90deg, #22c55e, #16a34a); }
.round-go { position: absolute; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-size: 22px; font-weight: 800; transition: transform .2s; }
.bs-card:hover .round-go { transform: translateX(4px); }
.how-grid, .benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.how-item, .bf { padding: 22px; border-radius: 24px; background: #fff; box-shadow: 0 8px 22px rgba(15,42,120,.08); }
.how-item span, .bf span { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; font-size: 32px; background: var(--tint); margin-bottom: 10px; }
.how-item b, .bf b { display: block; font-size: 17px; font-weight: 800; }
.how-item p, .bf p { margin-top: 6px; font-size: 14px; color: var(--ink); line-height: 1.45; }
.how { padding-bottom: 50px; }

/* о проекте */
.about-hero { position: relative; overflow: hidden; padding: 40px 0 80px; background: linear-gradient(120deg, #cfe6ff, #e9dcff 60%, #ffe7f2); isolation: isolate; }
.about-hero::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -60px; height: 110px; background: var(--page); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.about-hero .p-bubbles i { background: rgba(255,255,255,.5); }
.ah-row { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 20px; }
.kicker { display: inline-block; padding: 6px 14px; border-radius: 999px; background: #fff; font-weight: 800; color: var(--blue); }
.ah-text h1 { margin: 14px 0; font-size: clamp(30px, 4vw, 52px); font-weight: 900; line-height: 1.08; letter-spacing: -.02em; }
.ah-text p { font-size: 18px; color: var(--ink); font-weight: 500; }
.ah-mila { width: min(380px, 100%); justify-self: center; filter: drop-shadow(0 20px 30px rgba(15,42,120,.25)); }
.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -40px; position: relative; z-index: 2; }
.counters div { padding: 22px; border-radius: 24px; background: #fff; text-align: center; box-shadow: 0 10px 26px rgba(15,42,120,.1); }
.counters b { display: block; font-size: 44px; font-weight: 900; background: linear-gradient(135deg, #2f6ff0, #a066ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.counters span { font-weight: 700; color: var(--ink); }
.steps-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.st { position: relative; padding: 26px 22px; border-radius: 26px; background: #fff; box-shadow: 0 10px 26px rgba(15,42,120,.08); }
.st-n { position: absolute; top: -14px; left: 22px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 900; background: linear-gradient(135deg, #2f6ff0, #a066ff); }
.st-e { font-size: 44px; display: block; margin-bottom: 6px; }
.st b { font-size: 18px; font-weight: 800; }
.st p { margin-top: 6px; color: var(--ink); line-height: 1.5; font-size: 15px; }
.cta-strip { display: flex; align-items: center; gap: 22px; margin: 50px 0; padding: 24px 32px; border-radius: 30px; color: #fff; background: linear-gradient(110deg, #2f74f0, #6fb2ff); box-shadow: 0 16px 40px rgba(31,95,224,.3); }
.cta-strip img { width: 150px; margin: -50px 0 -30px; }
.cta-strip h2 { font-size: 28px; font-weight: 900; }
.cta-strip div { flex: 1; }
.cta-strip.small { margin: 34px 0 10px; }

/* тарифы */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: -30px; position: relative; z-index: 2; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 26px 22px; border-radius: 28px; background: #fff; box-shadow: 0 12px 30px rgba(15,42,120,.1); transition: transform .25s; }
.price-card:hover { transform: translateY(-6px); }
.price-card.hit { background: linear-gradient(160deg, #2f6ff0, #8a5cf6); color: #fff; box-shadow: 0 20px 44px rgba(91,90,240,.4); transform: scale(1.03); }
.price-card.hit:hover { transform: scale(1.03) translateY(-6px); }
.price-card h2 { font-size: 22px; font-weight: 900; }
.pc-price { font-size: 40px; font-weight: 900; margin: 6px 0 0; }
.pc-per { font-weight: 700; opacity: .8; }
.price-card p { margin: 10px 0; font-size: 14px; }
.price-card ul { list-style: none; padding: 0; margin: 10px 0 18px; display: grid; gap: 8px; font-size: 14px; font-weight: 600; }
.price-card .btn { margin-top: auto; }
.price-card.hit .btn { background: #fff; color: var(--navy); }
.pc-badge { position: absolute; top: -14px; right: 18px; padding: 6px 12px; border-radius: 999px; background: #ffd23f; color: var(--navy); font-weight: 800; font-size: 13px; animation: wob 3s ease-in-out infinite; }
@keyframes wob { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }

/* помощь */
.help-wrap { padding-bottom: 40px; max-width: 860px; }
.faq-search { margin: -30px 0 20px; position: relative; z-index: 2; }
.faq-search input { padding: 16px 20px; border-radius: 18px; box-shadow: 0 10px 26px rgba(15,42,120,.1); border-color: transparent; }
.faq { display: grid; gap: 10px; margin-bottom: 26px; }
.faq-item { border-radius: 18px; background: #fff; box-shadow: 0 4px 14px rgba(15,42,120,.07); overflow: hidden; }
.faq-item summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 20px; font-weight: 800; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--blue); font-weight: 900; transition: transform .25s; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { padding: 0 20px 18px; margin: 0; color: var(--ink); line-height: 1.55; animation: rise .3s ease; }

/* контакты */
.contact-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 22px; align-items: start; margin-top: -30px; position: relative; z-index: 2; padding-bottom: 40px; }
.contact-side { display: grid; gap: 12px; }
.ct { display: grid; grid-template-columns: 50px 1fr; grid-template-rows: auto auto; column-gap: 12px; padding: 14px; border-radius: 20px; background: #fff; box-shadow: 0 6px 18px rgba(15,42,120,.08); transition: transform .15s; }
.ct:hover { transform: translateX(4px); }
.ct span { grid-row: span 2; width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; background: var(--tint); }
.ct b { align-self: end; }
.ct small { color: var(--muted); font-weight: 600; }
.contact-side img { width: 180px; justify-self: center; }
.sent { text-align: center; padding: 20px 0; }
.sent span { font-size: 80px; display: block; }

/* документ */
.doc { max-width: 860px; margin: 30px auto 50px; line-height: 1.6; }
.doc h1 { font-size: 30px; font-weight: 900; }
.doc h2 { font-size: 19px; margin: 20px 0 6px; }

/* достижения */
.ach-summary { margin: -30px 0 22px; position: relative; z-index: 2; }
.ach-sum { display: flex; align-items: center; gap: 22px; padding: 22px; border-radius: 26px; background: #fff; box-shadow: 0 10px 26px rgba(15,42,120,.1); }
.ach-ring { width: 110px; height: 110px; border-radius: 50%; flex-shrink: 0; display: grid; place-content: center; text-align: center; background: radial-gradient(closest-side, #fff 76%, transparent 77%), conic-gradient(#ffb800 calc(var(--p) * 1%), #e8eef9 0); }
.ach-ring b { font-size: 34px; font-weight: 900; line-height: 1; }
.ach-ring small { font-weight: 700; color: var(--muted); }
.ach-sum h2 { font-size: 24px; font-weight: 900; }
.ach-sum p { margin-top: 4px; font-weight: 600; color: var(--ink); }
.ach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; padding-bottom: 50px; }
.ach { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 22px 16px 18px; border-radius: 24px; background: #fff; box-shadow: 0 6px 18px rgba(15,42,120,.08); filter: grayscale(.85); opacity: .75; }
.ach.got { filter: none; opacity: 1; background: linear-gradient(170deg, #fffbea, #fff); box-shadow: 0 0 0 3px #ffd23f, 0 12px 26px rgba(255,190,0,.25); }
.ach-ico { font-size: 48px; line-height: 1.1; }
.ach.got .ach-ico { animation: floatY 3s ease-in-out infinite; animation-delay: calc(var(--i) * -.3s); }
.ach b { font-weight: 900; }
.ach small { color: var(--ink); font-weight: 600; }
.ach-ok { margin-top: 6px; padding: 4px 12px; border-radius: 999px; background: #ffd23f; font-weight: 800; font-size: 13px; }
.ach-bar { width: 100%; height: 8px; border-radius: 8px; background: #e8eef9; margin-top: 8px; overflow: hidden; }
.ach-bar i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, #5aa2ff, #a066ff); }
.ach-pr { font-size: 12px; }

@media (max-width: 1020px) {
  .big-subjects { grid-template-columns: 1fr; }
  .how-grid, .benefits { grid-template-columns: 1fr 1fr; }
  .price-grid { grid-template-columns: 1fr 1fr; }
  .ah-row { grid-template-columns: 1fr; text-align: center; }
  .ah-row .row { justify-content: center; }
  .ah-mila { width: 240px; }
  .counters { grid-template-columns: 1fr 1fr; }
  .steps-3 { grid-template-columns: 1fr; gap: 26px; }
  .contact-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .bs-card { flex-direction: column; align-items: flex-start; padding: 20px; }
  .bs-img { width: 90px; }
  .how-grid, .benefits, .price-grid { grid-template-columns: 1fr; }
  .price-card.hit { transform: none; }
  .cta-strip { flex-direction: column; text-align: center; padding: 22px; }
  .cta-strip img { margin: -60px 0 0; width: 130px; }
  .ach-sum { flex-direction: column; text-align: center; }
  .ach-grid { grid-template-columns: 1fr 1fr; }
}

/* объёмные иконки */
.how-item .hi, .bf .hi { position: relative; width: 84px; height: 84px; border-radius: 26px; display: grid; place-items: center; margin-bottom: 14px; isolation: isolate; overflow: hidden; }
.hi::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; }
.hi::after { content: ""; position: absolute; width: 60px; height: 60px; border-radius: 50%; right: -18px; top: -18px; background: rgba(255,255,255,.55); z-index: -1; }
.hi-blue::before { background: linear-gradient(140deg, #e3f0ff, #b8d6ff); }
.hi-yellow::before { background: linear-gradient(140deg, #fff7d1, #ffe08a); }
.hi-pink::before { background: linear-gradient(140deg, #ffe4ec, #ffbfd0); }
.hi-violet::before { background: linear-gradient(140deg, #efe6ff, #d3c0ff); }
.hi-green::before { background: linear-gradient(140deg, #e3fae9, #b5ecc6); }
.hi-orange::before { background: linear-gradient(140deg, #fff0e0, #ffd2a8); }
.ic3d { width: 58px; height: 58px; filter: drop-shadow(0 6px 6px rgba(15,42,120,.18)); transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.hi .mila-face { width: 84px; height: 84px; margin-top: 10px; filter: drop-shadow(0 6px 8px rgba(15,42,120,.25)); }
.how-item:hover .ic3d, .bf:hover .ic3d { transform: scale(1.14) rotate(-8deg); }
.how-item:hover .mila-face { transform: scale(1.08) rotate(6deg); }
.how-item .hi .ic3d { animation: icFloat 4s ease-in-out infinite; animation-delay: calc(var(--i) * -1s); }
@keyframes icFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -4px; } }
.st-e { width: 74px; height: 74px; margin-bottom: 10px; }
.st-e .ic3d { width: 74px; height: 74px; }
