:root {
 --blue:#0071e3; --blue2:#2997ff; --ink:#1d1d1f; --muted:#6e6e73; 
 --page:#fff; --soft:#f5f5f7; --gap:12px; --radius:0px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text",Arial,sans-serif;overflow-x:hidden}
a{color:inherit;text-decoration:none} button,input,textarea,select{font:inherit}
.topbar{height:52px;position:sticky;top:0;z-index:99;background:rgba(255,255,255,.82);backdrop-filter:blur(24px) saturate(180%);border-bottom:1px solid rgba(0,0,0,.06)}
.topin{height:100%;max-width:1180px;margin:auto;padding:0 20px;display:flex;align-items:center;justify-content:space-between}
.logo{font-size:24px;font-weight:800;letter-spacing:-.04em} .nav{display:flex;gap:30px;font-size:16px;color:#444} .nav a:hover{color:#000}
.nav-cta{padding:11px 18px;background:#111;color:#fff;border-radius:999px;font-size:15px}
.announce{text-align:center;font-size:13px;padding:12px 20px;background:#f7f7f8;color:#555} .announce b{color:#111}
.hero,.wide{min-height:720px;position:relative;overflow:hidden;text-align:center;padding:72px 24px 0;margin-bottom:var(--gap);display:flex;flex-direction:column;align-items:center}
.hero{background:radial-gradient(circle at 50% 94%,rgba(83,134,255,.42),transparent 37%),radial-gradient(circle at 18% 25%,rgba(255,183,84,.25),transparent 25%),linear-gradient(180deg,#fafcff,#dcecff)}
.eyebrow{font-size:18px;font-weight:700;margin-bottom:10px}
h1,h2,h3,p{margin:0} h1{font-size:clamp(54px,7vw,94px);line-height:.94;letter-spacing:-.065em;max-width:1100px}
h2{font-size:clamp(40px,4.7vw,64px);line-height:.98;letter-spacing:-.055em}
.lead{font-size:clamp(20px,2vw,27px);line-height:1.34;color:var(--muted);max-width:860px;margin-top:16px}
.actions{display:flex;gap:12px;justify-content:center;margin-top:24px;flex-wrap:wrap}
.btn{border:0;border-radius:999px;padding:12px 20px;font-weight:650;cursor:pointer;transition:.25s} .btn:hover{transform:translateY(-2px)}
.primary{background:var(--blue);color:#fff} .outline{background:transparent;border:1px solid var(--blue);color:var(--blue)} .darkbtn{background:#111;color:#fff}
.hero-visual{width:min(1120px,94vw);height:430px;margin-top:30px;position:relative;display:flex;align-items:center;justify-content:center}
.hero-visual img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 28px 28px rgba(0,0,0,.18))}
.grid{display:grid;grid-template-columns:1fr 1fr;gap:var(--gap);padding:0 var(--gap) var(--gap)}
.panel{min-height:auto;aspect-ratio:1000 / 900;position:relative;overflow:hidden;text-align:center;padding:58px 28px 0;display:flex;flex-direction:column;align-items:center}
.panel p{font-size:clamp(18px,1.6vw,23px);line-height:1.33;opacity:.77;max-width:660px;margin-top:12px}
.visual{width:min(88%,780px);height:395px;margin-top:28px;display:flex;align-items:center;justify-content:center;position:relative}
.visual img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 28px 26px rgba(0,0,0,.17))}
.blue{background:radial-gradient(circle at 50% 86%,rgba(255,255,255,.55),transparent 37%),linear-gradient(180deg,#cdeeff,#f8fcff)}
.black{background:radial-gradient(circle at 50% 77%,rgba(255,255,255,.09),transparent 29%),#000;color:#fff}
.cream{background:radial-gradient(circle at 50% 88%,rgba(255,255,255,.65),transparent 36%),linear-gradient(180deg,#f7f2e9,#ebe3d7)}
.violet{background:radial-gradient(circle at 50% 84%,rgba(149,118,255,.32),transparent 30%),linear-gradient(180deg,#07060b,#171222);color:#fff}
.green{background:radial-gradient(circle at 50% 88%,rgba(255,255,255,.52),transparent 36%),linear-gradient(180deg,#dcf6e2,#f9fff9)}
.orange{background:radial-gradient(circle at 50% 88%,rgba(255,255,255,.5),transparent 36%),linear-gradient(180deg,#ffd9bd,#fff5ec)}
.pink{background:radial-gradient(circle at 50% 88%,rgba(255,255,255,.5),transparent 36%),linear-gradient(180deg,#f6d8e8,#fff5fa)}
.gray{background:radial-gradient(circle at 50% 88%,rgba(255,255,255,.75),transparent 37%),linear-gradient(180deg,#ececef,#fafafa)}
.dark .outline,.black .outline,.violet .outline{border-color:var(--blue2);color:var(--blue2)} .dark .lead{color:rgba(255,255,255,.7)}
.wide.gray{background:linear-gradient(180deg,#f2f2f5,#fff)} .wide .visual{width:min(1080px,92vw);height:430px}
.process{padding:105px 24px;background:#fff;text-align:center} .process-inner{max-width:1160px;margin:auto}
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:45px;text-align:left}
.step{background:#f5f5f7;border-radius:24px;padding:26px;min-height:210px} .step-num{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#111;color:#fff;font-weight:800;margin-bottom:28px}
.step h3{font-size:23px;letter-spacing:-.03em} .step p{font-size:15px;line-height:1.5;color:#666;margin-top:10px}
.price-section{padding:105px 24px;background:#f5f5f7;text-align:center} .price-grid{max-width:1400px;margin:45px auto 0;display:grid;grid-template-columns:repeat(3,1fr);gap:14px;text-align:left}
.price-card{background:#fff;border-radius:28px;padding:34px} .price-card.dark{background:#111;color:#fff} .price-card h3{font-size:34px;letter-spacing:-.04em} .price{font-size:48px;font-weight:800;letter-spacing:-.05em;margin-top:20px}
.price-card ul{padding-left:20px;color:#666;line-height:1.8} .price-card.dark ul{color:#aaa}
.custom-project{
    background:linear-gradient(180deg,#fff 0%,#f7f8fb 100%);
    border:1px solid #e6e8ee;
    position:relative;
    overflow:hidden;
}

.custom-project::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:4px;
    background:linear-gradient(90deg,#1677ff,#7c5cff,#ff6b57);
}

.price-subtitle{
    margin:14px 0 22px;
    color:#737373;
    line-height:1.55;
}

.custom-price{
    margin-top:20px;
    font-weight:600;
    line-height:1.45;
}
.price-card.custom-project{
    position:relative;
    overflow:hidden;
}

.price-card.custom-project::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:4px;
    background:linear-gradient(90deg,#1677ff,#765cff,#ff6b57);
}
.contact{padding:105px 24px;background:radial-gradient(circle at 12% 10%,rgba(92,169,255,.28),transparent 30%),radial-gradient(circle at 88% 85%,rgba(139,92,246,.22),transparent 32%),linear-gradient(145deg,#ffffff,#f4f5ff)}
.contact-wrap{max-width:1120px;margin:auto;display:grid;grid-template-columns:.9fr 1.1fr;gap:60px;align-items:start} .contact-copy h2{font-size:clamp(48px,5vw,72px)} .contact-copy p{font-size:20px;color:#666;line-height:1.5;margin-top:18px}
.trust{margin-top:30px;display:grid;gap:12px;color:#444} .form{background:rgba(255,255,255,.82);backdrop-filter:blur(18px);padding:28px;border-radius:28px;box-shadow:0 32px 90px rgba(40,55,100,.13)}
.fields{display:grid;grid-template-columns:1fr 1fr;gap:12px} .field{display:flex;flex-direction:column;gap:7px;text-align:left} .field.full{grid-column:1/-1} .field label{font-size:13px;font-weight:700}
.field input,.field textarea,.field select{width:100%;border:1px solid rgba(0,0,0,.1);border-radius:14px;background:#fff;padding:14px;outline:none} .field textarea{min-height:130px;resize:vertical}
.submit{width:100%;margin-top:15px;border:0;border-radius:14px;background:#111;color:#fff;padding:15px;font-weight:750;cursor:pointer}
footer{padding:38px;text-align:center;color:#777;font-size:13px} .reveal{opacity:0;transform:translateY(38px);transition:.85s cubic-bezier(.2,.7,.2,1)} .reveal.on{opacity:1;transform:none}
.float{animation:float 5s ease-in-out infinite} @keyframes float{50%{transform:translateY(-12px)}}
@media(max-width:950px){.grid,.contact-wrap{grid-template-columns:1fr}.steps{grid-template-columns:1fr 1fr}.nav{display:none}.visual,.hero-visual,.wide .visual{height:350px}}
@media(max-width:600px){.grid{padding-left:0;padding-right:0}.hero,.wide,.panel{padding-left:18px;padding-right:18px}.steps{grid-template-columns:1fr}.fields{grid-template-columns:1fr}.visual,.hero-visual,.wide .visual{height:300px}}
@media(max-width:700px){
    .price-grid{
        grid-template-columns:1fr;
    }
}




/* Dual-monitor AI → PRINT hero */
.hero{
  min-height:1000px;
  padding:66px 20px 42px;
  isolation:isolate;
  overflow:hidden;
  background:
    radial-gradient(circle at 17% 49%,rgba(84,180,255,.34),transparent 31%),
    radial-gradient(circle at 83% 49%,rgba(255,171,89,.32),transparent 31%),
    radial-gradient(circle at 50% 96%,rgba(137,157,255,.20),transparent 38%),
    linear-gradient(180deg,#fbfdff 0%,#eef6ff 52%,#e3edff 100%);
}
.hero::before,.hero::after{
  content:"";
  position:absolute;
  z-index:-1;
  width:470px;
  height:470px;
  border-radius:50%;
  filter:blur(92px);
  opacity:.46;
  pointer-events:none;
}
.hero::before{left:-175px;top:360px;background:rgba(65,173,255,.34)}
.hero::after{right:-175px;top:360px;background:rgba(255,166,76,.32)}
.hero .eyebrow{margin-bottom:12px;font-size:16px;letter-spacing:.05em}
.hero h1{max-width:1100px}
.hero .lead{max-width:760px;margin-top:15px}
.hero .actions{margin-top:23px}

.monitor-stage{
  width:min(1720px,100vw);
  min-height:610px;
  margin-top:30px;
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) 150px minmax(0,1fr);
  align-items:center;
}
.monitor-wrap{
  min-width:0;
  height:590px;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
}
.monitor-wrap img{
  width:88%;
  max-width:none;
  height:700px;
  object-fit:contain;
  filter:drop-shadow(0 36px 34px rgba(38,64,105,.23));
  will-change:transform,opacity;
}
.monitor-left{transform:translateX(-1%)}
.monitor-right{transform:translateX(1%)}
.monitor-left img{
  animation:
    monitorInLeft 1.05s .12s cubic-bezier(.2,.75,.2,1) both,
    monitorFloat 6.4s 1.5s ease-in-out infinite;
}
.monitor-right img{
  animation:
    monitorInRight 1.05s 1.15s cubic-bezier(.2,.75,.2,1) both,
    monitorFloat 6.4s 2.2s ease-in-out infinite;
}
.monitor-label{
  position:absolute;
  top:14px;
  z-index:4;
  font-size:11px;
  font-weight:800;
  letter-spacing:.23em;
  color:#536075;
}
.monitor-left .monitor-label{left:20%}
.monitor-right .monitor-label{right:20%}

.transfer-center{
  height:430px;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:7;
}
.transfer-title{
  display:flex;
  align-items:center;
  justify-content:center;
  margin-top:-30px;
  opacity:0;
  transform:translateY(14px) scale(.97);
  animation:transferTitleIn .75s .62s ease forwards;
}

/* Центральная стрелка: без текста и бликов */
.transfer-arrow{
  position:relative;
  display:block;
  width:132px;
  height:44px;
  transform-origin:center;
  animation:arrowPush 1.8s ease-in-out infinite;
}

/* Линия стрелки */
.transfer-arrow::before{
  content:"";
  position:absolute;
  left:4px;
  right:23px;
  top:50%;
  height:5px;
  border-radius:999px;
  background:#1677ff;
  transform:translateY(-50%);
  box-shadow:0 7px 18px rgba(22,119,255,.22);
}

/* Наконечник стрелки */
.transfer-arrow::after{
  content:"";
  position:absolute;
  right:5px;
  top:50%;
  width:22px;
  height:22px;
  border-top:5px solid #1677ff;
  border-right:5px solid #1677ff;
  border-radius:2px;
  transform:translateY(-50%) rotate(45deg);
}


/* Four service panels: original text positions + replaceable full backgrounds */
#services .service-bg-panel{
  isolation:isolate;
  background:none;
}

#services .service-bg-panel::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-2;
  background-image:var(--service-bg-desktop);
  background-position:center;
  background-repeat:no-repeat;
  background-size:cover;
}

#services .service-bg-overlay{
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
}

#services .service-bg-light .service-bg-overlay{
  background:linear-gradient(
    180deg,
    rgba(255,255,255,.16) 0%,
    rgba(255,255,255,.04) 45%,
    rgba(255,255,255,0) 100%
  );
}

#services .service-bg-dark{
  color:#fff;
}

#services .service-bg-dark .service-bg-overlay{
  background:linear-gradient(
    180deg,
    rgba(0,0,0,.14) 0%,
    rgba(0,0,0,.03) 46%,
    rgba(0,0,0,0) 100%
  );
}

#services .service-bg-panel h2,
#services .service-bg-panel p,
#services .service-bg-panel .actions{
  position:relative;
  z-index:2;
}

#services .service-bg-dark .outline{
  border-color:var(--blue2);
  color:var(--blue2);
}
/* Portfolio */
.portfolio-intro{
  padding:96px 24px 54px;
  text-align:center;
  background:linear-gradient(180deg,#f5f5f7 0%,#fff 100%);
}
.portfolio-intro h2{
  max-width:1050px;
  margin:0 auto;
}
.portfolio-intro .lead{
  max-width:850px;
  margin-left:auto;
  margin-right:auto;
}

.portfolio-section{
  padding-bottom:72px;
  background:#fff;
}
.portfolio-grid{
  counter-reset:portfolio-project;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  padding:0 12px;
}
.portfolio-item{
  counter-increment:portfolio-project;
  appearance:none;
  display:none;
  position:relative;
  width:100%;
  min-height:520px;
  padding:0;
  border:0;
  overflow:hidden;
  background:#f5f5f7;
  cursor:pointer;
  text-align:left;
  isolation:isolate;
}
.portfolio-item.is-visible{
  display:block;
}
.portfolio-item.is-entering{
  animation:portfolioCardIn .72s cubic-bezier(.2,.75,.2,1) both;
}
.portfolio-item::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  background:linear-gradient(180deg,transparent 54%,rgba(0,0,0,.28) 100%);
  opacity:0;
  transition:opacity .45s ease;
  pointer-events:none;
}
.portfolio-item::after{
  content:counter(portfolio-project,decimal-leading-zero);
  position:absolute;
  left:18px;
  bottom:16px;
  z-index:3;
  min-width:42px;
  height:30px;
  padding:0 11px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.28);
  border-radius:999px;
  background:rgba(10,10,10,.44);
  color:#fff;
  font-size:12px;
  font-weight:750;
  letter-spacing:.08em;
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  opacity:0;
  transform:translateY(8px);
  transition:opacity .4s ease,transform .45s cubic-bezier(.2,.75,.2,1);
  pointer-events:none;
}
.portfolio-item img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  transform:scale(1.001);
  transition:
    transform .85s cubic-bezier(.2,.7,.2,1),
    filter .5s ease;
}
.portfolio-item:hover img{
  transform:scale(1.045);
  filter:saturate(1.04) contrast(1.02);
}
.portfolio-item:hover::before,
.portfolio-item:hover::after{
  opacity:1;
}
.portfolio-item:hover::after{
  transform:translateY(0);
}
.portfolio-item:focus-visible{
  outline:3px solid var(--blue);
  outline-offset:-3px;
}
.portfolio-more-wrap{
  display:flex;
  justify-content:center;
  padding:36px 20px 0;
}
.portfolio-more-btn{
  min-height:50px;
  padding:0 26px;
  border:0;
  border-radius:999px;
  background:#111;
  color:#fff;
  font-size:15px;
  font-weight:700;
  cursor:pointer;
  transition:transform .25s ease,background .25s ease,box-shadow .25s ease;
}
.portfolio-more-btn:hover{
  transform:translateY(-2px);
  background:#2b2b2d;
  box-shadow:0 12px 30px rgba(0,0,0,.14);
}
.portfolio-more-btn.is-hidden{display:none}

@keyframes portfolioCardIn{
  from{opacity:0;transform:translateY(28px) scale(.985)}
  to{opacity:1;transform:none}
}

/* Fullscreen portfolio viewer */
.portfolio-modal{
  position:fixed;
  inset:0;
  z-index:1000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .3s ease,visibility .3s ease;
}
.portfolio-modal.is-open{opacity:1;visibility:visible;pointer-events:auto}
.portfolio-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.84);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}
.portfolio-modal-content{
  position:relative;
  z-index:1;
  width:min(1240px,100%);
  max-height:calc(100vh - 48px);
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border-radius:26px;
  background:#111;
  color:#fff;
  box-shadow:0 40px 120px rgba(0,0,0,.55);
  transform:translateY(24px) scale(.98);
  transition:transform .4s cubic-bezier(.2,.8,.2,1);
}
.portfolio-modal.is-open .portfolio-modal-content{transform:none}
.portfolio-modal-image-wrap{
  flex:1;
  min-height:0;
  display:flex;
  justify-content:center;
  align-items:center;
  overflow:hidden;
  background:#080808;
  touch-action:pan-y;
}
.portfolio-modal-image{
  width:100%;
  max-height:calc(100vh - 190px);
  display:block;
  object-fit:contain;
  user-select:none;
  -webkit-user-drag:none;
  opacity:1;
  transform:scale(1);
  transition:opacity .22s ease,transform .38s cubic-bezier(.2,.8,.2,1);
}
.portfolio-modal-image.is-changing{
  opacity:0;
  transform:scale(.985);
}
.portfolio-modal-info{flex:0 0 auto;padding:22px 28px 25px;background:#111}
.portfolio-modal-info h3{margin:0;font-size:24px;line-height:1.15;letter-spacing:-.03em}
.portfolio-modal-info p{max-width:780px;margin:8px 0 0;color:rgba(255,255,255,.65);font-size:16px;line-height:1.5}
.portfolio-modal-close,
.portfolio-modal-nav{
  position:absolute;
  z-index:4;
  width:46px;
  height:46px;
  padding:0;
  border:0;
  border-radius:50%;
  background:rgba(0,0,0,.58);
  color:#fff;
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  cursor:pointer;
  transition:background .2s ease,transform .2s ease,opacity .2s ease;
}
.portfolio-modal-close{top:16px;right:16px}
.portfolio-modal-close:hover,
.portfolio-modal-nav:hover{background:rgba(0,0,0,.82);transform:scale(1.05)}
.portfolio-modal-close span{
  position:absolute;
  top:22px;
  left:13px;
  width:20px;
  height:2px;
  border-radius:999px;
  background:#fff;
}
.portfolio-modal-close span:first-child{transform:rotate(45deg)}
.portfolio-modal-close span:last-child{transform:rotate(-45deg)}
.portfolio-modal-nav{top:50%;transform:translateY(-50%);font-size:30px;line-height:1}
.portfolio-modal-nav:hover{transform:translateY(-50%) scale(1.05)}
.portfolio-modal-prev{left:16px}
.portfolio-modal-next{right:16px}
.portfolio-modal-nav.is-disabled{opacity:.25;pointer-events:none}
body.portfolio-modal-open{overflow:hidden}

@media(max-width:820px){
  .portfolio-intro{padding:72px 18px 40px}
  .portfolio-grid{grid-template-columns:1fr;padding-left:0;padding-right:0}
  .portfolio-item{min-height:420px}
  .portfolio-modal{padding:0;align-items:stretch}
  .portfolio-modal-content{width:100%;max-height:none;height:100%;border-radius:0}
  .portfolio-modal-image-wrap{flex:1}
  .portfolio-modal-image{width:100%;height:100%;max-height:none;object-fit:contain}
  .portfolio-modal-info{padding:20px 20px 26px}
  .portfolio-modal-info h3{padding-right:45px;font-size:22px}
  .portfolio-modal-info p{font-size:15px}
  .portfolio-modal-close{position:fixed;top:14px;right:14px}
  .portfolio-modal-nav{width:42px;height:42px;font-size:26px}
  .portfolio-modal-prev{left:10px}
  .portfolio-modal-next{right:10px}
}
@media(max-width:480px){
  .portfolio-intro{padding-top:58px}
  .portfolio-item{min-height:320px}
  .portfolio-item::after{left:12px;bottom:12px}
  .portfolio-more-wrap{padding-top:26px}
  .portfolio-more-btn{width:100%;max-width:280px}
}

@keyframes monitorInLeft{
  from{opacity:0;transform:translateX(-90px) scale(.94)}
  to{opacity:1;transform:translateX(0) scale(1)}
}
@keyframes monitorInRight{
  from{opacity:0;transform:translateX(90px) scale(.94)}
  to{opacity:1;transform:translateX(0) scale(1)}
}
@keyframes monitorFloat{50%{transform:translateY(-10px)}}
@keyframes transferTitleIn{
  to{opacity:1;transform:none}
}
@keyframes aiGlow{
  50%{filter:brightness(1.16);text-shadow:0 0 38px rgba(53,165,255,.52)}
}
@keyframes printGlow{
  50%{filter:brightness(1.14);text-shadow:0 0 38px rgba(255,132,28,.46)}
}

@keyframes arrowPush{
  0%,100%{transform:translateX(-7px) scaleX(.94)}
  45%{transform:translateX(9px) scaleX(1.08)}
  62%{transform:translateX(5px) scaleX(1.02)}
}

@media(max-width:1200px){
  .hero{min-height:930px}
  .monitor-stage{
    grid-template-columns:minmax(0,1fr) 120px minmax(0,1fr);
    min-height:540px;
  }
  .monitor-wrap{height:520px}
  .monitor-wrap img{height:500px;width:119%}
  .transfer-arrow{width:104px;height:38px}
}
@media(max-width:820px){

  .hero{
    min-height:auto;
    padding:54px 16px 58px;
  }

  .monitor-stage{
    width:100%;
    min-height:0;
    margin-top:30px;
    display:flex;
    flex-direction:column;
    align-items:center;
  }

  .monitor-wrap{
    width:100%;
    height:auto;
    transform:none;
    display:flex;
    justify-content:center;
  }

  .monitor-wrap img{
    width:88%;
    height:auto;
    max-height:none;
  }

  .monitor-left{
    order:1;
    margin-bottom:0;
  }

  .transfer-center{
    order:2;
    width:100%;
    height:85px;
    display:flex;
    align-items:center;
    justify-content:center;
  }

  .monitor-right{
    order:3;
    margin-top:0;
  }

  .transfer-title{
    margin-top:0;
  }

  .transfer-arrow{
    width:88px;
    height:36px;
    transform:rotate(90deg);
    animation:arrowPushMobile 1.8s ease-in-out infinite;
  }
@media(max-width:460px){
  .hero{padding-left:12px;padding-right:12px}
  .hero h1{font-size:41px}
  .hero .lead{font-size:17px}
  .monitor-wrap img{width:94%}
  .transfer-center{height:90px}
  .transfer-arrow{width:76px;height:32px}
}
}
@media(prefers-reduced-motion:reduce){
  .monitor-left img,.monitor-right img,.transfer-title,.transfer-arrow{
    animation:none!important;
    opacity:1!important;
    transform:none!important;
  }
}
@keyframes arrowPushMobile{
  0%,100%{
    transform:rotate(90deg) translateX(-6px) scaleX(.94);
  }

  45%{
    transform:rotate(90deg) translateX(8px) scaleX(1.08);
  }

  62%{
    transform:rotate(90deg) translateX(4px) scaleX(1.02);
  }
}

/* Header actions */

.header-actions{
  display:flex;
  align-items:center;
  gap:10px;
}

.social-btn{
  width:42px;
  height:42px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    background .25s ease;
}
.social-btn{
  width:42px;
  height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:transparent;
  transition:
    transform .25s ease,
    filter .25s ease;
}

.social-btn img{
  width:34px;
  height:34px;
  display:block;
  object-fit:contain;
}

.social-btn:hover{
  transform:translateY(-2px) scale(1.04);
  filter:brightness(1.04);
}
.social-btn:hover{
  transform:translateY(-2px) scale(1.04);
}


/* Кнопка бургер */

.menu-toggle{
  display:none;
  width:44px;
  height:44px;
  padding:0;
  border:0;
  border-radius:50%;
  background:rgba(0,0,0,.05);
  cursor:pointer;
  position:relative;
  z-index:120;
}

.menu-toggle span{
  position:absolute;
  left:12px;
  width:20px;
  height:2px;
  border-radius:10px;
  background:#111;
  transition:
    transform .35s cubic-bezier(.2,.8,.2,1),
    opacity .2s ease,
    top .35s cubic-bezier(.2,.8,.2,1);
}

.menu-toggle span:nth-child(1){
  top:14px;
}

.menu-toggle span:nth-child(2){
  top:21px;
}

.menu-toggle span:nth-child(3){
  top:28px;
}

.topbar.menu-open .menu-toggle span:nth-child(1){
  top:21px;
  transform:rotate(45deg);
}

.topbar.menu-open .menu-toggle span:nth-child(2){
  opacity:0;
  transform:scaleX(0);
}

.topbar.menu-open .menu-toggle span:nth-child(3){
  top:21px;
  transform:rotate(-45deg);
}

.mobile-menu{
  display:none;
}


/* Мобильная версия */

@media(max-width:950px){

  .topbar{
    height:60px;
  }

  .topin{
    padding:0 18px;
  }

  .logo{
    font-size:23px;
  }

  .nav,
  .header-actions{
    display:none;
  }

  .menu-toggle{
    display:block;
  }

  .mobile-menu{
    display:flex;
    position:fixed;
    top:60px;
    left:0;
    right:0;
    z-index:110;
    padding:18px 18px 26px;
    flex-direction:column;

    background:rgba(255,255,255,.96);
    backdrop-filter:blur(28px) saturate(180%);
    -webkit-backdrop-filter:blur(28px) saturate(180%);

    border-bottom:1px solid rgba(0,0,0,.08);
    box-shadow:0 24px 60px rgba(0,0,0,.12);

    opacity:0;
    visibility:hidden;
    transform:translateY(-18px);
    pointer-events:none;

    transition:
      opacity .3s ease,
      transform .4s cubic-bezier(.2,.8,.2,1),
      visibility .3s ease;
  }

  .topbar.menu-open .mobile-menu{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
    pointer-events:auto;
  }

  .mobile-nav{
    display:flex;
    flex-direction:column;
  }

  .mobile-nav a{
    display:flex;
    align-items:center;
    min-height:58px;
    border-bottom:1px solid rgba(0,0,0,.08);
    font-size:22px;
    font-weight:650;
    letter-spacing:-.025em;
    color:#1d1d1f;

    opacity:0;
    transform:translateY(-8px);

    transition:
      opacity .3s ease,
      transform .35s cubic-bezier(.2,.8,.2,1),
      color .2s ease;
  }

  .mobile-nav a:hover{
    color:var(--blue);
  }

  .topbar.menu-open .mobile-nav a{
    opacity:1;
    transform:translateY(0);
  }

  .topbar.menu-open .mobile-nav a:nth-child(1){
    transition-delay:.05s;
  }

  .topbar.menu-open .mobile-nav a:nth-child(2){
    transition-delay:.09s;
  }

  .topbar.menu-open .mobile-nav a:nth-child(3){
    transition-delay:.13s;
  }

  .topbar.menu-open .mobile-nav a:nth-child(4){
    transition-delay:.17s;
  }


  /* WhatsApp и Telegram внутри меню */

  .mobile-socials{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    margin-top:20px;
  }

  .mobile-social{
    min-height:54px;
    border-radius:16px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    color:#fff;
    font-size:15px;
    font-weight:700;

    opacity:0;
    transform:translateY(10px);

    transition:
      opacity .3s .2s ease,
      transform .35s .2s cubic-bezier(.2,.8,.2,1),
      box-shadow .25s ease;
  }

.mobile-social img{
  width:28px;
  height:28px;
  display:block;
  object-fit:contain;
}

.whatsapp-mobile,
.telegram-mobile{
  background:#f5f5f7;
  color:#1d1d1f;
  border:1px solid rgba(0,0,0,.06);
}

  .topbar.menu-open .mobile-social{
    opacity:1;
    transform:translateY(0);
  }

.whatsapp-mobile:hover,
.telegram-mobile:hover{
  background:#ededf0;
}


  /* Главная кнопка */

  .mobile-cta{
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:52px;
    margin-top:12px;
    border-radius:999px;
    background:#111;
    color:#fff;
    font-size:16px;
    font-weight:700;

    opacity:0;
    transform:translateY(8px);

    transition:
      opacity .3s .26s ease,
      transform .35s .26s cubic-bezier(.2,.8,.2,1),
      background .2s ease;
  }

  .topbar.menu-open .mobile-cta{
    opacity:1;
    transform:translateY(0);
  }

  .mobile-cta:hover{
    background:#333;
  }

  body.menu-is-open{
    overflow:hidden;
  }
}
 


/* Production story: mockup to print-ready */
.production-story{
  position:relative;
  overflow:hidden;
  padding:112px 24px 96px;
  background:
    radial-gradient(circle at 12% 28%,rgba(41,151,255,.19),transparent 28%),
    radial-gradient(circle at 88% 74%,rgba(126,70,255,.20),transparent 30%),
    linear-gradient(145deg,#05060a 0%,#0b0d17 55%,#111326 100%);
  color:#fff;
}
.production-glow{position:absolute;border-radius:50%;filter:blur(95px);pointer-events:none;opacity:.55}
.production-glow-one{width:360px;height:360px;left:-150px;top:180px;background:#1677ff}
.production-glow-two{width:420px;height:420px;right:-180px;bottom:40px;background:#7b4dff}
.production-head{position:relative;z-index:2;max-width:1120px;margin:0 auto 58px;text-align:center}
.production-kicker{display:inline-flex;align-items:center;gap:10px;padding:10px 16px;border:1px solid rgba(123,179,255,.24);border-radius:999px;background:rgba(20,35,65,.52);color:#c9dcff;font-size:13px;font-weight:800;letter-spacing:.12em}
.production-kicker span{width:8px;height:8px;border-radius:50%;background:#4da2ff;box-shadow:0 0 20px #4da2ff}
.production-head h2{max-width:1040px;margin:22px auto 0;font-size:clamp(44px,5.2vw,78px);line-height:.98;letter-spacing:-.06em}
.production-head h2 em{font-style:normal;background:linear-gradient(90deg,#8cc6ff,#a78cff 48%,#ff9d6b);-webkit-background-clip:text;background-clip:text;color:transparent}
.production-head p{max-width:820px;margin:22px auto 0;color:rgba(255,255,255,.64);font-size:clamp(18px,1.7vw,24px);line-height:1.45}
.production-stage{position:relative;z-index:2;max-width:1380px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) 150px minmax(0,1fr);gap:16px;align-items:center}
.production-card{position:relative;min-width:0;overflow:hidden;border:1px solid rgba(255,255,255,.12);border-radius:32px;transition:transform .35s ease, box-shadow .35s ease;background:linear-gradient(145deg,rgba(255,255,255,.10),rgba(255,255,255,.035));box-shadow:0 34px 100px rgba(0,0,0,.36);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}
.production-card:hover{transform:translateY(-8px);box-shadow:0 30px 70px rgba(0,0,0,.35);}
 .production-card-top{height:64px;padding:0 24px;display:flex;align-items:center;gap:12px;border-bottom:1px solid rgba(255,255,255,.09);color:rgba(255,255,255,.72);font-weight:700}
.production-step{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,.1);color:#fff;font-size:12px}
.pouch-scene{position:relative;height:440px;display:grid;place-items:center;overflow:hidden;background:radial-gradient(circle at 50% 64%,rgba(64,129,255,.26),transparent 42%)}
.pouch-scene::before{content:"";position:absolute;width:430px;height:190px;bottom:22px;border-radius:50%;background:rgba(66,98,210,.18);filter:blur(36px)}
.pouch-shadow{position:absolute;width:280px;height:54px;bottom:42px;border-radius:50%;background:rgba(0,0,0,.65);filter:blur(18px)}
.pouch{position:relative;width:265px;height:345px;border-radius:20px 20px 35px 35px;clip-path:polygon(4% 0,96% 0,100% 8%,97% 96%,88% 100%,12% 100%,3% 96%,0 8%);background:linear-gradient(145deg,#1738ff 0%,#6d35ff 48%,#ff743d 100%);box-shadow:inset 16px 0 24px rgba(255,255,255,.11),inset -18px 0 28px rgba(0,0,0,.23),0 36px 60px rgba(0,0,0,.35);transform:rotate(-2deg);animation:pouchFloat 5.8s ease-in-out infinite}
.pouch-seal{position:absolute;left:9px;right:9px;top:12px;height:18px;border-top:2px solid rgba(255,255,255,.35);border-bottom:2px solid rgba(0,0,0,.15)}
.pouch-shine{position:absolute;inset:0;background:linear-gradient(105deg,transparent 25%,rgba(255,255,255,.18) 42%,transparent 58%);transform:translateX(-80%);animation:pouchShine 4.8s ease-in-out infinite}
.pouch-brand,.pouch-title,.pouch-subtitle,.pouch-weight{position:absolute;left:0;right:0;text-align:center;z-index:2}
.pouch-brand{top:78px;font-size:18px;font-weight:750;letter-spacing:.16em}
.pouch-title{top:116px;font-size:49px;font-weight:900;letter-spacing:-.05em}
.pouch-subtitle{top:174px;font-size:14px;font-weight:700;letter-spacing:.12em}
.pouch-weight{bottom:24px;font-size:12px;color:rgba(255,255,255,.75)}
 .production-mockup-image,
.production-dieline-image{
    width:100%;
    height:100%;
    object-fit:contain;
    display:block;
}

.production-mockup-image{
    padding:5px;
    filter:drop-shadow(0 30px 45px rgba(0,0,0,.35));
    animation:mockupFloat 5s ease-in-out infinite;
}

.production-dieline-image{
    padding:4px;
}

@keyframes mockupFloat{
    0%,100%{
        transform:translateY(0);
    }
    50%{
        transform:translateY(-8px);
    }
}
.pouch-chip{position:absolute;z-index:2;width:74px;height:34px;border-radius:50%;background:#ffd765;box-shadow:inset 0 -7px 12px rgba(225,145,32,.24)}
.pouch-chip-a{left:54px;bottom:70px;transform:rotate(-15deg)}
.pouch-chip-b{right:50px;bottom:74px;transform:rotate(16deg)}
.pouch-chip-c{left:96px;bottom:48px;transform:rotate(2deg)}
.production-blueprint-frame{position:relative;height:440px;display:flex;align-items:center;justify-content:center;padding:24px;overflow:hidden;background:radial-gradient(circle at 50% 50%,rgba(64,129,255,.18),transparent 55%),#080b12}
.production-blueprint-frame img{width:100%;height:100%;display:block;object-fit:contain;filter:drop-shadow(0 20px 28px rgba(0,0,0,.42))}
.blueprint-scan{position:absolute;left:7%;right:7%;top:12%;height:2px;background:linear-gradient(90deg,transparent,#53a8ff,transparent);box-shadow:0 0 26px #53a8ff;animation:blueprintScan 4.2s ease-in-out infinite}
.production-card-copy{padding:22px 24px 26px;border-top:1px solid rgba(255,255,255,.09)}
.production-card-copy h3{font-size:24px;letter-spacing:-.035em}
.production-card-copy p{margin-top:8px;color:rgba(255,255,255,.58);font-size:15px;line-height:1.5}
.production-transfer{
  position:relative;
  height:260px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:visible;}
.production-line{
  position:absolute;
  left:4px;
  right:4px;
  top:50%;
  height:2px;
  border-radius:999px;
  background:linear-gradient(
    90deg,
    transparent,
    rgba(77,159,255,.72) 18%,
    #8f73ff 52%,
    rgba(77,159,255,.72) 82%,
    transparent
  );
  box-shadow:0 0 18px rgba(83,126,255,.34);}
.production-transfer span{position:absolute;top:calc(50% + 56px);font-size:11px;font-weight:800;letter-spacing:.16em;color:#9dbdff}
.production-pulse{
  position:absolute;
  top:calc(50% - 5px);
  left:4%;
  width:10px;
  height:10px;
  border-radius:50%;
  background:#c9e4ff;
  box-shadow:
    0 0 8px #fff,
    0 0 20px #5d9fff,
    0 0 38px rgba(119,91,255,.9);
  animation:productionPulse 2.6s linear infinite;
}

.production-pulse-a{
  animation-delay:0s;
}

.production-pulse-b{
  animation-delay:1.3s;}

.production-features{position:relative;z-index:2;max-width:1380px;margin:18px auto 0;display:grid;grid-template-columns:repeat(5,1fr);gap:10px}
.production-features>div{min-height:126px;padding:20px;border:1px solid rgba(255,255,255,.10);border-radius:22px;background:rgba(255,255,255,.055);backdrop-filter:blur(16px)}
.production-features b{display:block;color:#72b5ff;font-size:12px;letter-spacing:.12em}
.production-features span{display:block;margin-top:15px;font-size:18px;font-weight:750}
.production-features small{display:block;margin-top:7px;color:rgba(255,255,255,.48);font-size:13px;line-height:1.4}
.production-animate{opacity:0;transform:translateY(34px);transition:opacity .8s ease,transform .9s cubic-bezier(.2,.75,.2,1)}
.production-animate.production-on{opacity:1;transform:none}
.production-stage .production-animate:nth-child(2){transition-delay:.14s}.production-stage .production-animate:nth-child(3){transition-delay:.28s}.production-features{transition-delay:.34s}
@keyframes pouchFloat{50%{transform:translateY(-11px) rotate(1deg)}}
@keyframes pouchShine{0%,28%{transform:translateX(-90%)}55%,100%{transform:translateX(95%)}}
@keyframes blueprintScan{0%,100%{top:12%;opacity:.25}50%{top:84%;opacity:1}}
@keyframes productionArrow{50%{transform:translateX(9px);box-shadow:0 0 0 14px rgba(63,126,255,.08),0 0 60px rgba(83,126,255,.7)}}
@keyframes productionPulse{
  0%{
    left:4%;
    opacity:0;
    transform:scale(.65);
  }

  10%{
    opacity:1;
  }

  50%{
    transform:scale(1.15);
  }

  90%{
    opacity:1;
  }

  100%{
    left:92%;
    opacity:0;
    transform:scale(.65);
  }
}
@media(max-width:1050px){.production-stage{grid-template-columns:1fr}.production-transfer{width:100%;height:118px;}.production-line{
  left:50%;
  right:auto;
  top:6px;
  bottom:6px;
  width:2px;
  height:auto;
  transform:translateX(-50%);
  background:linear-gradient(
    180deg,
    transparent,
    rgba(77,159,255,.72) 18%,
    #8f73ff 52%,
    rgba(77,159,255,.72) 82%,
    transparent);}.production-arrow{transform:rotate(90deg);animation:productionArrowMobile 2s ease-in-out infinite}.production-transfer span{top:auto;bottom:0}.production-pulse{
  left:calc(50% - 5px);
  top:4%;
  animation-name:productionPulseMobile;}.production-features{grid-template-columns:repeat(2,1fr)}}
@keyframes productionPulseMobile{
  0%{
    top:4%;
    opacity:0;
    transform:scale(.65);
  }

  10%{
    opacity:1;
  }

  50%{
    transform:scale(1.15);
  }

  90%{
    opacity:1;
  }

  100%{
    top:92%;
    opacity:0;
    transform:scale(.65);
  }
} 
@media(max-width:620px){.production-story{padding:78px 12px 66px}.production-head{margin-bottom:38px}.production-head h2{font-size:42px}.production-head h2 br{display:none}.production-head p{font-size:17px}.production-card{border-radius:24px}.pouch-scene,.production-blueprint-frame{height:340px}.pouch{width:215px;height:282px}.pouch-brand{top:60px}.pouch-title{top:94px;font-size:40px}.pouch-subtitle{top:143px}.pouch-chip{width:60px;height:27px}.pouch-chip-a{left:43px;bottom:60px}.pouch-chip-b{right:40px;bottom:62px}.pouch-chip-c{left:79px;bottom:42px}.production-features{grid-template-columns:1fr}.production-features>div{min-height:0}.production-card-copy h3{font-size:21px}}
@keyframes productionArrowMobile{50%{transform:rotate(90deg) translateX(8px)}}
@media(prefers-reduced-motion:reduce){.pouch,.pouch-shine,.blueprint-scan,.production-arrow,.production-pulse{animation:none!important}.production-animate{opacity:1!important;transform:none!important}}


/* ===== FORMA: service blocks final fixes ===== */

/* "Развитие продуктовой линейки" — светлый текст на тёмном изображении */
#services .panel.cream.service-bg-panel h2{
  color:#fff;
  text-shadow:0 2px 18px rgba(0,0,0,.28);
}

#services .panel.cream.service-bg-panel p{
  color:rgba(255,255,255,.82);
  opacity:1;
  text-shadow:0 2px 14px rgba(0,0,0,.34);
}

#services .panel.cream.service-bg-panel .outline{
  color:#fff;
  border-color:rgba(255,255,255,.78);
}

#services .panel.cream.service-bg-panel .service-bg-overlay{
  background:linear-gradient(
    180deg,
    rgba(0,0,0,.42) 0%,
    rgba(0,0,0,.18) 34%,
    rgba(0,0,0,0) 66%
  );
}

/* FORMA positioning: value before services */
.value-section{
  padding:108px 24px;
  background:#fff;
  text-align:center;
}
.value-inner{max-width:1160px;margin:0 auto}
.value-inner h2{max-width:980px;margin:0 auto}
.value-inner .lead{max-width:850px;margin-left:auto;margin-right:auto}
.value-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin-top:46px;
  text-align:left;
}
.value-card{
  min-height:250px;
  padding:30px;
  border:1px solid rgba(0,0,0,.07);
  border-radius:26px;
  background:linear-gradient(145deg,#fff,#f5f7fb);
  box-shadow:0 22px 55px rgba(40,55,100,.07);
}
.value-card>span{
  display:inline-grid;
  place-items:center;
  width:40px;
  height:40px;
  border-radius:50%;
  background:#111;
  color:#fff;
  font-size:12px;
  font-weight:800;
}
.value-card h3{margin-top:44px;font-size:25px;letter-spacing:-.035em}
.value-card p{margin-top:10px;color:#666;font-size:16px;line-height:1.5}
@media(max-width:820px){
  .value-section{padding:78px 18px}
  .value-grid{grid-template-columns:1fr}
  .value-card{min-height:0}
  .value-card h3{margin-top:28px}
}


/* ===== FORMA: отдельные вертикальные изображения для мобильных блоков ===== */
@media(max-width:950px){

  #services .service-bg-panel{
    width:100%;
    min-height:auto;
    aspect-ratio:1400 / 1600;
    padding:42px 20px 24px;
    justify-content:flex-start;
    background:none;
  }

  #services .service-bg-panel::before{
    inset:0;
    background-image:var(--service-bg-mobile);
    background-size:100% 100%;
    background-position:center center;
    background-repeat:no-repeat;
  }

  #services .service-bg-panel h2{
    max-width:680px;
    font-size:clamp(38px,8vw,52px);
    line-height:.98;
  }

  #services .service-bg-panel p{
    max-width:650px;
    font-size:clamp(17px,3.6vw,20px);
    line-height:1.34;
    margin-top:14px;
  }

  #services .service-bg-panel .actions{
    margin-top:20px;
    gap:10px;
  }

  #services .service-bg-panel .btn{
    padding:11px 17px;
    font-size:14px;
  }

  /* Лёгкий верхний слой только для читаемости текста */
  #services .service-bg-light .service-bg-overlay{
  background:none;
}

#services .service-bg-dark .service-bg-overlay,
#services .panel.cream.service-bg-panel .service-bg-overlay{
  background:none;
}

/* Закрываем @media(max-width:950px) */
}

@media(max-width:600px){

  #services .service-bg-panel{
    min-height:auto;
    padding:34px 16px 20px;
  }

  #services .service-bg-panel h2{
    font-size:clamp(34px,10vw,44px);
  }

  #services .service-bg-panel p{
    font-size:16px;
    line-height:1.3;
    margin-top:11px;
  }

  #services .service-bg-panel .actions{
    margin-top:17px;
    gap:8px;
  }

  #services .service-bg-panel .btn{
    padding:10px 14px;
    font-size:13px;
  }
}

@media(max-width:420px){

  #services .service-bg-panel{
    min-height:auto;
    padding-top:28px;
  }

  #services .service-bg-panel h2{
    font-size:33px;
  }

  #services .service-bg-panel p{
    font-size:15px;
  }
}


/* ===== FORMA: animated product Hero ===== */
.hero.hero-product{
  --hero-progress:0;
  min-height:900px;
  padding:0;
  margin-bottom:var(--gap);
  display:block;
  overflow:hidden;
  isolation:isolate;
  text-align:left;
  background:
    radial-gradient(circle at 13% 48%,rgba(255,57,40,.15),transparent 30%),
    radial-gradient(circle at 88% 54%,rgba(0,113,227,.15),transparent 31%),
    linear-gradient(135deg,#f7f3ee 0%,#f5f2ee 49%,#edf5ff 100%);
}

.hero-product::before,
.hero-product::after{
  content:"";
  position:absolute;
  z-index:-2;
  pointer-events:none;
  width:72%;
  height:112px;
  bottom:132px;
  border-radius:999px;
  opacity:.92;
  filter:blur(.2px);
}

.hero-product::before{
  left:-18%;
  background:linear-gradient(90deg,transparent,#ee241c 25%,#ff4439);
  transform:rotate(12deg) translate3d(calc(var(--hero-progress) * -28px),0,0);
}

.hero-product::after{
  right:-20%;
  background:linear-gradient(90deg,#0877ed,#2997ff 72%,transparent);
  transform:rotate(-13deg) translate3d(calc(var(--hero-progress) * 28px),0,0);
}

.hero-product-glow{
  position:absolute;
  z-index:-1;
  width:420px;
  height:420px;
  border-radius:50%;
  filter:blur(105px);
  pointer-events:none;
  opacity:.36;
}

.hero-product-glow-left{
  left:-170px;
  top:290px;
  background:#ff5a44;
}

.hero-product-glow-right{
  right:-170px;
  top:250px;
  background:#2997ff;
}

.hero-product-inner{
  width:min(1540px,calc(100% - 72px));
  min-height:900px;
  margin:0 auto;
  padding:105px 0 66px;
  display:grid;
  grid-template-columns:minmax(0,.88fr) minmax(520px,1.12fr);
  gap:36px;
  align-items:center;
}

.hero-product-copy{
  position:relative;
  z-index:5;
  max-width:710px;
  transform:translate3d(0,calc(var(--hero-progress) * -20px),0);
  will-change:transform;
}

.hero-product-kicker{
  display:inline-flex;
  align-items:center;
  gap:9px;
  min-height:40px;
  padding:0 17px;
  margin-bottom:34px;
  border:1px solid rgba(0,113,227,.22);
  border-radius:999px;
  background:rgba(255,255,255,.45);
  color:#166fd5;
  font-size:13px;
  font-weight:750;
  letter-spacing:.055em;
  text-transform:uppercase;
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}

.hero-product-copy h1{
  max-width:760px;
  font-size:clamp(58px,5.15vw,88px);
  line-height:.96;
  letter-spacing:-.065em;
}

.hero-product-copy .lead{
  max-width:650px;
  margin-top:28px;
  color:rgba(29,29,31,.66);
  font-size:clamp(19px,1.5vw,24px);
  line-height:1.48;
}

.hero-product-actions{
  justify-content:flex-start;
  margin-top:34px;
}

.hero-product-actions .btn{
  min-height:54px;
  padding:0 25px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:22px;
}

.hero-product-visual{
  position:relative;
  z-index:3;
  height:690px;
  align-self:end;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  perspective:1300px;
}

.hero-product-image-wrap{
  position:relative;
  width:min(760px,100%);
  transform-origin:50% 76%;
  transform:
    translate3d(
      calc(var(--hero-progress) * 40px),
      calc(var(--hero-progress) * -160px),
      0
    )
    rotate(calc(-4deg + var(--hero-progress) * 9deg))
    scale(calc(1 + var(--hero-progress) * .14));
  filter:drop-shadow(0 36px 34px rgba(45,25,12,.18));
  will-change:transform;
}

.hero-product-image-wrap::after{
  content:"";
  position:absolute;
  inset:6% 5% 8%;
  pointer-events:none;
  border-radius:38px;
  background:linear-gradient(
    108deg,
    transparent 18%,
    rgba(255,255,255,.14) 38%,
    rgba(255,255,255,.38) 48%,
    transparent 62%
  );
  mix-blend-mode:screen;
  transform:translateX(calc(-120% + var(--hero-progress) * 190%));
  opacity:.72;
}

.hero-product-image{
  width:100%;
  height:auto;
  display:block;
  border-radius:3px;
}

.hero-scroll-hint{
  position:absolute;
  z-index:6;
  left:50%;
  bottom:22px;
  width:32px;
  height:46px;
  transform:translateX(-50%);
  border:1px solid rgba(0,113,227,.32);
  border-radius:999px;
}

.hero-scroll-hint span{
  position:absolute;
  left:50%;
  top:9px;
  width:5px;
  height:5px;
  border-radius:50%;
  background:var(--blue);
  transform:translateX(-50%);
  animation:heroScrollDot 1.8s ease-in-out infinite;
}

@keyframes heroScrollDot{
  0%{opacity:0;transform:translate(-50%,0)}
  25%{opacity:1}
  70%{opacity:1}
  100%{opacity:0;transform:translate(-50%,19px)}
}

@media(max-width:1050px){
  .hero-product-inner{
    grid-template-columns:minmax(0,.9fr) minmax(430px,1.1fr);
    width:min(100% - 42px,1200px);
  }

  .hero-product-copy h1{
    font-size:clamp(52px,6vw,72px);
  }

  .hero-product-visual{
    height:610px;
  }
}

@media(max-width:820px){
  .hero.hero-product{
    min-height:auto;
  }

  .hero-product-inner{
    width:100%;
    min-height:auto;
    padding:58px 18px 26px;
    display:flex;
    flex-direction:column;
    gap:18px;
  }

  .hero-product-copy{
    max-width:100%;
    text-align:center;
    transform:none;
  }

  .hero-product-kicker{
    margin-bottom:23px;
    font-size:11px;
  }

  .hero-product-copy h1{
    max-width:680px;
    margin:0 auto;
    font-size:clamp(42px,10.7vw,58px);
    line-height:.96;
  }

  .hero-product-copy .lead{
    max-width:640px;
    margin:22px auto 0;
    font-size:18px;
    line-height:1.42;
  }

  .hero-product-actions{
    justify-content:center;
    margin-top:26px;
  }

  .hero-product-visual{
    width:100%;
    height:auto;
    min-height:470px;
    margin-top:4px;
    align-items:center;
  }

  .hero-product-image-wrap{
    width:min(680px,100%);
    transform:
      translate3d(0,calc(var(--hero-progress) * -70px),0)
      rotate(calc(-2deg + var(--hero-progress) * 4deg))
      scale(calc(1 + var(--hero-progress) * .06));
  }

  .hero-product::before,
  .hero-product::after{
    bottom:105px;
    height:70px;
  }
}

@media(max-width:520px){
  .hero-product-inner{
    padding:44px 12px 18px;
  }

  .hero-product-kicker{
    max-width:100%;
    min-height:36px;
    padding:0 13px;
    margin-bottom:20px;
    font-size:10px;
  }

  .hero-product-copy h1{
    font-size:clamp(38px,10.7vw,50px);
    letter-spacing:-.055em;
  }

  .hero-product-copy .lead{
    font-size:16px;
    line-height:1.4;
  }

  .hero-product-actions{
    width:100%;
    gap:9px;
  }

  .hero-product-actions .btn{
    min-height:50px;
    padding:0 16px;
    font-size:14px;
  }

  .hero-product-visual{
    min-height:390px;
  }

  .hero-product-image-wrap{
    width:112%;
    max-width:none;
  }

  .hero-scroll-hint{
    display:none;
  }
}

@media(max-width:390px){
  .hero-product-actions{
    flex-direction:column;
  }

  .hero-product-actions .btn{
    width:100%;
  }
}

@media(prefers-reduced-motion:reduce){
  .hero-product-copy,
  .hero-product-image-wrap,
  .hero-product::before,
  .hero-product::after{
    transform:none!important;
  }

  .hero-scroll-hint span{
    animation:none;
  }
}



/* ===== FORMA: three-layer cinematic Hero ===== */
.hero-product-visual{
  height:760px;
  overflow:visible;
}

.hero-scene{
  position:relative;
  width:min(940px,118%);
  aspect-ratio:1600 / 1199;
  flex:0 0 auto;
  transform-style:preserve-3d;
  perspective:1400px;
  will-change:transform;
}

.hero-layer{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  object-fit:contain;
  pointer-events:none;
  user-select:none;
  -webkit-user-drag:none;
  will-change:transform,opacity,filter;
}

.hero-layer-package{
  z-index:4;
  transform-origin:43% 78%;
  transform:
    translate3d(
      calc(var(--hero-progress) * 74px),
      calc(var(--hero-progress) * -180px),
      90px
    )
    rotateZ(calc(-1deg + var(--hero-progress) * 8deg))
    rotateY(calc(var(--hero-progress) * -5deg))
    scale(calc(1.12 + var(--hero-progress) * .12));
  filter:
    drop-shadow(
      calc(var(--hero-progress) * -5px)
      calc(14px + var(--hero-progress) * 18px)
      calc(13px + var(--hero-progress) * 12px)
      rgba(45,25,12,calc(.15 - var(--hero-progress) * .06))
    );
}

.hero-layer-flying{
  z-index:6;
  transform-origin:58% 22%;
  transform:
    translate3d(
      calc(var(--hero-progress) * 125px),
      calc(var(--hero-progress) * -250px),
      160px
    )
    rotateZ(calc(var(--hero-progress) * 18deg))
    rotateY(calc(var(--hero-progress) * 8deg))
    scale(calc(1 + var(--hero-progress) * .18));
  filter:
    drop-shadow(
      calc(var(--hero-progress) * -9px)
      calc(10px + var(--hero-progress) * 22px)
      calc(8px + var(--hero-progress) * 16px)
      rgba(55,30,8,calc(.18 - var(--hero-progress) * .07))
    );
}

.hero-layer-ground{
  z-index:5;
  transform-origin:68% 86%;
  transform:
    translate3d(
      calc(var(--hero-progress) * 42px),
      calc(var(--hero-progress) * -20px),
      65px
    )
    rotateZ(calc(var(--hero-progress) * 4deg))
    scale(calc(1 + var(--hero-progress) * .035));
  filter:
    drop-shadow(
      calc(var(--hero-progress) * -3px)
      calc(8px + var(--hero-progress) * 8px)
      calc(7px + var(--hero-progress) * 9px)
      rgba(30,15,8,calc(.15 - var(--hero-progress) * .05))
    );
}

.hero-shadow{
  position:absolute;
  z-index:2;
  pointer-events:none;
  border-radius:50%;
  will-change:transform,opacity,filter;
}

.hero-shadow-soft{
  left:17%;
  bottom:9.2%;
  width:55%;
  height:11%;
  background:rgba(20,18,16,.30);
  opacity:calc(.40 - var(--hero-progress) * .29);
  filter:blur(calc(24px + var(--hero-progress) * 25px));
  transform:
    translate3d(
      calc(var(--hero-progress) * 36px),
      calc(var(--hero-progress) * 20px),
      0
    )
    scaleX(calc(1 - var(--hero-progress) * .46))
    scaleY(calc(1 - var(--hero-progress) * .30));
  transform-origin:center;
}

.hero-shadow-contact{
  left:23%;
  bottom:10.1%;
  width:42%;
  height:3.4%;
  background:rgba(10,10,10,.50);
  opacity:calc(.48 - var(--hero-progress) * .44);
  filter:blur(calc(8px + var(--hero-progress) * 16px));
  transform:
    translate3d(
      calc(var(--hero-progress) * 35px),
      calc(var(--hero-progress) * 17px),
      0
    )
    scaleX(calc(1 - var(--hero-progress) * .66))
    scaleY(calc(1 - var(--hero-progress) * .40));
  transform-origin:center;
}

.hero-scene::after{
  content:"";
  position:absolute;
  z-index:7;
  inset:7% 13% 11% 12%;
  pointer-events:none;
  border-radius:44px;
  background:linear-gradient(
    108deg,
    transparent 18%,
    rgba(255,255,255,.10) 36%,
    rgba(255,255,255,.38) 48%,
    transparent 63%
  );
  mix-blend-mode:screen;
  opacity:.68;
  transform:translateX(calc(-135% + var(--hero-progress) * 215%));
}

@media(max-width:1200px){
  .hero-product-visual{
    height:660px;
  }

  .hero-scene{
    width:min(850px,120%);
  }
}

@media(max-width:820px){
  .hero-product-visual{
    min-height:560px;
    height:560px;
    overflow:hidden;
  }

  .hero-scene{
    width:min(760px,128%);
  }

  .hero-layer-package{
    transform:
      translate3d(
        calc(var(--hero-progress) * 24px),
        calc(var(--hero-progress) * -72px),
        45px
      )
      rotateZ(calc(-1deg + var(--hero-progress) * 4deg))
      scale(calc(1.13 + var(--hero-progress) * .055));
  }

  .hero-layer-flying{
    transform:
      translate3d(
        calc(var(--hero-progress) * 34px),
        calc(var(--hero-progress) * -105px),
        75px
      )
      rotateZ(calc(var(--hero-progress) * 8deg))
      scale(calc(1 + var(--hero-progress) * .08));
  }

  .hero-layer-ground{
    transform:
      translate3d(
        calc(var(--hero-progress) * 15px),
        calc(var(--hero-progress) * -8px),
        35px
      )
      rotateZ(calc(var(--hero-progress) * 2deg));
  }
}

@media(max-width:520px){
  .hero-product-visual{
    min-height:430px;
    height:430px;
    margin-top:8px;
  }

  .hero-scene{
    width:146%;
    max-width:none;
  }

  .hero-layer-package{
    transform:
      translate3d(
        calc(var(--hero-progress) * 12px),
        calc(var(--hero-progress) * -44px),
        30px
      )
      rotateZ(calc(-1deg + var(--hero-progress) * 3deg))
      scale(calc(1.10 + var(--hero-progress) * .035));
  }

  .hero-layer-flying{
    transform:
      translate3d(
        calc(var(--hero-progress) * 18px),
        calc(var(--hero-progress) * -62px),
        48px
      )
      rotateZ(calc(var(--hero-progress) * 5deg))
      scale(calc(1 + var(--hero-progress) * .045));
  }
}

@media(prefers-reduced-motion:reduce){
  .hero-layer,
  .hero-shadow,
  .hero-scene::after{
    transform:none!important;
    animation:none!important;
  }
}



/* ===== FORMA: Hero layer corrections — stronger desktop / full mobile fit ===== */

/* Desktop: stronger chip separation */
@media(min-width:821px){
  .hero-layer-flying{
    transform:
      translate3d(
        calc(var(--hero-progress) * 220px),
        calc(var(--hero-progress) * -340px),
        190px
      )
      rotateZ(calc(var(--hero-progress) * 30deg))
      rotateY(calc(var(--hero-progress) * 12deg))
      scale(calc(1 + var(--hero-progress) * .28));
  }

  .hero-layer-package{
    transform:
      translate3d(
        calc(var(--hero-progress) * 88px),
        calc(var(--hero-progress) * -205px),
        100px
      )
      rotateZ(calc(-1deg + var(--hero-progress) * 10deg))
      rotateY(calc(var(--hero-progress) * -7deg))
      scale(calc(1.14 + var(--hero-progress) * .14));
  }

  .hero-layer-ground{
    transform:
      translate3d(
        calc(var(--hero-progress) * 62px),
        calc(var(--hero-progress) * -28px),
        70px
      )
      rotateZ(calc(var(--hero-progress) * 6deg))
      scale(calc(1 + var(--hero-progress) * .045));
  }
}

/* Stronger, more readable shadows */
.hero-shadow-soft{
  background:rgba(15,14,13,.62);
  opacity:calc(.58 - var(--hero-progress) * .43);
  filter:blur(calc(17px + var(--hero-progress) * 33px));
  transform:
    translate3d(
      calc(var(--hero-progress) * 42px),
      calc(var(--hero-progress) * 22px),
      0
    )
    scaleX(calc(1 - var(--hero-progress) * .50))
    scaleY(calc(1 - var(--hero-progress) * .34));
}

.hero-shadow-contact{
  background:rgba(5,5,5,.82);
  opacity:calc(.72 - var(--hero-progress) * .66);
  filter:blur(calc(5px + var(--hero-progress) * 19px));
  transform:
    translate3d(
      calc(var(--hero-progress) * 40px),
      calc(var(--hero-progress) * 19px),
      0
    )
    scaleX(calc(1 - var(--hero-progress) * .72))
    scaleY(calc(1 - var(--hero-progress) * .48));
}

/* Mobile: preserve the full 1600×1199 composition without cropping */
@media(max-width:820px){
  .hero-product-visual{
    width:100%;
    height:auto;
    min-height:0;
    aspect-ratio:1600 / 1199;
    margin-top:12px;
    overflow:visible;
    display:flex;
    align-items:center;
    justify-content:center;
  }

  .hero-scene{
    width:100%;
    max-width:760px;
    aspect-ratio:1600 / 1199;
    flex:0 0 auto;
  }

  .hero-layer-package{
    transform:
      translate3d(
        calc(var(--hero-progress) * 18px),
        calc(var(--hero-progress) * -58px),
        42px
      )
      rotateZ(calc(-1deg + var(--hero-progress) * 3.5deg))
      scale(calc(1 + var(--hero-progress) * .045));
  }

  .hero-layer-flying{
    transform:
      translate3d(
        calc(var(--hero-progress) * 34px),
        calc(var(--hero-progress) * -92px),
        68px
      )
      rotateZ(calc(var(--hero-progress) * 8deg))
      scale(calc(1 + var(--hero-progress) * .07));
  }

  .hero-layer-ground{
    transform:
      translate3d(
        calc(var(--hero-progress) * 12px),
        calc(var(--hero-progress) * -5px),
        30px
      )
      rotateZ(calc(var(--hero-progress) * 1.5deg));
  }

  .hero-shadow-soft{
    left:19%;
    bottom:9.5%;
    width:52%;
    height:10%;
  }

  .hero-shadow-contact{
    left:25%;
    bottom:10.3%;
    width:38%;
  }
}

@media(max-width:520px){
  .hero-product-visual{
    width:100%;
    height:auto;
    min-height:0;
    aspect-ratio:1600 / 1199;
    overflow:visible;
  }

  .hero-scene{
    width:100%;
    max-width:none;
  }

  .hero-layer-package{
    transform:
      translate3d(
        calc(var(--hero-progress) * 10px),
        calc(var(--hero-progress) * -36px),
        24px
      )
      rotateZ(calc(-1deg + var(--hero-progress) * 2.5deg))
      scale(calc(1 + var(--hero-progress) * .025));
  }

  .hero-layer-flying{
    transform:
      translate3d(
        calc(var(--hero-progress) * 18px),
        calc(var(--hero-progress) * -56px),
        38px
      )
      rotateZ(calc(var(--hero-progress) * 5deg))
      scale(calc(1 + var(--hero-progress) * .035));
  }
}



/* ===== FORMA: final Hero background + image shadow ===== */

/* Удаляем красную и синюю декоративные линии */
.hero.hero-product::before,
.hero.hero-product::after{
  display:none !important;
}

/* Более холодный сероватый фон Hero */
.hero.hero-product{
  background:
    radial-gradient(
      circle at 18% 62%,
      rgba(184,196,214,.32),
      transparent 40%
    ),
    radial-gradient(
      circle at 84% 48%,
      rgba(154,171,199,.28),
      transparent 42%
    ),
    linear-gradient(
      125deg,
      #f3f5f7 0%,
      #e9edf2 48%,
      #dce3ec 100%
    ) !important;
}

/* Старые CSS-тени отключаем */
.hero-shadow{
  display:none !important;
}

/* Тень-картинка: совпадает с холстом остальных слоёв */
.hero-layer-shadow{
    z-index:2;

    opacity:calc(.92 - var(--hero-progress) * .86);

    transform-origin:43% 78%;

    transform:
        translate3d(
            calc(var(--hero-progress) * 74px),
            calc(var(--hero-progress) * -180px),
            0
        )
        rotateZ(calc(-1deg + var(--hero-progress) * 8deg))
        scaleX(calc(1.12 - var(--hero-progress) * .32))
        scaleY(calc(1.12 - var(--hero-progress) * .18));

    filter:blur(calc(var(--hero-progress) * 17px));
}

/* Порядок слоёв */
.hero-layer-ground{z-index:4}
.hero-layer-package{z-index:5}
.hero-layer-flying{z-index:6}

@media(max-width:820px){
.hero-layer-shadow{

    opacity:calc(.82 - var(--hero-progress) * .72);

    transform-origin:43% 78%;

    transform:
        translate3d(
            calc(var(--hero-progress) * 40px),
            calc(var(--hero-progress) * -90px),
            0
        )
        rotateZ(calc(-1deg + var(--hero-progress) * 6deg))
        scaleX(calc(1.08 - var(--hero-progress) * .26))
        scaleY(calc(1.08 - var(--hero-progress) * .16));

    filter:blur(calc(var(--hero-progress) * 10px));
}
}

@media(prefers-reduced-motion:reduce){
  .hero-layer-shadow{
    opacity:.82 !important;
    transform:none !important;
    filter:none !important;
  }
}



/* ===== FORMA: 3D Hero — blank package to finished design ===== */
.hero-3d-visual{
  height:760px;
  overflow:visible;
}

.hero-3d-stage{
  --reveal:0%;
  position:relative;
  width:min(760px,100%);
  aspect-ratio:1 / 1;
  isolation:isolate;
  overflow:visible;
  transform:translateZ(0);
}

.hero-3d-canvas{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  pointer-events:none;
}

.hero-3d-gray{z-index:2}

.hero-3d-design{
  z-index:3;
  clip-path:circle(var(--reveal) at 50% 56%);
  -webkit-clip-path:circle(var(--reveal) at 50% 56%);
  will-change:clip-path;
}

.hero-3d-glow{
  position:absolute;
  z-index:4;
  left:50%;
  top:56%;
  width:16%;
  aspect-ratio:1;
  border-radius:50%;
  pointer-events:none;
  opacity:0;
  transform:translate(-50%,-50%) scale(.2);
  background:radial-gradient(
    circle,
    rgba(255,239,176,.92) 0%,
    rgba(255,192,65,.44) 30%,
    rgba(255,153,23,.14) 58%,
    transparent 74%
  );
  filter:blur(7px);
  mix-blend-mode:screen;
}

.hero-3d-ring{
  position:absolute;
  z-index:5;
  left:50%;
  top:56%;
  width:70px;
  height:70px;
  border:2px solid rgba(255,196,69,.96);
  border-radius:50%;
  pointer-events:none;
  opacity:0;
  transform:translate(-50%,-50%) scale(.15);
  box-shadow:
    0 0 14px rgba(255,217,116,.95),
    0 0 34px rgba(255,177,31,.60),
    inset 0 0 16px rgba(255,230,151,.42);
}

.hero-3d-particles{
  position:absolute;
  inset:0;
  z-index:6;
  overflow:visible;
  pointer-events:none;
}

.hero-gold-particle{
  --x:0px;
  --y:0px;
  --s:1;
  --delay:0ms;
  position:absolute;
  left:50%;
  top:56%;
  width:5px;
  height:5px;
  border-radius:50%;
  opacity:0;
  background:#ffd36a;
  box-shadow:
    0 0 7px rgba(255,232,166,.95),
    0 0 15px rgba(255,167,30,.72);
  transform:translate(-50%,-50%) scale(.2);
}

.hero-3d-stage.is-revealing .hero-3d-glow{
  animation:hero3dGlow 5.4s ease-in-out infinite;
}

.hero-3d-stage.is-revealing .hero-3d-ring{
  animation:hero3dRing 5.4s cubic-bezier(.2,.72,.2,1) infinite;
}

.hero-3d-stage.is-revealing .hero-gold-particle{
  animation:heroGoldParticle 1.25s cubic-bezier(.15,.65,.25,1) var(--delay) forwards;
}

.hero-3d-loading{
  position:absolute;
  z-index:8;
  left:50%;
  bottom:8%;
  transform:translateX(-50%);
  padding:8px 13px;
  border-radius:999px;
  background:rgba(255,255,255,.72);
  color:#5b6068;
  font-size:12px;
  backdrop-filter:blur(12px);
  transition:opacity .35s ease;
}

.hero-3d-stage.is-ready .hero-3d-loading{
  opacity:0;
  pointer-events:none;
}

.hero-3d-fallback{
  position:absolute;
  inset:0;
  z-index:1;
  width:100%;
  height:100%;
  object-fit:contain;
  opacity:0;
}

.hero-3d-stage.is-fallback .hero-3d-fallback{
  opacity:1;
}

@keyframes hero3dRing{
  0%,10%{
    opacity:0;
    transform:translate(-50%,-50%) scale(.15);
  }
  17%{opacity:1}
  42%{
    opacity:.82;
    transform:translate(-50%,-50%) scale(8.8);
  }
  53%,70%{
    opacity:0;
    transform:translate(-50%,-50%) scale(9.25);
  }
  78%{opacity:.7}
  96%,100%{
    opacity:0;
    transform:translate(-50%,-50%) scale(.15);
  }
}

@keyframes hero3dGlow{
  0%,9%,72%,100%{
    opacity:0;
    transform:translate(-50%,-50%) scale(.2);
  }
  18%{opacity:.92}
  42%{
    opacity:.42;
    transform:translate(-50%,-50%) scale(5.4);
  }
  60%{
    opacity:0;
    transform:translate(-50%,-50%) scale(5.9);
  }
}

@keyframes heroGoldParticle{
  0%{
    opacity:0;
    transform:translate(-50%,-50%) scale(.15);
  }
  12%{opacity:1}
  72%{opacity:.84}
  100%{
    opacity:0;
    transform:
      translate(
        calc(-50% + var(--x)),
        calc(-50% + var(--y))
      )
      scale(var(--s));
  }
}

@media(max-width:1100px){
  .hero-3d-visual{height:650px}
  .hero-3d-stage{width:min(680px,108%)}
}

@media(max-width:820px){
  .hero-3d-visual{
    width:100%;
    height:auto;
    min-height:520px;
    overflow:hidden;
  }

  .hero-3d-stage{
    width:min(650px,116%);
    margin:0 auto;
  }
}

@media(max-width:520px){
  .hero-3d-visual{min-height:420px}
  .hero-3d-stage{width:128%}
  .hero-3d-ring{width:54px;height:54px}
}

@media(prefers-reduced-motion:reduce){
  .hero-3d-stage.is-revealing .hero-3d-glow,
  .hero-3d-stage.is-revealing .hero-3d-ring,
  .hero-3d-stage.is-revealing .hero-gold-particle{
    animation:none!important;
  }

  .hero-3d-design{
    clip-path:circle(100% at 50% 56%)!important;
    -webkit-clip-path:circle(100% at 50% 56%)!important;
  }
}



/* ===== FORMA: final text-only Hero ===== */
.text-story-hero{
  position:relative;
  min-height:calc(100svh - 52px);
  padding:0 !important;
  margin-bottom:var(--gap);
  display:grid !important;
  place-items:center;
  overflow:hidden;
  isolation:isolate;
  text-align:center !important;
  background:#fff !important;
}

.text-story-hero::before,
.text-story-hero::after{
  display:none !important;
}

.story-network-canvas{
  position:absolute;
  inset:0;
  z-index:0;
  width:100%;
  height:100%;
  pointer-events:none;
}

.story-hero-inner{
  position:relative;
  z-index:2;
  width:min(1500px,calc(100% - 56px));
  min-height:760px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:80px 0 72px;
}

.story-kicker{
  margin-bottom:34px;
  color:#77808c;
  font-size:12px;
  font-weight:800;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.story-text-stage{
  position:relative;
  width:100%;
  min-height:260px;
  display:grid;
  place-items:center;
}

.story-line{
  position:absolute;
  inset:auto 0;
  margin:auto;
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:.04em;
  opacity:0;
  visibility:hidden;
  transform:translateY(26px) scale(.985);
  filter:blur(9px);
  pointer-events:none;
}

.story-line.is-active{
  visibility:visible;
  animation:storyTextIn 4s cubic-bezier(.2,.75,.2,1) both;
}

.story-line span{
  display:block;
  font-family:'Unbounded',sans-serif;
  color:#15171a;
  font-size:clamp(52px,6.2vw,102px);
  font-weight:700;
  line-height:.98;
  letter-spacing:-.045em;
  text-wrap:balance;
}
.story-line-one span:first-child,
.story-line-two span:first-child,
.story-line-three span:first-child{
  font-weight:600;
}

.story-gradient{
  background:
    linear-gradient(
      90deg,
      #0a6cff 0%,
      #0066FF 38%,
      #4F46E5 70%,
      #8B5CF6 100%
    );
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent !important;
  background-size:220% 100%;
  animation:storyGradientFlow 4.5s ease-in-out infinite alternate;
}

.story-line-two .story-gradient{
  background-image:linear-gradient(90deg,#8a48ff 0%,#e447ff 42%,#ff5c5c 74%,#ff9c37 100%);
}

.story-line-three .story-gradient{
  background-image:linear-gradient(90deg,#0e9ca8 0%,#1677ff 38%,#6752ff 70%,#b04cff 100%);
}

.story-arrow{
  position:relative;
  width:24px;
  height:46px;
  margin-top:18px;
  opacity:.42;
}

.story-arrow::before{
  content:"";
  position:absolute;
  left:50%;
  top:2px;
  width:1px;
  height:30px;
  background:linear-gradient(180deg,transparent,#6e7885);
  transform:translateX(-50%);
}

.story-arrow span{
  position:absolute;
  left:50%;
  bottom:3px;
  width:10px;
  height:10px;
  border-right:1.5px solid #6e7885;
  border-bottom:1.5px solid #6e7885;
  transform:translateX(-50%) rotate(45deg);
  animation:storyArrowPulse 1.7s ease-in-out infinite;
}

.story-conclusion{
  max-width:900px;
  margin-top:22px;
  opacity:0;
  transform:translateY(18px);
  transition:
    opacity .8s ease,
    transform .9s cubic-bezier(.2,.75,.2,1);
}

.story-conclusion.is-visible{
  opacity:1;
  transform:none;
}

.story-conclusion p{
  color:#727982;
  font-size:clamp(18px,1.7vw,25px);
  line-height:1.45;
  letter-spacing:-.025em;
}

.story-conclusion strong{
  position:relative;
  display:inline-block;
  margin-left:.15em;
  color:#15171a;
  font-weight:800;
}

.story-conclusion strong::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-5px;
  height:5px;
  border-radius:999px;
  background:linear-gradient(90deg,#0f72ff,#7254ff,#ff5c68,#ff9238);
  transform:scaleX(0);
  transform-origin:left;
  animation:storyUnderline 1s 9.25s cubic-bezier(.2,.8,.2,1) forwards;
}

.story-actions{
  justify-content:center;
  margin-top:28px;
  gap:12px;
}

.story-actions .btn{
  min-height:54px;
  padding:0 25px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:18px;
}

.story-cycle-dots{
  position:absolute;
  z-index:3;
  left:50%;
  bottom:26px;
  display:flex;
  gap:8px;
  transform:translateX(-50%);
}

.story-cycle-dots span{
  width:7px;
  height:7px;
  border-radius:999px;
  background:#c7ccd3;
  transition:
    width .35s ease,
    background .35s ease;
}

.story-cycle-dots span.is-active{
  width:28px;
  background:#1b1d21;
}

@keyframes storyTextIn{
  0%{
    opacity:0;
    filter:blur(10px);
    transform:translateY(28px) scale(.985);
    clip-path:inset(0 100% 0 0);
  }
  15%{
    opacity:1;
    filter:blur(0);
  }
  35%,76%{
    opacity:1;
    filter:blur(0);
    transform:none;
    clip-path:inset(0 0 0 0);
  }
  90%,100%{
    opacity:0;
    filter:blur(8px);
    transform:translateY(-20px) scale(.99);
    clip-path:inset(0 0 0 0);
  }
}

@keyframes storyGradientFlow{
  from{background-position:0% 50%}
  to{background-position:100% 50%}
}

@keyframes storyArrowPulse{
  0%,100%{opacity:.25;transform:translate(-50%,-4px) rotate(45deg)}
  50%{opacity:1;transform:translate(-50%,3px) rotate(45deg)}
}

@keyframes storyUnderline{
  to{transform:scaleX(1)}
}

@media(max-width:900px){
  .text-story-hero{
    min-height:calc(100svh - 60px);
  }

  .story-hero-inner{
    width:calc(100% - 34px);
    min-height:760px;
    padding:62px 0 74px;
  }

  .story-text-stage{
    min-height:240px;
  }

  .story-line span{
    font-size:clamp(48px,10vw,76px);
    line-height:.94;
  }
}

@media(max-width:600px){
  .story-hero-inner{
    width:calc(100% - 24px);
    min-height:720px;
    padding:48px 0 72px;
  }

  .story-kicker{
    margin-bottom:25px;
    font-size:10px;
  }

  .story-text-stage{
    min-height:230px;
  }

  .story-line{
    gap:.09em;
  }

  .story-line span{
    font-size:clamp(39px,11.4vw,56px);
    line-height:.96;
    letter-spacing:-.06em;
  }

  .story-conclusion{
    max-width:520px;
    margin-top:16px;
  }

  .story-conclusion p{
    font-size:17px;
    line-height:1.42;
  }

  .story-conclusion strong{
    display:block;
    width:max-content;
    max-width:100%;
    margin:4px auto 0;
  }

  .story-actions{
    width:100%;
    margin-top:24px;
  }

  .story-actions .btn{
    min-height:50px;
    padding:0 18px;
    font-size:14px;
  }
}

@media(max-width:390px){
  .story-actions{
    flex-direction:column;
  }

  .story-actions .btn{
    width:100%;
  }
}

@media(prefers-reduced-motion:reduce){
  .story-line{
    animation:none!important;
    filter:none!important;
    clip-path:none!important;
  }

  .story-line.is-active{
    opacity:1;
    transform:none;
  }

  .story-gradient,
  .story-arrow span,
  .story-conclusion strong::after{
    animation:none!important;
  }

  .story-conclusion strong::after{
    transform:scaleX(1);
  }
}


/* ===== FORMA: Generative Packaging Hero ===== */
.generative-hero{position:relative;min-height:calc(100svh - 52px);padding:0!important;margin-bottom:var(--gap);display:block!important;overflow:hidden;isolation:isolate;text-align:left!important;background:radial-gradient(circle at 73% 48%,rgba(224,232,244,.62),transparent 31%),radial-gradient(circle at 20% 75%,rgba(238,242,247,.8),transparent 38%),#fff!important}
.generative-hero::before,.generative-hero::after{display:none!important}
.gen-hero-grid{position:absolute;inset:0;z-index:0;pointer-events:none;opacity:.34;background-image:linear-gradient(rgba(84,103,128,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(84,103,128,.06) 1px,transparent 1px);background-size:44px 44px;mask-image:radial-gradient(circle at 72% 50%,#000 0 34%,transparent 72%);-webkit-mask-image:radial-gradient(circle at 72% 50%,#000 0 34%,transparent 72%)}
.gen-hero-inner{position:relative;z-index:2;width:min(1500px,calc(100% - 72px));min-height:calc(100svh - 52px);margin:0 auto;display:grid;grid-template-columns:minmax(0,.92fr) minmax(520px,1.08fr);align-items:center;gap:42px;padding:72px 0 60px}
.gen-hero-copy{position:relative;z-index:3;max-width:680px}.gen-kicker{margin-bottom:34px;color:#7b838e;font-family:'Unbounded',sans-serif;font-size:11px;font-weight:600;letter-spacing:.15em}.gen-story-stage{position:relative;min-height:310px}.gen-story-line{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;opacity:0;visibility:hidden;transform:translateY(30px);filter:blur(10px);pointer-events:none}.gen-story-line.is-active{visibility:visible;animation:genStoryIn 4.6s cubic-bezier(.2,.75,.2,1) both}.gen-story-line span,.gen-story-line strong{display:block;font-family:'Unbounded',sans-serif;line-height:.97;letter-spacing:-.055em;text-wrap:balance}.gen-story-line span{color:#17191d;font-size:clamp(40px,4.3vw,76px);font-weight:500}.gen-story-line strong{margin-top:.12em;font-size:clamp(48px,5vw,88px);font-weight:700;background:linear-gradient(100deg,#096cff 0%,#7357ff 47%,#ff6f50 100%);background-size:180% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:genGradientMove 5s ease-in-out infinite alternate}.gen-conclusion{max-width:620px;margin-top:20px;opacity:0;transform:translateY(18px);transition:opacity .85s ease,transform .9s cubic-bezier(.2,.75,.2,1)}.gen-conclusion.is-visible{opacity:1;transform:none}.gen-conclusion p{color:#6c737d;font-size:clamp(18px,1.55vw,23px);line-height:1.48;letter-spacing:-.025em}.gen-conclusion em{position:relative;display:inline-block;color:#17191d;font-style:normal;font-weight:800}.gen-conclusion em::after{content:"";position:absolute;left:0;right:0;bottom:-5px;height:5px;border-radius:999px;background:linear-gradient(90deg,#096cff,#7357ff,#ff6f50);transform:scaleX(0);transform-origin:left;transition:transform 1s .18s cubic-bezier(.2,.8,.2,1)}.gen-conclusion.is-visible em::after{transform:scaleX(1)}.gen-actions{justify-content:flex-start;margin-top:28px}.gen-actions .btn{min-height:52px;padding:0 23px;display:inline-flex;align-items:center;justify-content:center;gap:16px}
.gen-hero-visual{position:relative;width:100%;aspect-ratio:1/1;display:grid;place-items:center;transform-style:preserve-3d;transition:transform .28s ease-out}.gen-visual-halo{position:absolute;width:72%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.98) 0%,rgba(229,236,247,.72) 43%,rgba(218,226,239,.12) 72%,transparent 78%);filter:blur(2px);animation:genHalo 6s ease-in-out infinite}.gen-packaging-svg{position:relative;z-index:2;width:94%;height:94%;overflow:visible}.gen-guides{opacity:.15}.gen-guides path,.gen-guides circle{fill:none;stroke:#8190a3;stroke-width:1;stroke-dasharray:7 9;vector-effect:non-scaling-stroke}.gen-measurements{opacity:.52}.gen-measurements path{fill:none;stroke:#637489;stroke-width:1.25;vector-effect:non-scaling-stroke}.gen-measurements text,.gen-cmyk text{fill:#657487;font-family:'Unbounded',sans-serif;font-size:12px;font-weight:600;letter-spacing:.08em}.gen-crosses path{fill:none;stroke:#6f8094;stroke-width:1.4;opacity:.56;vector-effect:non-scaling-stroke}.gen-nodes{opacity:0;transition:opacity .25s ease}.gen-hero-visual.is-morphing .gen-nodes{opacity:1}.gen-node{fill:#fff;stroke:#6b5cff;stroke-width:2.2;filter:drop-shadow(0 0 6px rgba(107,92,255,.35))}.gen-handle{stroke:#8290a3;stroke-width:1.2;opacity:.7}.gen-form-label{position:absolute;z-index:4;left:50%;bottom:7%;transform:translateX(-50%);padding:10px 15px;border:1px solid rgba(65,79,98,.1);border-radius:999px;background:rgba(255,255,255,.72);color:#657181;font-family:'Unbounded',sans-serif;font-size:10px;font-weight:600;letter-spacing:.13em;backdrop-filter:blur(16px);box-shadow:0 12px 30px rgba(70,84,105,.08)}.gen-form-dots{position:absolute;z-index:4;right:7%;top:50%;display:flex;flex-direction:column;gap:9px;transform:translateY(-50%)}.gen-form-dots span{width:7px;height:7px;border-radius:999px;background:#c9cfd7;transition:height .3s ease,background .3s ease}.gen-form-dots span.is-active{height:30px;background:#1b1d21}
@keyframes genStoryIn{0%{opacity:0;visibility:visible;filter:blur(10px);transform:translateY(28px)}15%{opacity:1;filter:blur(0);transform:none}77%{opacity:1;filter:blur(0);transform:none}92%,100%{opacity:0;filter:blur(9px);transform:translateY(-22px)}}@keyframes genGradientMove{from{background-position:0 50%}to{background-position:100% 50%}}@keyframes genHalo{0%,100%{transform:scale(.98);opacity:.78}50%{transform:scale(1.035);opacity:1}}
@media(max-width:1050px){.gen-hero-inner{width:min(1180px,calc(100% - 40px));grid-template-columns:minmax(0,.95fr) minmax(440px,1.05fr);gap:18px}.gen-story-stage{min-height:280px}}
@media(max-width:820px){.generative-hero{min-height:auto}.gen-hero-inner{width:calc(100% - 28px);min-height:auto;grid-template-columns:1fr;gap:12px;padding:58px 0 52px}.gen-hero-copy{max-width:none;text-align:center}.gen-kicker{margin-bottom:22px}.gen-story-stage{min-height:235px}.gen-story-line{align-items:center}.gen-story-line span{font-size:clamp(36px,9vw,58px)}.gen-story-line strong{font-size:clamp(41px,10.5vw,66px)}.gen-conclusion{max-width:650px;margin:10px auto 0}.gen-actions{justify-content:center}.gen-hero-visual{width:min(690px,112%);margin:0 auto}}
@media(max-width:520px){.gen-hero-inner{width:calc(100% - 20px);padding-top:44px}.gen-story-stage{min-height:220px}.gen-story-line span{font-size:clamp(31px,9.4vw,44px);letter-spacing:-.045em}.gen-story-line strong{font-size:clamp(35px,10.7vw,51px);letter-spacing:-.05em}.gen-conclusion p{font-size:16px}.gen-actions{gap:8px}.gen-actions .btn{min-height:48px;padding:0 16px;font-size:13px}.gen-hero-visual{width:122%;margin-left:-11%}.gen-form-dots{right:10%}}
@media(max-width:390px){.gen-actions{flex-direction:column}.gen-actions .btn{width:100%}}
@media(prefers-reduced-motion:reduce){.gen-story-line,.gen-story-line strong,.gen-visual-halo{animation:none!important}.gen-story-line.is-active{opacity:1;filter:none;transform:none}}


/* ===== FORMA: AI Design Grid Hero ===== */
.ai-grid-hero{
  position:relative;
  min-height:calc(100svh - 52px);
  padding:0!important;
  margin-bottom:var(--gap);
  display:grid!important;
  place-items:center;
  overflow:hidden;
  isolation:isolate;
  text-align:center!important;
  background:
    radial-gradient(circle at 50% 48%,rgba(255,255,255,.99) 0%,rgba(255,255,255,.94) 40%,rgba(243,246,250,.84) 72%,rgba(235,240,247,.98) 100%),
    #fff!important;
}
.ai-grid-hero::before,.ai-grid-hero::after{display:none!important}
.ai-grid-canvas{position:absolute;inset:0;z-index:0;width:100%;height:100%;pointer-events:none}
.ai-grid-hero-inner{
  position:relative;z-index:3;width:min(1450px,calc(100% - 48px));min-height:760px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;padding:78px 0 80px
}
.ai-grid-kicker{
  margin-bottom:34px;color:#7b838d;font-family:'Unbounded',sans-serif;
  font-size:11px;font-weight:600;letter-spacing:.15em
}
.ai-grid-story-stage{position:relative;width:100%;min-height:290px;display:grid;place-items:center}
.ai-grid-story-line{
  position:absolute;inset:auto 0;width:100%;display:flex;flex-direction:column;align-items:center;
  opacity:0;visibility:hidden;filter:blur(10px);transform:translateY(26px) scale(.988);pointer-events:none
}
.ai-grid-story-line.is-active{visibility:visible;animation:aiGridStoryIn 4.6s cubic-bezier(.2,.75,.2,1) both}
.ai-grid-story-line span,.ai-grid-story-line strong{
  display:block;font-family:'Unbounded',sans-serif;line-height:.96;letter-spacing:-.052em;text-wrap:balance
}
.ai-grid-story-line span{color:#17191d;font-size:clamp(46px,5.4vw,88px);font-weight:500}
.ai-grid-story-line strong{
  margin-top:.10em;font-size:clamp(58px,6.3vw,106px);font-weight:700;
  background:linear-gradient(100deg,#006dff 0%,#7357ff 46%,#ff6f50 100%);
  background-size:200% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;
  animation:aiGridGradient 5.2s ease-in-out infinite alternate
}
.ai-grid-conclusion{
  max-width:920px;margin-top:18px;opacity:0;transform:translateY(18px);
  transition:opacity .9s ease,transform .9s cubic-bezier(.2,.75,.2,1)
}
.ai-grid-conclusion.is-visible{opacity:1;transform:none}
.ai-grid-conclusion p{color:#6f7680;font-size:clamp(18px,1.65vw,25px);line-height:1.5;letter-spacing:-.025em}
.ai-grid-conclusion em{position:relative;display:inline-block;color:#17191d;font-style:normal;font-weight:800}
.ai-grid-conclusion em::after{
  content:"";position:absolute;left:0;right:0;bottom:-6px;height:5px;border-radius:999px;
  background:linear-gradient(90deg,#006dff,#7357ff,#ff6f50);
  transform:scaleX(0);transform-origin:left;transition:transform 1s .2s cubic-bezier(.2,.8,.2,1)
}
.ai-grid-conclusion.is-visible em::after{transform:scaleX(1)}
.ai-grid-actions{justify-content:center;margin-top:28px}
.ai-grid-actions .btn{
  min-height:52px;padding:0 23px;display:inline-flex;align-items:center;justify-content:center;gap:16px
}
.ai-grid-story-dots{
  position:absolute;z-index:4;left:50%;bottom:28px;display:flex;gap:8px;transform:translateX(-50%)
}
.ai-grid-story-dots span{
  width:7px;height:7px;border-radius:999px;background:#c7ccd3;
  transition:width .35s ease,background .35s ease
}
.ai-grid-story-dots span.is-active{width:28px;background:#1b1d21}

@keyframes aiGridStoryIn{
  0%{opacity:0;filter:blur(10px);transform:translateY(28px) scale(.988);clip-path:inset(0 100% 0 0)}
  16%{opacity:1;filter:blur(0)}
  34%,76%{opacity:1;filter:blur(0);transform:none;clip-path:inset(0 0 0 0)}
  92%,100%{opacity:0;filter:blur(8px);transform:translateY(-20px) scale(.994);clip-path:inset(0 0 0 0)}
}
@keyframes aiGridGradient{from{background-position:0% 50%}to{background-position:100% 50%}}

@media(max-width:900px){
  .ai-grid-hero{min-height:calc(100svh - 60px)}
  .ai-grid-hero-inner{width:calc(100% - 30px);min-height:750px;padding:62px 0 74px}
  .ai-grid-story-stage{min-height:260px}
  .ai-grid-story-line span{font-size:clamp(40px,9vw,66px)}
  .ai-grid-story-line strong{font-size:clamp(48px,10.6vw,78px)}
}
@media(max-width:600px){
  .ai-grid-hero-inner{width:calc(100% - 20px);min-height:720px;padding:48px 0 72px}
  .ai-grid-kicker{margin-bottom:24px;font-size:9px}
  .ai-grid-story-stage{min-height:240px}
  .ai-grid-story-line span{font-size:clamp(31px,9.6vw,46px);line-height:1}
  .ai-grid-story-line strong{font-size:clamp(38px,11.4vw,56px);line-height:.98}
  .ai-grid-conclusion p{font-size:16px}
  .ai-grid-conclusion em{display:block;width:max-content;max-width:100%;margin:4px auto 0}
  .ai-grid-actions{width:100%;gap:8px}
  .ai-grid-actions .btn{min-height:48px;padding:0 16px;font-size:13px}
}
@media(max-width:390px){.ai-grid-actions{flex-direction:column}.ai-grid-actions .btn{width:100%}}
@media(prefers-reduced-motion:reduce){
  .ai-grid-story-line,.ai-grid-story-line strong{animation:none!important}
  .ai-grid-story-line.is-active{opacity:1;filter:none;transform:none;clip-path:none}
}
.contact-socials{
    grid-column:1 / -1;
    width:100%;
    max-width:1120px;
    margin:28px auto 0;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:16px;
}

.contact-social-label{
    font-size:13px;
    font-weight:500;
    color:#777;
    white-space:nowrap;
}

.contact-social-buttons{
    display:flex;
    align-items:center;
    gap:10px;
}

.contact-social-btn{
    width:48px;
    height:48px;
    min-width:48px;
    min-height:48px;
    padding:0;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:13px;
    background:#fff;
    border:1px solid #e2e4e8;
    text-decoration:none;
    overflow:hidden;
    box-sizing:border-box;
    transition:transform .2s ease, box-shadow .2s ease;
}

.contact-social-btn img{
    display:block !important;
    width:26px !important;
    height:26px !important;
    max-width:26px !important;
    max-height:26px !important;
    min-width:0 !important;
    object-fit:contain !important;
}

.contact-social-btn span{
    display:none;
}

.contact-social-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 24px rgba(0,0,0,.08);
}

@media(max-width:700px){
    .contact-socials{
        margin-top:22px;
        gap:12px;
        flex-wrap:wrap;
    }

    .contact-social-label{
        width:100%;
        text-align:center;
    }
}


/* Contact form + messengers: keep social buttons directly under the form */
.contact-form-side{
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:stretch;
}
.contact-form-side .contact-socials{
  width:100%;
  max-width:none;
  margin:18px 0 0;
  grid-column:auto;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:12px;
}
@media(max-width:950px){
  .contact-form-side{width:100%;}
}
@media(max-width:700px){
  .contact-form-side .contact-socials{
    margin-top:18px;
    flex-wrap:nowrap;
  }
  .contact-form-side .contact-social-label{
    width:auto;
    text-align:left;
  }
}

/* =========================================
   FORMA — refined typography outside Hero
   ========================================= */
body{
  font-size:15px;
  line-height:1.45;
}

/* Hero typography intentionally untouched */
section:not(#hero) h2{
  font-size:clamp(32px,3.35vw,50px);
  line-height:1.04;
  letter-spacing:-.045em;
}

section:not(#hero) .lead{
  font-size:clamp(17px,1.55vw,21px);
  line-height:1.42;
}

section:not(#hero) .eyebrow{
  font-size:14px;
  letter-spacing:.025em;
}

#services .service-bg-panel h2{
  font-size:clamp(30px,3vw,46px);
  line-height:1.04;
}

#services .service-bg-panel p{
  font-size:clamp(16px,1.25vw,19px);
  line-height:1.43;
}

.production-head h2{
  font-size:clamp(34px,3.6vw,52px);
  line-height:1.04;
}

.production-head p{
  font-size:17px;
  line-height:1.55;
}

.production-card-copy h3{
  font-size:21px;
}

.production-card-copy p{
  font-size:14px;
  line-height:1.55;
}

.process .step h3{
  font-size:20px;
  line-height:1.16;
}

.process .step p{
  font-size:14px;
  line-height:1.55;
}

.price-section h2{
  font-size:clamp(34px,3.5vw,50px);
}

.price-card h3{
  font-size:28px;
  line-height:1.08;
}

.price{
  font-size:42px;
}

.price-card ul,
.price-subtitle,
.custom-price{
  font-size:14px;
}

.contact-copy h2{
  font-size:clamp(36px,3.8vw,54px);
  line-height:1.03;
}

.contact-copy p{
  font-size:17px;
  line-height:1.55;
}

.trust{
  font-size:14px;
}

.form{
  font-size:14px;
}

.field input,
.field textarea,
.field select{
  font-size:14px;
}

.contact-social-label{
  font-size:12px;
}

.form-honeypot{
  position:absolute !important;
  left:-9999px !important;
  width:1px !important;
  height:1px !important;
  opacity:0 !important;
  pointer-events:none !important;
}

.form-status{
  min-height:20px;
  margin:12px 2px 0;
  font-size:13px;
  line-height:1.45;
  text-align:center;
  color:#6e6e73;
}

.form-status.success{
  color:#177245;
}

.form-status.error{
  color:#b42318;
}

.submit:disabled{
  opacity:.65;
  cursor:wait;
}

@media(max-width:700px){
  section:not(#hero) h2{
    font-size:clamp(28px,9vw,38px);
  }

  section:not(#hero) .lead{
    font-size:16px;
  }

  #services .service-bg-panel h2{
    font-size:clamp(28px,8.5vw,38px);
  }

  #services .service-bg-panel p{
    font-size:16px;
  }

  .production-head h2,
  .price-section h2,
  .contact-copy h2{
    font-size:clamp(30px,9vw,40px);
  }

  .price-card h3{
    font-size:25px;
  }

  .price{
    font-size:38px;
  }
}


/* =========================================
   FORMA — body copy readability + attachments
   ========================================= */

/* Slightly larger supporting copy; headings and Hero stay unchanged */
.process .step p{
  font-size:15.5px;
  line-height:1.58;
}

.production-card-copy p{
  font-size:15px;
  line-height:1.6;
}

.production-features small{
  font-size:13px;
  line-height:1.4;
}

.price-card ul,
.price-subtitle,
.custom-price{
  font-size:15px;
  line-height:1.65;
}

.contact-copy p{
  font-size:18px;
}

.trust{
  font-size:15px;
  line-height:1.5;
}

.form,
.field input,
.field textarea,
.field select{
  font-size:15px;
}

.field label{
  font-size:14px;
}

.contact-social-label,
.form-status{
  font-size:13px;
}

/* Attachment control */
.attachment-field{
  margin-top:2px;
}

.attachment-field .optional{
  color:#8a8a8f;
  font-weight:500;
}

.file-input{
  position:absolute;
  width:1px;
  height:1px;
  opacity:0;
  pointer-events:none;
}

.file-picker{
  width:100%;
  min-height:76px;
  display:flex;
  align-items:center;
  gap:14px;
  padding:14px 16px;
  border:1px dashed rgba(0,0,0,.18);
  border-radius:16px;
  background:rgba(255,255,255,.7);
  cursor:pointer;
  transition:border-color .2s ease,background .2s ease,transform .2s ease;
}

.file-picker:hover{
  border-color:rgba(0,113,227,.5);
  background:#fff;
  transform:translateY(-1px);
}

.file-picker-icon{
  flex:0 0 38px;
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:11px;
  background:#f1f4f8;
  color:#111;
  font-size:24px;
  font-weight:400;
  line-height:1;
}

.file-picker-copy{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:4px;
  text-align:left;
}

.file-picker-copy strong{
  font-size:15px;
  font-weight:700;
  color:#1d1d1f;
}

.file-picker-copy small{
  font-size:12px;
  line-height:1.45;
  color:#77777c;
}

.file-list{
  display:grid;
  gap:7px;
  margin-top:4px;
}

.file-list-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:9px 11px;
  border-radius:10px;
  background:rgba(245,245,247,.9);
  font-size:13px;
}

.file-list-name{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#333;
}

.file-list-size{
  flex:0 0 auto;
  color:#85858a;
}

.file-error{
  min-height:0;
  margin:0;
  color:#b42318;
  font-size:13px;
  line-height:1.4;
}

@media(max-width:700px){
  .process .step p,
  .production-card-copy p,
  .price-card ul,
  .price-subtitle,
  .custom-price,
  .trust{
    font-size:15px;
  }

  .contact-copy p{
    font-size:17px;
  }

  .file-picker{
    padding:13px;
  }

  .file-picker-copy small{
    font-size:11.5px;
  }
}



/* Hidden native FormSubmit target for multipart file attachments */
.form-submit-frame{
  position:absolute;
  width:1px;
  height:1px;
  border:0;
  opacity:0;
  pointer-events:none;
  clip-path:inset(50%);
}


/* =========================================
   FORMA — clean typographic Hero
   ========================================= */
#hero.ai-grid-hero{
  --lens-x:50%;
  --lens-y:48%;
  min-height:calc(100vh - 52px);
  padding:0 24px;
  margin-bottom:var(--gap);
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:
    radial-gradient(circle at 18% 18%,rgba(92,169,255,.075),transparent 30%),
    radial-gradient(circle at 82% 78%,rgba(139,92,246,.055),transparent 31%),
    linear-gradient(180deg,#ffffff 0%,#fbfcff 100%);
}

#hero.ai-grid-hero::before,
#hero.ai-grid-hero::after{
  display:none !important;
}

#hero .ai-grid-canvas{
  display:none !important;
}

#hero .hero-lens{
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  opacity:.92;
  background:
    radial-gradient(
      circle 240px at var(--lens-x) var(--lens-y),
      rgba(255,255,255,.92) 0%,
      rgba(210,226,255,.22) 35%,
      rgba(135,165,235,.08) 56%,
      rgba(255,255,255,0) 72%
    );
  transition:opacity .35s ease;
}

#hero .hero-lens::before{
  content:"";
  position:absolute;
  left:calc(var(--lens-x) - 190px);
  top:calc(var(--lens-y) - 190px);
  width:380px;
  height:380px;
  border-radius:50%;
  border:1px solid rgba(120,145,190,.12);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.72),
    inset 0 0 40px rgba(255,255,255,.58),
    0 22px 70px rgba(69,97,160,.05);
  backdrop-filter:blur(1.2px) saturate(108%);
  -webkit-backdrop-filter:blur(1.2px) saturate(108%);
  transform:translateZ(0);
  transition:border-color .35s ease,box-shadow .35s ease;
}

#hero.is-pointer-active .hero-lens::before{
  border-color:rgba(83,118,190,.17);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.8),
    inset 0 0 46px rgba(255,255,255,.66),
    0 28px 90px rgba(69,97,160,.07);
}

#hero .ai-grid-hero-inner{
  width:min(1180px,100%);
  min-height:720px;
  padding:90px 0 74px;
  position:relative;
  z-index:2;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
}

#hero .ai-grid-story-stage{
  width:100%;
  min-height:250px;
  display:grid;
  place-items:center;
  position:relative;
}

#hero .ai-grid-story-line{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  opacity:0;
  transform:translateY(22px);
  transition:
    opacity .72s cubic-bezier(.2,.7,.2,1),
    transform .72s cubic-bezier(.2,.7,.2,1);
  pointer-events:none;
}

#hero .ai-grid-story-line.is-active{
  opacity:1;
  transform:translateY(0);
}

#hero .ai-grid-story-line span,
#hero .ai-grid-story-line strong{
  display:block;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Helvetica Neue",Arial,sans-serif;
  font-size:clamp(58px,6.4vw,92px);
  line-height:.94;
  letter-spacing:-.062em;
}

#hero .ai-grid-story-line span{
  font-weight:560;
  color:#1d1d1f;
}

#hero .ai-grid-story-line strong{
  margin-top:.05em;
  font-weight:760;
  color:#111113;
}

#hero .ai-grid-story-line strong{
  background:linear-gradient(92deg,#111113 5%,#5d52ff 52%,#0071e3 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

#hero .ai-grid-conclusion{
  margin-top:40px;
  opacity:1 !important;
  transform:none !important;
  visibility:visible !important;
}

#hero .ai-grid-conclusion p{
  max-width:720px;
  margin:0 auto;
  font-size:clamp(18px,1.55vw,22px);
  line-height:1.42;
  letter-spacing:-.018em;
  color:#626268;
}

#hero .ai-grid-conclusion p em{
  font-style:normal;
  font-weight:680;
  color:#1d1d1f;
}

#hero .ai-grid-actions{
  margin-top:25px;
}

#hero .ai-grid-story-dots{
  display:none !important;
}

@media(max-width:820px){
  #hero.ai-grid-hero{
    min-height:760px;
    padding:0 18px;
  }

  #hero .ai-grid-hero-inner{
    min-height:760px;
    padding:72px 0 56px;
  }

  #hero .ai-grid-story-stage{
    min-height:220px;
  }

  #hero .ai-grid-story-line span,
  #hero .ai-grid-story-line strong{
    font-size:clamp(46px,12vw,64px);
    line-height:.96;
  }

  #hero .ai-grid-conclusion{
    margin-top:28px;
  }

  #hero .ai-grid-conclusion p{
    max-width:560px;
    font-size:17px;
  }

  #hero .hero-lens{
    animation:formaLensDrift 12s ease-in-out infinite alternate;
  }

  #hero .hero-lens::before{
    left:50%;
    top:34%;
    width:300px;
    height:300px;
    transform:translate(-50%,-50%);
    opacity:.72;
  }
}

@media(max-width:520px){
  #hero.ai-grid-hero{
    min-height:700px;
  }

  #hero .ai-grid-hero-inner{
    min-height:700px;
  }

  #hero .ai-grid-story-stage{
    min-height:190px;
  }

  #hero .ai-grid-story-line span,
  #hero .ai-grid-story-line strong{
    font-size:clamp(40px,12.8vw,54px);
  }

  #hero .ai-grid-conclusion p{
    font-size:16px;
  }

  #hero .ai-grid-actions{
    gap:9px;
  }

  #hero .ai-grid-actions .btn{
    padding:11px 17px;
  }
}

