/* =========================================================================
   The Seven — portfolio
   ========================================================================= */
.ya-word { font: 700 17px/1 Arial, var(--f-text); color: #000; letter-spacing: -0.01em; }
.ya-word b { color: #fc3f1d; font-weight: 800; }
.marquee__cap { margin: 0 0 14px; text-align: center; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.logo-chip img[src*="visa"] { height: 24px; }
.logo-chip img[src*="mastercard"] { height: 30px; }
.logo-chip img[src*="halyk"] { height: 30px; }
.marquee.is-drag-ready { cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.marquee.is-drag-ready .marquee__track { animation: none !important; will-change: transform; }
.marquee.is-dragging { cursor: grabbing; }
.marquee.is-dragging .logo-chip { pointer-events: none; }
.site-foot__tm { margin-top: 10px; font-size: 12.5px; color: #6f6b9a; }
.amo-word { font: 800 21px/1 var(--f-text); letter-spacing: -0.02em; color: #1d77ff; }
.amo-word i { font-style: normal; color: #15123a; }

/* devices */
.laptop { position: relative; width: 78%; }
.laptop__screen { border-radius: 14px 14px 0 0; padding: 8px 8px 0; background: #0d0c1d; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .55); }
.laptop__bar { display: flex; align-items: center; gap: 5px; height: 22px; padding: 0 10px; border-radius: 8px 8px 0 0; background: #eceef4; }
.laptop__bar i { width: 7px; height: 7px; border-radius: 50%; background: #d3d5df; }
.laptop__bar i:first-child { background: #ff6b5e; } .laptop__bar i:nth-child(2) { background: #ffc23d; } .laptop__bar i:nth-child(3) { background: #2fcb6b; }
.laptop__bar span { margin-left: 8px; padding: 1px 10px; border-radius: 6px; background: #fff; font-size: 10.5px; color: #6d6b86; white-space: nowrap; }
.laptop__view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #fff; }
.laptop__view img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.laptop__scroll { position: absolute; inset: 0; background: var(--full) 50% 0 / 100% auto no-repeat; opacity: 0; transition: opacity .4s; }
.laptop__base { height: 12px; margin: 0 -7%; border-radius: 0 0 14px 14px; background: linear-gradient(#d9dbe6, #a9abbb); box-shadow: 0 16px 24px -12px rgba(0, 0, 0, .4); }
.laptop__base::before { content: ""; display: block; width: 18%; height: 5px; margin: 0 auto; border-radius: 0 0 6px 6px; background: #b9bbc9; }
.phone { position: relative; width: 24%; border-radius: 26px; padding: 6px; background: #0d0c1d; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
.phone img { width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border-radius: 20px; display: block; }
.phone__notch { position: absolute; top: 10px; left: 50%; width: 30%; height: 12px; margin-left: -15%; border-radius: 10px; background: #0d0c1d; z-index: 1; }

/* cards */
.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.case { border-radius: 30px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .3s; }
.case:hover { transform: translateY(-6px); box-shadow: 0 40px 80px -40px color-mix(in srgb, var(--c1) 70%, transparent); }
.case--big { grid-column: 1 / -1; }
.case__link { display: flex; flex-direction: column; height: 100%; color: var(--ink); text-decoration: none; }
.case--big .case__link { display: grid; grid-template-columns: 1.35fr 1fr; }
.case__link:hover { color: var(--ink); }
.case__stage { position: relative; display: flex; align-items: flex-end; justify-content: center; min-height: 300px; padding: 40px 34px 0; overflow: hidden;
  background: radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--c1) 80%, #fff) 0%, var(--c1) 40%, var(--c2) 100%); }
.case--big .case__stage { min-height: 460px; padding: 56px 48px 0; }
.case__blob { position: absolute; border-radius: 50%; }
.case__blob--1 { width: 60%; aspect-ratio: 1; right: -18%; top: -30%; background: rgba(255, 255, 255, .16); }
.case__blob--2 { width: 40%; aspect-ratio: 1; left: -12%; bottom: -20%; background: rgba(0, 0, 0, .14); }
@media (prefers-reduced-motion: no-preference) { .case.is-in .case__blob--1 { animation: blob 12s ease-in-out infinite alternate; } }
@keyframes blob { to { transform: translate(-12%, 14%) scale(1.15); } }
.case__stage .laptop { z-index: 1; transform: translateY(14px); transition: transform .6s var(--ease); }
.case:hover .case__stage .laptop { transform: translateY(4px); }
.case__stage .phone { position: absolute; right: 7%; bottom: -30px; z-index: 2; transform: rotate(4deg); transition: transform .6s var(--ease); }
.case:hover .case__stage .phone { transform: rotate(0) translateY(-14px); }
@media (prefers-reduced-motion: no-preference) {
  .case:hover .laptop__scroll { opacity: 1; animation: pageScroll 9s linear .3s infinite alternate; }
}
@keyframes pageScroll { from { background-position: 50% 0; } to { background-position: 50% 100%; } }
.case__body { display: flex; flex-direction: column; gap: 10px; padding: 26px 28px 28px; flex: 1; }
.case--big .case__body { justify-content: center; padding: 40px; }
.case__ind { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 650; color: var(--muted); }
.case__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c1); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c1) 22%, transparent); }
.case__title { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); letter-spacing: -0.025em; }
.case--big .case__title { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem); }
.case__tag { color: var(--muted); }
.case__res { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 4px; }
.case__res span { display: flex; flex-direction: column; }
.case__res b { font: 700 1.6rem/1.05 var(--f-display); color: color-mix(in srgb, var(--c1) 85%, #15123a); letter-spacing: -0.02em; }
.case__res small { font-size: 13px; color: var(--muted); max-width: 14em; }
.case__go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; font-weight: 650; color: var(--ink); }
.case__go .ico { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.case:hover .case__go .ico { transform: translateX(5px); }

/* portfolio hero */
.pf-hero { position: relative; padding: clamp(28px, 4vw, 56px) 0 clamp(40px, 5vw, 72px); overflow: hidden; }
.pf-hero__bg span { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; }
.pf-hero__bg span:nth-child(1) { width: 420px; height: 420px; right: 4%; top: -120px; background: #ff5a36; }
.pf-hero__bg span:nth-child(2) { width: 360px; height: 360px; right: 26%; top: 80px; background: #3b2bff; }
.pf-hero__bg span:nth-child(3) { width: 300px; height: 300px; right: -4%; top: 200px; background: #23c48e; }
@media (prefers-reduced-motion: no-preference) { .pf-hero__bg span { animation: glow 12s ease-in-out infinite alternate; } .pf-hero__bg span:nth-child(2) { animation-duration: 16s; } }
.pf-hero .wrap { position: relative; }
.pf-hero__title { font-size: clamp(2.4rem, 1.4rem + 4vw, 5rem); letter-spacing: -0.04em; line-height: 1; }
.pf-hero__lead { margin-top: 20px; max-width: 40em; font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); color: var(--ink-2); }
.pf-hero__stats { display: flex; flex-wrap: wrap; gap: 14px; list-style: none; margin-top: 30px; }
.pf-hero__stats li { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 20px; background: rgba(255, 255, 255, .8); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px var(--line); }
.pf-hero__stats b { font: 700 1.8rem/1 var(--f-display); color: var(--ultra); }
.pf-hero__stats span { font-size: 14px; color: var(--muted); max-width: 10em; line-height: 1.3; }
.pf-home { background: #fff; }
.pf-home .case { background: var(--fog); box-shadow: none; }

/* case page */
.cs-hero { position: relative; padding: clamp(28px, 4vw, 56px) 0 0; overflow: hidden; color: #fff;
  background: radial-gradient(120% 120% at 0% 0%, color-mix(in srgb, var(--c1) 80%, #fff) 0%, var(--c1) 35%, var(--c2) 100%); }
.cs-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .28), transparent 55%); pointer-events: none; }
.cs-hero__blob { position: absolute; border-radius: 50%; pointer-events: none; }
.cs-hero__blob--1 { width: 640px; aspect-ratio: 1; right: -160px; top: -260px; background: rgba(255, 255, 255, .14); }
.cs-hero__blob--2 { width: 420px; aspect-ratio: 1; left: -140px; bottom: -200px; background: rgba(0, 0, 0, .16); }
@media (prefers-reduced-motion: no-preference) { .cs-hero__blob--1 { animation: blob 14s ease-in-out infinite alternate; } }
.cs-hero__in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: 40px; align-items: end; }
.cs-hero__text { padding-bottom: clamp(48px, 6vw, 96px); text-shadow: 0 1px 20px rgba(0, 0, 0, .15); }
.crumbs--light a, .crumbs--light li { color: rgba(255, 255, 255, .8); }
.crumbs--light li + li::before { color: rgba(255, 255, 255, .5); }
.cs-hero__ind { display: inline-block; margin-bottom: 14px; padding: 6px 14px; border-radius: 99px; background: rgba(255, 255, 255, .18); font-weight: 650; font-size: 14px; }
.cs-hero__title { font-size: clamp(2.6rem, 1.6rem + 4vw, 5.2rem); letter-spacing: -0.04em; line-height: 1; }
.cs-hero__lead { margin-top: 18px; font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); color: rgba(255, 255, 255, .92); max-width: 30em; }
.cs-hero__shots { position: relative; display: flex; justify-content: center; align-items: flex-end; padding-top: 30px; }
.laptop--xl { width: 86%; transform: translateY(16px); }
.cs-hero__shots .phone--xl { position: absolute; right: 2%; bottom: -36px; width: 22%; transform: rotate(4deg); }
@media (prefers-reduced-motion: no-preference) {
  .cs-hero__shots .laptop { animation: csUp .9s var(--ease) .1s both; }
  .cs-hero__shots .phone { animation: phoneIn 1s var(--ease) .45s both; }
}
@keyframes csUp { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: translateY(16px); } }
@keyframes phoneIn { from { opacity: 0; transform: translateY(60px) rotate(10deg); } to { opacity: 1; transform: rotate(4deg); } }
.cs-stats { position: relative; z-index: 2; background: var(--ink); color: #fff; }
.cs-stats__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); list-style: none; }
.cs-stats__list li { padding: 34px 24px; border-left: 1px solid var(--line-dark); }
.cs-stats__list li:first-child { border-left: 0; padding-left: 0; }
.cs-stats__list b { display: block; font: 700 clamp(2rem, 1.4rem + 2vw, 3.2rem)/1 var(--f-display); letter-spacing: -0.03em; background: linear-gradient(120deg, #fff, color-mix(in srgb, var(--c1) 45%, #fff)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cs-stats__list span { display: block; margin-top: 10px; color: #c9c6e6; font-size: 15px; }
.cs-story__in { display: grid; gap: clamp(40px, 5vw, 64px); max-width: 1040px; }
.cs-block__k { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-weight: 700; font-size: 15px; color: var(--muted); }
.cs-block__k span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: var(--c1); color: #fff; font: 700 14px var(--f-display); }
.cs-block__big { font: 600 clamp(1.3rem, 1rem + 1.2vw, 2rem)/1.3 var(--f-display); letter-spacing: -0.02em; max-width: 28em; }
.cs-block__big + .cs-block__big { margin-top: .6em; color: var(--ink-2); }
.cs-done { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; }
.cs-done li { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; line-height: 1.35; }
.cs-done__ico { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 15px; background: color-mix(in srgb, var(--c1) 14%, #fff); color: color-mix(in srgb, var(--c1) 85%, #15123a); }
.tags--brand li { background: color-mix(in srgb, var(--c1) 12%, #fff); color: color-mix(in srgb, var(--c1) 70%, #15123a); font-weight: 650; }
.cs-gallery { padding: clamp(56px, 7vw, 100px) 0; background: radial-gradient(80% 80% at 100% 0%, color-mix(in srgb, var(--c1) 22%, var(--fog)), var(--fog) 70%); }
.cs-gallery__in { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.cs-scroll { border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 50px 100px -50px rgba(21, 18, 58, .5), 0 0 0 1px rgba(21, 18, 58, .08); }
.cs-scroll .laptop__bar { height: 34px; border-radius: 0; }
.cs-scroll__view { height: 560px; overflow-y: auto; scrollbar-width: thin; }
.cs-scroll__view img { width: 100%; display: block; }
@media (prefers-reduced-motion: no-preference) {
  .cs-scroll.is-in .cs-scroll__view img { animation: autoScroll 26s ease-in-out 1s infinite alternate; }
  .cs-scroll:hover .cs-scroll__view img, .cs-scroll__view:focus img { animation-play-state: paused; }
}
@keyframes autoScroll { 0%, 8% { transform: translateY(0); } 92%, 100% { transform: translateY(calc(-100% + 560px)); } }
.cs-scroll__hint { padding: 10px 16px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }
.cs-phones { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cs-phones .phone { width: 100%; }
.cs-phones .phone:nth-child(2) { margin-top: 60px; }
.cs-next { display: block; padding: clamp(36px, 5vw, 64px) 0; color: #fff; text-decoration: none; background: linear-gradient(110deg, var(--c1), var(--c2)); }
.cs-next:hover { color: #fff; }
.cs-next__in { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cs-next span { font-weight: 600; opacity: .85; }
.cs-next b { font: 650 clamp(1.6rem, 1.1rem + 2vw, 2.8rem)/1.1 var(--f-display); letter-spacing: -0.03em; }
.cs-next .ico { width: 34px; height: 34px; margin-left: auto; transition: transform .4s var(--ease); }
.cs-next:hover .ico { transform: translateX(10px); }

@media (max-width: 1000px) {
  .case--big .case__link { display: flex; }
  .cs-hero__in, .cs-gallery__in { grid-template-columns: minmax(0, 1fr); }
  .cs-hero__text { padding-bottom: 0; }
  .cs-done { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .cases { grid-template-columns: minmax(0, 1fr); }
  .case__stage, .case--big .case__stage { min-height: 230px; padding: 28px 20px 0; }
  .case__body, .case--big .case__body { padding: 22px; }
  .cs-scroll__view { height: 440px; }
  .cs-stats__list li { padding: 22px 16px; border-left: 0; border-top: 1px solid var(--line-dark); }
  .cs-stats__list li:first-child { padding-left: 16px; }
  .cs-stats__list { grid-template-columns: 1fr 1fr; }
  .cs-hero__shots .phone--xl { width: 28%; }
}
@media (max-width: 700px) and (prefers-reduced-motion: no-preference) {
  .cs-scroll.is-in .cs-scroll__view img { animation-name: autoScrollM; }
  @keyframes autoScrollM { 0%, 8% { transform: translateY(0); } 92%, 100% { transform: translateY(calc(-100% + 440px)); } }
}

.auth__hint { color: var(--muted); font-size: 14.5px; margin-top: -6px; }
.auth__form .h3 { margin: 0; }

/* brand logo */
.logo__img { display: block; height: 21px; width: auto; }
@media (min-width: 1181px) { .nav__list { gap: 10px; } .site-head__in { gap: 34px; } }
.site-foot .logo__img { height: 14px; }
@media (max-width: 560px) { .site-head .logo__img { height: 14px; } .site-head__cta .head-acc:not(.head-tel) { display: none; } }
.nav__cab { display: none; }
@media (max-width: 1180px) { .nav__cab { display: inline-flex; } }

/* back to top */
.to-top { position: fixed; left: 20px; bottom: 20px; z-index: 60; display: grid; place-items: center; width: 52px; height: 52px; padding: 14px; border: 0; border-radius: 16px;
  background: var(--ink); color: #fff; cursor: pointer; box-shadow: 0 14px 30px -12px rgba(21, 18, 58, .6);
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .25s, transform .35s var(--ease), background-color .2s; }
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--ultra); }
.to-top:active { transform: scale(.94); }
.to-top svg { width: 22px; height: 22px; }
@media (max-width: 520px) { .to-top { left: 14px; bottom: 14px; width: 50px; height: 50px; } }
body.dlg-open .to-top, body.nav-open .to-top { display: none; }

/* header phone */
.nav__phone--menu { display: none; }
@media (max-width: 1180px) { .nav__phone--menu { display: inline-flex; } }
.head-tel { position: relative; color: var(--ultra); background: var(--lilac-2); }
.head-tel:hover { background: var(--ultra); color: #fff; }
@media (prefers-reduced-motion: no-preference) { .head-tel .ico { animation: ring 5s ease-in-out 3s infinite; transform-origin: 50% 50%; } }
@keyframes ring { 0%, 86%, 100% { transform: rotate(0); } 88% { transform: rotate(-14deg); } 90% { transform: rotate(14deg); } 92% { transform: rotate(-10deg); } 94% { transform: rotate(8deg); } 96% { transform: rotate(0); } }
.head-tel__num { position: absolute; top: calc(100% + 8px); right: 50%; transform: translate(50%, -4px); padding: 6px 12px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.head-tel:hover .head-tel__num, .head-tel:focus-visible .head-tel__num { opacity: 1; transform: translate(50%, 0); }
@media (max-width: 560px) { .site-head__cta .btn { display: none !important; } .head-tel, .head-acc { width: 42px; height: 42px; } }

/* Hero → services wave */
.marquee { padding-bottom: 8px; }
.wave-div { position: relative; height: clamp(56px, 7vw, 110px); margin-top: -10px; overflow: hidden; pointer-events: none; }
.wave-div__l { position: absolute; left: 0; bottom: -1px; width: 200%; max-width: none !important; height: 100% !important; display: block; will-change: transform; }
@media (prefers-reduced-motion: no-preference) {
  .wave-div__l--2 { animation: waveDrift 18s linear infinite reverse; }
  .wave-div__l--3 { animation: waveDrift 34s linear infinite; }
}
@keyframes waveDrift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes waveDash { to { stroke-dashoffset: -64; } }
.hero { overflow: visible; overflow-x: clip; }
.hero__glow { -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent); mask-image: radial-gradient(closest-side, #000 55%, transparent); }
.services { border-radius: 0 !important; padding-top: clamp(28px, 4vw, 56px); }

/* CTA living background */
.cta { isolation: isolate; }
.cta::before { z-index: 1; }
.cta__fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; filter: saturate(1.15); }
.cta__in { z-index: 2; }

/* ===== cabinet: avatar, embedded builder, my sites ===== */
.cab__ava { background: none !important; color: var(--ink) !important; box-shadow: inset 0 0 0 1.5px var(--line); }
.cab__ava .ico { width: 24px; height: 24px; }
.cab-build .cb { padding-bottom: 0; }
.cab-build .cb__in { grid-template-columns: minmax(300px, 400px) minmax(0, 1fr); gap: 18px; padding: 0; }
.cab-build .wrap { max-width: none; padding: 0; }
.cab-build .cb__viewport { height: min(560px, calc(100vh - var(--head-h) - 200px)); }
@media (max-width: 1280px) { .cab-build .cb__in { grid-template-columns: minmax(0, 1fr); } .cab-build .cb__stage { position: static; order: -1; } }
.sites { list-style: none; display: grid; gap: 16px; }
.site-card { padding: clamp(18px, 2.5vw, 26px); border-radius: var(--r-l); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.site-card--soon { box-shadow: inset 0 0 0 1.5px #f5a524; }
.site-card--over { box-shadow: inset 0 0 0 1.5px #e5484d; }
.site-card__head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.site-card__fav { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--fog); flex: none; }
.site-card__fav img { width: 28px; height: 28px; }
.site-card__title { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.site-card__title a { display: inline-flex; align-items: center; gap: 6px; font: 600 1.25rem var(--f-display); color: var(--ink); text-decoration: none; }
.site-card__title a .ico { width: 16px; height: 16px; color: var(--muted); }
.site-card__title small { color: var(--muted); }
.site-up { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px; font-size: 13.5px; font-weight: 600; background: var(--fog); color: var(--muted); }
.site-up i { width: 8px; height: 8px; border-radius: 50%; background: #9a98b5; }
.site-up--on { background: #e3fbf1; color: #0b6b48; } .site-up--on i { background: var(--mint); box-shadow: 0 0 0 4px rgba(35, 196, 142, .2); }
.site-up--off { background: #fde8e8; color: #a01b1b; } .site-up--off i { background: #e5484d; }
.site-card__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 18px; margin: 18px 0; }
.site-pay { padding: 18px; border-radius: 18px; background: var(--fog); display: grid; gap: 6px; }
.site-pay__label { font-size: 13.5px; color: var(--muted); }
.site-pay__date { font: 650 1.45rem var(--f-display); letter-spacing: -0.02em; }
.site-pay__bar { height: 8px; border-radius: 8px; background: #fff; overflow: hidden; }
.site-pay__bar i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--ultra), var(--mint)); }
.site-card--soon .site-pay__bar i { background: #f5a524; } .site-card--over .site-pay__bar i { background: #e5484d; }
.site-pay__left { font-size: 14px; font-weight: 600; }
.site-card--soon .site-pay__left { color: #a15c00; } .site-card--over .site-pay__left { color: #a01b1b; }
.site-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.site-facts div { padding: 12px 14px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.site-facts dt { font-size: 12.5px; color: var(--muted); } .site-facts dd { margin: 2px 0 0; font-weight: 650; }
.site-actions { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 10px; }
.site-act-form { display: contents; }
.site-act { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 0; border-radius: 16px; background: var(--fog); color: var(--ink); text-decoration: none; text-align: left; cursor: pointer; font: inherit; transition: background-color .2s, transform .2s var(--ease); }
.site-act:hover { background: var(--lilac-2); color: var(--ink); transform: translateY(-2px); }
.site-act__ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: #fff; color: var(--ultra); }
.site-act span:last-child { display: flex; flex-direction: column; line-height: 1.25; }
.site-act small { color: var(--muted); font-size: 12.5px; }
.site-act--accent { background: var(--ultra); color: #fff; } .site-act--accent:hover { background: var(--ultra-2); color: #fff; }
.site-act--accent small { color: #dcd8ff; } .site-act--accent .site-act__ico { background: rgba(255, 255, 255, .16); color: #fff; }
@media (max-width: 760px) { .site-card__grid { grid-template-columns: 1fr; } }

/* ===== About: living S7 orbit ===== */
.page-hero__art--orbit { width: clamp(260px, 34vw, 480px); }
.orbit { position: relative; width: 100%; aspect-ratio: 1; isolation: isolate; }
.orbit__blob { position: absolute; border-radius: 42% 58% 63% 37% / 45% 40% 60% 55%; filter: blur(28px); opacity: .75; z-index: -1; }
.orbit__blob--1 { inset: 18% 22% 26% 14%; background: radial-gradient(circle at 30% 30%, #6a5cff, #3b2bff 60%); }
.orbit__blob--2 { inset: 30% 10% 14% 34%; background: radial-gradient(circle at 60% 40%, #23c48e, rgba(35,196,142,.2) 70%); opacity: .55; }
.orbit__blob--3 { inset: 8% 34% 40% 30%; background: radial-gradient(circle, #c9c2ff, rgba(201,194,255,0) 70%); opacity: .9; }
.orbit__ring { position: absolute; border-radius: 50%; border: 1.5px dashed rgba(59, 43, 255, .25); }
.orbit__ring--1 { inset: 12%; }
.orbit__ring--2 { inset: 0; border-style: solid; border-color: rgba(21, 18, 58, .08); }
.orbit__sat { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(var(--a)) translateY(calc(-1 * var(--r, 0px))); }
.orbit__ring--1 .orbit__sat { --r: calc(clamp(260px, 34vw, 480px) * .38); }
.orbit__ring--2 .orbit__sat { --r: calc(clamp(260px, 34vw, 480px) * .5); }
.orbit__chip { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px 8px 9px; border-radius: 14px; white-space: nowrap;
  background: rgba(255, 255, 255, .86); backdrop-filter: blur(10px); box-shadow: 0 14px 30px -14px rgba(21, 18, 58, .45), inset 0 0 0 1px rgba(255, 255, 255, .7);
  transform: translate(-50%, -50%) rotate(calc(-1 * var(--a))); font-weight: 650; font-size: 13.5px; color: var(--ink); }
.orbit__chip .ico { width: 18px; height: 18px; color: var(--ultra); }
.orbit__chip em { font-style: normal; }
.orbit__core { position: absolute; inset: 31%; display: grid; place-items: center; border-radius: 30%; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px);
  box-shadow: 0 40px 80px -30px rgba(59, 43, 255, .6), inset 0 0 0 1px rgba(255, 255, 255, .9); }
.orbit__core img { width: 66%; height: auto; }
.orbit__pulse { position: absolute; inset: -10%; border-radius: 34%; border: 2px solid rgba(59, 43, 255, .35); opacity: 0; }
.orbit__spark { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px 3px rgba(201, 194, 255, .9); }
.orbit__spark--1 { left: 12%; top: 24%; } .orbit__spark--2 { right: 14%; top: 18%; width: 6px; height: 6px; } .orbit__spark--3 { right: 24%; bottom: 12%; }
@media (prefers-reduced-motion: no-preference) {
  .orbit__ring--1 { animation: orbitSpin 38s linear infinite; }
  .orbit__ring--2 { animation: orbitSpin 60s linear infinite reverse; }
  .orbit__ring--1 .orbit__chip { animation: orbitCounter 38s linear infinite; }
  .orbit__ring--2 .orbit__chip { animation: orbitCounterRev 60s linear infinite; }
  .orbit__blob--1 { animation: orbitMorph 12s ease-in-out infinite alternate; }
  .orbit__blob--2 { animation: orbitMorph 15s ease-in-out infinite alternate-reverse; }
  .orbit__blob--3 { animation: orbitMorph 9s ease-in-out infinite alternate; }
  .orbit__core { animation: orbitFloat 6s ease-in-out infinite; }
  .orbit__pulse { animation: orbitPulse 3.2s ease-out infinite; }
  .orbit__spark { animation: orbitTwinkle 2.6s ease-in-out infinite; }
  .orbit__spark--2 { animation-delay: .9s; } .orbit__spark--3 { animation-delay: 1.7s; }
}
@keyframes orbitSpin { to { transform: rotate(360deg); } }
@keyframes orbitCounter { from { transform: translate(-50%, -50%) rotate(calc(-1 * var(--a))); } to { transform: translate(-50%, -50%) rotate(calc(-1 * var(--a) - 360deg)); } }
@keyframes orbitCounterRev { from { transform: translate(-50%, -50%) rotate(calc(-1 * var(--a))); } to { transform: translate(-50%, -50%) rotate(calc(-1 * var(--a) + 360deg)); } }
@keyframes orbitMorph { 0% { border-radius: 42% 58% 63% 37% / 45% 40% 60% 55%; transform: translate(0, 0) scale(1); } 50% { border-radius: 60% 40% 35% 65% / 55% 62% 38% 45%; transform: translate(4%, -3%) scale(1.06); } 100% { border-radius: 35% 65% 55% 45% / 40% 45% 55% 60%; transform: translate(-3%, 4%) scale(.96); } }
@keyframes orbitFloat { 50% { transform: translateY(-8px); } }
@keyframes orbitPulse { 0% { opacity: .7; transform: scale(.92); } 100% { opacity: 0; transform: scale(1.25); } }
@keyframes orbitTwinkle { 50% { opacity: .2; transform: scale(.6); } }
.about-text .about-lead { font: 600 clamp(1.25rem, 1rem + .9vw, 1.7rem)/1.4 var(--f-display); letter-spacing: -0.015em; color: var(--ink); }
.about-text ul { list-style: none; padding: 0; display: grid; gap: 12px; }
.about-text ul li { position: relative; padding: 14px 18px 14px 46px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.about-text ul li::before { content: ""; position: absolute; left: 18px; top: 22px; width: 12px; height: 12px; border-radius: 4px; background: var(--ultra); transform: rotate(45deg); }
@media (max-width: 900px) { .page-hero__art--orbit { display: block; width: min(86vw, 360px); margin: 24px auto 0; } }

/* About: living particle S7 */
.living { position: relative; width: 100%; aspect-ratio: 1; cursor: crosshair; touch-action: pan-y; }
.living canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* ===== My sites v2: bigger, informative, animated ===== */
.notice--info { background: var(--lilac-2); color: var(--ultra); }
.cab-head { display: grid; gap: 16px; }
.cab-sum { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.cab-sum li { display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 18px; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.cab-sum__ico { grid-row: span 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: var(--lilac-2); color: var(--ultra); }
.cab-sum__ico--ok { background: #e3fbf1; color: #0b8a5e; }
.cab-sum b { font: 650 1.5rem/1.1 var(--f-display); letter-spacing: -0.02em; }
.cab-sum small { color: var(--muted); font-size: 13.5px; }
.site-card { position: relative; overflow: hidden; padding: clamp(20px, 2.6vw, 30px); border-radius: 28px; }
.site-card::before { content: ""; position: absolute; right: -120px; top: -160px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(59, 43, 255, .10), transparent 65%); pointer-events: none; }
.site-card__top { position: relative; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.site-card__fav { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: linear-gradient(135deg, var(--ultra), #7c5cff); color: #fff; box-shadow: 0 14px 28px -14px rgba(59, 43, 255, .7); }
.site-card__fav .ico { width: 26px; height: 26px; }
.site-card__title b { font: 650 clamp(1.3rem, 1.1rem + .8vw, 1.8rem)/1.1 var(--f-display); letter-spacing: -0.02em; }
.site-up { font-size: 14px; padding: 8px 14px; }
@media (prefers-reduced-motion: no-preference) { .site-up--on i { animation: upPulse 1.8s ease-out infinite; } }
@keyframes upPulse { 0% { box-shadow: 0 0 0 0 rgba(35, 196, 142, .5); } 100% { box-shadow: 0 0 0 10px rgba(35, 196, 142, 0); } }
.site-tiles { position: relative; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 12px; margin: 22px 0; }
.stile { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 22px; background: var(--fog); transition: transform .35s var(--ease), box-shadow .35s; }
.stile:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -26px rgba(21, 18, 58, .35); }
.stile__ico { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 6px; border-radius: 14px; background: #fff; color: var(--ultra); }
.stile__ico--mint { color: #0b8a5e; }
.stile__label { font-size: 13.5px; color: var(--muted); }
.stile__big { font: 650 1.25rem/1.2 var(--f-display); letter-spacing: -0.015em; }
.stile__note { font-size: 13px; color: var(--muted); }
.stile--host { flex-direction: row; align-items: center; gap: 18px; position: relative; background: linear-gradient(135deg, #fff, var(--lilac-2)); box-shadow: inset 0 0 0 1px var(--line); }
.stile__ring { flex: none; width: 112px; height: 112px; transform: rotate(-90deg); }
.stile__track { fill: none; stroke: rgba(59, 43, 255, .12); stroke-width: 9; }
.stile__bar { fill: none; stroke: url(#none) var(--ultra); stroke: var(--ultra); stroke-width: 9; stroke-linecap: round; stroke-dasharray: var(--c); stroke-dashoffset: var(--c); }
.site-card--soon .stile__bar { stroke: #f5a524; } .site-card--over .stile__bar { stroke: #e5484d; }
.site-card.is-in .stile__bar, .site-card:not(.rv) .stile__bar { stroke-dashoffset: var(--off); transition: stroke-dashoffset 1.6s var(--ease) .3s; }
@media (prefers-reduced-motion: reduce) { .stile__bar { stroke-dashoffset: var(--off); } }
.stile__ringtxt { position: absolute; left: 20px; top: 50%; width: 112px; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; line-height: 1; }
.stile__ringtxt b { font: 700 1.9rem/1 var(--f-display); letter-spacing: -0.03em; }
.stile__ringtxt small { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.stile--host .stile__big { font-size: 1.5rem; }
.site-card--soon .stile__note { color: #a15c00; } .site-card--over .stile__note { color: #a01b1b; }
.site-actions { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.site-act { position: relative; min-height: 76px; padding: 16px 18px; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); background: #fff; }
.site-act__ico { width: 46px; height: 46px; border-radius: 14px; background: var(--lilac-2); }
.site-act b { font-size: 16px; }
.site-act__go { position: absolute; right: 16px; top: 16px; width: 16px; height: 16px; color: var(--muted); transition: transform .3s var(--ease), color .3s; }
.site-act:hover .site-act__go { transform: translate(2px, -2px); color: var(--ultra); }
.site-act--accent { box-shadow: 0 16px 32px -18px rgba(59, 43, 255, .8); }
@media (max-width: 1100px) { .site-tiles { grid-template-columns: 1fr 1fr; } .stile--host { grid-column: 1 / -1; } }
@media (max-width: 560px) { .site-tiles { grid-template-columns: 1fr; } .site-card__top .btn { width: 100%; } }

/* fixes: action buttons layout, accent button, host tile body; cabinet cards always visible */
.site-act > span:nth-child(2) { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.site-act--accent { background: var(--ultra) !important; color: #fff !important; box-shadow: 0 16px 32px -18px rgba(59, 43, 255, .8); }
.site-act--accent:hover { background: var(--ultra-2) !important; }
.site-act--accent small { color: #dcd8ff; }
.site-act--accent .site-act__ico { background: rgba(255, 255, 255, .18); color: #fff; }
.stile__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cab__main .rv { opacity: 1 !important; transform: none !important; }
.cab__main .site-card .stile__bar { stroke-dashoffset: var(--off); transition: stroke-dashoffset 1.6s var(--ease) .3s; }
@media (prefers-reduced-motion: no-preference) { .cab__main .site-card .stile__bar { animation: ringIn 1.6s var(--ease) .2s backwards; } }
@keyframes ringIn { from { stroke-dashoffset: var(--c); } }

/* About: tighter gap under the hero */
.page-hero--about { padding-bottom: clamp(8px, 1.5vw, 20px); }
.page-hero--about + .section--tight { padding-top: 0; }
.page-hero--about .page-hero__grid { align-items: center; }
.page-hero--about .page-hero__art--orbit { width: clamp(240px, 28vw, 400px); }

/* Contacts: messenger brand colours */
.way--wa { box-shadow: inset 0 0 0 1.5px rgba(37, 211, 102, .45); background: linear-gradient(135deg, #fff, #ebfbf1); }
.way--wa .way__ico { background: #25d366; color: #fff; box-shadow: 0 10px 22px -10px rgba(37, 211, 102, .9); }
.way--wa:hover { box-shadow: inset 0 0 0 2px #25d366; }
.way--wa b { color: #0e7a3c; }
.way--tg .way__ico { background: #26a5e4; color: #fff; }
.site-foot a[href*="wa.me"] .ico { color: #25d366; }
.cta__way[href*="wa.me"] .ico { color: #25d366; }

/* ===== robot illustrations: extra motion ===== */
@media (prefers-reduced-motion: no-preference) {
  .illus.is-in .il-rev { animation-direction: reverse; }
  .illus.is-in .il-conv { animation: il-conv 4.8s linear infinite; }
  .illus.is-in .il-conv.il-d2 { animation-delay: -1.6s; } .illus.is-in .il-conv.il-d3 { animation-delay: -3.2s; }
  .illus.is-in .il-swing { transform-box: view-box; transform-origin: 232px 108px; animation: il-swing 2.4s ease-in-out infinite; }
}
@keyframes il-conv { 0% { transform: translateX(0); opacity: 0; } 8% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateX(250px); opacity: 0; } }
@keyframes il-swing { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(9deg); } }

/* ===== AI: heading + live assistant chat ===== */
.ai__top { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 72px); align-items: center; margin-bottom: 48px; }
.ai__top .ai__head { margin-bottom: 0; }
.ai-phone { position: relative; width: 100%; max-width: 420px; justify-self: end; border-radius: 28px; overflow: hidden; background: #f6f6fb; color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08); }
.ai-phone::before { content: ""; position: absolute; inset: -40% -30% auto auto; width: 70%; height: 70%; background: radial-gradient(circle, rgba(59, 43, 255, .18), transparent 70%); pointer-events: none; }
.ai-phone__head { position: relative; display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: #fff; box-shadow: 0 1px 0 #e9e9f2; }
.ai-phone__ava { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(135deg, var(--ultra), #7c5cff); color: #fff; }
.ai-phone__ava .ico { width: 24px; height: 24px; }
.ai-phone__who { display: flex; flex-direction: column; line-height: 1.25; }
.ai-phone__who b { font-size: 15.5px; }
.ai-phone__who small { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: #0b8a5e; }
.ai-phone__who small i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
.ai-phone__body { position: relative; display: flex; flex-direction: column; gap: 8px; height: 300px; padding: 16px; justify-content: flex-end; overflow: hidden; }
.ai-m { max-width: 84%; padding: 10px 14px; border-radius: 18px; font-size: 14.5px; line-height: 1.4; display: none; }
.ai-m.is-on { display: block; animation: aiPop .45s var(--ease) both; }
.ai-m--in { align-self: flex-end; background: var(--ultra); color: #fff; border-bottom-right-radius: 6px; }
.ai-m--out { align-self: flex-start; background: #fff; border-bottom-left-radius: 6px; box-shadow: 0 6px 18px -10px rgba(21, 18, 58, .3); }
.ai-m--typing { align-self: flex-start; background: #fff; border-bottom-left-radius: 6px; }
.ai-m--typing.is-on { display: flex; gap: 4px; }
.ai-m--typing i { width: 7px; height: 7px; border-radius: 50%; background: #a9a6c9; animation: schatdot 1.2s infinite; }
.ai-m--typing i:nth-child(2) { animation-delay: .15s; } .ai-m--typing i:nth-child(3) { animation-delay: .3s; }
.ai-phone__foot { display: flex; align-items: center; justify-content: space-between; margin: 0 12px 12px; padding: 8px 8px 8px 16px; border-radius: 999px; background: #fff; color: #9a98b5; font-size: 14px; box-shadow: inset 0 0 0 1px #e9e9f2; }
.ai-phone__foot i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ultra); color: #fff; }
.ai-phone__foot .ico { width: 16px; height: 16px; }
@keyframes aiPop { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) { .ai__top { grid-template-columns: minmax(0, 1fr); } .ai-phone { justify-self: stretch; max-width: none; } .ai-phone__body { height: 270px; } }

/* ===== Builder teaser: live assembly ===== */
.bt-live { --acc: #3b2bff; position: relative; padding: 0 70px 40px 0; }
.bt-win { position: relative; border-radius: 22px; background: #fff; box-shadow: 0 40px 80px -36px rgba(21, 18, 58, .45), 0 0 0 1px var(--line); overflow: hidden; }
.bt-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--fog); }
.bt-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; } .bt-bar i:nth-child(2) { background: #febc2e; } .bt-bar i:nth-child(3) { background: #28c840; }
.bt-bar span { margin-left: 12px; padding: 4px 14px; border-radius: 999px; background: #fff; font-size: 12px; color: var(--muted); }
.bt-page { position: relative; display: grid; gap: 14px; min-height: 330px; padding: 18px; align-content: start; }
.bt-a1, .bt-a2, .bt-a3 { opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.bt-live.s1 .bt-a1, .bt-live.s2 .bt-a2, .bt-live.s3 .bt-a3 { opacity: 1; transform: none; }
.bt-nav { display: flex; align-items: center; gap: 10px; }
.bt-nav b { width: 26px; height: 26px; border-radius: 8px; background: var(--acc); transition: background .5s; }
.bt-nav span { width: 46px; height: 7px; border-radius: 4px; background: #e6e6f0; }
.bt-nav em { margin-left: auto; width: 64px; height: 22px; border-radius: 999px; background: var(--acc); transition: background .5s; }
.bt-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; align-items: center; padding: 18px; border-radius: 16px; background: color-mix(in srgb, var(--acc) 10%, #fff); transition: background .5s; }
.bt-hero span { display: block; height: 12px; margin-bottom: 9px; border-radius: 6px; background: var(--ink); }
.bt-hero span.thin { height: 7px; background: #c9c8db; }
.bt-hero .w80 { width: 90%; } .bt-hero .w60 { width: 66%; } .bt-hero .w40 { width: 50%; }
.bt-hero em { display: block; width: 92px; height: 26px; margin-top: 12px; border-radius: 999px; background: var(--acc); transition: background .5s; }
.bt-img { aspect-ratio: 1.15; border-radius: 14px; background: linear-gradient(135deg, var(--acc), color-mix(in srgb, var(--acc) 35%, #fff)); transition: background .5s; position: relative; overflow: hidden; }
.bt-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-100%); }
.bt-live.s2 .bt-img::after { animation: btShine 2.6s 0.4s ease-in-out infinite; }
.bt-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bt-cards span { height: 64px; border-radius: 12px; background: var(--fog); position: relative; }
.bt-cards span::before { content: ""; position: absolute; left: 10px; top: 10px; width: 20px; height: 20px; border-radius: 7px; background: color-mix(in srgb, var(--acc) 25%, #fff); transition: background .5s; }
.bt-foot { height: 26px; border-radius: 10px; background: var(--ink); }
.bt-bot { position: absolute; right: 16px; bottom: 16px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: var(--acc); color: #fff; box-shadow: 0 10px 22px -8px var(--acc); transform: scale(0); transition: transform .5s cubic-bezier(.3, 1.6, .5, 1), background .5s; }
.bt-bot .ico { width: 22px; height: 22px; }
.bt-live.s4 .bt-bot { transform: scale(1); }
.bt-panel { position: absolute; right: 0; top: 58px; width: 190px; padding: 16px; border-radius: 20px; background: var(--ink); color: #fff; box-shadow: 0 30px 60px -24px rgba(21, 18, 58, .7); display: grid; gap: 10px; }
.bt-panel b { font-size: 12.5px; color: #b9b6e6; font-weight: 600; }
.bt-sw { display: flex; gap: 8px; }
.bt-sw i { width: 28px; height: 28px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px var(--ink), 0 0 0 2px transparent; transition: box-shadow .3s; }
.bt-sw i:nth-child(4) { box-shadow: 0 0 0 2px var(--ink), 0 0 0 3px #4a4580; }
.bt-sw i.is-on { box-shadow: 0 0 0 3px var(--ink), 0 0 0 5px #fff; }
.bt-tg { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.bt-tg i { position: relative; width: 34px; height: 20px; border-radius: 999px; background: #3a3670; transition: background .3s; }
.bt-tg i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); }
.bt-tg.is-on i { background: var(--mint); } .bt-tg.is-on i::after { transform: translateX(14px); }
.bt-cursor { position: absolute; left: 0; top: 0; width: 26px; height: 26px; transform: translate(40%, 40%); transition: transform .65s cubic-bezier(.45, .05, .25, 1); filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .25)); z-index: 3; pointer-events: none; }
.bt-cursor.is-click { animation: btClick .35s ease; }
.bt-done { position: absolute; left: 50%; bottom: 8px; display: flex; align-items: center; gap: 10px; padding: 12px 20px 12px 12px; border-radius: 999px; background: #fff; font-weight: 650; box-shadow: 0 20px 40px -16px rgba(21, 18, 58, .45); transform: translate(-50%, 20px); opacity: 0; transition: opacity .5s, transform .5s cubic-bezier(.3, 1.5, .5, 1); white-space: nowrap; }
.bt-done span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--mint); color: #fff; }
.bt-done .ico { width: 16px; height: 16px; }
.bt-live.s5 .bt-done { opacity: 1; transform: translate(-50%, 0); }
@keyframes btShine { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }
@keyframes btClick { 50% { opacity: .55; filter: drop-shadow(0 0 0 rgba(0,0,0,0)); } }
@media (max-width: 560px) {
  .bt-live { padding: 0 0 120px; }
  .bt-panel { top: auto; bottom: 0; right: 8px; width: 170px; padding: 12px; gap: 8px; }
  .bt-page { min-height: 0; }
  .bt-done { bottom: auto; top: 70px; }
}

/* Ready-site price */
.sol__price { display: flex; align-items: baseline; gap: 8px; margin: 2px 0 4px; }
.sol__price b { font: 650 1.25rem/1.1 var(--f-display); letter-spacing: -0.01em; color: var(--ink); }
.sol__price small { font-size: 13px; color: var(--muted); }
.sol__price--lg { flex-direction: column; gap: 4px; margin: 18px 0 6px; }
.sol__price--lg b { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.5rem); color: var(--ultra); }
.sol__price--lg small { font-size: 14px; }

/* ===== Checkout for ready-made sites ===== */
.buy-dialog { width: min(1120px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 28px; background: var(--fog); color: var(--ink); box-shadow: 0 40px 120px -30px rgba(21, 18, 58, .6); overflow: auto; }
.buy-dialog::backdrop { background: rgba(21, 18, 58, .55); backdrop-filter: blur(6px); }
.buy-dialog[open] { animation: buyIn .45s var(--ease); }
@keyframes buyIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.buy__head { position: sticky; top: 0; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 22px 28px; background: linear-gradient(120deg, var(--ink), #2a1f8f); color: #fff; }
.buy__kicker { margin: 0 0 4px; font-size: 13px; color: var(--lilac); font-weight: 600; }
.buy__title { margin: 0; font: 650 clamp(1.3rem, 1rem + 1vw, 1.8rem)/1.15 var(--f-display); letter-spacing: -0.02em; }
.buy__x { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 14px; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; flex: none; }
.buy__x:hover { background: rgba(255, 255, 255, .2); }
.buy__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; padding: 22px; align-items: start; }
.buy__steps { display: grid; gap: 14px; min-width: 0; }
.buy-step { margin: 0; padding: 20px; border: 0; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.buy-step legend { float: left; width: 100%; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; padding: 0; font: 650 1.1rem/1.2 var(--f-display); }
.buy-step legend + * { clear: both; }
.buy-step legend span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--ultra); color: #fff; font-size: 14px; flex: none; }
.buy-step legend small { font: 500 13px var(--f-text); color: var(--muted); }
.buy-seg { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; border-radius: 16px; background: var(--fog); margin-bottom: 12px; }
.buy-seg label { flex: 1 1 150px; }
.buy-seg input { position: absolute; opacity: 0; pointer-events: none; }
.buy-seg span { display: block; padding: 10px 12px; border-radius: 12px; text-align: center; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.buy-seg input:checked + span { background: #fff; color: var(--ultra); box-shadow: 0 6px 16px -8px rgba(21, 18, 58, .35); }
.buy-seg input:focus-visible + span { outline: 2px solid var(--ultra); }
.buy-dom__row { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 16px; border-radius: 16px; background: var(--fog); box-shadow: inset 0 0 0 1px var(--line); }
.buy-dom__row:focus-within { box-shadow: inset 0 0 0 2px var(--ultra); }
.buy-dom__row input { flex: 1; min-width: 0; border: 0; background: transparent; font: 600 17px var(--f-text); color: var(--ink); outline: 0; padding: 8px 0; }
.buy-dom__zone { font: 650 17px var(--f-display); color: var(--ultra); }
.buy-dom > input { width: 100%; padding: 14px 16px; border: 0; border-radius: 16px; background: var(--fog); box-shadow: inset 0 0 0 1px var(--line); font: 600 16px var(--f-text); }
.buy-dom__res { margin: 10px 2px 0; font-size: 14px; color: var(--muted); }
.buy-dom__res.is-ok { color: #0b8a5e; font-weight: 600; } .buy-dom__res.is-bad { color: #c2410c; font-weight: 600; } .buy-dom__res.is-wait { color: var(--ultra); }
.buy-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.buy-card { position: relative; display: block; cursor: pointer; }
.buy-card input { position: absolute; opacity: 0; pointer-events: none; }
.buy-card__body { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px 16px 16px 46px; border-radius: 18px; background: var(--fog); box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .2s, background .2s, transform .2s; }
.buy-card__body::before { content: ""; position: absolute; left: 16px; top: 18px; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 2px #c5c3dc; background: #fff; transition: box-shadow .2s; }
.buy-card--check .buy-card__body::before { border-radius: 7px; }
.buy-card:hover .buy-card__body { transform: translateY(-2px); }
.buy-card input:checked + .buy-card__body { background: #fff; box-shadow: inset 0 0 0 2px var(--ultra), 0 14px 30px -18px rgba(59, 43, 255, .6); }
.buy-card input:checked + .buy-card__body::before { box-shadow: inset 0 0 0 6px var(--ultra); }
.buy-card--check input:checked + .buy-card__body::before { box-shadow: none; background: var(--ultra) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat; }
.buy-card input:focus-visible + .buy-card__body { outline: 2px solid var(--ultra); outline-offset: 2px; }
.buy-card b { font-size: 15px; line-height: 1.3; }
.buy-card b em { margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: #e3fbf1; color: #0b8a5e; font: 700 11.5px var(--f-text); font-style: normal; vertical-align: 2px; }
.buy-card small { font-size: 13px; color: var(--muted); line-height: 1.4; }
.buy-card strong { margin-top: auto; padding-top: 6px; font: 650 15px var(--f-display); color: var(--ultra); }
.buy-perks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 14px 2px 0; padding: 0; font-size: 13.5px; color: var(--muted); }
.buy-perks li { display: flex; align-items: center; gap: 6px; } .buy-perks .ico { width: 16px; height: 16px; color: #0b8a5e; }
.buy-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.buy-fields .field { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 600; }
.buy-fields .field small { font-weight: 400; color: var(--muted); }
.buy-fields input:not([type=checkbox]), .buy-fields textarea { width: 100%; padding: 13px 14px; border: 0; border-radius: 14px; background: var(--fog); box-shadow: inset 0 0 0 1px var(--line); font: 500 16px var(--f-text); color: var(--ink); }
.buy-fields input:focus, .buy-fields textarea:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--ultra); background: #fff; }
.buy-fields__wide, .buy-acc { grid-column: 1 / -1; }
.buy-acc { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--lilac-2); font-size: 14px; cursor: pointer; }
.buy-acc input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--ultra); flex: none; }
.buy .hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.buy__sum { position: sticky; top: 92px; padding: 22px; border-radius: 24px; background: var(--ink); color: #fff; box-shadow: 0 30px 60px -30px rgba(21, 18, 58, .7); }
.buy__sum h3 { margin: 0 0 14px; font: 650 1.15rem var(--f-display); }
.buy-lines { list-style: none; display: grid; gap: 10px; margin: 0 0 16px; padding: 0 0 16px; border-bottom: 1px dashed rgba(255, 255, 255, .2); }
.buy-lines li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: #cfcdee; }
.buy-lines li b { color: #fff; white-space: nowrap; font-weight: 600; }
.buy-total { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.buy-total span { font-size: 15px; color: #cfcdee; }
.buy-total b { font: 700 clamp(1.6rem, 1.3rem + 1vw, 2.1rem)/1 var(--f-display); letter-spacing: -0.02em; color: #fff; }
.buy-total b.bump { animation: buyBump .4s var(--ease); }
@keyframes buyBump { 40% { transform: scale(1.06); color: var(--lilac); } }
.buy-note { display: flex; gap: 8px; margin: 0 0 14px; font-size: 13px; color: #b9b6e6; line-height: 1.45; }
.buy-note .ico { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--mint); }
.buy-err { margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; background: rgba(229, 72, 77, .18); color: #ffc9cb; font-size: 14px; }
.buy-submit { width: 100%; justify-content: center; }
.buy-submit.is-busy { opacity: .7; pointer-events: none; }
.buy-small { margin: 10px 0 0; font-size: 12px; color: #9a97c8; text-align: center; } .buy-small a { color: #c9c2ff; }
.buy-done { padding: clamp(40px, 7vw, 80px) 24px; text-align: center; }
.buy-done__ico { display: inline-grid; place-items: center; width: 72px; height: 72px; margin-bottom: 16px; border-radius: 50%; background: var(--mint); color: #fff; animation: buyBump .6s var(--ease); }
.buy-done__ico .ico { width: 34px; height: 34px; }
.buy-done h2 { margin: 0 0 10px; font: 650 clamp(1.5rem, 1.2rem + 1.4vw, 2.2rem)/1.15 var(--f-display); }
.buy-done p { max-width: 520px; margin: 0 auto 22px; color: var(--muted); }
.buy-done__acts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
@media (max-width: 900px) { .buy__grid { grid-template-columns: minmax(0, 1fr); padding: 12px; } .buy__sum { position: static; } .buy__head { padding: 18px; } }
@media (max-width: 560px) { .buy-dialog { width: 100vw; max-height: 100dvh; border-radius: 0; } .buy-fields { grid-template-columns: 1fr; } .buy-step { padding: 16px; } .buy-dom__row { flex-wrap: wrap; } .buy-dom__row .btn { width: 100%; } }

.buy-mbar { display: none; }
@media (max-width: 900px) {
  .buy-mbar { position: sticky; bottom: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--ink); color: #fff; box-shadow: 0 -12px 30px -14px rgba(21, 18, 58, .6); }
  .buy-mbar span { display: flex; flex-direction: column; font-size: 12.5px; color: #cfcdee; }
  .buy-mbar b { font: 700 1.3rem/1.1 var(--f-display); color: #fff; }
  .buy-dialog.is-done .buy-mbar { display: none; }
}
@media (max-width: 560px) {
  .buy-dialog { margin: 0; max-width: 100vw; height: 100dvh; }
  .buy-seg label { flex: 1 1 0; }
  .buy-seg span { padding: 9px 6px; font-size: 12.5px; line-height: 1.2; }
}

.buy-card b em.kaspi { background: #f14635; color: #fff; }
.buy-lines li.is-disc span, .buy-lines li.is-disc b { color: var(--mint); }
.buy-pay-note { margin: -6px 0 14px; padding: 10px 12px; border-radius: 12px; background: rgba(35, 196, 142, .14); color: #9ff0cf; font-size: 13.5px; font-weight: 600; }
.buy-pay-note:empty { display: none; }
.buy-cards--pay strong { font-size: 14px; }
.sol__price--lg small .sol-perk { display: inline-block; padding: 2px 8px; border-radius: 999px; background: #e3fbf1; color: #0b8a5e; font-weight: 700; }
.sol__price--lg small .sol-perk--kaspi { background: #fde8e6; color: #d13a2b; }
/* active sub-category: white text on the dark pill */
.cats__sub .cats__link.is-on, .cats__sub .cats__link.is-on span { color: #fff; }
.cats__sub .cats__link.is-on small { background: rgba(255, 255, 255, .15); color: #fff; }

/* Kaspi installment button */
.btn--kaspi { background: #f14635; color: #fff; box-shadow: 0 14px 30px -14px rgba(241, 70, 53, .9); }
.btn--kaspi:hover { background: #e23a29; color: #fff; transform: translateY(-1px); }
.btn--kaspi img { width: 26px; height: 26px; border-radius: 8px; background: #fff; padding: 2px; flex: none; }
.buy-card--kaspi b { display: flex; align-items: center; gap: 8px; }
.buy-card--kaspi b img { width: 20px; height: 20px; border-radius: 6px; }

/* Solution page: demo everywhere, Kaspi below */
.btn--kaspi img { background: none; padding: 0; border-radius: 6px; }
.sol-hero__text > .btn--kaspi { margin-top: 12px; }
.btn--demo { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn--demo:hover { background: var(--ink); color: #fff; }
.btn--demo__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); animation: upPulse 1.8s ease-out infinite; }
.sol-hero__shots.is-link { position: relative; display: block; color: inherit; cursor: pointer; }
.sol-hero__shots.is-link .device { transition: transform .45s var(--ease); }
.sol-hero__shots.is-link:hover .device--desk { transform: translateY(-6px); }
.sol-hero__shots.is-link:hover .device--phone { transform: translateY(-10px); }
.sol-hero__open { position: absolute; left: 50%; top: 46%; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; background: rgba(21, 18, 58, .88); color: #fff; font-weight: 700; font-size: 15px; transform: translate(-50%, -50%) scale(.92); opacity: 0; transition: opacity .3s, transform .3s var(--ease); backdrop-filter: blur(6px); box-shadow: 0 18px 40px -14px rgba(21, 18, 58, .7); pointer-events: none; }
.sol-hero__open .ico { width: 18px; height: 18px; }
.sol-hero__shots.is-link:hover .sol-hero__open, .sol-hero__shots.is-link:focus-visible .sol-hero__open { opacity: 1; transform: translate(-50%, -50%) scale(1); }
@media (hover: none) { .sol-hero__open { opacity: 1; transform: translate(-50%, 0); top: auto; bottom: 14px; } }
.demo-band { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 28px 0 0; padding: 22px 24px; border-radius: 24px; background: linear-gradient(120deg, var(--ink), #2a1f8f); color: #fff; text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s; }
.demo-band:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -24px rgba(21, 18, 58, .8); color: #fff; }
.demo-band__txt { display: flex; flex-direction: column; gap: 4px; }
.demo-band__txt b { font: 650 1.25rem/1.2 var(--f-display); }
.demo-band__txt small { color: #c9c6e6; font-size: 14.5px; }
.demo-band .btn { flex: none; }
.side-demo { display: grid; grid-template-columns: 64px 1fr 20px; align-items: center; gap: 14px; margin-bottom: 22px; padding: 12px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s; }
.side-demo:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 2px var(--ultra); }
.side-demo img { width: 64px; height: 96px; object-fit: cover; object-position: top; border-radius: 12px; box-shadow: 0 8px 18px -10px rgba(21, 18, 58, .5); }
.side-demo span { display: flex; flex-direction: column; } .side-demo b { font-size: 16px; } .side-demo small { color: var(--muted); font-size: 13px; }
.side-demo .ico { color: var(--ultra); }
@media (max-width: 640px) { .demo-band { flex-direction: column; align-items: flex-start; } }
.btn--kaspi img { width: 24px; height: 24px; object-fit: contain; border-radius: 0; }

/* One copy only */
.sol__uniq { position: absolute; right: 12px; top: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border-radius: 999px; background: linear-gradient(135deg, #ffe58a, #ffb020); color: #1d1250; font-size: 12.5px; font-weight: 700; box-shadow: 0 8px 20px -8px rgba(255, 176, 32, .9); }
.sol__uniq .ico { width: 13px; height: 13px; }
.uniq { display: flex; gap: 14px; align-items: flex-start; margin: 18px 0 20px; padding: 14px 16px; border-radius: 18px; background: linear-gradient(135deg, #fff8e1, #fff1cc); box-shadow: inset 0 0 0 1px #ffd76a; max-width: 560px; }
.uniq__ico { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, #ffd34d, #ffa600); color: #1d1250; }
.uniq__ico .ico { width: 20px; height: 20px; }
.uniq p { margin: 0; font-size: 14.5px; line-height: 1.45; color: #4a3b12; }
.uniq b { display: block; font-size: 16px; color: #1d1250; margin-bottom: 2px; }
.uniq--sold { background: #f1f0f7; box-shadow: inset 0 0 0 1px var(--line); }
.uniq--sold .uniq__ico { background: var(--ink); color: #fff; }
.sol__uniq { right: auto; left: 12px; }

/* cabinet: hosting first, then sites */
.cab-sec { margin: 28px 0 12px; }
.site-tiles--host { grid-template-columns: 1.6fr 1fr; }
.site-tiles--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 1100px) { .site-tiles--host { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .site-tiles--2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .site-card__title { flex: 1 1 calc(100% - 70px); } .site-card__title b { font-size: 1.2rem; overflow-wrap: anywhere; } }
