/* TEC: motion layer (2026-11-30, preview until approved; inc/tec-motion.php, assets/tec-motion.js).
   Only transform / opacity / clip-path animate (GPU); the showcase's frame width is the one layout animation, inside
   its own contained box. Nothing here hides text. prefers-reduced-motion: no motion. */

/* ---------- 1. home illustration story ---------- */
.tec-sp .hero-art.art-local .artcard{position:relative}
.tec-mo-toast{position:absolute;right:12px;top:58px;z-index:5;display:flex;align-items:center;gap:10px;padding:10px 14px 10px 10px;background:#fff;color:#14213d;border-radius:14px;
  box-shadow:0 18px 40px -14px rgba(6,18,42,.55),0 0 0 1px rgba(11,26,54,.06);font:600 13px/1.25 var(--font,'Poppins',sans-serif);opacity:0;transform:translateY(-12px) scale(.96);
  transition:opacity .35s ease,transform .5s cubic-bezier(.2,.9,.3,1.2);pointer-events:none}
.tec-mo-toast.on{opacity:1;transform:none}
.tec-mo-toast i{position:relative;width:34px;height:34px;flex:none;border-radius:50%;display:grid;place-items:center;background:#c8262f;color:#fff}
.tec-mo-toast i::after{content:"";position:absolute;inset:0;border-radius:50%;border:2px solid rgba(200,38,47,.5);animation:tecMoRing 1.4s ease-out infinite}
.tec-mo-toast i svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.tec-mo-toast small{display:block;font-weight:500;font-size:11.5px;color:#5b6478}
@keyframes tecMoRing{0%{transform:scale(1);opacity:1}100%{transform:scale(1.7);opacity:0}}
.tec-mo-tap{position:relative}
.tec-mo-tap::after{content:"";position:absolute;left:50%;top:50%;width:100%;height:100%;border-radius:50%;background:rgba(200,38,47,.35);transform:translate(-50%,-50%) scale(.3);opacity:1;animation:tecMoTap .7s ease-out forwards}
@keyframes tecMoTap{to{transform:translate(-50%,-50%) scale(2.4);opacity:0}}
.tec-mo-plus{position:absolute;right:-8px;top:-10px;min-width:24px;height:22px;padding:0 6px;border-radius:11px;background:#c8262f;color:#fff;font:700 12px/22px var(--font,'Poppins',sans-serif);text-align:center;
  transform:scale(0);transition:transform .45s cubic-bezier(.3,1.6,.5,1)}
.tec-mo-plus.on{transform:scale(1)}

/* ---------- 1b. the other hero tabs ---------- */
.tec-sp .hero-art .tec-mo-out{opacity:0!important;transform:translateY(-10px)!important}
.tec-sp .hero-art .tec-mo-snap{transition:none!important}
.tec-sp .hero-art :is(.ld,.tec-chat p,.tec-aiflow span){transition:opacity .35s ease,transform .5s cubic-bezier(.2,.8,.2,1)}
.tec-sp .hero-art .tec-mo-pop{animation:tecMoPop .5s cubic-bezier(.2,.8,.2,1)}
@keyframes tecMoPop{0%{transform:translateY(-10px) scale(.97)}60%{transform:translateY(1px) scale(1.01)}100%{transform:none}}
.tec-mo-toast2{top:52px;right:14px}   /* under the card's own header, clear of the bottom bar and the chips */
.tec-sp .hero-art.art-leads .tec-mo-toast2{top:6px}   /* over the card header, not over the first lead */
.tec-sp .hero-art.art-site .tec-mo-toast2{top:auto;right:auto;bottom:12px;left:12px}   /* keeps the site's headline readable */
.tec-mo-toast2 i{background:#1f9d55;animation:none}
.tec-mo-toast2 i svg{stroke-width:3}
.tec-sp .hero-art.art-site .tec-bbar{position:relative}
.tec-mo-load{position:absolute;left:0;bottom:-1px;height:3px;width:100%;background:linear-gradient(90deg,#c8262f,#1b3768);transform:scaleX(0);transform-origin:0 50%;opacity:0}
.tec-mo-load.run{animation:tecMoLoad .9s cubic-bezier(.4,0,.2,1) forwards}
@keyframes tecMoLoad{0%{transform:scaleX(0);opacity:1}85%{transform:scaleX(1);opacity:1}100%{transform:scaleX(1);opacity:0}}
.tec-sp .hero-art.art-site .tec-shot{overflow:hidden}
.tec-sp .hero-art.art-site .tec-shot img{transition:opacity .45s ease,transform 1.6s cubic-bezier(.2,.8,.2,1)}
.tec-sp .hero-art.art-site .tec-shot img.tec-mo-fade{opacity:.15}
.tec-sp .hero-art.art-site .tec-shot img.tec-mo-in{animation:tecMoZoom 1.6s cubic-bezier(.2,.8,.2,1)}
@keyframes tecMoZoom{from{transform:scale(1.05)}to{transform:none}}
.tec-sp .tec-chat .tec-mo-typing{display:none;align-items:center;gap:4px;width:auto;padding:10px 12px}
.tec-sp .tec-chat .tec-mo-typing.on{display:inline-flex}
.tec-mo-typing i{width:6px;height:6px;border-radius:50%;background:#8696a0;animation:tecMoDot 1s infinite ease-in-out}
.tec-mo-typing i:nth-child(2){animation-delay:.15s}.tec-mo-typing i:nth-child(3){animation-delay:.3s}
@keyframes tecMoDot{0%,80%,100%{transform:none;opacity:.5}40%{transform:translateY(-4px);opacity:1}}

/* ---------- showcases on laptops: the screen stays in view while the list is read (sticky) ---------- */
.tec-sp.tec-mo-build{overflow:clip}
@media (min-width:901px){
  .tec-mo-grid{align-items:start}
  .tec-mo-build .tec-mo-stage{position:sticky;top:calc(var(--tec-hdr-h-stuck,68px) + 28px)}
}

/* ---------- 2. "watch a website come together" ---------- */
.tec-mo-grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:56px;align-items:center}
.tec-mo-copy .lead{margin-bottom:22px}
.tec-mo-steps{list-style:none;margin:0 0 26px;padding:0;display:grid;gap:6px}
.tec-mo-steps li{margin:0}
.tec-mo-steps button{position:relative;display:grid;grid-template-columns:36px 1fr;column-gap:12px;width:100%;text-align:left;padding:12px 14px 14px;border:0;border-radius:12px;background:transparent;
  cursor:pointer;font-family:inherit;color:var(--muted,#5b6478);overflow:hidden}
.tec-mo-steps button::after{content:"";position:absolute;inset:0;z-index:0;border-radius:inherit;background:var(--soft,#f6f7fb);opacity:0;transition:opacity .3s ease;pointer-events:none}
.tec-mo-steps button.on::after{opacity:1}
.tec-mo-steps button > :not(.bar){position:relative;z-index:1}
.tec-mo-steps .bar{z-index:1}
.tec-mo-steps button:hover:not(.on){background:#fafbfd}
.tec-mo-steps .n{grid-row:span 2;font-weight:700;font-size:13px;color:#9aa3b5;padding-top:2px}
.tec-mo-steps b{font-size:16px;color:var(--ink,#14213d);font-weight:700}
.tec-mo-steps .d{font-size:14px;line-height:1.5}
.tec-mo-steps .bar{position:absolute;left:14px;right:14px;bottom:4px;height:3px;border-radius:3px;background:var(--line,#e5e9f1);overflow:hidden}
.tec-mo-steps .bar::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#c8262f,#1b3768);transform:scaleX(0);transform-origin:0 50%}

.tec-mo-steps button.on .n{color:#c8262f}
.tec-mo-steps button.on .bar::after{animation:tecMoFill var(--tec-mo-step,3.2s) linear forwards}
.tec-mo-steps.paused button.on .bar::after{animation-play-state:paused}
@keyframes tecMoFill{to{transform:scaleX(1)}}

.tec-mo-stage{position:relative;min-height:440px;display:grid;place-items:center;padding:34px 24px;border-radius:22px;contain:layout paint;
  background:radial-gradient(circle at 1px 1px,rgba(11,26,54,.12) 1px,transparent 1.5px) 0 0/18px 18px,linear-gradient(160deg,#f6f7fb,#eef1f7)}
.tec-mo-tag{position:absolute;left:18px;top:16px;z-index:4;padding:5px 10px;border-radius:8px;background:#0b1a36;color:#fff;font:600 11.5px/1 var(--font,'Poppins',sans-serif);letter-spacing:.06em;text-transform:uppercase;
  opacity:0;transform:translateY(-6px);transition:opacity .12s,transform .12s}
/* the old label leaves first, the new one comes in after it (no two labels on top of each other) */
.tec-mo-stage[data-s="1"] .t1,.tec-mo-stage[data-s="2"] .t2,.tec-mo-stage[data-s="3"] .t3,.tec-mo-stage[data-s="4"] .t4,.tec-mo-stage[data-s="5"] .t5{opacity:1;transform:none;transition:opacity .3s .14s,transform .3s .14s}
.tec-mo-dev{position:relative;width:100%;max-width:560px;background:#fff;border-radius:14px;box-shadow:0 30px 70px -30px rgba(11,26,54,.45),0 0 0 1px rgba(11,26,54,.06);
  container-type:inline-size}
/* to the phone and back: the frame switches size at once and fades + scales in (GPU), not an animated width */
.tec-mo-stage[data-s="4"] .tec-mo-dev,.tec-mo-stage[data-s="1"] .tec-mo-dev{animation:tecMoMorph .55s cubic-bezier(.2,.8,.2,1)}
@keyframes tecMoMorph{from{opacity:0;transform:scale(.94)}to{opacity:1;transform:none}}
.tec-mo-chrome{display:flex;align-items:center;gap:5px;padding:9px 12px;border-bottom:1px solid #eef1f6}
.tec-mo-chrome i{width:8px;height:8px;border-radius:50%;background:#e3e7ee;transition:opacity .4s}
.tec-mo-chrome i:first-child{background:#f5a3a7}
.tec-mo-chrome span{margin-left:8px;flex:1;font:500 11px/1 var(--font,'Poppins',sans-serif);color:#5b6478;background:#f6f7fb;border-radius:6px;padding:5px 9px;transition:opacity .4s}
.tec-mo-site{padding:12px;font-family:var(--font,'Poppins',sans-serif);overflow:hidden}
.tec-mo-site em{position:relative;font-style:normal;display:inline-block;border-radius:4px;color:transparent}
/* wireframe bars = a layer over the text that fades away (opacity), the text colours switch underneath */
.tec-mo-site em::before{content:"";position:absolute;inset:0;border-radius:4px;background:#e6e9f0;opacity:0;transition:opacity .45s ease var(--d,0s);pointer-events:none}
.tec-mo-stage[data-s="1"] .tec-mo-site em::before{opacity:1;transition-delay:0s}
.m-nav{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}
.m-logo{display:flex;align-items:center;gap:6px;font-weight:700;font-size:12px}
.m-logo b{width:16px;height:16px;border-radius:5px;background:#e6e9f0}
.m-links{display:flex;gap:10px;font-size:10.5px}
.m-cta em{font-size:10.5px;padding:4px 8px}
.m-hero{position:relative;isolation:isolate;display:grid;grid-template-columns:1.1fr .9fr;gap:12px;align-items:center;padding:16px;border-radius:10px;border:1.5px dashed #cfd6e3}
.m-hero::before{content:"";position:absolute;inset:-1.5px;z-index:-1;border-radius:10px;background:linear-gradient(150deg,#1b3768,#0b1a36);opacity:0;transition:opacity .6s ease}
.tec-mo-stage:not([data-s="1"]) .m-hero::before{opacity:1}
.m-txt{display:grid;gap:8px;justify-items:start}
.m-h em{font-size:clamp(15px,4.2cqi,22px);font-weight:700;line-height:1.15}
.m-p em{font-size:11px;line-height:1.45}
.m-btn em{font-size:11px;font-weight:600;padding:7px 12px;border-radius:6px}
.m-img{aspect-ratio:4/3;border-radius:8px;border:1.5px dashed #cfd6e3;position:relative;overflow:hidden;
  background:linear-gradient(to top right,transparent calc(50% - 1px),#cfd6e3 50%,transparent calc(50% + 1px)),linear-gradient(to top left,transparent calc(50% - 1px),#cfd6e3 50%,transparent calc(50% + 1px))}
.m-img i{position:absolute;inset:0;opacity:0;transition:opacity .6s ease .15s;
  background:radial-gradient(circle at 30% 35%,#ff8a90 0 14%,transparent 15%),linear-gradient(160deg,#c8262f,#1b3768 70%)}
.m-img i::after{content:"";position:absolute;left:14%;right:14%;bottom:12%;height:34%;border-radius:8px 8px 0 0;background:rgba(255,255,255,.9);box-shadow:0 -10px 0 -4px rgba(255,255,255,.5)}
.m-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px}
.m-cards span{position:relative;isolation:isolate;display:grid;gap:6px;justify-items:start;padding:10px;border-radius:8px;border:1.5px dashed #cfd6e3;font-size:10.5px;font-weight:600}
.m-cards span::before{content:"";position:absolute;inset:-1.5px;z-index:-1;border-radius:8px;background:#fff;border:1px solid #eef1f6;box-shadow:0 8px 18px -12px rgba(11,26,54,.35);opacity:0;transition:opacity .5s ease}
.tec-mo-stage:not([data-s="1"]) .m-cards span::before{opacity:1}
.m-cards b{width:18px;height:18px;border-radius:6px;background:#e6e9f0}
/* stage 2+: designed */
.tec-mo-stage:not([data-s="1"]) .tec-mo-site em{color:inherit;background-color:transparent}
.tec-mo-stage:not([data-s="1"]) .m-logo b{background:#c8262f}
.tec-mo-stage:not([data-s="1"]) .m-hero{border-color:transparent;color:#fff}
.tec-mo-stage:not([data-s="1"]) .m-p em{color:rgba(255,255,255,.78)}
.tec-mo-stage:not([data-s="1"]) .m-btn em{background:#c8262f;color:#fff}
.tec-mo-stage:not([data-s="1"]) .m-cta em{background:#0b1a36;color:#fff}
.tec-mo-stage:not([data-s="1"]) .m-links em{color:#5b6478}
.tec-mo-stage:not([data-s="1"]) .m-img{border-color:transparent}
.tec-mo-stage:not([data-s="1"]) .m-img i{opacity:1}
.tec-mo-stage:not([data-s="1"]) .m-cards span{border-color:transparent}
.tec-mo-stage:not([data-s="1"]) .m-cards b{background:#fdecee;box-shadow:inset 0 0 0 5px #fdecee,inset 0 0 0 9px #c8262f}
.m-nav em{--d:.05s}.m-h em{--d:.12s}.m-p em{--d:.2s}.m-btn em{--d:.28s}.m-cards span:nth-child(2) em{--d:.34s}.m-cards span:nth-child(3) em{--d:.4s}
/* stage 3: code */
.tec-mo-code{position:absolute;right:-18px;bottom:-26px;width:min(78%,380px);border-radius:12px;background:#0b1a36;color:#c9d4ea;box-shadow:0 26px 60px -20px rgba(6,18,42,.7);
  opacity:0;transform:translateY(16px);transition:opacity .4s ease,transform .5s cubic-bezier(.2,.8,.2,1);pointer-events:none}
.tec-mo-code-bar{display:flex;align-items:center;gap:5px;padding:8px 12px;border-bottom:1px solid rgba(255,255,255,.08)}
.tec-mo-code-bar i{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.18)}
.tec-mo-code-bar span{margin-left:8px;font:500 10.5px/1 var(--font,'Poppins',sans-serif);color:rgba(255,255,255,.55)}
.tec-mo-code pre{margin:0;padding:10px 14px 14px;background:none;border:0;font:500 11px/1.65 ui-monospace,'Cascadia Code',Consolas,monospace;white-space:pre;overflow:hidden;color:inherit}
.tec-mo-code .l{display:block;clip-path:inset(0 100% 0 0);transition:clip-path .45s steps(22,end);transition-delay:calc(.35s + var(--i) * .26s)}
.tec-mo-code .k{color:#ff8a90}.tec-mo-code .a{color:#8fb4ff}.tec-mo-code .s{color:#9be3b4}
.tec-mo-stage[data-s="3"] .tec-mo-code{opacity:1;transform:none}
.tec-mo-stage[data-s="3"] .tec-mo-code .l{clip-path:inset(0 0 0 0)}
.tec-mo-badge{position:absolute;left:-14px;top:38%;display:flex;align-items:center;gap:7px;padding:8px 12px;border-radius:10px;background:#fff;color:#14213d;font:700 12px/1 var(--font,'Poppins',sans-serif);
  box-shadow:0 16px 34px -14px rgba(6,18,42,.5);opacity:0;transform:scale(.6);transition:opacity .3s,transform .45s cubic-bezier(.3,1.6,.5,1)}
.tec-mo-badge svg{width:16px;height:16px;padding:3px;border-radius:50%;background:#1f9d55;color:#fff;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;box-sizing:content-box}
.tec-mo-stage[data-s="3"] .tec-mo-badge{opacity:1;transform:none;transition-delay:2.3s}
/* stage 4: the same site on a phone (the mock re-lays itself out with container queries) */
.tec-mo-stage[data-s="4"] .tec-mo-dev{max-width:236px;border-radius:30px}
.tec-mo-stage[data-s="4"] .tec-mo-chrome i,.tec-mo-stage[data-s="4"] .tec-mo-chrome span{opacity:0}
.tec-mo-stage[data-s="4"] .tec-mo-chrome::after{content:"";position:absolute;left:50%;top:9px;width:64px;height:9px;margin-left:-32px;border-radius:9px;background:#0b1a36}
@container (max-width:320px){
  .m-links{display:none}
  .m-cta em{font-size:0;width:18px;height:12px;padding:0;background:linear-gradient(#0b1a36 0 2px,transparent 2px 5px,#0b1a36 5px 7px,transparent 7px 10px,#0b1a36 10px 12px)!important}
  .m-hero{grid-template-columns:1fr;padding:14px}
  .m-img{order:-1;aspect-ratio:16/9}
  .m-cards{grid-template-columns:1fr}
  .m-cards span{grid-template-columns:18px 1fr;align-items:center}
}

/* ---------- 2c. all services showcase (Home): realistic screens + a clear active service ---------- */
/* service list (laptops): the active one is a raised white card with a red edge; hover is only a soft tint */
.tec-mo-svc{gap:8px}
.tec-mo-svc button{grid-template-columns:44px 1fr;padding:12px 16px 14px;border:0;border-radius:14px}
.tec-mo-svc button::after{background:#fff;border:1px solid #f3c4c8;box-shadow:0 16px 34px -20px rgba(200,38,47,.55)}
.tec-mo-svc button:hover:not(.on){background:#fafbfd}
.tec-mo-svc button::before{content:"";position:absolute;left:0;top:12px;bottom:12px;z-index:2;width:4px;border-radius:0 4px 4px 0;background:#c8262f;transform:scaleY(0);transition:transform .3s}

.tec-mo-svc button.on::before{transform:none}
.tec-mo-svc button.on b{color:#c8262f}
.tec-mo-svc button.on .d{color:#14213d}
.tec-mo-svc .n{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#f6f7fb;padding:0!important;position:relative;isolation:isolate}
.tec-mo-svc .n::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:#c8262f;opacity:0;transition:opacity .3s ease}
.tec-mo-svc button.on .n::before{opacity:1}
.tec-mo-svc .n svg{width:18px;height:18px;fill:none;stroke:#5b6478;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.tec-mo-svc button.on .n svg{stroke:#fff}
.tec-mo-svc button:not(.on) .bar{opacity:0}
.as-caps{display:none}
/* the screen */
.tec-mo-stage.tec-mo-all{min-height:470px;padding:40px 22px 26px}
.as-screen{position:relative;width:100%;max-width:600px;height:376px;background:#fff;border-radius:18px;overflow:hidden;font-family:var(--font,'Poppins',sans-serif);color:#14213d;
  box-shadow:0 30px 70px -30px rgba(11,26,54,.45),0 0 0 1px rgba(11,26,54,.06)}
.as-pane{position:absolute;inset:0;padding:14px;opacity:0;transform:translateY(10px);transition:opacity .35s ease,transform .45s cubic-bezier(.2,.8,.2,1);pointer-events:none}
.tec-mo-all[data-s="1"] .as-web,.tec-mo-all[data-s="2"] .as-seo,.tec-mo-all[data-s="3"] .as-soc,.tec-mo-all[data-s="4"] .as-ads,.tec-mo-all[data-s="5"] .as-ai{opacity:1;transform:none;transition-delay:.12s}
.as-pane img{display:block;width:100%;height:100%;object-fit:cover;background:#eef1f6}
.as-pane svg{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.as-pane b,.as-pane small{display:block}
.as-av{width:30px!important;height:30px!important;border-radius:50%;flex:none}
.as-k{display:flex;align-items:center;gap:6px;margin:0 0 7px!important;font-size:11px;font-weight:700;color:#5b6478;text-transform:uppercase;letter-spacing:.06em}
.as-k svg{width:14px;height:14px}
/* 1 website: real sites in a browser */
.as-web{display:flex;flex-direction:column;gap:10px}
.as-browser{flex:1;display:flex;flex-direction:column;border:1px solid #e5e9f1;border-radius:12px;overflow:hidden}
.as-url{display:flex;align-items:center;gap:6px;padding:9px 12px;background:#f6f7fb;border-bottom:1px solid #e5e9f1}
.as-url i{width:9px;height:9px;border-radius:50%;background:#dfe3ea}.as-url i:first-child{background:#f59a9f}.as-url i:nth-child(2){background:#f7d071}.as-url i:nth-child(3){background:#8fd6a3}
.as-url span{display:flex;align-items:center;gap:6px;margin-left:10px;flex:1;max-width:280px;padding:5px 10px;border-radius:7px;background:#fff;font-size:11.5px;color:#14213d}
.as-url span svg{width:12px;height:12px;color:#1f9d55}.as-url em{font-style:normal}
.as-shots{position:relative;flex:1;overflow:hidden}
.as-shot{position:absolute;inset:0;margin:0;opacity:0;transition:opacity .45s ease}
.as-shot img{object-position:top center}
.as-shot.on{opacity:1}
.as-shot.on img{animation:asPan 2.4s ease-out both}
@keyframes asPan{from{transform:scale(1.06)}to{transform:none}}
.as-real{display:flex;align-items:center;gap:7px;margin:0!important;font-size:12px;font-weight:700;color:#1f9d55}
.as-doms{display:none;list-style:none;margin:0;padding:0}
.as-real svg{width:16px;height:16px;padding:2px;border-radius:50%;background:#1f9d55;color:#fff;stroke-width:3;box-sizing:content-box}
/* 2 SEO: a Google Maps result */
.as-gq{display:flex;align-items:center;gap:10px;padding:9px 14px;border-radius:999px;box-shadow:0 2px 6px rgba(11,26,54,.16),0 0 0 1px #eef1f6;font-size:13px}
.as-gq img,.as-gq > svg:first-child{width:18px;height:18px}
.as-gq span{flex:1}.as-gq > svg:last-child{width:17px;height:17px;color:#1a73e8}
.as-gmap{position:relative;height:74px;margin:10px 0;border-radius:10px;overflow:hidden;background:
  linear-gradient(90deg,transparent 30%,#fff 30% 33%,transparent 33%),linear-gradient(0deg,transparent 45%,#fff 45% 50%,transparent 50%),linear-gradient(120deg,transparent 60%,#fff 60% 62%,transparent 62%),
  radial-gradient(circle at 80% 30%,#cde8d0 0 16%,transparent 17%),#e9edf3}
.as-gmap i{position:absolute;width:14px;height:14px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);background:#9aa3b5;box-shadow:inset 0 0 0 4px #9aa3b5,inset 0 0 0 7px #fff}
.as-gmap .p1{left:22%;top:30%}.as-gmap .p2{left:68%;top:46%}
.as-gmap .p3{left:46%;top:18%;width:20px;height:20px;background:#c8262f;box-shadow:inset 0 0 0 6px #c8262f,inset 0 0 0 10px #fff;transition:transform .5s cubic-bezier(.3,1.7,.5,1) 2s}
.tec-mo-all[data-s="2"] .as-gmap .p3{transform:rotate(-45deg) scale(1.25)}
.as-places{display:grid;gap:6px}
.as-place{display:flex;align-items:center;gap:10px;height:62px;padding:0 10px;border-radius:12px;border:1px solid #eef1f6;background:#fff;transition:transform .9s cubic-bezier(.2,.8,.2,1) 1.1s}
.as-place.you::after{content:"";position:absolute;inset:-1px;border-radius:12px;border:1px solid rgba(200,38,47,.5);box-shadow:0 12px 26px -16px rgba(200,38,47,.6);opacity:0;transition:opacity .4s 1.9s;pointer-events:none}
.tec-mo-all[data-s="2"] .as-place.you::after{opacity:1}
.as-thumb{width:44px!important;height:44px!important;border-radius:9px;flex:none}
.as-pi{flex:1;min-width:0}.as-pi b{font-size:13px}.as-pi small{font-size:11px;color:#5b6478;line-height:1.45}.as-pi em{font-style:normal;color:#188038;font-weight:600}
.as-stars{color:#f5a623;letter-spacing:-1px}
.as-pb{display:flex;gap:6px}.as-pb i{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;border:1px solid #dadce0;color:#1a73e8}.as-pb svg{width:13px;height:13px}
.as-place.you{position:relative;z-index:2}
.tec-mo-all:not([data-s="2"]) .as-place.you{transform:translateY(136px);transition:none}
.tec-mo-all:not([data-s="2"]) .as-place:not(.you){transform:translateY(-68px);transition:none}
/* 3 social media: Instagram */
.as-soc{display:grid;grid-template-columns:1.05fr .95fr;gap:14px}
.as-ig{border:1px solid #eef1f6;border-radius:12px;overflow:hidden;display:flex;flex-direction:column}
.as-igh{display:flex;align-items:center;gap:8px;padding:8px 10px;font-size:12px}.as-igh b{flex:1}.as-igh img:last-child,.as-igh svg:last-child{width:18px;height:18px}
.as-igp{height:176px;overflow:hidden}
.as-iga{display:flex;gap:12px;padding:8px 10px 2px}.as-iga svg{width:20px;height:20px;color:#14213d}
.as-heart svg{fill:none;stroke:#14213d;transition:transform .45s cubic-bezier(.3,1.8,.5,1) 1.3s}
.tec-mo-all[data-s="3"] .as-heart svg{fill:#ed4956;stroke:#ed4956;transform:scale(1.2)}
.as-igl{margin:0!important;padding:2px 10px;font-size:11.5px}
.as-igc{margin:0!important;padding:0 10px 10px;font-size:11px;line-height:1.45;color:#14213d}.as-igc b{display:inline}
.as-side{display:flex;flex-direction:column;gap:4px}
.as-row3{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;margin-bottom:10px}.as-row3 img{aspect-ratio:1;height:auto;border-radius:6px}
.as-plan{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-bottom:10px}
.as-plan span{padding:8px 6px;border-radius:9px;background:#fdecee;color:#a81d25;font-size:11.5px;font-weight:700;text-align:center;opacity:0;transform:translateY(6px);transition:opacity .3s,transform .4s}
.as-plan small{font-weight:500;color:#5b6478}
.as-plan span:nth-child(1){transition-delay:.6s}.as-plan span:nth-child(2){transition-delay:.8s}.as-plan span:nth-child(3){transition-delay:1s}
.tec-mo-all[data-s="3"] .as-plan span{opacity:1;transform:none}
.as-cmt{display:flex;align-items:center;gap:8px;padding:9px;border-radius:12px;background:#fff;border:1px solid #eef1f6;box-shadow:0 12px 26px -18px rgba(11,26,54,.5);font-size:11px;line-height:1.4;
  opacity:0;transform:translateY(10px);transition:opacity .35s 2s,transform .45s 2s}
.as-cmt b{display:inline}
.tec-mo-all[data-s="3"] .as-cmt{opacity:1;transform:none}
/* 4 Meta ads: Facebook ad + WhatsApp */
.as-ads,.as-ai{display:grid;grid-template-columns:1.05fr .95fr;gap:14px}
.as-fb{border:1px solid #eef1f6;border-radius:12px;overflow:hidden;display:flex;flex-direction:column}
.as-fbh{display:flex;align-items:center;gap:8px;padding:8px 10px}.as-fbh > span{flex:1}.as-fbh b{font-size:12px}.as-fbh small{display:flex;align-items:center;gap:3px;font-size:10px;color:#65676b}.as-fbh small svg{width:10px;height:10px}
.as-fbh > img:last-child,.as-fbh > svg:last-child{width:18px;height:18px}
.as-fbt{margin:0!important;padding:0 10px 8px;font-size:11.5px;line-height:1.45}
.as-fbp{height:150px;overflow:hidden}
.as-fbb{display:flex;align-items:center;gap:8px;padding:8px 10px;background:#f0f2f5}.as-fbb > span{flex:1}.as-fbb small{font-size:9.5px;color:#65676b}.as-fbb b{font-size:12px}
.as-fbb em{display:flex;align-items:center;gap:5px;font-style:normal;font-size:11px;font-weight:700;padding:7px 10px;border-radius:6px;background:#e4e6eb;color:#050505;white-space:nowrap}
.as-fbb em svg{width:13px;height:13px;fill:#25d366!important;stroke:none}
.as-fbb em svg path{fill:#25d366}
.as-wa{border-radius:12px;overflow:hidden;display:flex;flex-direction:column;border:1px solid #e5e9f1}
.as-wah{display:flex;align-items:center;gap:8px;padding:8px 10px;background:#075e54;color:#fff}.as-wah b{font-size:12px}.as-wah small{font-size:10px;opacity:.8}
.as-chat{flex:1;display:flex;flex-direction:column;gap:7px;padding:10px;background:#efeae2}
.as-chat p{max-width:86%;margin:0!important;padding:7px 10px;border-radius:9px;font-size:11.5px;line-height:1.4;box-shadow:0 1px 1px rgba(0,0,0,.08);opacity:0;transform:translateY(8px) scale(.96);
  transition:opacity .3s,transform .4s cubic-bezier(.2,.8,.2,1);transition-delay:calc(.9s + var(--i) * .9s)}
.as-chat .in{align-self:flex-start;background:#fff;border-top-left-radius:2px}
.as-chat .out{align-self:flex-end;background:#d9fdd3;border-top-right-radius:2px}
.as-chat .ai i{display:block;font-style:normal;font-size:9.5px;font-weight:700;color:#075e54;margin-bottom:2px}
.tec-mo-all[data-s="4"] .as-ads .as-chat p,.tec-mo-all[data-s="5"] .as-ai .as-chat p{opacity:1;transform:none}
/* 5 software & AI: lead list */
.as-crm{border:1px solid #e5e9f1;border-radius:12px;padding:12px;display:flex;flex-direction:column;gap:6px}
.as-th,.as-tr{display:grid;grid-template-columns:1fr 1fr auto;align-items:center;gap:8px;font-size:11px}
.as-th{color:#5b6478;font-weight:600;padding:0 8px 4px;border-bottom:1px solid #eef1f6}.as-th em{font-style:normal}
.as-tr{padding:9px 8px;border-radius:9px;background:#f6f7fb}.as-tr span{color:#5b6478}
.as-tr em{font-style:normal;font-size:10px;font-weight:700;padding:3px 8px;border-radius:999px}
.as-tr em.n{background:#e7efff;color:#1a56db}.as-tr em.c{background:#fff4d6;color:#a16207}.as-tr em.q{background:#e7f8ee;color:#15803d}
.as-tr.new{background:#fffbe8;box-shadow:0 0 0 1px #f5d97a;opacity:0;transform:translateY(-8px);transition:opacity .35s 2.6s,transform .45s 2.6s}
.tec-mo-all[data-s="5"] .as-tr.new{opacity:1;transform:none}
/* tablets and phones: the five services as one row of equal tabs above the screen (icon over the name, all visible,
   no sideways scrolling; user 2026-11-30: "capsule design - do better"), the active one tinted red with its progress
   line; a caption under the screen says what is shown */
@media (max-width:900px){
  .tec-mo-copy > .tec-mo-svc{order:4}
  .tec-mo-allsec .tec-mo-stage{order:5}
  .tec-mo-svc{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;margin:6px 0 14px;padding:6px;background:#fff;border:1px solid #e5e9f1;border-radius:16px;
    box-shadow:0 12px 26px -20px rgba(11,26,54,.4);overflow:visible}
  .tec-mo-svc li{min-width:0}
  .tec-mo-svc button{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:6px;width:100%;height:100%;padding:9px 2px 12px;border:0;border-radius:12px;
    background:transparent;box-shadow:none;text-align:center;overflow:hidden}
  .tec-mo-svc button::before{display:none}
  .tec-mo-svc button:hover:not(.on){background:transparent}
  .tec-mo-svc .n{width:36px;height:36px;border-radius:11px;flex:none}
  .tec-mo-svc .n svg{width:18px;height:18px}
  .tec-mo-svc b{font-size:11.5px;line-height:1.2;font-weight:600;color:#5b6478}
  .tec-mo-svc .d{display:none}
  .tec-mo-svc button.on{background:#fdecee;border:0;box-shadow:none}
  .tec-mo-svc button.on b{color:#c8262f;font-weight:700}
  .tec-mo-svc .bar{left:12px;right:12px;bottom:4px;height:3px;background:rgba(200,38,47,.18)}
  .tec-mo-svc .bar::after{background:#c8262f}
  .as-caps{display:block;margin-top:14px;min-height:40px;text-align:left;width:100%;max-width:600px}
  .as-cap{display:none;margin:0!important;font-size:14px;line-height:1.5;color:#14213d}
  .as-cap b{color:#c8262f}
  .tec-mo-all[data-s="1"] .c1,.tec-mo-all[data-s="2"] .c2,.tec-mo-all[data-s="3"] .c3,.tec-mo-all[data-s="4"] .c4,.tec-mo-all[data-s="5"] .c5{display:block}
  .tec-mo-stage.tec-mo-all{display:flex;flex-direction:column;align-items:center;padding:16px 12px 16px;min-height:0}
  .tec-mo-all .tec-mo-tag{display:none}   /* the tab above says it already */
  /* height follows the screen shown (tec-motion.js fit()); not animated: height is layout work, the screens cross-fade anyway */
}
@media (min-width:601px) and (max-width:900px){.tec-mo-svc b{font-size:13px}}
@media (max-width:640px){
  .as-screen{height:478px}
  .as-soc,.as-ads,.as-ai{grid-template-columns:1fr;gap:10px}
  .as-side{display:none}
  .as-igp{height:220px}
  .as-fbp{height:130px}
  /* website: the whole top of each site, then the list of the real sites (the one shown is marked) */
  .as-browser{flex:none}
  .as-shots{flex:none;aspect-ratio:1440/900}
  .as-doms{display:grid;gap:6px}
  .as-doms li{position:relative;display:flex;align-items:center;gap:9px;margin:0;padding:6px 10px;border-radius:10px;border:1px solid #eef1f6}
  .as-doms li::after{content:"";position:absolute;inset:-1px;border-radius:10px;border:1px solid #f3c4c8;background:#fff8f8;opacity:0;transition:opacity .3s;z-index:0;pointer-events:none}
  .as-doms li > *{position:relative;z-index:1}
  .as-doms li.on::after{opacity:1}
  .as-doms li svg{width:14px;height:14px;padding:2px;border-radius:50%;background:#e5e9f1;color:#fff;stroke-width:3;box-sizing:content-box}
  .as-doms b{font-size:12.5px}.as-doms small{font-size:11px;color:#5b6478}
  .as-doms li.on svg{background:#1f9d55}
  /* Meta ads: the ad first, "Send message" is tapped, then the WhatsApp chat slides up over it */
  .as-ads .as-wa{position:absolute;inset:14px;transform:translateY(110%);transition:transform .55s cubic-bezier(.2,.8,.2,1);box-shadow:0 -10px 40px -16px rgba(11,26,54,.5)}
  .tec-mo-all[data-s="4"] .as-ads .as-wa{transform:none;transition-delay:1.9s}
  .as-ads .as-chat p{transition-delay:calc(2.6s + var(--i) * .8s)}
  .as-fbb em{position:relative;overflow:hidden}
  .tec-mo-all[data-s="4"] .as-fbb em::after{content:"";position:absolute;left:50%;top:50%;width:60px;height:60px;margin:-30px 0 0 -30px;border-radius:50%;background:rgba(37,211,102,.45);transform:scale(0);animation:asTap .7s ease-out 1.3s forwards}
  @keyframes asTap{60%{transform:scale(1.4);opacity:1}to{transform:scale(1.6);opacity:0}}
  .as-ai .as-chat{min-height:0}
  .as-place{height:58px}.as-pb{display:none}
  .tec-mo-all:not([data-s="2"]) .as-place.you{transform:translateY(128px)}
  .tec-mo-all:not([data-s="2"]) .as-place:not(.you){transform:translateY(-64px)}
}
@media (prefers-reduced-motion:reduce){
  .tec-mo-all *{transition:none!important;animation:none!important}
}

/* ---------- 3. polish (laptops: pointer + hover) ---------- */
@media (prefers-reduced-motion:no-preference){
  /* a plain cross-fade: the header is the same on both pages, so it seems to stay put. (A view-transition-name on the
     header made it a low stacking context: page content slid over the sticky bar. Never name the header.) */
  @view-transition{navigation:auto}
  ::view-transition-old(root){animation:tecMoOut .2s ease both}
  ::view-transition-new(root){animation:tecMoIn .3s ease both}
  @keyframes tecMoOut{to{opacity:0}}
  @keyframes tecMoIn{from{opacity:0}}
}
.tec-mo-mag{transition:transform .35s cubic-bezier(.2,.8,.2,1)!important;will-change:transform}
.tec-mo-mag.is-m{transition:transform .12s linear!important}
.tec-mo-tilt{position:relative;transform-style:preserve-3d;transition:transform .45s cubic-bezier(.2,.8,.2,1)}
.tec-mo-tilt.is-t{transition:transform .1s linear}
.tec-mo-tilt::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:0;transition:opacity .3s;
  background:radial-gradient(260px circle at var(--mx,50%) var(--my,50%),rgba(255,255,255,.55),transparent 60%)}
.tec-sp.dark .tec-mo-tilt::after,.tec-sp .tec-tile.tec-mo-tilt::after{background:radial-gradient(260px circle at var(--mx,50%) var(--my,50%),rgba(255,255,255,.12),transparent 60%)}
.tec-mo-tilt.is-t::after{opacity:1}
.tec-mo-glow{position:absolute;inset:0;pointer-events:none;z-index:0;opacity:0;transition:opacity .5s;
  background:radial-gradient(520px circle at var(--gx,50%) var(--gy,50%),rgba(200,38,47,.16),transparent 65%)}
.tec-sp.dark.tec-mo-glowing .tec-mo-glow{opacity:1}
.tec-sp.dark.tec-mo-hasglow{position:relative}
.tec-sp.dark.tec-mo-hasglow > .wrap{position:relative;z-index:1}
.tec-mo-draw :is(path,circle,rect,line,polyline,polygon,ellipse){stroke-dasharray:1;stroke-dashoffset:1;animation:tecMoDraw .75s cubic-bezier(.4,0,.2,1) forwards}
@keyframes tecMoDraw{to{stroke-dashoffset:0}}

/* ---------- small screens ---------- */
@media (max-width:900px){
  /* phones / tablets: heading, then the animation, then the steps (the copy box opens up into the grid) */
  .tec-mo-grid{grid-template-columns:1fr;gap:0}
  .tec-mo-copy{display:contents}
  .tec-mo-copy > .eyebrow{order:1;justify-self:start}
  .tec-mo-copy > h2{order:2}
  .tec-mo-copy > .lead{order:3}
  .tec-mo-stage{order:4;min-height:400px;margin:4px 0 22px}
  .tec-mo-steps{order:5}
  .tec-mo-copy > .btn{order:6;justify-self:start}
}
@media (max-width:640px){
  .tec-mo-stage{min-height:360px;padding:30px 14px}
  .tec-mo-code{right:-6px;bottom:-18px;width:86%}
  .tec-mo-code pre{font-size:10px}
  .tec-mo-badge{left:-4px}
  .tec-mo-stage[data-s="4"] .tec-mo-dev{max-width:200px}
  .tec-mo-steps .d{font-size:13.5px}
}
@media (prefers-reduced-motion:reduce){
  .tec-mo-toast,.tec-mo-plus,.tec-mo-dev,.tec-mo-code,.tec-mo-code .l,.tec-mo-badge,.tec-mo-site em,.tec-mo-tilt,.tec-mo-mag{transition:none!important;animation:none!important}
  .tec-mo-steps .bar::after{animation:none!important;transform:scaleX(1)}
}