@keyframes formaLensDrift{
  0%{transform:translate3d(-6%,-2%,0) scale(1)}
  50%{transform:translate3d(5%,3%,0) scale(1.025)}
  100%{transform:translate3d(-2%,6%,0) scale(.99)}
}

@media(prefers-reduced-motion:reduce){
  #hero .hero-lens{
    animation:none !important;
  }

  #hero .ai-grid-story-line{
    transition:none !important;
  }
}


/* =========================================
   FORMA — floating glass spheres for Hero
   ========================================= */
#hero .hero-lens{
  display:none !important;
}

#hero .hero-sphere-stage{
  position:absolute;
  inset:0;
  z-index:1;
  overflow:hidden;
  pointer-events:none;
}

#hero .hero-sphere{
  position:absolute;
  left:0;
  top:0;
  display:block;
  border-radius:50%;
  pointer-events:none;
  will-change:transform;
  border:1px solid rgba(105,132,185,.12);
  background:
    radial-gradient(circle at 34% 28%,
      rgba(255,255,255,.90) 0%,
      rgba(255,255,255,.56) 12%,
      rgba(219,232,255,.20) 38%,
      rgba(151,180,235,.095) 66%,
      rgba(255,255,255,.03) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.62),
    inset -16px -18px 38px rgba(101,132,198,.06),
    inset 18px 14px 36px rgba(255,255,255,.52),
    0 18px 54px rgba(70,96,155,.045);
  backdrop-filter:blur(1.4px) saturate(108%);
  -webkit-backdrop-filter:blur(1.4px) saturate(108%);
  opacity:.72;
}

