/*
  WEBCRAFT KZ — CREATIVE STUDIO SYSTEM
  Layout/content are preserved. This layer changes presentation only.
  Motion is handled by studio.js and motion.css.
*/
:root{
  --studio-ink:#07111f;
  --studio-blue:#2f6bff;
  --studio-cyan:#76b8ff;
  --studio-white:#f7f9ff;
  --studio-muted:#8fa0b8;
  --studio-line:rgba(255,255,255,.105);
  --studio-line-soft:rgba(255,255,255,.055);
  --studio-panel:rgba(7,18,33,.74);
  --studio-panel-2:rgba(12,29,52,.52);
  --studio-max:1240px;
  --studio-ease:cubic-bezier(.22,1,.36,1);
}
html{background:var(--studio-ink)}
body.webcraft-site{
  position:relative; background:#07111f!important; color:var(--studio-white);
  overflow-x:hidden!important;
}
body.webcraft-site::before{
  content:"";position:fixed;inset:0;z-index:-10;pointer-events:none;
  background-image:linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);
  background-size:56px 56px;mask-image:linear-gradient(to bottom,black,transparent 85%);
}
body.webcraft-site::after{
  content:"";position:fixed;inset:-25%;z-index:-11;pointer-events:none;
  background:radial-gradient(circle at 72% 18%,rgba(47,107,255,.15),transparent 24%),radial-gradient(circle at 18% 72%,rgba(118,184,255,.08),transparent 20%);
}
body.webcraft-site .container{max-width:var(--studio-max)!important;padding-left:28px!important;padding-right:28px!important}
body.webcraft-site section{position:relative}
body.webcraft-site section[id]::before{
  content:attr(data-studio-index);position:absolute;top:26px;right:clamp(22px,5vw,80px);
  font:600 11px/1 var(--font-body);letter-spacing:.2em;color:rgba(255,255,255,.20);
}

