/* Flowcode — концепт-главная. Scoped: body.fc-home2, все классы x-*. */

.fc-home2{
  --wrap:1180px;
  --blue:var(--fc-blue);
  --navy:#16213a;
  --ink:var(--fc-ink);
  --ink-soft:#657590;
  --line:#e5edf8;
  --card:#ffffff;
  --bg:#f2f6fd;
  --chip:#eef3fc;
  background:
    radial-gradient(900px 460px at 84% -4%, #e6f0ff 0%, transparent 62%),
    radial-gradient(760px 420px at 2% 24%, #ecf3ff 0%, transparent 58%),
    var(--bg);
  color:var(--ink);
  font:400 15px/1.55 'Inter',-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
}
.fc-home2 .x-wrap2{max-width:var(--wrap);margin:0 auto;padding:0 30px}
.fc-home2 h1,.fc-home2 h2,.fc-home2 h3{font-family:'Sora','Inter',sans-serif;font-weight:700;letter-spacing:-.035em;margin:0;color:var(--fc-ink)}
.fc-home2 .x-eyebrow{font-size:11px;font-weight:600;letter-spacing:.2em;color:#93a4bd;text-transform:uppercase;margin:0 0 14px}
.fc-home2 .x-note{font-family:'Caveat',cursive;font-size:22px;font-weight:600;line-height:1.1;color:#8ba0c2;transform:rotate(-4deg);display:inline-block}
.fc-home2 a{color:inherit;text-decoration:none}

/* ---------- header ---------- */
.fc-home2 .x-fc-header{max-width:var(--wrap);margin:0 auto;height:70px;display:flex;align-items:center;gap:26px;padding:0 30px}
.fc-home2 .x-fc-logo{display:inline-flex;align-items:center;gap:11px;font-family:'Sora',sans-serif;font-weight:700;font-size:21px;letter-spacing:-.03em;color:#0f1626}
.fc-home2 .x-fc-logo .x-logo-badge{width:38px;height:38px;border-radius:var(--fc-r-sm);background:linear-gradient(140deg,#3b82ff,#0a5bef);display:grid;place-items:center;box-shadow:0 7px 16px rgba(10,91,239,.32);flex:none}
.fc-home2 .x-fc-logo .x-logo-badge svg{width:22px;height:22px;display:block}
.fc-home2 .x-fc-nav{display:flex;gap:26px;font-size:13.5px;margin-inline:auto}
.fc-home2 .x-fc-nav a{color:#3a4a63;padding:24px 0}
.fc-home2 .x-fc-nav a:first-child{color:var(--blue);box-shadow:inset 0 -2px var(--blue)}
.fc-home2 .x-fc-actions{display:flex;align-items:center;gap:16px}
.fc-home2 .x-fc-languages{display:flex;gap:8px;font-size:12px;color:#9aa9c0}
.fc-home2 .x-fc-languages a[aria-current]{color:var(--blue);font-weight:600}
.fc-home2 .x-btn{display:inline-flex;align-items:center;gap:8px;border-radius:var(--fc-r-sm);font-size:13.5px;font-weight:600;padding:11px 18px;border:1px solid transparent;white-space:nowrap;transition:.15s;cursor:pointer}
.fc-home2 .x-btn svg{width:15px;height:15px;flex:none}
.fc-home2 .x-btn-primary{background:var(--blue);color:#fff;box-shadow:0 10px 20px rgba(6,100,255,.18)}
.fc-home2 .x-btn-primary:hover{background:#095ae0}
.fc-home2 .x-btn-ghost{background:#fff;border-color:var(--line);color:var(--ink)}
.fc-home2 .x-fc-actions .x-btn-primary{background:var(--navy);box-shadow:0 8px 16px rgba(22,33,58,.2)}
.fc-home2 .x-fc-actions .x-btn-primary:hover{background:#0e1730}
.fc-home2 .x-fc-burger{display:none;width:40px;height:40px;border:1px solid var(--line);border-radius:var(--fc-r-sm);background:#fff;flex-direction:column;gap:4px;align-items:center;justify-content:center}
.fc-home2 .x-fc-burger span{width:15px;height:2px;background:var(--ink);border-radius:2px}

/* ---------- section base ---------- */
.fc-home2 main>section{padding:40px 0;max-width:none;width:auto;margin:0;background:none;border:0}
.fc-home2 .x-sec-head{display:grid;grid-template-columns:1fr auto;gap:14px 40px;align-items:start;margin-bottom:22px}
.fc-home2 .x-sec-head h2{font-size:clamp(26px,3vw,36px);line-height:1.1}
.fc-home2 .x-sec-head>div>p{margin:12px 0 0;color:var(--ink-soft);font-size:14.5px;line-height:1.5;max-width:560px}
.fc-home2 .x-sec-head .x-text-link{font-size:13px;color:var(--blue);font-weight:600;display:inline-flex;gap:5px;white-space:nowrap;padding-top:6px}
.fc-home2 .x-text-link svg{width:14px;height:14px}

/* ---------- hero ---------- */
.fc-home2 .x-hero{padding-top:14px;padding-bottom:36px}
.fc-home2 .x-hero-inner{display:grid;grid-template-columns:minmax(0,42%) minmax(0,58%);gap:20px;align-items:center;position:relative}
.fc-home2 .x-hero-copy{padding-top:8px}
.fc-home2 .x-hero h1{font-size:clamp(31px,2.4vw,34px);line-height:1.08;font-weight:700;max-width:17ch}
.fc-home2 .x-hero-copy>p{margin:16px 0 0;color:var(--ink-soft);font-size:14px;line-height:1.6;max-width:340px}
.fc-home2 .x-hero-cta{display:flex;align-items:center;gap:30px;margin-top:22px;flex-wrap:wrap}
.fc-home2 .x-hero-stats{display:flex;gap:26px}
.fc-home2 .x-hero-stats div{max-width:96px}
.fc-home2 .x-hero-stats b{display:block;font-family:'Sora',sans-serif;font-size:17px;font-weight:700;color:var(--blue);letter-spacing:-.02em}
.fc-home2 .x-hero-stats span{font-size:10.5px;color:var(--ink-soft);line-height:1.3;display:block;margin-top:3px}
.fc-home2 .x-hero-art{position:relative;margin:-6px -34px -18px 0}
.fc-home2 .x-hero-art img{width:100%;height:auto;display:block}
.fc-home2 .x-hero-tag{position:absolute;right:4px;top:22px;text-align:right;font-size:10px;font-weight:600;letter-spacing:.16em;line-height:1.8;color:#a7b7cf;text-transform:uppercase}

/* ---------- case cards ---------- */
.fc-home2 .x-cases{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.fc-home2 .x-case{background:var(--card);border:1px solid var(--line);border-radius:var(--fc-r-xl);padding:12px 12px 18px;box-shadow:0 22px 44px rgba(24,52,102,.06)}
.fc-home2 .x-case-frame{border:1px solid var(--line);border-radius:11px;overflow:hidden;display:block}
.fc-home2 .x-case-bar{display:flex;gap:5px;align-items:center;padding:8px 11px;background:#f3f7fd;border-bottom:1px solid var(--line)}
.fc-home2 .x-case-bar i{width:7px;height:7px;border-radius:50%;background:#ccd8ea}
.fc-home2 .x-case-shot{display:block;aspect-ratio:1.95;background:#0b1220}
.fc-home2 .x-case-shot img{width:100%;height:100%;object-fit:cover;object-position:top;display:block}
.fc-home2 .x-case-body{display:flex;justify-content:space-between;align-items:baseline;gap:14px;margin:16px 6px 0}
.fc-home2 .x-case-body h3{font-size:18px}
.fc-home2 .x-case>p{margin:5px 6px 0;font-size:13px;color:var(--ink-soft)}
.fc-home2 .x-case-open{font-size:12.5px;font-weight:600;color:var(--blue);white-space:nowrap;display:inline-flex;gap:5px;flex:none}
.fc-home2 .x-case-open svg{width:13px;height:13px}
.fc-home2 .x-case-chips{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:14px 6px 0;border-top:1px solid var(--line);padding-top:14px}
.fc-home2 .x-chip{display:flex;gap:9px;align-items:center;font-size:11.5px;line-height:1.25}
.fc-home2 .x-chip .x-ic{width:30px;height:30px;flex:none;border-radius:var(--fc-r-sm);background:var(--chip);display:grid;place-items:center;color:var(--blue)}
.fc-home2 .x-chip .x-ic svg{width:16px;height:16px}
.fc-home2 .x-chip b{display:block;font-weight:700;color:var(--fc-ink)}
.fc-home2 .x-chip span{color:var(--ink-soft)}

/* ---------- process ---------- */
.fc-home2 .x-process .x-sec-head{position:relative}
.fc-home2 .x-process .x-sec-head .x-note{position:absolute;right:130px;top:4px;font-size:19px;text-align:right}
.fc-home2 .x-process .x-sec-head .x-note:after{content:"";position:absolute;right:-6px;bottom:-16px;width:20px;height:16px;border-left:2px solid #b9cbe6;border-bottom:2px solid #b9cbe6;border-radius:0 0 0 8px}
.fc-home2 .x-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;position:relative}
.fc-home2 .x-steps:before{content:"";position:absolute;left:12%;right:12%;top:40px;border-top:2px dashed #cbdaf0;z-index:0}
.fc-home2 .x-step{position:relative;z-index:1;background:var(--card);border:1px solid var(--line);border-radius:var(--fc-r-lg);padding:18px;box-shadow:0 16px 32px rgba(24,52,102,.05)}
.fc-home2 .x-step:not(:first-child):before{content:"";position:absolute;left:-11px;top:33px;width:11px;height:11px;border-radius:50%;background:#fff;border:2px solid #a7c4ee;z-index:2}
.fc-home2 .x-step-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.fc-home2 .x-step .x-ic{width:40px;height:40px;border-radius:11px;background:var(--chip);display:grid;place-items:center;color:var(--blue)}
.fc-home2 .x-step .x-ic svg{width:20px;height:20px}
.fc-home2 .x-step .x-no{font-family:'Sora',sans-serif;font-weight:700;color:#b7c6dd;font-size:14px}
.fc-home2 .x-step h3{font-size:16px}
.fc-home2 .x-step p{margin:7px 0 0;font-size:12.5px;color:var(--ink-soft);line-height:1.5}
.fc-home2 .x-benefits{display:grid;grid-template-columns:repeat(4,1fr);margin-top:16px;border:1px solid var(--line);border-radius:var(--fc-r-lg);background:var(--card);overflow:hidden}
.fc-home2 .x-benefit{padding:18px 20px;display:flex;gap:12px;align-items:flex-start;border-right:1px solid var(--line)}
.fc-home2 .x-benefit:last-child{border-right:0}
.fc-home2 .x-benefit .x-ic{width:26px;height:26px;flex:none;color:var(--blue)}
.fc-home2 .x-benefit .x-ic svg{width:26px;height:26px}
.fc-home2 .x-benefit b{display:block;font-weight:700;font-size:13px;line-height:1.25;color:var(--fc-ink)}
.fc-home2 .x-benefit span{display:block;font-size:11px;color:var(--ink-soft);margin-top:5px;line-height:1.4}

/* ---------- faq ---------- */
.fc-home2 .x-faq-grid{display:grid;grid-template-columns:minmax(190px,220px) minmax(0,430px) minmax(0,1fr);gap:30px;align-items:center}
.fc-home2 .x-faq-intro{align-self:start}
.fc-home2 .x-faq-intro h2{font-size:clamp(26px,3vw,34px);line-height:1.1;margin-top:2px}
.fc-home2 .x-faq-intro>p{margin:12px 0 20px;color:var(--ink-soft);font-size:13.5px;line-height:1.55}
.fc-home2 .x-faq-intro .x-note{display:block;margin:16px 0 0;font-size:19px}
.fc-home2 .x-faq-art{margin:0 -20px}
.fc-home2 .x-faq-art img{width:100%;height:auto;display:block}
.fc-home2 .x-faq-list details{border-bottom:1px solid var(--line);padding:16px 2px}
.fc-home2 .x-faq-list details:first-child{border-top:1px solid var(--line)}
.fc-home2 .x-faq-list summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:20px;font-size:14.5px;font-weight:500}
.fc-home2 .x-faq-list summary::-webkit-details-marker{display:none}
.fc-home2 .x-faq-list summary:after{content:"+";color:var(--blue);font-size:18px;line-height:1}
.fc-home2 .x-faq-list details[open] summary:after{content:"\2212"}
.fc-home2 .x-faq-list details p{margin:11px 0 0;font-size:13px;color:var(--ink-soft);line-height:1.55;padding-right:24px}
.fc-home2 .x-faq-help{margin-top:20px;display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;background:var(--card);border:1px solid var(--line);border-radius:var(--fc-r-lg);padding:15px 16px}
.fc-home2 .x-faq-help>span:not(.x-ic){flex:1 1 240px}
.fc-home2 .x-faq-help b{white-space:nowrap}
.fc-home2 .x-faq-help .x-ic{width:36px;height:36px;flex:none;border-radius:var(--fc-r-sm);background:var(--chip);display:grid;place-items:center;color:var(--blue)}
.fc-home2 .x-faq-help .x-ic svg{width:19px;height:19px}
.fc-home2 .x-faq-help b{display:block;font-size:13px;font-weight:700;color:var(--fc-ink)}
.fc-home2 .x-faq-help span{display:block;font-size:11.5px;color:var(--ink-soft);margin-top:2px}
.fc-home2 .x-faq-help .x-btn{margin-left:auto;padding:9px 14px;font-size:12.5px;flex:none}

/* ---------- contact ---------- */
.fc-home2 .x-contact-block{background:linear-gradient(160deg,#eef4ff,#e2ecfd);border:1px solid #dbe6f8;border-radius:20px;padding:44px 44px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,42%);gap:30px;align-items:center;position:relative}
.fc-home2 .x-contact-block h2{font-size:clamp(28px,3.4vw,42px);line-height:1.08}
.fc-home2 .x-contact-block h2 span{color:var(--blue)}
.fc-home2 .x-contact-block>div>p{margin:16px 0 22px;color:#5a6b87;font-size:14.5px}
.fc-home2 .x-contact-cta{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.fc-home2 .x-contact-cta .x-phone{font-size:14.5px;font-weight:600;color:var(--ink);display:inline-flex;gap:7px;align-items:center;white-space:nowrap}
.fc-home2 .x-contact-cta .x-phone svg{width:18px;height:18px;flex:none;color:var(--blue)}
.fc-home2 .x-contact-art{position:relative;margin:-14px -14px -14px 0}
.fc-home2 .x-contact-art img{width:100%;height:auto;display:block}
.fc-home2 .x-contact-art .x-note{position:absolute;right:0;top:-8px;font-size:18px}

/* ---------- footer ---------- */
.fc-home2 .x-fc-footer{border-top:1px solid var(--line);max-width:var(--wrap);margin:0 auto;padding:22px 30px;display:flex;align-items:center;gap:22px;font-size:12.5px;color:var(--ink-soft)}
.fc-home2 .x-fc-footer .x-fc-logo{font-size:18px}
.fc-home2 .x-fc-footer .x-fc-logo .x-logo-badge{width:31px;height:31px;box-shadow:none}
.fc-home2 .x-fc-footer .x-fc-logo .x-logo-badge svg{width:18px;height:18px}
.fc-home2 .x-fc-footer .x-foot-tag{margin-left:auto;text-align:right;font-family:'Sora',sans-serif;font-weight:600;letter-spacing:.1em;font-size:10px;color:#a3b3cc;text-transform:uppercase;line-height:1.6}

/* ---------- responsive ---------- */
@media(max-width:1000px){
  .fc-home2 .x-hero-inner{grid-template-columns:1fr;gap:14px}
  .fc-home2 .x-hero-art{margin:0;max-width:560px}
  .fc-home2 .x-hero h1,.fc-home2 .x-hero-copy>p{max-width:none}
  .fc-home2 .x-steps{grid-template-columns:1fr 1fr}
  .fc-home2 .x-steps:before{display:none}
  .fc-home2 .x-step:not(:first-child):before{display:none}
  .fc-home2 .x-benefits{grid-template-columns:1fr 1fr}
  .fc-home2 .x-benefit:nth-child(2){border-right:0}
  .fc-home2 .x-benefit{border-bottom:1px solid var(--line)}
  .fc-home2 .x-benefit:nth-last-child(-n+2){border-bottom:0}
  .fc-home2 .x-faq-grid{grid-template-columns:1fr;gap:22px}
  .fc-home2 .x-faq-art{max-width:360px;margin:0 auto;order:2}
  .fc-home2 .x-faq-main{order:3}
  .fc-home2 .x-process .x-note{display:none}
  .fc-home2 .x-contact-block{grid-template-columns:1fr;padding:36px 26px}
  .fc-home2 .x-contact-art{margin:0;max-width:400px}
}
@media(max-width:720px){
  .fc-home2 .x-fc-nav,.fc-home2 .x-fc-actions .x-btn,.fc-home2 .x-fc-languages{display:none}
  .fc-home2 .x-fc-burger{display:flex}
  .fc-home2 .x-fc-header{justify-content:space-between}
  .fc-home2 main>section{padding:36px 0}
  .fc-home2 .x-wrap2,.fc-home2 .x-fc-header{padding-inline:18px}
  .fc-home2 .x-sec-head{grid-template-columns:1fr}
  .fc-home2 .x-cases,.fc-home2 .x-steps,.fc-home2 .x-benefits{grid-template-columns:1fr}
  .fc-home2 .x-case-chips{grid-template-columns:1fr}
  .fc-home2 .x-benefit{border-right:0;border-bottom:1px solid var(--line)}
  .fc-home2 .x-benefit:last-child{border-bottom:0}
  .fc-home2 .x-hero-cta{gap:18px}
  .fc-home2 .x-fc-footer{flex-wrap:wrap;gap:12px}
  .fc-home2 .x-fc-footer .x-foot-tag{margin-left:0;text-align:left}
  .fc-home2 .x-svc-grid .x-note{display:none}
  .fc-home2 .x-contact-block h2 br{display:none}
}
@media(max-width:560px){
  .fc-home2 .x-hero h1{font-size:26px;line-height:1.14}
  .fc-home2 .x-eyebrow{font-size:10px;letter-spacing:.13em;margin-bottom:10px}
  .fc-home2 .x-sec-head h2{font-size:22px}
  .fc-home2 .x-faq-intro h2{font-size:22px!important}
  .fc-home2 .x-contact-block h2{font-size:24px}
  .fc-home2 .x-hero-copy>p{font-size:13.5px}
  .fc-home2 .x-sec-head>div>p,.fc-home2 .x-faq-intro>p{font-size:12.5px}
  .fc-home2 .x-svc-card h3{font-size:17px}
  .fc-home2 .x-svc-card p,.fc-home2 .x-case>p,.fc-home2 .x-step p{font-size:12.5px}
  .fc-home2 .x-step h3{font-size:15px}
  .fc-home2 .x-case-body h3{font-size:16px}
  .fc-home2 .x-hero-art{width:min(330px,100%);max-width:none;margin:10px auto 0}
  .fc-home2 .x-hero-art .service-scene{aspect-ratio:1.4!important;margin:0!important;max-width:none!important;width:100%!important}
  .fc-home2 .x-hero-art .service-scene .scene-tag,
  .fc-home2 .x-hero-art .service-scene .scene-route{display:none!important}
  .fc-home2 .x-hero-art .service-scene .scene-art{position:absolute!important;inset:0!important}
  .fc-home2 .x-hero-art .service-scene .scene-art img{width:100%;height:100%;object-fit:contain}
  .fc-home2 .x-faq-art{max-width:210px}
  .fc-home2 .x-contact-art{max-width:270px;margin:0 auto}
  .fc-home2 .x-case-shot{aspect-ratio:2.5}
  .fc-home2 .x-svc-card{padding:20px}
  .fc-home2 .x-contact-block{padding:26px 20px}
  .fc-home2 .x-hero-stats{gap:16px}
  .fc-home2 .x-hero-stats b{font-size:16px}
}
@media(prefers-reduced-motion:no-preference){
  .fc-home2 .x-case,.fc-home2 .x-step{transition:transform .15s,box-shadow .15s}
  .fc-home2 .x-case:hover{transform:translateY(-3px);box-shadow:0 28px 52px rgba(24,52,102,.1)}
}

/* ---------- services (под hero) ---------- */
.fc-home2 .x-services{padding-top:8px}
.fc-home2 .x-svc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.fc-home2 .x-svc-card{background:var(--card);border:1px solid var(--line);border-radius:var(--fc-r-xl);padding:24px 24px 22px;box-shadow:0 18px 38px rgba(24,52,102,.05);position:relative;transition:transform .15s,box-shadow .15s}
.fc-home2 .x-svc-card:hover{transform:translateY(-3px);box-shadow:0 26px 50px rgba(24,52,102,.1)}
.fc-home2 .x-svc-card .x-svc-ic{display:block;color:var(--blue)}
.fc-home2 .x-svc-card .x-svc-ic svg{width:26px;height:26px;display:block}
.fc-home2 .x-svc-card .x-svc-no{position:absolute;right:22px;top:22px;font:700 13px/1 'Sora',sans-serif;color:#b7c6dd;letter-spacing:.1em}
.fc-home2 .x-svc-card h3{font-size:19px;margin:16px 0 8px;letter-spacing:-.03em}
.fc-home2 .x-svc-card p{font-size:13.5px;color:var(--ink-soft);line-height:1.5;margin:0 0 14px}
.fc-home2 .x-svc-card .x-svc-link{font-size:13px;font-weight:600;color:var(--blue);display:inline-flex;gap:5px}
@media(max-width:1000px){.fc-home2 .x-svc-grid{grid-template-columns:1fr}}

/* ---------- handwritten accents ---------- */
.fc-home2 .x-hero-copy .x-note{display:block;margin:22px 0 0;font-size:19px}
.fc-home2 #projects .x-sec-head .x-note{display:block;margin:12px 0 0;font-size:19px}
.fc-home2 .x-svc-grid .x-note{grid-column:1/-1;justify-self:end;margin:-6px 6px 2px 0;font-size:19px;text-align:right}