#hero .hero-sphere::before{
  content:"";
  position:absolute;
  left:17%;
  top:13%;
  width:36%;
  height:20%;
  border-radius:50%;
  background:radial-gradient(ellipse at center,
    rgba(255,255,255,.72) 0%,
    rgba(255,255,255,.28) 48%,
    rgba(255,255,255,0) 74%);
  transform:rotate(-18deg);
  filter:blur(.4px);
}

#hero .hero-sphere::after{
  content:"";
  position:absolute;
  right:12%;
  bottom:11%;
  width:42%;
  height:42%;
  border-radius:50%;
  background:radial-gradient(circle,
    rgba(102,145,236,.07) 0%,
    rgba(96,133,220,.035) 42%,
    rgba(255,255,255,0) 72%);
}

#hero.is-pointer-active .hero-sphere{
  border-color:rgba(85,116,184,.15);
}

#hero .ai-grid-hero-inner{
  z-index:3;
}

/* Keep background subtle enough that typography stays dominant */
#hero.ai-grid-hero{
  background:
    radial-gradient(circle at 18% 18%,rgba(92,169,255,.06),transparent 30%),
    radial-gradient(circle at 82% 78%,rgba(139,92,246,.045),transparent 31%),
    linear-gradient(180deg,#ffffff 0%,#fbfcff 100%);
}

