/* ══════════════════════════════════════════════════════════════════
   Service pages (pages/services-*.html), loaded by all six: rules shared by
   two or more of them, plus the few rules of services-marketing,
   services-content and services-social, which have no file of their own.
   Loaded after css/style.css and before pages/services-<page>.css: rules
   keep the order they had in style.css, so the cascade is the same.
   ══════════════════════════════════════════════════════════════════ */

/* entrance and hover shadow: shared with the portfolio cards, in style.css */
.stile:hover{border-color:rgba(63,224,127,.5)}
.stile .num{font-family:var(--mono);font-size:11px;font-weight:700;letter-spacing:.2em;color:var(--green)}
.stile h2,.stile h3{font-size:22px}
.sblock{border-radius:var(--r-l);padding:clamp(24px,3vw,40px);
  display:grid;grid-template-columns:minmax(0,.42fr) minmax(0,.58fr);gap:clamp(20px,3vw,44px);
  transition:opacity .6s var(--ease),transform .7s var(--ease),border-color .3s}
.sblock.reveal{opacity:0;transform:translateY(26px)}
.sblock.reveal.in{opacity:1;transform:none}
.sblock:hover{border-color:rgba(63,224,127,.34)}
.sblock h2{font-size:clamp(21px,2.4vw,30px);margin:12px 0 0}
.sblock>div>p{font-size:15px;line-height:1.7;color:rgba(255,255,255,.66);margin-top:16px;max-width:46ch}
.slist{list-style:none;margin:0;padding:0;display:grid;gap:12px;align-content:start}
.slist li{display:block;position:relative;padding:0 0 12px 32px;font-size:14.5px;line-height:1.6;
  color:rgba(255,255,255,.72);border-bottom:1px solid rgba(255,255,255,.07)}
.slist li:last-child{border-bottom:none;padding-bottom:0}
.slist li::before{content:"+";position:absolute;left:0;top:0;
  font-family:var(--mono);font-weight:700;color:var(--green);line-height:1.6}
.slist b{color:var(--white);font-weight:600}
@media (max-width:1100px){
  .sblock{grid-template-columns:1fr;gap:20px}
}
/* ══════════════════════════════════════════════════════════════════
   WEBSITE PAGE — opening, inclusions, animated section
   ══════════════════════════════════════════════════════════════════ */

/* ── 1. large "What we build" block ── */
.big{border-radius:var(--r-xl);padding:clamp(28px,3.4vw,52px);
  display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(24px,4vw,56px);align-items:start}
.big-copy h2{font-size:clamp(26px,3.2vw,42px);margin:16px 0 20px}
.big-copy .btn{margin-top:16px}
.big-list{padding-top:8px}
/* flow legend: the rule was attached to .arch-copy, the ancestor
   removed along with the old "Under the hood" card. Now it stands on its own. */
.arch-legend{display:flex;align-items:center;gap:8px;margin-top:20px;
  font:400 11px/1.5 var(--mono);letter-spacing:.1em;text-transform:uppercase;color:rgba(255,255,255,.58)}
.dotg{width:9px;height:9px;border-radius:50%;background:var(--green);flex:none;
  box-shadow:0 0 12px rgba(63,224,127,.8)}
@media (max-width:1020px){
  .big{grid-template-columns:1fr;gap:28px}
}
/* ══════════════════════════════════════════════════════════════════
   WEBSITE PAGE — updates
   ══════════════════════════════════════════════════════════════════ */
#tipologie .sec-head{margin-bottom:clamp(20px,2vw,28px)}

/* image above the list, inside "What we build" */
.big-media{display:flex;flex-direction:column;gap:clamp(20px,2.4vw,28px)}
.big-list{padding-top:0}
#inclusi{padding-bottom:16px}

/* ══════════════════════════════════════════════════════════════════
   ALWAYS-INCLUDED SERVICES — scroll-driven card stack
   Each card stops at the CENTER of the screen (the exact point is set by
   the JS, since it depends on each card's height); the next one
   covers it while the one below shrinks, rotates and slides away.
   ══════════════════════════════════════════════════════════════════ */
.istack{position:relative;perspective:1400px;
  /* --cardh: height shared by ALL cards. A single height means
     a single bottom edge: the incoming card fully covers the one
     below, so no text can show through the glass. */
  --cardh:460px}
