/* alty.kz: AI and business automation. Extends the existing visual system. */
:root{--grad:linear-gradient(100deg,#2ee6d6,#6a94ff);--display:"Manrope",system-ui,sans-serif}
[hidden]{display:none!important}
.reveal{opacity:1!important;transform:none!important}
.grad-text{animation:none}
.section{padding:84px 0}
.section-head{max-width:820px}
.section-head h2{font-size:clamp(28px,3.3vw,43px);line-height:1.2}
.section-head p{max-width:740px}
.section-head .kicker{color:#4dcfc4}
.section-light .section-head .kicker{color:#146d66}
.logo-mark{background:#2ee6d6;color:#06151a;box-shadow:none}
.main-nav{gap:22px}
.header-inner{gap:20px}
.site-header{background:rgba(7,10,22,.97);border-bottom:1px solid #1c2639;backdrop-filter:blur(12px)}
.lang-switch{display:inline-flex;align-items:center;justify-content:center;min-width:42px;min-height:42px}
.btn{white-space:normal;min-height:44px;text-align:center}
.btn-wa{box-shadow:none;background:#9cf4cb;color:#10261b}
.btn-wa:hover{background:#bbf9dc;box-shadow:none}
.hero.ai-hero{padding:146px 0 80px;min-height:auto}
.hero-grid{grid-template-columns:1.1fr 1fr;gap:64px;align-items:center}
.ai-hero h1{font-family:var(--font);font-size:clamp(38px,4.6vw,61px);font-weight:800;line-height:1.1;letter-spacing:-.045em;max-width:650px}
.ai-accent{color:#8eeed5}
.hero-sub{font-size:18px;line-height:1.7;max-width:660px;margin-top:24px}
.hero-cta{gap:12px;flex-wrap:wrap;margin-top:28px;display:flex}
.eyebrow{font-size:13px;color:#b2bdd5;margin-bottom:24px;background:transparent;border:0;padding:0;letter-spacing:.05em}
.grid-bg{opacity:.18;pointer-events:none}
.ai-pillars{display:flex;flex-wrap:wrap;gap:9px 22px;color:#b6c2d7;font-size:13px;margin-top:26px}
.ai-pillars li:before{content:'✓';color:#8eeed5;margin-right:8px}
.flow-panel{position:relative;background:#10182a;border:1px solid #29374b;border-radius:22px;padding:26px;box-shadow:0 25px 65px #0003}
.flow-top{font-size:12px;letter-spacing:.025em;color:#a9b9d0;display:flex;gap:8px;align-items:center;margin-bottom:25px}
.flow-dot{width:7px;height:7px;border-radius:50%;background:#8eeed5}
.flow-step{display:flex;align-items:flex-start;gap:16px;padding:16px}
.flow-number{font-size:12px;font-weight:700;color:#a4b5cf;background:#1d2b41;width:32px;height:32px;display:grid;place-items:center;flex:none;border-radius:9px}
.flow-step small{display:block;color:#a9b9d0;font-size:12px;margin-bottom:6px}
.flow-step p{font-size:16px;line-height:1.5;color:#f0f5fb}
.flow-focus{background:#122c30;border:1px solid #2b6159;border-radius:14px}
.flow-focus .flow-number{background:#8eeed5;color:#0d2928}
.flow-focus small{color:#91dacd}
.flow-connector{padding-left:29px;color:#72849f;line-height:1.5}
.flow-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:14px}
.flow-tags span{padding:3px 9px;border:1px solid #355951;border-radius:5px;font-size:11px;color:#b4e5da}
.flow-note{font-size:11px;color:#a9b9d0;border-top:1px solid #29374b;margin-top:20px;padding-top:16px}
.ai-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.srv-grid.ai-three{grid-template-columns:repeat(3,minmax(0,1fr))}
.srv-card{display:flex;flex-direction:column;border-radius:16px;box-shadow:none;transform:none!important}
.srv-card:before,.srv-card:after{display:none}
.srv-card h3{font-size:23px;line-height:1.25}
.srv-card p{line-height:1.7}
.srv-card .link-arrow{margin-top:auto;padding-top:24px}
.srv-ico{background:#e5f4ee;color:#17664f;border-radius:12px}
.task-list article{display:grid;grid-template-columns:55px 1fr 1.2fr;gap:30px;padding:28px 0;border-top:1px solid #273049;align-items:start}
.task-list article>span{color:#8eeed5;font-size:14px}
.task-list h3{font-size:24px;line-height:1.3}
.task-list p{color:var(--muted)}
.demo-prompts{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.demo-prompts span{border:1px solid #344259;border-radius:10px;padding:12px 16px;font-size:14px;color:#d3ddf0;background:#111a2b}
.demo-note{color:#a9b9d0;font-size:13px;margin-top:20px;max-width:720px}
.extra-grid article{border-top:2px solid #c7d6d2;padding-top:22px}
.extra-grid h3{font-size:22px;line-height:1.3;margin-bottom:12px}
.extra-grid p{color:var(--ink-muted)}
.process-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px}
.process-grid>li{border-top:1px solid #344259;padding-top:18px}
.process-grid>li>span{color:#8eeed5;font-size:13px}
.process-grid h3{font-size:21px;line-height:1.3;margin:18px 0 12px}
.process-grid p{font-size:14px;color:var(--muted)}
.cost-grid article{border:1px solid #d8dfe5;border-radius:14px;padding:26px;background:#fff}
.cost-grid article>span{font-size:12px;color:#526575}
.cost-grid h3{font-size:24px;margin:18px 0 14px}
.cost-grid p{color:var(--ink-muted);font-size:15px}
.cost-cta{margin-top:30px}
.work-grid{gap:24px;grid-template-columns:repeat(2,minmax(0,1fr))}
.work-grid .work-card,.work-grid .work-card:nth-child(5),.work-grid .work-card:nth-child(6){grid-column:auto;grid-row:auto;flex-direction:column;will-change:auto}
.work-grid .work-card--xl .work-shot{flex:none;align-self:stretch;margin:10px 10px 0}
.work-grid .work-card--xl .work-body{flex:1;padding:20px 22px 24px;gap:10px;justify-content:flex-start}
.work-grid .work-card--xl .work-body p{font-size:15px}
.work-shot img{transition:none}
.work-card:hover{transform:none}
.work-card--xl{grid-column:auto;grid-row:auto}
.work-card--xl .work-shot{aspect-ratio:16/10;max-height:none}
.work-card--xl .work-body h3{font-size:21px}
.numbers{display:none}
.contacts h2{font-family:var(--font);font-size:clamp(30px,3.5vw,46px);line-height:1.15}
.contacts-list li{display:flex;align-items:center;gap:16px}
.contacts-list span{font-size:14px}
.lead-form h3{font-size:24px}
.lead-form label{font-size:14px}
.lead-form textarea{resize:vertical}
.lead-form .form-note{color:#b5bfd4;line-height:1.6}
.lead-form input,.lead-form select,.lead-form textarea{min-height:46px}
.footer-grid{grid-template-columns:1.2fr 1.2fr .8fr 1fr}
.site-footer{padding-bottom:90px}
.footer-grid nav>a{line-height:1.5;margin-bottom:10px}
.detail-hero{padding-top:130px}
.detail-hero h1{font:800 clamp(34px,4.4vw,57px)/1.15 var(--font);max-width:890px;letter-spacing:-.035em}
.detail-hero .kicker{margin-top:28px}
.breadcrumb{color:#b7c2d5;font-size:14px}
a.breadcrumb{text-decoration:underline;text-underline-offset:4px}
.checklist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 30px}
.checklist li{display:flex;gap:14px;align-items:center;border-bottom:1px solid #273049;padding:14px 0}
.checklist .ico{color:#8eeed5}
.example-box{padding:28px;border-left:3px solid #1f806c;background:#e8f0ed;margin-top:30px;color:#162d29;border-radius:0 12px 12px 0;max-width:900px}
.example-box .kicker{color:#216c5d}
.example-box h3{font-size:22px;margin-bottom:14px}
.chat-launcher{position:fixed;bottom:20px;right:20px;border:1px solid #9cf4cb;background:#9cf4cb;color:#10261b;border-radius:50px;padding:14px 20px;font-size:14px;font-weight:700;z-index:80;display:flex;align-items:center;gap:9px;cursor:pointer;box-shadow:0 5px 20px #0004}
#aiDialog{padding:0;border:1px solid #354158;border-radius:18px;width:min(480px,calc(100vw - 24px));max-width:480px;color:#eef1fb;background:#11192a;max-height:calc(100dvh - 24px);box-shadow:0 20px 70px #0006;overflow:auto}
#aiDialog::backdrop{background:#030914ba}
.dialog-head{display:flex;align-items:center;justify-content:space-between;padding:15px 18px;gap:12px}
.dialog-head h2{font:700 18px/1.3 var(--font)}
.dialog-close{border:1px solid #4b5971;background:transparent;color:#fff;font-size:26px;width:42px;height:42px;border-radius:9px;cursor:pointer;flex:none}
.chat-disclosure{font:12px/1.5 system-ui,sans-serif;color:#c0cadd;padding:0 18px 12px}
#chatLoadStatus{padding:10px 18px;font:13px/1.5 system-ui,sans-serif;color:#c0cadd}
#chatFrameHost iframe{display:block;width:100%;height:min(440px,52dvh);min-height:210px;border:0;background:#fff}
.dialog-footer{padding:12px 18px;font:12px/1.6 system-ui,sans-serif;color:#c0cadd}
.chat-human{color:#9cf4cb;text-decoration:underline;text-underline-offset:3px}
@media(min-width:1000px){.work-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1000px){.hero-grid{grid-template-columns:1fr 1fr;gap:28px}.ai-hero h1{font-size:43px}.hero-sub{font-size:16px}.flow-panel{padding:20px}.flow-step{padding:12px}.process-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.main-nav{display:none}.nav-toggle{display:flex}.header-actions{margin-left:auto}.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.hero.ai-hero{padding:110px 0 54px}.hero-grid{grid-template-columns:1fr;gap:36px}.ai-hero h1{font-size:clamp(34px,8.5vw,52px)}.hero-sub{font-size:17px}.flow-panel{max-width:560px;width:100%}.section{padding:56px 0}.section-head{margin-bottom:30px}.ai-three,.srv-grid.ai-three,.work-grid{grid-template-columns:1fr}.task-list article{grid-template-columns:32px 1fr;gap:12px;padding:24px 0}.task-list p{grid-column:2}.task-list h3{font-size:22px}.checklist{grid-template-columns:1fr}.contacts-grid{grid-template-columns:1fr}.detail-hero{padding-top:110px}.process-grid{gap:24px}.process-grid h3{font-size:20px}.work-card--xl .work-shot{aspect-ratio:16/10}.chat-launcher{bottom:12px;right:12px;padding:12px 16px}.header-cta{display:none}.ai-pillars{gap:8px 16px}.btn{font-size:14px;padding:14px 20px}}
@media(max-width:380px){.wrap{width:calc(100% - 28px)}.hero-cta{flex-direction:column;align-items:stretch}.ai-hero h1{font-size:33px}.process-grid{grid-template-columns:1fr}.flow-panel{padding:16px}.flow-step p{font-size:15px}.footer-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}