@media(max-width:820px){
  #hero .hero-sphere{
    opacity:.62;
  }
}

@media(max-width:520px){
  #hero .hero-sphere{
    opacity:.54;
    backdrop-filter:blur(.8px) saturate(105%);
    -webkit-backdrop-filter:blur(.8px) saturate(105%);
  }
}

@media(prefers-reduced-motion:reduce){
  #hero .hero-sphere{
    will-change:auto;
  }
}

/* HERO — большие ключевые слова */

#hero .ai-grid-story-line strong {
  display: inline-block;

  font-size: clamp(76px, 8.2vw, 150px);
  line-height: 0.92;
  font-weight: 850;
  letter-spacing: -0.065em;

background: linear-gradient(
  105deg,
  #ff3b30 0%,
  #ff375f 25%,
  #7c4dff 60%,
  #0071e3 100%
);

  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Телефон */

@media (max-width: 820px) {
  #hero .ai-grid-story-line strong {
    font-size: clamp(58px, 17vw, 92px);
    letter-spacing: -0.055em;
  }
}

/* Не обрезать большие слова Hero */

#hero .ai-grid-story-stage {
  width: 100%;
  max-width: none;
  overflow: visible;
}

#hero .ai-grid-story-line {
  width: 100%;
  overflow: visible;
  padding-left: 30px;
  padding-right: 30px;
  box-sizing: border-box;
}