/* case matrix: exactly one rule wins for each combination, so
   --cardh is always an UPPER bound on the content height */
@media (max-width:1020px){ .istack{--cardh:620px} }                       /* single column */
@media (min-width:1021px) and (max-height:760px){ .istack{--cardh:400px} } /* 2 columns, short screen */
@media (max-width:1020px) and (max-height:760px){ .istack{--cardh:470px} } /* single column, short screen */
@media (max-width:600px){ .istack{--cardh:660px} }
@media (max-width:600px) and (max-height:760px){ .istack{--cardh:580px} }
/* docking travel for the LAST card: it must be able to stay parked
   on top of the previous one, so it needs a box after it */
.istack::after{content:"";display:block;
  height:max(120px, calc(100svh - max(88px, (100svh - var(--cardh)) / 2) - var(--cardh)))}
.icard{position:sticky;height:var(--cardh);display:grid;align-content:center;
  /* stops at the center of the screen, with a minimum so it doesn't end up
     under the navbar on short screens */
  top:max(88px, calc((100svh - var(--cardh)) / 2));
  margin-bottom:30vh;border-radius:24px;
  background:var(--glass-bg);
  -webkit-backdrop-filter:blur(var(--blur)) saturate(135%);backdrop-filter:blur(var(--blur)) saturate(135%);
  border:1px solid var(--glass-br);border-top-color:var(--glass-br-top);
  box-shadow:var(--sh-rest);overflow:hidden;
  transform-origin:50% 0;will-change:transform,opacity}
.icard:last-child{margin-bottom:0}
#inclusi{padding-bottom:24px}
.icard-in{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:clamp(24px,3.2vw,48px);align-items:center;padding:clamp(24px,3.2vw,48px);min-height:320px}
.icard-n{font-family:var(--mono);font-size:11px;font-weight:700;letter-spacing:.2em;color:var(--green)}
.icard-copy h3{display:flex;align-items:center;gap:12px;font-size:clamp(20px,2.4vw,30px);margin:16px 0 16px}
.icard-copy h3 i,.icard-copy h3 svg{display:inline-flex;color:var(--green);flex:none}
.icard-copy h3 svg{width:24px;height:24px;display:block}
.icard-viz{position:relative}

.vz{background:rgba(0,9,12,.6);border:1px solid rgba(255,255,255,.09);border-radius:16px;
  padding:20px;display:flex;flex-direction:column;gap:16px;min-height:212px;justify-content:center}

/* Animations exist only while the card is parked in the center:
   resetting animation with !important can't be overridden by a later
   shorthand, and on re-entry the sequence restarts from the beginning. */
.icard:not(.on) .vz *{animation:none!important}
.icard:not(.on) .vz *::before,.icard:not(.on) .vz *::after{animation:none!important}

/* ── 01 domain ── */
.dom-bar{display:flex;align-items:center;gap:8px;padding:12px 16px;border-radius:8px;
  background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);font-family:var(--mono);font-size:14px}
.dom-bar i,.dom-bar svg{display:inline-flex;color:var(--green)}
.dom-bar svg{width:14px;height:14px;display:block}
.dom-typed{white-space:nowrap;overflow:hidden;width:17ch}
.dom-caret{width:8px;height:16px;background:var(--green);animation:blink 1.06s steps(2,end) infinite}
@keyframes blink{0%,49%{opacity:1}50%,100%{opacity:0}}
.dom-ok{display:flex;align-items:center;gap:8px;font-family:var(--mono);font-size:11px;
  letter-spacing:.08em;text-transform:uppercase;color:var(--green)}
.dom-ok i,.dom-ok svg{display:inline-flex}
.dom-ok svg{width:13px;height:13px;display:block}
/* ── 02 design system ── */
.des-sw{display:flex;gap:8px}
.des-sw span{flex:1;height:52px;border-radius:8px;background:var(--c);
  border:1px solid rgba(255,255,255,.14);transform-origin:50% 100%}
.des-fonts{display:flex;flex-direction:column;gap:8px}
.dfn{font-size:15px;padding:8px 12px;border-radius:8px;border:1px solid rgba(255,255,255,.1);
  color:rgba(255,255,255,.62)}
.dfn:nth-child(1){font-family:var(--mono)}
.dfn:nth-child(2){font-family:var(--sans)}
.dfn-pick{display:flex;align-items:center;justify-content:space-between;
  border-color:var(--green);color:var(--green)}