/* NAV — precise, editorial, not a pill UI */
body.webcraft-site .wc-header{
  position:sticky!important;top:0;z-index:1000!important;background:rgba(5,13,25,.74)!important;
  border-bottom:1px solid rgba(255,255,255,.08)!important;backdrop-filter:blur(18px)!important;
  transition:box-shadow .5s var(--studio-ease),background .5s var(--studio-ease);
}
body.webcraft-site .wc-header.is-scrolled{background:rgba(5,13,25,.92)!important;box-shadow:0 16px 45px rgba(0,0,0,.25)}
body.webcraft-site .wc-nav{max-width:var(--studio-max)!important;min-height:74px!important;gap:28px!important}
body.webcraft-site .wc-logo{font-size:1.15rem!important;letter-spacing:-.04em;position:relative}
body.webcraft-site .wc-logo::before{content:"/";color:var(--studio-blue);margin-right:5px;font-weight:400}
body.webcraft-site .wc-links{gap:24px!important}
body.webcraft-site .wc-links a{position:relative;color:#91a0b7!important;font-size:.78rem!important;letter-spacing:.02em;text-transform:uppercase}
body.webcraft-site .wc-links a:not(.wc-cta)::after{content:"";position:absolute;left:0;right:0;bottom:-8px;height:1px;background:var(--studio-blue);transform:scaleX(0);transform-origin:left;transition:transform .45s var(--studio-ease)}
body.webcraft-site .wc-links a:not(.wc-cta):hover::after,body.webcraft-site .wc-links a:not(.wc-cta):focus-visible::after{transform:scaleX(1)}
body.webcraft-site .wc-cta{border-radius:3px!important;padding:12px 19px!important;background:var(--studio-blue)!important;box-shadow:0 8px 24px rgba(47,107,255,.2);letter-spacing:.02em}
body.webcraft-site .wc-lang{border-radius:3px!important;background:transparent!important}
body.webcraft-site .wc-lang a{border-radius:2px!important}

/* HERO — asymmetry, large type, technical frame */
body.webcraft-site .hero.hero-premium{
  min-height:calc(100vh - 74px)!important;padding:clamp(70px,9vw,126px) 0 96px!important;overflow:visible!important;
}
body.webcraft-site .hero.hero-premium .hero-card{
  position:relative;display:grid!important;grid-template-columns:minmax(0,1.08fr) minmax(390px,.92fr)!important;gap:clamp(40px,7vw,96px)!important;
  padding:clamp(20px,4vw,58px)!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;
}
body.webcraft-site .hero.hero-premium .hero-card::before{
  content:"";position:absolute;inset:0;z-index:-1;border:1px solid var(--studio-line);border-radius:2px;
  background:linear-gradient(135deg,rgba(12,29,52,.66),rgba(4,12,24,.22) 65%,transparent);
  clip-path:polygon(0 0,100% 0,100% 86%,93% 100%,0 100%);
}
body.webcraft-site .hero.hero-premium .hero-card::after{
  content:"WEBCRAFT / 01";position:absolute;right:24px;top:18px;color:rgba(255,255,255,.18);font:600 10px/1 var(--font-body);letter-spacing:.18em;
}
body.webcraft-site .hero.hero-premium .hero-content{gap:25px!important;padding-top:26px!important}
body.webcraft-site .hero.hero-premium .hero-label{
  border:0!important;border-left:2px solid var(--studio-blue);border-radius:0!important;background:transparent!important;padding:2px 0 2px 12px!important;
  color:#9abaff!important;font-size:.72rem!important;text-transform:uppercase;letter-spacing:.16em;font-weight:600;
}
body.webcraft-site .hero.hero-premium .hero-proof-row{margin-top:-6px!important;color:#71839c!important;font-size:.72rem!important;text-transform:uppercase;letter-spacing:.12em}
body.webcraft-site .hero.hero-premium h1{
  font-family:var(--font-display)!important;font-size:clamp(3.7rem,7.2vw,7.4rem)!important;line-height:.88!important;letter-spacing:-.075em!important;max-width:820px!important;
}
body.webcraft-site .hero.hero-premium h1 .blue{color:var(--studio-blue)!important}
body.webcraft-site .hero.hero-premium .hero-content>p{max-width:560px!important;color:#9eacc0!important;font-size:1.04rem!important;line-height:1.75!important}
body.webcraft-site .hero.hero-premium .hero-btns{gap:11px!important}
body.webcraft-site .hero.hero-premium .hero-btns a{border-radius:2px!important;padding:14px 23px!important;font-size:.82rem!important;text-transform:uppercase;letter-spacing:.08em}
body.webcraft-site .hero.hero-premium .hero-visual{min-width:0!important;min-height:520px!important;align-items:center!important;justify-content:center!important}
body.webcraft-site .hero.hero-premium .hero-window{
  max-width:570px!important;border-radius:2px!important;border:1px solid rgba(255,255,255,.13)!important;background:linear-gradient(135deg,rgba(16,37,64,.88),rgba(5,14,28,.88))!important;
  box-shadow:32px 35px 90px rgba(0,0,0,.36),0 0 0 1px rgba(47,107,255,.05)!important;
}
body.webcraft-site .hero.hero-premium .hero-window::after{
  content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(120deg,transparent 25%,rgba(255,255,255,.055) 50%,transparent 72%);transform:translateX(-110%);animation:studio-sheen 8s var(--studio-ease) infinite;
}
@keyframes studio-sheen{50%,100%{transform:translateX(110%)}}
body.webcraft-site .hero.hero-premium .hero-stats{max-width:570px!important;gap:1px!important;background:var(--studio-line);border:1px solid var(--studio-line)!important}
body.webcraft-site .hero.hero-premium .hero-stats>div{border:0!important;border-radius:0!important;background:rgba(5,15,28,.88)!important;min-height:112px!important;padding:20px!important}
body.webcraft-site .hero.hero-premium .stat-num{font-size:1.75rem!important;font-family:var(--font-display);letter-spacing:-.04em}

/* SECTIONS */
body.webcraft-site section:not(.hero){padding-top:120px!important;padding-bottom:120px!important}
body.webcraft-site .section-label{display:flex;align-items:center;gap:12px;color:#7da8ff!important;font-size:.69rem!important;text-transform:uppercase;letter-spacing:.2em;font-weight:700}
body.webcraft-site .section-label::before{content:"";display:block;width:34px;height:1px;background:var(--studio-blue)}
body.webcraft-site h2{font-family:var(--font-display)!important;font-size:clamp(2.5rem,5vw,5rem)!important;line-height:.95!important;letter-spacing:-.065em!important;max-width:850px!important;margin-top:17px!important}
body.webcraft-site .section-sub{max-width:650px!important;color:#8e9eb5!important;font-size:1rem!important;line-height:1.7!important;margin-top:22px!important}

/* SERVICE / PRICE / TOOL CARDS */
body.webcraft-site .services-grid,body.webcraft-site .pricing-grid,body.webcraft-site .tools-grid{gap:1px!important;background:var(--studio-line);border:1px solid var(--studio-line)}
body.webcraft-site .service-card,body.webcraft-site .price-card,body.webcraft-site .tool-chip{
  position:relative;border:0!important;border-radius:0!important;background:rgba(7,18,33,.78)!important;padding:34px!important;overflow:hidden;
  transition:transform .55s var(--studio-ease),background .55s var(--studio-ease)!important;
}
body.webcraft-site .service-card::before,body.webcraft-site .price-card::before,body.webcraft-site .tool-chip::before{content:"";position:absolute;left:0;top:0;width:1px;height:0;background:var(--studio-blue);transition:height .6s var(--studio-ease)}
body.webcraft-site .service-card:hover,body.webcraft-site .price-card:hover,body.webcraft-site .tool-chip:hover{transform:translateY(-5px);background:rgba(14,31,54,.9)!important}
body.webcraft-site .service-card:hover::before,body.webcraft-site .price-card:hover::before,body.webcraft-site .tool-chip:hover::before{height:100%}
body.webcraft-site .service-icon,body.webcraft-site .tool-icon{font-size:1.2rem;filter:grayscale(1);opacity:.75}
body.webcraft-site .service-name,body.webcraft-site .price-tier,body.webcraft-site .tool-name{font-family:var(--font-display);font-size:1.35rem!important;letter-spacing:-.035em}
body.webcraft-site .service-price,body.webcraft-site .price-amount{font-family:var(--font-display)!important;letter-spacing:-.05em}
body.webcraft-site .service-desc,body.webcraft-site .price-best{color:#899ab1!important}
body.webcraft-site .service-days,.price-tenge{color:#7297d8!important}
body.webcraft-site .price-card.featured{background:linear-gradient(150deg,rgba(32,72,150,.22),rgba(7,18,33,.88))!important;outline:1px solid rgba(47,107,255,.5)}
body.webcraft-site .price-btn,body.webcraft-site .portfolio-btn,body.webcraft-site .calculator-cta{border-radius:2px!important;text-transform:uppercase;letter-spacing:.1em;font-size:.72rem!important}

/* PROCESS — vertical editorial timeline */
body.webcraft-site .process-list{display:block!important;max-width:920px!important;margin-top:48px!important;border-top:1px solid var(--studio-line)}
body.webcraft-site .process-item{position:relative;min-height:0!important;border:0!important;border-bottom:1px solid var(--studio-line)!important;border-radius:0!important;background:transparent!important;padding:28px 0!important;display:grid!important;grid-template-columns:90px minmax(0,1fr)!important;gap:28px!important}
body.webcraft-site .process-num{font-family:var(--font-display);font-size:.8rem!important;color:#6f98e7!important;letter-spacing:.12em}
body.webcraft-site .process-title{font-family:var(--font-display);font-size:1.45rem!important;letter-spacing:-.035em}
body.webcraft-site .process-desc{max-width:680px;color:#8b9ab0!important;margin-top:7px;line-height:1.7}

/* PORTFOLIO — framed previews, no generic card look */
body.webcraft-site .portfolio-grid{gap:1px!important;background:var(--studio-line);border:1px solid var(--studio-line)}
body.webcraft-site .portfolio-card{border:0!important;border-radius:0!important;background:#07111f!important;overflow:hidden}
body.webcraft-site .portfolio-preview{border:0!important;border-radius:0!important;background:#0b1728!important;aspect-ratio:16/10;overflow:hidden}
body.webcraft-site .portfolio-info{padding:27px!important;border-top:1px solid var(--studio-line)}
body.webcraft-site .portfolio-badge{color:#6f98e7!important;letter-spacing:.15em!important;font-size:.62rem!important}
body.webcraft-site .portfolio-info h3{font-family:var(--font-display)!important;letter-spacing:-.04em}
body.webcraft-site .portfolio-info p{color:#8b9ab0!important}

/* QUOTE / CONTACT */
body.webcraft-site .quote-wrap{display:grid!important;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)!important;gap:70px!important;align-items:start}
body.webcraft-site .quote-copy{position:sticky;top:110px}
body.webcraft-site .quote-form{border-left:1px solid var(--studio-line);padding-left:42px}
body.webcraft-site .quote-field input,body.webcraft-site .quote-field select,body.webcraft-site .quote-field textarea{border-radius:2px!important;background:rgba(255,255,255,.025)!important;border-color:var(--studio-line)!important}
body.webcraft-site .quote-field input:focus,body.webcraft-site .quote-field select:focus,body.webcraft-site .quote-field textarea:focus{border-color:rgba(47,107,255,.75)!important;box-shadow:0 0 0 1px rgba(47,107,255,.35)!important}
body.webcraft-site .quote-submit{border-radius:2px!important;text-transform:uppercase;letter-spacing:.1em}
body.webcraft-site .contact-section{border-top:1px solid var(--studio-line);border-bottom:1px solid var(--studio-line)}
body.webcraft-site .contact-links{display:flex;flex-wrap:wrap;gap:30px;margin-top:26px}
body.webcraft-site .contact-link{color:#a8b7ca!important;text-decoration:none;border-bottom:1px solid var(--studio-line);padding-bottom:7px}

/* FOOTER */
body.webcraft-site .wc-footer{padding:76px 28px 28px!important;background:#040b15!important;border-top:1px solid var(--studio-line)!important}
body.webcraft-site .wc-footer-grid{max-width:var(--studio-max)!important;gap:50px!important}
body.webcraft-site .wc-footer-column h3{font-size:.72rem!important;text-transform:uppercase;letter-spacing:.16em;color:#7f91aa!important}
body.webcraft-site .wc-footer-column a{color:#72839a!important;transition:color .3s}
body.webcraft-site .wc-footer-column a:hover{color:#fff!important}
body.webcraft-site .wc-footer-bottom{max-width:var(--studio-max)!important;border-top:1px solid var(--studio-line)!important;margin-top:60px!important;padding-top:22px!important}

/* LEGACY CONTENT PAGES */
body.webcraft-site .wrap{width:min(1120px,calc(100% - 40px))!important;margin:0 auto!important;padding:54px 0 80px!important}
body.webcraft-site .top{padding:10px 0 46px!important;border-bottom:1px solid var(--studio-line);margin-bottom:42px}
body.webcraft-site .card{border:1px solid var(--studio-line)!important;border-radius:2px!important;background:rgba(7,18,33,.72)!important;box-shadow:30px 30px 100px rgba(0,0,0,.22)!important;padding:clamp(26px,5vw,58px)!important}
body.webcraft-site .card h1{font-family:var(--font-display)!important;font-size:clamp(3rem,7vw,6rem)!important;line-height:.9!important;letter-spacing:-.065em!important}
body.webcraft-site .card h2{font-size:1.7rem!important;margin-top:42px!important}
body.webcraft-site .card p,body.webcraft-site .card li{color:#9aa9bd!important}
body.webcraft-site .tile{border:1px solid var(--studio-line)!important;border-radius:0!important;background:rgba(255,255,255,.018)!important;transition:transform .5s var(--studio-ease),background .5s var(--studio-ease)}
body.webcraft-site .tile:hover{transform:translateY(-4px);background:rgba(255,255,255,.035)!important}

/* CALCULATOR */
body.webcraft-site .calculator{gap:1px!important;background:var(--studio-line)!important;border:1px solid var(--studio-line)!important}
body.webcraft-site .panel{border:0!important;border-radius:0!important;background:rgba(7,18,33,.86)!important}
body.webcraft-site .summary{top:92px}
body.webcraft-site .option label{border-radius:2px!important;background:rgba(255,255,255,.018)!important}
body.webcraft-site .option input:checked+label{border-color:var(--studio-blue)!important;background:rgba(47,107,255,.10)!important}

/* RESPONSIVE */
@media(max-width:1023px){
  body.webcraft-site .hero.hero-premium .hero-card{grid-template-columns:1fr!important}
  body.webcraft-site .hero.hero-premium .hero-visual{min-height:0!important}
  body.webcraft-site .quote-wrap{grid-template-columns:1fr!important;gap:40px!important}
  body.webcraft-site .quote-copy{position:static}
  body.webcraft-site .quote-form{border-left:0;padding-left:0;border-top:1px solid var(--studio-line);padding-top:35px}
}
@media(max-width:900px){
  body.webcraft-site .wc-nav{grid-template-columns:auto 1fr auto!important}
  body.webcraft-site .wc-links{position:absolute;left:20px;right:20px;top:82px;display:none;flex-direction:column;align-items:stretch;gap:0!important;padding:12px;border:1px solid var(--studio-line);background:rgba(5,13,25,.98);box-shadow:0 30px 70px rgba(0,0,0,.35)}
  body.webcraft-site .wc-links.mobile-open{display:flex}
  body.webcraft-site .wc-links li{width:100%}
  body.webcraft-site .wc-links a{display:block;padding:13px 12px!important}
  body.webcraft-site .wc-links .wc-cta{text-align:center;margin-top:5px}
  body.webcraft-site .wc-toggle{display:grid!important;place-items:center}
  body.webcraft-site .wc-lang{margin-left:auto}
}
@media(max-width:700px){
  body.webcraft-site .container{padding-left:18px!important;padding-right:18px!important}
  body.webcraft-site section:not(.hero){padding-top:82px!important;padding-bottom:82px!important}
  body.webcraft-site section[id]::before{display:none}
  body.webcraft-site .hero.hero-premium{padding:60px 0 72px!important}
  body.webcraft-site .hero.hero-premium .hero-card{padding:20px 0!important}
  body.webcraft-site .hero.hero-premium .hero-card::before{inset:0 -10px;clip-path:none}
  body.webcraft-site .hero.hero-premium h1{font-size:clamp(3.2rem,14vw,5.1rem)!important}
  body.webcraft-site .hero.hero-premium .hero-btns{flex-direction:column!important;align-items:stretch!important}
  body.webcraft-site .hero.hero-premium .hero-btns a{width:100%;text-align:center}
  body.webcraft-site .hero.hero-premium .hero-stats{grid-template-columns:1fr!important}
  body.webcraft-site h2{font-size:clamp(2.5rem,12vw,4rem)!important}
  body.webcraft-site .process-item{grid-template-columns:55px minmax(0,1fr)!important;gap:15px!important}
  body.webcraft-site .wc-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:35px 25px!important}
  body.webcraft-site .quote-grid{grid-template-columns:1fr!important}
  body.webcraft-site .quote-field.full{grid-column:auto!important}
}
@media(max-width:480px){
  body.webcraft-site .wc-lang{display:none}
  body.webcraft-site .hero.hero-premium h1{font-size:clamp(2.9rem,15vw,4rem)!important}
  body.webcraft-site .hero.hero-premium .hero-proof-row{font-size:.62rem!important;letter-spacing:.08em}
  body.webcraft-site .wc-footer-grid{grid-template-columns:1fr!important}
  body.webcraft-site .wrap{width:min(100% - 24px,1120px)!important}
}

/* Reduced motion: presentation remains fully usable. */
@media(prefers-reduced-motion:reduce){
  body.webcraft-site *,body.webcraft-site *::before,body.webcraft-site *::after{animation-duration:.001ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.001ms!important}
}

.studio-reveal{opacity:0;transform:translate3d(0,28px,0);transition:opacity .72s var(--studio-ease) var(--studio-delay,0ms),transform .72s var(--studio-ease) var(--studio-delay,0ms)}
.studio-reveal.studio-visible{opacity:1;transform:none}
.studio-cursor{position:fixed;left:0;top:0;width:12px;height:12px;border:1px solid rgba(118,184,255,.65);border-radius:50%;z-index:2000;pointer-events:none;mix-blend-mode:screen;margin:-6px 0 0 -6px;transition:width .25s var(--studio-ease),height .25s var(--studio-ease),margin .25s var(--studio-ease),background .25s var(--studio-ease)}
.studio-cursor.active{width:30px;height:30px;margin:-15px 0 0 -15px;background:rgba(47,107,255,.08)}
body.studio-leaving{opacity:0;transition:opacity .28s var(--studio-ease)}
@media(prefers-reduced-motion:reduce){.studio-reveal{opacity:1;transform:none}.studio-cursor{display:none}body.studio-leaving{opacity:1}}