#hero .ai-grid-story-line strong {
  padding-right: 0.08em;
}

/* Исправление обрезания больших слов Hero */

#hero .ai-grid-story-line.is-active{
  animation:heroWordIn 4.6s cubic-bezier(.2,.75,.2,1) both !important;
}

@keyframes heroWordIn{
  0%{
    opacity:0;
    filter:blur(8px);
    transform:translateY(24px) scale(.99);
  }

  16%{
    opacity:1;
    filter:blur(0);
  }

  34%,76%{
    opacity:1;
    filter:blur(0);
    transform:translateY(0) scale(1);
  }

  92%,100%{
    opacity:0;
    filter:blur(7px);
    transform:translateY(-18px) scale(.995);
  }
}

/* Выравнивание карточек цен */

.price-card{
  display:flex;
  flex-direction:column;
}

.price-card ul{
  margin-bottom:18px;
}

.custom-price{
  margin-top:14px;
  margin-bottom:24px;
  line-height:1.5;
}

.price-card .btn{
  margin-top:auto;
  align-self:flex-start;
}

.price-card.custom-project .btn{
  margin-top:8px;
}

/* ========================================
   FORMA — FOOTER
======================================== */

.site-footer{
  background:#fff;
  border-top:1px solid rgba(0,0,0,.06);
  padding:28px 24px;
}