.dfn-pick i,.dfn-pick svg{display:inline-flex}
.dfn-pick svg{width:15px;height:15px;display:block}
.des-comp{display:flex;gap:8px}
.des-comp span{height:28px;border-radius:8px;background:rgba(63,224,127,.18);
  border:1px solid rgba(63,224,127,.32)}
.des-comp span:nth-child(1){flex:2}
.des-comp span:nth-child(2){flex:1}
.des-comp span:nth-child(3){flex:1.4}

/* ── 03 Google presence ── */
.goo-q{display:flex;align-items:center;gap:12px;padding:12px 16px;border-radius:999px;
  background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);
  font-family:var(--sans);font-size:14px;color:rgba(255,255,255,.72)}
.goo-q i,.goo-q svg{display:inline-flex;color:var(--green)}
.goo-q svg{width:15px;height:15px;display:block}
/* Inter is proportional: width in ch doesn't match the actual text,
   so it is revealed with clip-path, independent of the font metrics. */
.goo-q span{white-space:nowrap}
/* ── 04 privacy and GDPR ── */
.ck{display:flex;flex-direction:column;gap:12px;padding:16px;border-radius:12px;
  background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.1)}
.ck p{font-size:13px;color:rgba(255,255,255,.66)}
.ck-row{display:flex;align-items:center;justify-content:space-between;gap:16px;
  font-family:var(--mono);font-size:12px;color:rgba(255,255,255,.72)}
.ck-t{width:36px;height:20px;border-radius:999px;flex:none;position:relative;
  background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.16)}
.ck-t::after{content:"";position:absolute;top:2px;left:2px;width:14px;height:14px;border-radius:50%;
  background:rgba(255,255,255,.5)}
.ck-t.on,.ck-t.t2,.ck-t.t3{background:var(--green);border-color:var(--green)}
.ck-t.on::after,.ck-t.t2::after,.ck-t.t3::after{transform:translateX(16px);background:var(--navy)}
.ck-btn{align-self:flex-start;font-family:var(--mono);font-size:11px;font-weight:700;letter-spacing:.14em;
  text-transform:uppercase;padding:8px 16px;border-radius:8px;background:var(--green);color:var(--navy)}

/* ── 05 security ── */
.sec-scan{position:relative;align-self:center;width:88px;height:88px;border-radius:16px;
  display:grid;place-items:center;background:rgba(63,224,127,.1);
  border:1px solid rgba(63,224,127,.32);overflow:hidden}
.scanline{position:absolute;left:0;right:0;height:2px;background:var(--green);
  box-shadow:0 0 16px rgba(63,224,127,.9);animation:scan 1.8s var(--ease) infinite}
@keyframes scan{0%{top:-2px}50%{top:100%}100%{top:-2px}}
.sec-list{display:flex;flex-direction:column;gap:8px}
.sl{display:flex;align-items:center;gap:8px;font-family:var(--mono);font-size:11.5px;
  letter-spacing:.04em;color:rgba(255,255,255,.66)}
.sl i,.sl svg{display:inline-flex;color:var(--green)}
.sl svg{width:13px;height:13px;display:block}

/* ── 06 ad campaigns ── */
.ads-bars{display:flex;align-items:flex-end;gap:12px;height:96px}
.ads-bars span{flex:1;border-radius:8px 8px 0 0;background:rgba(63,224,127,.28);
  border:1px solid rgba(63,224,127,.45);border-bottom:none;height:var(--v)}