.footer-inner{
  width:100%;
  max-width:1180px;
  margin:0 auto;

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}

.footer-copy{
  font-size:13px;
  font-weight:400;
  color:#7a7a7f;
}


/* SOCIAL LINKS */

.footer-socials{
  display:flex;
  align-items:center;
  gap:26px;
}

.footer-socials a{
  display:flex;
  align-items:center;
  gap:7px;

  color:#4b4b50;
  font-size:13px;
  font-weight:600;

  text-decoration:none;

  transition:
    color .22s ease,
    transform .22s ease;
}


/* SVG ICON */

.footer-socials svg{
  width:17px;
  height:17px;

  fill:currentColor;

  opacity:.72;

  transition:
    opacity .22s ease,
    transform .22s ease;
}


/* ARROW */

.footer-arrow{
  font-size:11px;
  font-weight:500;
  opacity:.45;

  transition:
    opacity .22s ease,
    transform .22s ease;
}


/* HOVER */

.footer-socials a:hover{
  color:#0071e3;
  transform:translateY(-1px);
}

.footer-socials a:hover svg{
  opacity:1;
}

.footer-socials a:hover .footer-arrow{
  opacity:1;
  transform:translate(2px,-2px);
}


/* MOBILE */

@media(max-width:700px){

  .site-footer{
    padding:25px 18px;
  }

  .footer-inner{
    flex-direction:column;
    justify-content:center;
    gap:15px;
    text-align:center;
  }

  .footer-socials{
    gap:22px;
  }

}

/* Размер иконок соцсетей в Footer */

.site-footer .footer-socials a svg{
    width:18px !important;
    height:18px !important;
    min-width:18px !important;
    max-width:18px !important;
    min-height:18px !important;
    max-height:18px !important;
    flex:0 0 18px !important;
    display:block;
}


/* Расположение соцсетей */

.site-footer .footer-socials{
    display:flex;
    align-items:center;
    gap:22px;
}

.site-footer .footer-socials a{
    display:flex;
    flex-direction:row;
    align-items:center;
    gap:7px;
    font-size:13px;
}


/* =========================================
   FORMA — language switcher
   ========================================= */
.footer-lang-switch{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  flex:0 0 auto;
  padding:5px 7px;
  border:1px solid rgba(0,0,0,.08);
  border-radius:999px;
  background:#f7f7f8;
}

.footer-lang-switch .lang-btn{
  min-width:32px;
  height:28px;
  padding:0 8px;
  border:0;
  border-radius:999px;
  background:transparent;
  color:#8a8a8f;
  font-size:11px;
  font-weight:750;
  letter-spacing:.04em;
  cursor:pointer;
  transition:background .2s ease,color .2s ease,box-shadow .2s ease;
}

.footer-lang-switch .lang-btn:hover{
  color:#1d1d1f;
}