.ads-bars span:nth-child(4){background:var(--green);border-color:var(--green)}
.ads-kpi{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.ads-kpi div{display:flex;flex-direction:column;gap:4px}
.ads-kpi b{font-family:var(--mono);font-size:26px;font-weight:800;color:var(--green);font-variant-numeric:tabular-nums}
.ads-kpi em{font-family:var(--mono);font-size:11px;font-style:normal;letter-spacing:.14em;
  text-transform:uppercase;color:rgba(255,255,255,.5)}
@keyframes st1{0%,4%{opacity:0;transform:translateY(10px)}12%,100%{opacity:1;transform:none}}
@keyframes st2{0%,12%{opacity:0;transform:translateY(10px)}20%,100%{opacity:1;transform:none}}
@keyframes st3{0%,20%{opacity:0;transform:translateY(10px)}28%,100%{opacity:1;transform:none}}
@keyframes st4{0%,28%{opacity:0;transform:translateY(10px)}36%,100%{opacity:1;transform:none}}
@keyframes st5{0%,36%{opacity:0;transform:translateY(10px)}44%,100%{opacity:1;transform:none}}
@keyframes st6{0%,44%{opacity:0;transform:translateY(10px)}52%,100%{opacity:1;transform:none}}
@keyframes sw1{0%,4%{transform:scaleY(.12);opacity:.25}12%,100%{transform:none;opacity:1}}
@keyframes sw2{0%,8%{transform:scaleY(.12);opacity:.25}16%,100%{transform:none;opacity:1}}
@keyframes sw3{0%,12%{transform:scaleY(.12);opacity:.25}20%,100%{transform:none;opacity:1}}
@keyframes sw4{0%,16%{transform:scaleY(.12);opacity:.25}24%,100%{transform:none;opacity:1}}
@keyframes sw5{0%,20%{transform:scaleY(.12);opacity:.25}28%,100%{transform:none;opacity:1}}
@keyframes ck1{0%,18%{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.16)}25%,100%{background:#3FE07F;border-color:#3FE07F}}
@keyframes ck1k{0%,18%{transform:none;background:rgba(255,255,255,.5)}25%,100%{transform:translateX(16px);background:#002027}}
@keyframes ck2{0%,32%{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.16)}39%,100%{background:#3FE07F;border-color:#3FE07F}}
@keyframes ck2k{0%,32%{transform:none;background:rgba(255,255,255,.5)}39%,100%{transform:translateX(16px);background:#002027}}
@keyframes ck3{0%,46%{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.16)}53%,100%{background:#3FE07F;border-color:#3FE07F}}
@keyframes ck3k{0%,46%{transform:none;background:rgba(255,255,255,.5)}53%,100%{transform:translateX(16px);background:#002027}}
@keyframes bar1{0%,6%{height:0}17%,100%{height:var(--v)}}
@keyframes bar2{0%,11%{height:0}22%,100%{height:var(--v)}}
@keyframes bar3{0%,16%{height:0}27%,100%{height:var(--v)}}
@keyframes bar4{0%,21%{height:0}32%,100%{height:var(--v)}}
@keyframes bar5{0%,26%{height:0}37%,100%{height:var(--v)}}
@keyframes domType{0%,2%{width:0}30%,100%{width:17ch}}
@keyframes gooType{0%,2%{clip-path:inset(0 100% 0 0)}30%,100%{clip-path:inset(0 0 0 0)}}

.dom-typed{animation:domType var(--cyc) steps(17,end) infinite}
.dom-ok{animation:st3 var(--cyc) var(--ease) infinite}
.des-sw span:nth-child(1){animation:sw1 var(--cyc) var(--ease) infinite}
.des-sw span:nth-child(2){animation:sw2 var(--cyc) var(--ease) infinite}
.des-sw span:nth-child(3){animation:sw3 var(--cyc) var(--ease) infinite}
.des-sw span:nth-child(4){animation:sw4 var(--cyc) var(--ease) infinite}
.des-sw span:nth-child(5){animation:sw5 var(--cyc) var(--ease) infinite}
.des-fonts .dfn:nth-child(1){animation:st3 var(--cyc) var(--ease) infinite}
.des-fonts .dfn:nth-child(2){animation:st4 var(--cyc) var(--ease) infinite}
.des-fonts .dfn-pick{animation:st5 var(--cyc) var(--ease) infinite}
.des-comp span:nth-child(1){animation:st6 var(--cyc) var(--ease) infinite}
.des-comp span:nth-child(2){animation:st6 var(--cyc) var(--ease) .18s infinite}
.des-comp span:nth-child(3){animation:st6 var(--cyc) var(--ease) .36s infinite}
.goo-q span{animation:gooType var(--cyc) steps(19,end) infinite}
.goo-res{animation:st4 var(--cyc) var(--ease) infinite}
.ck p{animation:st1 var(--cyc) var(--ease) infinite}
.ck-t.on{animation:ck1 var(--cyc) var(--ease) infinite}
.ck-t.on::after{animation:ck1k var(--cyc) var(--ease) infinite}
.ck-t.t2{animation:ck2 var(--cyc) var(--ease) infinite}
.ck-t.t2::after{animation:ck2k var(--cyc) var(--ease) infinite}
.ck-t.t3{animation:ck3 var(--cyc) var(--ease) infinite}
.ck-t.t3::after{animation:ck3k var(--cyc) var(--ease) infinite}
.ck-btn{animation:st6 var(--cyc) var(--ease) infinite}
.sl.s1{animation:st2 var(--cyc) var(--ease) infinite}
.sl.s2{animation:st3 var(--cyc) var(--ease) infinite}
.sl.s3{animation:st4 var(--cyc) var(--ease) infinite}
.sl.s4{animation:st5 var(--cyc) var(--ease) infinite}
.ads-bars span:nth-child(1){animation:bar1 var(--cyc) var(--ease) infinite}
.ads-bars span:nth-child(2){animation:bar2 var(--cyc) var(--ease) infinite}
.ads-bars span:nth-child(3){animation:bar3 var(--cyc) var(--ease) infinite}
.ads-bars span:nth-child(4){animation:bar4 var(--cyc) var(--ease) infinite}
.ads-bars span:nth-child(5){animation:bar5 var(--cyc) var(--ease) infinite}
.ads-kpi div:nth-child(1){animation:st4 var(--cyc) var(--ease) infinite}
.ads-kpi div:nth-child(2){animation:st5 var(--cyc) var(--ease) infinite}

@media (max-width:1020px){
  .icard-in{grid-template-columns:1fr;gap:24px;min-height:0}
  .icard{margin-bottom:26vh}
}
@media (max-width:600px){
  .icard{border-radius:20px}
  .vz{min-height:180px;padding:16px}
  .ads-bars{height:72px}
}
/* Short screens: a 518px card can't fit centered in 540px and above
   the navbar. It compacts, so the parked one always stays whole. */
@media (max-height:760px){
  .icard-in{padding:16px 24px;gap:24px;min-height:0}
  .icard-copy h3{font-size:clamp(18px,2vw,24px);margin:12px 0 12px}
  .vz{min-height:0;padding:16px;gap:12px}
  .des-sw span{height:40px}
  .ads-bars{height:72px}
  .sec-scan{width:68px;height:68px}
  .icard{margin-bottom:24vh;top:max(70px, calc((100svh - var(--cardh)) / 2))}
}
@media (prefers-reduced-motion:reduce){
  .icard{position:relative!important;top:auto!important;margin-bottom:20px!important;
    transform:none!important;opacity:1!important}
  .vz *{animation:none!important;opacity:1!important;width:auto!important;transform:none!important}
  .ads-bars span{height:var(--v)!important}
  .des-sw span{height:52px!important}
  .goo-q span{clip-path:none!important}
}

/* ══ 07 support ══ */
.sup-chat{display:flex;flex-direction:column;gap:8px}
.bub{max-width:88%;padding:8px 12px;border-radius:12px;font-size:13px;line-height:1.5}
.bub-in{align-self:flex-start;background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.12);color:rgba(255,255,255,.78);border-bottom-left-radius:4px}
.bub-out{align-self:flex-end;background:rgba(63,224,127,.16);
  border:1px solid rgba(63,224,127,.4);color:var(--white);border-bottom-right-radius:4px}
.sup-meta{display:flex;flex-direction:column;gap:8px;margin-top:4px}
.sup-l{display:flex;align-items:center;gap:8px;font-family:var(--mono);font-size:11px;
  letter-spacing:.06em;color:rgba(255,255,255,.62)}
.sup-l i,.sup-l svg{display:inline-flex;color:var(--green)}
.sup-l svg{width:13px;height:13px;display:block}
.sup-no{color:rgba(255,255,255,.42)}
.sup-no i,.sup-no svg{color:rgba(255,255,255,.34)}
.bub.b1{animation:st2 var(--cyc) var(--ease) infinite}
.bub.b2{animation:st3 var(--cyc) var(--ease) infinite}
.bub.b3{animation:st4 var(--cyc) var(--ease) infinite}
.sup-meta .sup-l:nth-child(1){animation:st5 var(--cyc) var(--ease) infinite}
.sup-meta .sup-l:nth-child(2){animation:st6 var(--cyc) var(--ease) infinite}
.sup-meta .sup-l:nth-child(3){animation:st6 var(--cyc) var(--ease) .2s infinite}
/* ══ real images inside the cards ══ */
.shot{border-radius:var(--r-m);overflow:hidden;border:1px solid var(--glass-br);
  background:var(--navy-d);aspect-ratio:3/2}
.shot img{width:100%;height:100%;object-fit:cover;display:block;
  transition:transform .7s var(--ease)}
.stile:hover .shot img,.big:hover .shot img{transform:scale(1.04)}
/* image at the top of the type cards */
.stile-shot{margin-bottom:4px}
/* the "under the hood" diagram lives inside the What we build card */

/* ══════════════════════════════════════════════════════════════════
   WHAT WE BUILD — 2x2 grid
   row 1: text | image   ·   row 2: flow | list
   ══════════════════════════════════════════════════════════════════ */
.big{row-gap:clamp(28px,3.6vw,52px)}
.big-flow,.big-list-col{min-width:0}
.big-list-col{display:flex;align-items:center}
.big-list-col .big-list{margin:0}

/* ══ the staircase chain ══
   site top left · site CRM in the center · client
   CRM bottom right. The connectors are SVG curves whose points
   are computed by the JS from the real rectangles: they stay attached to the edges
   at any width. */
.chain{position:relative;display:grid;gap:clamp(40px,6vw,72px);margin-top:16px}
.ch-svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:0}
.ch-path{stroke:rgba(63,224,127,.34);stroke-width:1.5;stroke-linecap:round}

.ch-node{position:relative;z-index:1;width:min(252px,46%);
  display:flex;align-items:center;gap:12px;padding:12px 16px;border-radius:14px;
  background:var(--glass-bg-2);border:1px solid var(--glass-br);border-top-color:var(--glass-br-top);
  transition:border-color .24s var(--ease),background .24s var(--ease),transform .24s var(--ease)}
.ch-node:hover{border-color:rgba(63,224,127,.5);background:rgba(63,224,127,.07);transform:translateY(-2px)}
.ch-node[data-k="sito"]{justify-self:start}
.ch-node[data-k="hub"]{justify-self:center}
.ch-node[data-k="cliente"]{justify-self:end}
.ch-node>i,.ch-node>svg{display:inline-flex;color:var(--green);flex:none}
.ch-node>svg{width:18px;height:18px;display:block}
.ch-node>div{display:flex;flex-direction:column;gap:4px;min-width:0}
.ch-node span{font-family:var(--mono);font-size:11px;font-weight:700;letter-spacing:.06em;
  text-transform:uppercase;color:var(--white)}
.ch-node small{font-family:var(--sans);font-size:10.5px;letter-spacing:0;text-transform:none;
  color:rgba(255,255,255,.62)}
.ch-hub{border-color:rgba(63,224,127,.42)}
/* the destination node is NOT a button: same glass as the others, but a
   thicker solid green border and a diffuse glow — importance without a fill */
.ch-out{border-color:var(--green);border-top-color:var(--green);
  box-shadow:0 0 0 1px rgba(63,224,127,.45),0 12px 40px -14px rgba(63,224,127,.55)}
.ch-out>i,.ch-out>svg{color:var(--green)}
.ch-out span{color:var(--white)}
.ch-out small{color:rgba(255,255,255,.7)}
.ch-out:hover{background:rgba(63,224,127,.09);border-color:var(--green);
  box-shadow:0 0 0 1px rgba(63,224,127,.6),0 16px 48px -14px rgba(63,224,127,.7);
  transform:translateY(-2px)}

/* packets travel ALONG the curve: offset-path receives from the script
   the same path "d", so they can't detach from the line */
.ch-pk{position:absolute;left:0;top:0;width:24px;height:24px;border-radius:50%;z-index:2;
  display:grid;place-items:center;background:var(--navy-d);border:1px solid var(--green);
  box-shadow:0 0 16px -2px rgba(63,224,127,.7);
  opacity:0;transform-origin:50% 50%;will-change:transform,opacity}
.ch-pk>i,.ch-pk>svg{display:inline-flex;color:var(--green)}
.ch-pk>svg{width:13px;height:13px;display:block}

/* ── icon legend ── */
.ch-key{display:flex;gap:20px;flex-wrap:wrap;margin-top:24px}
.ch-key span{display:inline-flex;align-items:center;gap:8px;font-family:var(--mono);font-size:11px;
  letter-spacing:.1em;text-transform:uppercase;color:rgba(255,255,255,.62)}
.ch-key i,.ch-key svg{display:inline-flex;color:var(--green)}
.ch-key svg{width:13px;height:13px;display:block}

@media (max-width:600px){
  /* below 600px there's no horizontal room: the cards widen and the
     script switches to the vertical path on its own (see drawChain) */
  .ch-node{width:100%}
  .ch-node[data-k]{justify-self:stretch}
  .chain{gap:56px}
}
@media (prefers-reduced-motion:reduce){
  .ch-pk{opacity:1}
}

@media (max-width:1020px){
  .big-list-col{align-items:flex-start}
}
@media (prefers-reduced-motion:reduce){
  .ch-pk{animation:none;top:50%;opacity:1;transform:translate(-50%,-50%)}
  .ch-pk:nth-child(2),.ch-pk:nth-child(3){display:none}
}

/* ══════════════════════════════════════════════════════════════════
   "INSIDE THE SOFTWARE / INSIDE THE APP" STACK
   Same mechanics as the Website page stack, but the left
   column also carries the bullets, so the cards are taller.
   ══════════════════════════════════════════════════════════════════ */
.istack-tall{--cardh:540px}
@media (max-width:1020px){ .istack-tall{--cardh:700px} }
@media (min-width:1021px) and (max-height:760px){ .istack-tall{--cardh:450px} }
@media (max-width:1020px) and (max-height:760px){ .istack-tall{--cardh:625px} }
@media (max-width:600px){ .istack-tall{--cardh:820px} }
@media (max-width:600px) and (max-height:760px){ .istack-tall{--cardh:760px} }

.icard-list{margin-top:16px;gap:12px}
.icard-list li{font-size:13.5px;line-height:1.55;padding-bottom:12px}
.istack-tall .icard-copy h3{margin:12px 0 12px}
.istack-tall .icard-copy p{font-size:14.5px;line-height:1.6;max-width:42ch}
.bk-note{font-family:var(--mono);font-size:11px;letter-spacing:.12em;text-transform:uppercase;
  color:rgba(255,255,255,.5);margin-top:16px}
.lk-ring{position:absolute;inset:0;border-radius:20px;border:1px solid rgba(63,224,127,.5);
  animation:lkPulse 1.8s var(--ease) infinite}
@keyframes lkPulse{0%,100%{transform:scale(.9);opacity:.15}50%{transform:scale(1.06);opacity:.75}}
@media (prefers-reduced-motion:reduce){
  .lk-ring,.sy-pk{animation:none}
}

/* screens too short to park a card: the stack goes back to being a
   list in normal flow, so nothing is ever cut off */
@media (max-height:719px){
  .icard{position:relative;top:auto!important;height:auto;min-height:0;
    margin-bottom:20px;transform:none!important;opacity:1!important}
  .istack::after{display:none}
  .icard:last-child{margin-bottom:0}
}

/* the animations inside the cards do NOT loop: they play once
   when the card stops in the center and hold on the final state.
   Re-entering the card restarts them (see .icard:not(.on) → animation:none) */
.icard.on .vz *,.icard.on .vz *::before,.icard.on .vz *::after{
  animation-iteration-count:1!important;animation-fill-mode:forwards!important}
/* away from the center the animation panel is EMPTY: only its dark
   background shows. With the animation switched off its elements would
   show their final state, so the panel looked already finished and then
   restarted on arrival. The content appears only when the card is in the
   center (.on), together with the start of the animation; leaving, it
   empties again and plays from the start the next time.
   With reduced motion there is no "center" (no .on): always shown. */
@media (prefers-reduced-motion:no-preference){
  .icard:not(.on) .vz>*{opacity:0}
}
.icard .dom-caret{animation:none!important;opacity:1}

/* ══════════════════════════════════════════════════════════════════
   SERVICE SECTIONS (Marketing · Content · Social)
   row 1: title and description | animation   ·   row 2: what's included
   ══════════════════════════════════════════════════════════════════ */
.sblock.sx{display:flex;flex-direction:column;gap:clamp(24px,3vw,40px);padding:clamp(24px,3.2vw,48px)}
.sx-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,4vw,64px);align-items:center}
.sx-copy .num{font-family:var(--mono);font-size:11px;font-weight:700;letter-spacing:.2em;color:var(--green)}
.sx-copy h2{display:flex;align-items:center;gap:12px;font-size:clamp(22px,2.6vw,32px);margin:12px 0 0}
.sx-copy h2 svg{width:26px;height:26px;color:var(--green);flex:none}
.sx-viz .vz{min-height:212px}
.sx-inc{border-top:1px solid var(--glass-br);padding-top:clamp(20px,2.4vw,32px)}
.sx-lbl{font-family:var(--mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--green);margin-bottom:16px}
.sx-list{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(24px,4vw,56px)}
.sx-list li:nth-last-child(-n+2){border-bottom:none;padding-bottom:0}
/* animations start when the section comes into view, only once */
.sx:not(.in) .vz *,.sx:not(.in) .vz *::before,.sx:not(.in) .vz *::after{animation:none!important}
.sx.in .vz *,.sx.in .vz *::before,.sx.in .vz *::after{animation-iteration-count:1!important;animation-fill-mode:forwards!important}
.sx .dom-caret{animation:none!important;opacity:1}
@media (max-width:860px){
  .sx-top{grid-template-columns:1fr}
  .sx-list{grid-template-columns:1fr}
  .sx-list li:nth-last-child(2){border-bottom:1px solid rgba(255,255,255,.07);padding-bottom:12px}
}

/* section chats: bubbles aren't squashed by the flex column,
   and the column grows with the content instead of clipping it */
.sx .sup-chat{height:auto;min-height:0;overflow:visible;flex-shrink:0}
.sx .bub{flex-shrink:0;min-height:auto;max-width:88%}
/* the button label stays on one line and the pill adapts */
.sx .ck-btn{white-space:nowrap;width:auto;align-self:flex-start;padding-left:16px;padding-right:16px}
/* the logo concepts are three equivalent proposals: same family */
.sx .dfn{font-family:var(--sans)}

/* ══ Service sections STACK: same behavior as "always included",
   but the cards are taller (two rows) and can grow with the content ══ */
.sx-stack{--cardh:560px}
.sx-stack .icard{height:auto;min-height:var(--cardh);display:flex;align-content:normal}
@media (max-height:760px){.sx-stack{--cardh:500px}}
@media (max-width:1020px){.sx-stack{--cardh:620px}}
@media (max-width:1020px){
  /* stack cards go back to two columns: they fit and halve the height */
  .icard-in{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;padding:28px}
  .istack,.istack-tall,.sx-stack{--cardh:440px}
  .icard,.sx-stack .icard{height:auto;min-height:var(--cardh);margin-bottom:10vh}
  .sblock.sx .sx-top{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}
  .sblock.sx{gap:24px;padding:28px}
  .vz,.sx-viz .vz{min-height:180px}
}
@media (max-width:700px){
  .big-copy>p:not(.eyebrow)+p:not(.eyebrow){display:none}

  /* bullets: title only, the explanation stays in the HTML */
  .li-d{display:none}
  .slist,.icard-list,.sx-inc ul{gap:8px}
  .slist li{padding-bottom:8px;font-size:14px}
  .sx-inc ul{grid-template-columns:1fr 1fr!important;column-gap:16px}

  /* card stacks: one column, compact, reduced scroll travel */
  .icard-in{grid-template-columns:1fr;gap:16px;padding:20px}
  .istack,.istack-tall,.sx-stack{--cardh:0px}
  .icard,.sx-stack .icard{height:auto;min-height:0;margin-bottom:6vh;
    top:max(76px, calc((100svh - 560px) / 2))}
  .icard-copy h3,.sx-copy h2{font-size:21px;margin:8px 0 8px}
  .vz{min-height:0;padding:16px;gap:12px}
  .sblock.sx .sx-top{grid-template-columns:1fr;gap:16px}
  .sblock.sx{gap:16px;padding:20px 20px 28px}
  .sx-viz .vz{min-height:0}
  .sx-inc{padding-top:16px}
  .sx-lbl{margin-bottom:12px}
  .sx-copy p{margin-top:8px}
  .stile{padding:20px;gap:8px}

  .big{padding:20px;gap:24px}
  .ch-key{margin-top:16px;gap:12px}
  .istack::after{height:80px}
}