.footer-lang-switch .lang-btn.is-active{
  background:#fff;
  color:#111;
  box-shadow:0 1px 5px rgba(0,0,0,.08);
}

.footer-lang-switch .lang-divider{
  color:#c5c5ca;
  font-size:10px;
}

@media(max-width:700px){
  .footer-lang-switch{
    margin-top:2px;
  }
}


/* =========================================================
   BEHIND FORMA — added without changing existing site styles
   ========================================================= */
.behind-forma{
  position:relative;
  overflow:hidden;
  padding:80px 24px;
  background:#F2F2F2;
}

.behind-forma-inner{
  width:min(1180px,100%);
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0,.92fr) minmax(380px,1.08fr);
  gap:72px;
  align-items:center;
}

.behind-forma-copy{
  min-width:0;
  text-align:left;
}

.behind-forma-label{
  margin-bottom:22px;
  color:var(--blue);
  font-size:12px;
  line-height:1;
  font-weight:800;
  letter-spacing:.13em;
}

.behind-forma h2{
  max-width:650px;
  margin:0 0 28px;
  color:var(--ink);
  font-size:clamp(38px,4vw,58px);
  line-height:1.02;
  letter-spacing:-.05em;
}

.behind-forma-copy > p{
  max-width:580px;
  margin:0 0 17px;
  color:#666;
  font-size:17px;
  line-height:1.58;
}

.behind-forma-person{
  width:min(330px,100%);
  margin-top:34px;
  padding-top:22px;
  border-top:1px solid rgba(0,0,0,.12);
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}

.behind-forma-person strong{
  color:var(--ink);
  font-size:16px;
  line-height:1.25;
}

.behind-forma-person > span{
  margin-top:4px;
  color:#777;
  font-size:14px;
  line-height:1.4;
}

.behind-forma-link{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-top:15px;
  color:var(--blue);
  font-size:14px;
  font-weight:700;
  transition:transform .2s ease,opacity .2s ease;
}

.behind-forma-link:hover{
  transform:translateX(3px);
  opacity:.72;
}

.behind-forma-portrait{
  min-width:0;
  min-height:500px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.behind-forma-portrait img{
  display:block;
  width:min(100%,430px);
  height:auto;
  max-height:650px;
  object-fit:contain;
}

@media(max-width:900px){
  .behind-forma{
    padding:76px 20px;
  }

  .behind-forma-inner{
    grid-template-columns:1fr;
    gap:36px;
  }

  .behind-forma-copy{
    max-width:680px;
  }

  .behind-forma-portrait{
    min-height:0;
  }

  .behind-forma-portrait img{
    width:min(100%,560px);
  }
}

@media(max-width:600px){
  .behind-forma{
    padding:62px 18px 70px;
  }

  .behind-forma h2{
    font-size:clamp(34px,10.2vw,46px);
  }

  .behind-forma-copy > p{
    font-size:16px;
    line-height:1.55;
  }

  .behind-forma-person{
    margin-top:28px;
  }

  .behind-forma-portrait img{
    width:100%;
  }
}

/* BEHIND FORMA — более спокойный портрет */

.behind-forma-inner{
  grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);
  gap:90px;
}

.behind-forma-portrait{
  min-height:420px;
  justify-content:center;
}

.behind-forma-portrait img{
  width:min(100%,350px) !important;
  max-height:470px !important;
  opacity:.88;
  filter:contrast(.95);
}

/* Телефон */
@media(max-width:900px){

  .behind-forma-inner{
    grid-template-columns:1fr;
    gap:34px;
  }

  .behind-forma-portrait{
    min-height:0;
    justify-content:flex-start;
  }

  .behind-forma-portrait img{
    width:min(82%,340px) !important;
    max-height:none !important;
  }
}


/* =========================================================
   BEHIND FORMA — final editorial composition
   ========================================================= */

.behind-forma{
  padding:76px 24px;
  background:#F2F2F2;
}

.behind-forma-inner{
  width:min(1280px,100%);
  grid-template-columns:minmax(0,.92fr) minmax(520px,1.18fr);
  gap:56px;
  align-items:center;
}

.behind-forma-copy{
  position:relative;
  z-index:2;
}

.behind-forma h2{
  max-width:610px;
  font-size:clamp(40px,4.15vw,60px);
}

.behind-forma-copy > p{
  max-width:575px;
}

.behind-forma-person{
  width:min(430px,100%);
  margin-top:34px;
  padding-top:26px;
  border-top:1px solid rgba(0,0,0,.13);
  display:grid;
  grid-template-columns:96px minmax(0,1fr);
  gap:20px;
  align-items:center;
}

.behind-forma-avatar{
  width:96px;
  height:96px;
  border-radius:50%;
  object-fit:cover;
  object-position:center 34%;
  display:block;
  filter:grayscale(1) contrast(.96);
  background:#ece8e5;
}

.behind-forma-person-copy{
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}

.behind-forma-person-copy strong{
  color:var(--ink);
  font-size:17px;
  line-height:1.25;
}

.behind-forma-person-copy > span{
  margin-top:4px;
  color:#777;
  font-size:14px;
  line-height:1.4;
}

.behind-forma-workspace{
  min-width:0;
  min-height:500px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  overflow:visible;
}

.behind-forma-workspace img{
  display:block;
  width:min(100%,690px);
  height:auto;
  max-height:590px;
  object-fit:contain;
}

/* Old large portrait is no longer used */
.behind-forma-portrait{
  display:none !important;
}

@media(max-width:1050px){
  .behind-forma-inner{
    grid-template-columns:minmax(0,1fr) minmax(420px,.95fr);
    gap:38px;
  }

  .behind-forma-workspace img{
    width:min(100%,610px);
  }
}

@media(max-width:900px){
  .behind-forma{
    padding:68px 20px;
  }

  .behind-forma-inner{
    grid-template-columns:1fr;
    gap:34px;
  }

  .behind-forma-workspace{
    min-height:0;
    justify-content:center;
  }

  .behind-forma-workspace img{
    width:min(100%,720px);
    max-height:none;
  }
}

@media(max-width:600px){
  .behind-forma{
    padding:58px 18px 66px;
  }

  .behind-forma h2{
    font-size:clamp(34px,10.5vw,46px);
  }

  .behind-forma-person{
    grid-template-columns:78px minmax(0,1fr);
    gap:16px;
    padding-top:22px;
  }

  .behind-forma-avatar{
    width:78px;
    height:78px;
  }

  .behind-forma-workspace img{
    width:112%;
    max-width:none;
    margin-left:-6%;
  }
}

/* Временно скрываем блок Process */
#process {
    display: none !important;
}


/* =========================================
   FORMA — Privacy / Legal additions
   ========================================= */
.form-privacy-note{
  margin:10px 4px 0;
  color:#77777c;
  font-size:12px;
  line-height:1.45;
  text-align:center;
}
.form-privacy-note a{
  color:#4f4f54;
  text-decoration:underline;
  text-underline-offset:2px;
  transition:color .2s ease;
}
.form-privacy-note a:hover{color:#0071e3}

.footer-legal{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  flex:0 0 auto;
  color:#7a7a7f;
  font-size:12px;
  white-space:nowrap;
}
.footer-legal a{transition:color .2s ease}
.footer-legal a:hover{color:#0071e3}
.footer-legal span{color:#c5c5ca}

@media(max-width:700px){
  .footer-legal{order:2}
}

.seo-h1{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
.logo img {
    display: block;
    height: 36px;
    width: auto;
    object-fit: contain;
}
