.agency{background:#f5f5ef;color:#163c2c;font-family:'DM Sans',sans-serif;overflow-x:hidden}.agency *{box-sizing:border-box}.agency-wrap{width:min(1180px,calc(100% - 40px));margin:auto}.agency h1,.agency h2,.agency h3{font-family:'Instrument Serif',Georgia,serif;font-weight:400;line-height:.99;letter-spacing:-.035em}.agency-head,.agency-foot{background:#102c22;color:#f0f5ea}.agency-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:90px}.agency-bar nav{display:flex;align-items:center;gap:22px;font-weight:700;font-size:.88rem}.agency-contact{border:1px solid #72937b;padding:11px 18px;border-radius:22px}.agency-hero{background:radial-gradient(circle at 78% 30%,#38634b,transparent 53%),linear-gradient(120deg,#102a22,#1b4533);color:#f5f8ef}.agency-intro{display:grid;grid-template-columns:1.15fr .85fr;align-items:center;gap:44px;padding:73px 0;min-height:570px}.agency-eyebrow{font-size:.75rem;letter-spacing:.17em;font-weight:800;color:#7c9b85;margin-bottom:19px}.agency-hero .agency-eyebrow{color:#d2ecb4}.agency h1{font-size:clamp(3.3rem,6.8vw,6.4rem)}.agency h1 em{color:#d7f1a2}.agency-lead{color:#d9e8dc;line-height:1.7;font-size:1.1rem;margin:27px 0 30px;max-width:540px}.agency-button{background:#d7f19f;color:#173c2c;font-weight:750;display:inline-flex;align-items:center;gap:28px;border-radius:12px;padding:16px 22px;transition:transform .25s,background .25s}.agency-button:hover{transform:translateY(-3px);background:#efffc8}.agency-hero-art{position:relative;display:grid;place-items:center;height:400px}.agency-art-frame{width:320px;height:342px;background:linear-gradient(140deg,#edf3e2,#d4e7b8);border-radius:24px;display:flex;flex-direction:column;justify-content:space-between;padding:29px;color:#1e4330;box-shadow:22px 32px 48px #071d1577;transform:rotate(-5deg);z-index:1}.agency-art-frame small{font-size:.7rem;letter-spacing:.16em}.agency-art-frame strong{font:400 3.6rem/.96 'Instrument Serif',Georgia,serif}.agency-art-frame strong i{color:#548262}.agency-art-frame>span{border-top:1px solid #abc3ac;padding-top:13px;font-size:.74rem}.agency-art-ring{width:390px;height:390px;border:1px solid #abc6b164;border-radius:50%;position:absolute;transform:scaleX(.75)}.agency-offer{padding:100px 0}.agency-section-title{max-width:730px;margin-bottom:35px}.agency h2{font-size:clamp(2.75rem,5.3vw,4.8rem)}.agency h2 em{color:#739473}.agency-section-title>p:last-child{margin-top:18px;line-height:1.7;color:#576b5f}.agency-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.agency-card{min-height:600px;border-radius:25px;border:1px solid #d6dfd4;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 12px 35px #1b37211d;transition:transform .3s,box-shadow .3s}.agency-card:hover{transform:translateY(-7px);box-shadow:0 22px 48px #193b2930}.agency-card-live{background:#edf2e8}.agency-card-sites{background:#e3ede5}.agency-card-top{display:flex;align-items:center;justify-content:space-between;padding:24px 27px 0;font-weight:800;letter-spacing:.14em;font-size:.72rem}.agency-card-top span:last-child{display:grid;place-items:center;border:1px solid #9fb7a4;height:38px;width:38px;border-radius:50%;font-size:1.3rem}.agency-card-text{flex:1;display:flex;align-items:flex-start;flex-direction:column;padding:17px 30px 32px}.agency-card-text>p:first-child{font-size:.72rem;font-weight:800;letter-spacing:.12em;color:#709477}.agency h3{font-size:clamp(2.5rem,4vw,3.6rem);margin:10px 0 17px}.agency-card-text>p:not(:first-child){line-height:1.7;color:#526759}.agency-card-link{background:#17422f;color:white;border-radius:10px;padding:13px 18px;font-size:.92rem;font-weight:750;margin-top:auto;display:flex;gap:24px}.agency-card-link:hover{background:#35644b}.agency-approach{background:#e7eede;padding:87px 0}.agency-approach-grid{display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:center}.agency-approach-grid p:not(.agency-eyebrow){font-size:1.1rem;line-height:1.75;color:#566b5b;margin-bottom:25px}.agency-button-dark{background:#173c2c;color:#fff}.agency-foot .agency-wrap{padding:26px 0;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:.85rem}.agency-card-text.agency-text-only{padding:45px 36px 34px}.agency-text-only ul{margin:20px 0;padding-left:20px;line-height:2;color:#53705a}.agency-process{padding:95px 0}.agency-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.agency-steps>div{border-top:1px solid #a5bba6;padding-top:22px}.agency-steps h3{font-size:2.1rem;margin:15px 0}.agency-steps p{line-height:1.7;color:#5b705f;font-size:.94rem}
.agency-demo-live{height:205px;width:80%;margin:32px auto 10px;padding:20px;background:#183e30;border:8px solid #f6f8ee;border-radius:15px;box-shadow:15px 19px 32px #23452d44;color:white;transform:rotate(-4deg)}.agency-demo-bar{display:flex;gap:6px;align-items:center;margin-bottom:18px}.agency-demo-bar i{height:7px;width:7px;border-radius:50%;background:#8dad96;display:block}.agency-demo-live>strong{font-size:1.2rem}.agency-demo-live em{color:#d7f19f}.agency-demo-pills{display:flex;gap:7px;margin-top:18px}.agency-demo-pills span{font-size:.74rem;background:#466f55;border-radius:5px;padding:8px 11px}.agency-demo-line{height:8px;width:75%;border-radius:7px;background:#8cae95;margin-top:15px}.agency-demo-line.short{width:50%;margin-top:9px}.agency-demo-web{height:251px;padding:28px 40px 0;position:relative}.agency-browser{height:209px;border:7px solid white;border-radius:13px;background:#f3f3e9;overflow:hidden;transform:rotate(-3deg);box-shadow:16px 20px 30px #253b2845}.agency-browser .agency-demo-bar{background:#d8dfd6;padding:9px 13px;margin:0}.agency-browser .agency-demo-bar small{margin-left:auto;font-size:.6rem;color:#637969}.agency-browser-content{display:flex;flex-direction:column;gap:9px;padding:18px 21px}.agency-browser-content small{font-size:.6rem;letter-spacing:.13em;color:#627a64}.agency-browser-content strong{font:400 2.25rem/.95 'Instrument Serif',Georgia,serif}.agency-browser-content strong em{color:#78a078}.agency-browser-content>span{font-size:.65rem;background:#d7efa9;border-radius:5px;padding:7px 10px;align-self:flex-start}.agency-phone{position:absolute;right:19px;bottom:0;width:79px;height:145px;border:6px solid #153b2d;border-radius:17px;background:#f3f5eb;box-shadow:8px 12px 22px #153b2d52;transform:rotate(7deg);padding:12px 7px}.agency-phone div,.agency-phone i{display:block;background:#a0bcab;border-radius:5px;height:11px;margin-bottom:10px}.agency-phone div{height:5px;width:28px;margin:-5px auto 15px;background:#173b2c}.agency-phone i:nth-child(3){height:41px}.agency-motion .reveal{opacity:0;transform:translateY(24px);transition:opacity .76s ease,transform .76s ease}.agency-motion .reveal.is-visible{opacity:1;transform:none}
@media(max-width:900px){.agency-intro{grid-template-columns:1fr;gap:5px;min-height:auto;padding:60px 0 30px}.agency-hero-art{height:290px}.agency-art-frame{height:255px;width:250px;padding:20px}.agency-art-frame strong{font-size:2.9rem}.agency-art-ring{width:260px;height:260px}.agency-steps{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.agency-wrap{width:calc(100% - 36px)}.agency-bar{min-height:78px}.agency-bar img{width:109px;height:60px}.agency-bar nav{gap:10px;font-size:.75rem}.agency-bar nav a:nth-child(2){display:none}.agency-contact{padding:9px}.agency h1{font-size:clamp(3.45rem,12vw,5rem)}.agency-lead{font-size:1rem}.agency-hero-art{height:215px}.agency-art-frame{width:220px;height:207px;padding:17px;border-radius:18px}.agency-art-frame strong{font-size:2.45rem}.agency-art-ring{height:215px;width:215px}.agency-offer{padding:64px 0}.agency-cards{grid-template-columns:1fr;gap:19px}.agency-card{min-height:565px}.agency-card-text{padding:17px 24px 28px}.agency h3{font-size:3.1rem}.agency-demo-live{width:80%;height:195px}.agency-demo-web{padding:25px;height:230px}.agency-browser-content strong{font-size:1.9rem}.agency-phone{right:12px}.agency-approach{padding:65px 0}.agency-approach-grid{grid-template-columns:1fr;gap:23px}.agency-foot .agency-wrap{display:grid;justify-content:start;gap:10px}}
@media(max-width:360px){.agency-bar nav a:first-child{display:none}.agency h1{font-size:3.25rem}}
@media(prefers-reduced-motion:reduce){.agency-motion .reveal{opacity:1;transform:none;transition:none}.agency-button,.agency-card{transition:none}}

/* Mobile overflow hardening: retain the desktop composition. */
html:has(body.agency){max-width:100%;overflow-x:clip}
body.agency{width:100%;max-width:100%;overflow-x:clip}
.agency main,.agency section,.agency header,.agency footer{max-width:100%}
.agency-wrap,.agency-intro,.agency-approach-grid,.agency-steps,.agency-cards,
.agency-card,.agency-card-text,.agency-hero-art,.agency-art-frame,
.agency-bar,.agency-bar nav{min-width:0}
.agency h1,.agency h2,.agency h3{overflow-wrap:break-word}
.agency-hero,.agency-hero-art,.agency-demo-web{overflow:hidden}
.agency-card{max-width:100%}
.agency-demo-live,.agency-browser,.agency-phone{max-width:100%}
@media(max-width:650px){
  .agency-intro,.agency-approach-grid,.agency-cards{grid-template-columns:minmax(0,1fr)}
  .agency-bar nav{flex-shrink:1;justify-content:flex-end;flex-wrap:wrap}
  .agency-bar nav a{white-space:normal;text-align:center}
  .agency-hero-art{width:100%;max-width:100%;overflow:hidden}
  .agency-art-frame{max-width:calc(100% - 36px)}
  .agency-art-ring{width:min(215px,90vw);height:min(215px,90vw)}
  .agency-demo-web{max-width:100%;padding-inline:16px;isolation:isolate}
  .agency-browser{width:calc(100% - 12px);transform:rotate(-1deg)}
  .agency-phone{width:68px;right:8px}
  .agency h1{font-size:clamp(2.95rem,11.5vw,5rem)}
  .agency h2{font-size:clamp(2.6rem,9.5vw,4.1rem)}
  .agency-card-text.agency-text-only{padding:30px 23px}
  .agency-text-only h3{font-size:clamp(2.6rem,10.5vw,3.6rem)}
  .agency-steps{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
}
@media(max-width:380px){
  .agency-wrap{width:calc(100% - 28px)}
  .agency-bar nav{gap:5px}
  .agency-bar .agency-contact{font-size:.72rem;padding:8px}
  .agency-card-text{padding-inline:20px}
  .agency-demo-web{padding-inline:10px}
}


/* Official Max & Sam visual: fluid on all devices, no cropped faces or lettering. */
.agency-founder-banner{background:linear-gradient(180deg,#070c0c,#122b23);overflow:hidden;padding:clamp(8px,1.4vw,18px) 0}
.agency-founder-banner .agency-wrap{max-width:1120px}
.agency-founder-banner img{display:block;width:100%;max-width:100%;height:auto;object-fit:contain;margin-inline:auto}
@media(max-width:650px){
 .agency-founder-banner{padding:9px 0}
 .agency-founder-banner .agency-wrap{width:calc(100% - 12px)}
 .agency-founder-banner img{width:100%;height:auto}
}


/* Commercial experience polish — isolated to .agency pages.
   Stable navigation, lighter hero image, differentiated cards and purposeful motion. */
.agency-head{
  position:sticky;top:0;z-index:60;
  background:rgba(16,44,34,.96);
  -webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);
  transition:box-shadow .3s ease,background .3s ease;
}
.agency-head.is-scrolled{background:rgba(13,38,30,.94);box-shadow:0 12px 35px rgba(7,28,21,.25)}
.agency-head::after{
  content:"";position:absolute;bottom:0;left:0;height:2px;width:100%;
  background:linear-gradient(90deg,#d5efa0,#e9ab7d);
  transform:scaleX(var(--agency-progress,0));transform-origin:left;
  pointer-events:none;
}
.agency-bar{min-height:76px}
.agency-bar img{max-height:64px}
.agency-bar nav>a:not(.agency-contact){position:relative;padding:9px 0}
.agency-bar nav>a:not(.agency-contact)::after{
  content:"";position:absolute;left:0;bottom:3px;width:100%;height:2px;
  background:#d8f3a0;transform:scaleX(0);transform-origin:left;
  transition:transform .25s ease;
}
.agency-bar nav>a:not(.agency-contact):hover::after,
.agency-bar nav>a:not(.agency-contact):focus-visible::after,
.agency-bar nav>a[aria-current="location"]::after{transform:scaleX(1)}
.agency :is(#servizi,#approccio,#cosa-facciamo,#metodo){scroll-margin-top:105px}
.agency-founder-banner{background:radial-gradient(circle at 50% 100%,#1b4434,#080e0d 72%);padding:4px 0 12px}
.agency-founder-banner .agency-wrap{max-width:860px}
.agency-founder-banner img{max-height:475px;width:auto;max-width:100%;height:auto;
 filter:drop-shadow(0 15px 23px rgba(0,0,0,.15))}
.agency-hero{
 background:radial-gradient(ellipse at 79% 30%,#3d6952 0,transparent 54%),
 linear-gradient(115deg,#0d2922,#204633 76%);
 position:relative;
}
.agency-hero::after{
 content:"";position:absolute;right:-12%;top:-30%;width:52%;height:125%;
 background:radial-gradient(ellipse,#c0e5a312,transparent 68%);
 pointer-events:none;animation:agency-glow 12s ease-in-out infinite alternate;
}
.agency-intro{position:relative;z-index:1}
.agency-hero-art{animation:agency-float 7s ease-in-out infinite}
.agency-art-ring{animation:agency-orbit 18s linear infinite}
.agency-card{
 border:1px solid transparent;
 isolation:isolate;
 transform-origin:center 65%;
 transition:transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s ease,border-color .35s ease;
}
.agency-card-live{
 background:linear-gradient(145deg,#e6f2e9 5%,#cbe4d5 100%);
 border-color:#b3d7c0;
}
.agency-card-sites{
 background:linear-gradient(145deg,#fff0df 0%,#f3d9d5 55%,#e8d1df 100%);
 border-color:#e4b9af;
}
.agency-card::before{
 content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
 background:radial-gradient(390px circle at var(--mx,50%) var(--my,38%),#ffffffa0,transparent 68%);
 opacity:0;transition:opacity .35s ease;
}
.agency-card::after{
 content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
 box-shadow:inset 0 0 0 0 transparent;transition:box-shadow .35s;
}
.agency-card:hover::before,.agency-card:focus-within::before{opacity:1}
.agency-card:hover::after,.agency-card:focus-within::after{box-shadow:inset 0 0 0 3px #fff9}
.agency-card-live:hover,.agency-card-live:focus-within{
 border-color:#488f6b;box-shadow:0 32px 70px #1c684737,0 0 0 3px #72b58a33;
}
.agency-card-sites:hover,.agency-card-sites:focus-within{
 border-color:#c77869;box-shadow:0 32px 70px #994b5b33,0 0 0 3px #d7908133;
}
.agency .agency-card.reveal.is-visible:hover,
.agency .agency-card.reveal.is-visible:focus-within{transform:translateY(-12px) scale(1.015)}
.agency-card-top>span:last-child{transition:transform .3s ease,background .3s ease}
.agency-card:hover .agency-card-top>span:last-child{transform:rotate(42deg);background:#ffffff9c}
.agency-card-link{transition:background .25s,transform .25s,box-shadow .25s}
.agency-card:hover .agency-card-link{transform:translateX(5px);box-shadow:0 8px 24px #142e2d28}
.agency-card-sites .agency-card-link{background:#733f54}
.agency-card-sites .agency-card-link:hover,.agency-card-sites:hover .agency-card-link{background:#9b5261}
.agency-card-sites .agency-card-text>p:first-child,.agency-card-sites .agency-card-top{color:#834d58}
.agency-card-live .agency-card-text>p:first-child{color:#357957}
.agency-card-sites .agency-browser{box-shadow:18px 22px 38px #8c4b5540}
.agency-card-sites .agency-phone{border-color:#744755}
.agency-card-sites .agency-browser-content>span{background:#efbca9}
.agency-card-sites .agency-browser-content strong em{color:#ac6370}
.agency-card-sites .agency-browser .agency-demo-bar{background:#e8cdd0}
.agency-card-sites .agency-phone i:nth-child(3){background:#d7a2aa}
.agency-demo-live,.agency-browser,.agency-phone{
 transition:transform .45s cubic-bezier(.2,.7,.15,1),box-shadow .4s;
}
.agency-card-live:hover .agency-demo-live{transform:rotate(-1deg) translateY(-7px)}
.agency-card-sites:hover .agency-browser{transform:rotate(0deg) translateY(-7px)}
.agency-card-sites:hover .agency-phone{transform:rotate(1deg) translateY(-5px)}
.agency-steps>div{position:relative;padding-inline:12px;border-radius:10px;transition:background .25s,transform .25s}
.agency-steps>div:hover{background:#e6eee4;transform:translateY(-5px)}
.agency-motion .agency-section-title.reveal.is-visible{transition-delay:.03s}
.agency-motion .agency-cards>.reveal:nth-child(2){transition-delay:.16s}
.agency-motion .agency-steps>.reveal:nth-child(2){transition-delay:.09s}
.agency-motion .agency-steps>.reveal:nth-child(3){transition-delay:.17s}
.agency-motion .agency-steps>.reveal:nth-child(4){transition-delay:.24s}
@keyframes agency-float{0%,100%{translate:0 0}50%{translate:0 -10px}}
@keyframes agency-orbit{0%{rotate:0deg}100%{rotate:360deg}}
@keyframes agency-glow{0%{opacity:.3;transform:translateY(-12px)}100%{opacity:.75;transform:translateY(16px)}}
@media(max-width:900px){
 .agency-head{position:sticky;top:0}
 .agency-bar{min-height:70px}
 .agency-bar img{max-height:56px}
 .agency-founder-banner .agency-wrap{max-width:760px}
 .agency-founder-banner img{max-height:none;width:100%}
}
@media(max-width:650px){
 .agency-bar{min-height:68px}
 .agency-bar img{max-height:54px}
 .agency-founder-banner .agency-wrap{width:calc(100% - 14px)}
 .agency-founder-banner img{width:100%;height:auto}
 .agency :is(#servizi,#approccio,#cosa-facciamo,#metodo){scroll-margin-top:86px}
 .agency-card{min-width:0}
 .agency .agency-card.reveal.is-visible:hover,
 .agency .agency-card.reveal.is-visible:focus-within{transform:translateY(-4px)}
 .agency-card-sites .agency-browser{width:calc(100% - 12px)}
}
@media(hover:none){
 .agency-card::before{display:none}
 .agency .agency-card.reveal.is-visible:hover{transform:none}
 .agency-card:hover .agency-demo-live{transform:rotate(-4deg)}
 .agency-card-sites:hover .agency-browser{transform:rotate(-1deg)}
 .agency-card-sites:hover .agency-phone{transform:rotate(7deg)}
}
@media(prefers-reduced-motion:reduce){
 .agency-head,.agency-card,.agency-card::before,.agency-card::after,
 .agency-demo-live,.agency-browser,.agency-phone,.agency-hero-art,
 .agency-art-ring,.agency-hero::after,.agency-steps>div{animation:none!important;transition:none!important}
 .agency-motion .agency-card.reveal.is-visible:hover{transform:none!important}
}

/* Give the whole service card a reliable click target while retaining one accessible link. */
.agency-card{position:relative}
.agency-card-link::after{content:"";position:absolute;inset:0;z-index:3}
.agency-card:focus-within{outline:3px solid #b9e297;outline-offset:4px}
.agency-card-link:focus-visible{outline:0}
@media(hover:none){
 .agency-card-link::after{display:none}
}


/* Commercial landing revision: calm blue/teal palette, low-cost motion and real mobile navigation.
   Scoped to agency pages; no product app or ON AIR selectors affected. */
.agency-card-sites{
 background:linear-gradient(145deg,#e9f4f4 0%,#dbe9f1 62%,#d2e0ec 100%);
 border-color:#9fbecc;
}
.agency-card-sites .agency-card-top,
.agency-card-sites .agency-card-text>p:first-child{color:#326477}
.agency-card-sites .agency-card-link{background:#255a70}
.agency-card-sites .agency-card-link:hover,
.agency-card-sites:hover .agency-card-link{background:#347c91}
.agency-card-sites .agency-browser{box-shadow:10px 14px 25px #244e6640}
.agency-card-sites .agency-phone{border-color:#315c73}
.agency-card-sites .agency-browser-content>span{background:#bcdee7}
.agency-card-sites .agency-browser-content strong em{color:#487e97}
.agency-card-sites .agency-browser .agency-demo-bar{background:#c6dce6}
.agency-card-sites .agency-phone i:nth-child(3){background:#9dc4d1}
.agency-card-sites:hover,.agency-card-sites:focus-within{
 border-color:#347c91;box-shadow:0 15px 35px #295c7028,0 0 0 2px #82b7c943;
}
.agency-card-live:hover,.agency-card-live:focus-within{
 box-shadow:0 15px 35px #1c68472b,0 0 0 2px #72b58a43;
}
/* Avoid expensive continuously repainted blur, orbits, animated background and spotlight. */
.agency-head{
 -webkit-backdrop-filter:none;
 backdrop-filter:none;
 background:#102c22;
 transition:box-shadow .18s ease,background .18s ease;
}
.agency-head.is-scrolled{background:#112f25;box-shadow:0 5px 16px #071c1530}
.agency-head::after{display:none}
.agency-hero::after{display:none}
.agency-hero-art,.agency-art-ring{animation:none}
.agency-card::before{display:none}
.agency-card::after{display:none}
.agency-card,.agency-demo-live,.agency-browser,.agency-phone{will-change:auto}
.agency-card{
 transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
.agency .agency-card.reveal.is-visible:hover,
.agency .agency-card.reveal.is-visible:focus-within{
 transform:translateY(-6px);
}
.agency-motion .reveal{
 transition:opacity .48s ease,transform .48s ease;
}
.agency-motion .agency-cards>.reveal:nth-child(2),
.agency-motion .agency-steps>.reveal:nth-child(2),
.agency-motion .agency-steps>.reveal:nth-child(3),
.agency-motion .agency-steps>.reveal:nth-child(4){transition-delay:0s}
.agency-menu-toggle{display:none}
.agency-bar nav>a[aria-current="page"]{color:#d8f3a0}
@media(max-width:700px){
 .agency-head{position:sticky;top:0;z-index:80;overflow:visible}
 .agency-bar{min-height:66px;position:relative;gap:12px}
 .agency-bar>a:first-child{flex:0 0 auto}
 .agency-bar img{max-height:52px}
 .agency-menu-toggle{
  display:inline-flex;align-items:center;gap:5px;justify-content:center;
  min-height:44px;padding:9px 15px;border:1px solid #73977f;border-radius:12px;
  background:#194636;color:#f1f7ee;font:700 .9rem 'DM Sans',system-ui,sans-serif;
  cursor:pointer;flex:0 0 auto;
 }
 .agency-menu-toggle span{display:none}
 .agency-menu-toggle b{font:inherit}
 .agency-menu-toggle::before{content:"☰";font-size:1.35rem;font-weight:400;margin-right:5px}
 .agency-menu-toggle[aria-expanded="true"]::before{content:"×";font-size:1.65rem}
 .agency-bar nav{
  display:none;
  position:absolute;
  left:0;right:0;top:calc(100% - 1px);
  z-index:90;
  padding:14px;
  margin:0;
  flex-direction:column;
  align-items:stretch;
  flex-wrap:nowrap;
  gap:5px;
  border-radius:0 0 15px 15px;
  background:#133529;
  box-shadow:0 15px 25px #081a1540;
  max-height:calc(100dvh - 72px);
  overflow-y:auto;
 }
 .agency-bar nav.is-open{display:flex}
 .agency-bar nav a,.agency-bar nav a:nth-child(2),.agency-bar nav a:first-child{
  display:block;
  white-space:normal;
  font-size:.99rem;
  color:#f2f7ef;
  padding:14px 17px;
  border-radius:9px;
  text-align:left;
 }
 .agency-bar nav a:hover,.agency-bar nav a:focus-visible{background:#285540}
 .agency-bar nav a[aria-current="page"]{color:#dbf2a9;background:#24513b}
 .agency-bar nav .agency-contact{border:1px solid #769e83;margin-top:5px}
 .agency :is(#servizi,#approccio,#cosa-facciamo,#metodo){scroll-margin-top:82px}
 .agency .agency-card.reveal.is-visible:hover{transform:none}
}
@media(prefers-reduced-motion:reduce){
 .agency-card,.agency-head,.agency-motion .reveal{transition:none!important}
}


/* Marketing page usability: readable button states and scoped Sam consultation. */
.agency :is(button,input,select,textarea){font-family:inherit}
.agency button{cursor:pointer}
.agency .agency-button{border:0;text-decoration:none;font:750 1rem 'DM Sans',system-ui,sans-serif;line-height:1.4}
.agency .agency-button:not(.agency-button-dark),
.agency .agency-button:not(.agency-button-dark):is(:hover,:active,:focus-visible){
 color:#16372b;
}
.agency .agency-button-dark{background:#183c2c;color:#fff}
.agency .agency-button-dark:is(:hover,:active,:focus-visible){
 background:#d9f2a7;color:#153727;
 box-shadow:0 10px 22px #102c2240;
}
.agency .agency-card-link:is(:hover,:active,:focus-visible){color:#fff}
.agency .agency-card-sites .agency-card-link:is(:hover,:active,:focus-visible){
 background:#367f95;color:#fff
}
.agency :is(.agency-menu-toggle,.agency-sam-next,.agency-sam-send):is(:hover,:active,:focus-visible){
 background:#d9f2a7;color:#153727;
}
.agency :is(a,button,input,select,textarea):focus-visible{outline:3px solid #93cdb2;outline-offset:3px}
.agency-sam-dialog{
 box-sizing:border-box;width:min(570px,calc(100% - 28px));max-height:min(92dvh,800px);
 overflow:auto;border:1px solid #abc9b3;border-radius:22px;padding:0;margin:auto;
 box-shadow:0 28px 100px #0618108a;background:#f7f8f2;color:#163c2c;
}
.agency-sam-dialog::backdrop{background:#061b15b8;backdrop-filter:blur(3px)}
.agency-sam-shell{padding:clamp(17px,4vw,30px)}
.agency-sam-top{display:flex;align-items:center;gap:14px}
.agency-sam-avatar{width:58px;height:58px;object-fit:contain;flex:0 0 auto;border-radius:50%;background:#dceae0}
.agency-sam-top>div{flex:1;min-width:0}
.agency-sam-top p{font-size:.69rem;font-weight:800;letter-spacing:.15em;color:#588168}
.agency-sam-top h2{font-size:2.55rem;line-height:1}
.agency-sam-close{width:43px;height:43px;flex:0 0 43px;display:grid;place-items:center;font-size:1.7rem;border:1px solid #cfdbcf;border-radius:50%;background:#fff;color:#234d34}
.agency-sam-close:hover,.agency-sam-close:focus-visible{background:#254c39;color:#fff}
.agency-sam-intro{margin:16px 0 16px;color:#52685a;line-height:1.55}
.agency-sam-meter{height:5px;border-radius:9px;overflow:hidden;background:#dae5d9}
.agency-sam-meter-bar{display:block;height:100%;width:33.333%;background:#357c59;transition:width .2s ease}
.agency-sam-meter-bar[data-step="2"]{width:66.666%}
.agency-sam-meter-bar[data-step="3"]{width:100%}
.agency-sam-count{font-size:.75rem;font-weight:750;color:#65826c;margin:11px 0 17px}
.agency-sam-step[hidden]{display:none!important}
.agency-sam-step h3{font:400 2.2rem/1 'Instrument Serif',Georgia,serif;margin:0 0 19px}
.agency-sam-step label{display:grid;gap:7px;margin-bottom:14px;font-size:.9rem;font-weight:700;color:#244c39}
.agency-sam-step :is(input:not([type=checkbox]),select,textarea){
 width:100%;min-width:0;min-height:44px;border:1px solid #bed1c0;border-radius:9px;
 background:#fff;color:#153629;font:400 1rem/1.4 'DM Sans',system-ui,sans-serif;
 padding:10px 12px;box-sizing:border-box;
}
.agency-sam-step textarea{resize:vertical;min-height:87px}
.agency-sam-step input::placeholder,.agency-sam-step textarea::placeholder{color:#71897a}
.agency-sam-step :is(input,select,textarea):focus{border-color:#438060}
.agency-sam-step .agency-sam-privacy{
 display:flex;align-items:flex-start;gap:10px;font-size:.8rem;line-height:1.55;font-weight:500;color:#4a6254;
}
.agency-sam-privacy input{accent-color:#27754d;min-width:19px;min-height:19px;margin-top:1px}
.agency-sam-error{font-size:.87rem;color:#a03531;min-height:19px;margin:8px 0}
.agency-sam-actions{display:flex;justify-content:space-between;align-items:center;gap:12px}
.agency-sam-actions button{border:0;border-radius:11px;padding:12px 18px;min-height:45px;font-weight:750;font-size:.91rem}
.agency-sam-actions button[hidden]{display:none}
.agency-sam-next,.agency-sam-send{margin-left:auto;color:#fff;background:#174a35}
.agency-sam-back{color:#264b38;background:#dfe9df}
.agency-sam-back:hover{background:#cbdccc;color:#143824}
.agency-sam-note{font-size:.74rem;color:#687c6e;line-height:1.5;margin:13px 0 0}
.agency-web-showcase{padding:78px 0 95px}
.agency-web-examples{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.agency-example{min-width:0;padding:16px 16px 26px;border-radius:21px;background:#fff;border:1px solid #d8e2d8;box-shadow:0 12px 28px #1c412612;transition:transform .2s,box-shadow .2s}
.agency-example:hover{transform:translateY(-6px);box-shadow:0 18px 35px #1c41262b}
.agency-example-browser{border:6px solid #f0f2ee;border-radius:12px;overflow:hidden;box-shadow:0 9px 17px #12291b23}
.agency-example-tabs{display:flex;gap:5px;align-items:center;min-height:30px;padding:8px 9px;background:#dde9dd}
.agency-example-tabs i{display:block;height:6px;width:6px;border-radius:50%;background:#91ad9b}
.agency-example-tabs span{margin-left:auto;font-size:.58rem;color:#56715f}
.agency-example-visual{height:210px;padding:20px;display:flex;flex-direction:column;justify-content:space-between}
.agency-example-visual small{letter-spacing:.12em;font-size:.58rem;font-weight:800}
.agency-example-visual strong{font:400 clamp(1.7rem,2.75vw,2.5rem)/.93 'Instrument Serif',Georgia,serif}
.agency-example-cta{align-self:flex-start;border:1px solid currentColor;border-radius:7px;padding:7px 9px;font-size:.67rem}
.agency-example-one .agency-example-visual{background:#f4ede4;color:#352f2b}
.agency-example-one .agency-example-visual strong em{color:#ab7e61}
.agency-example-two .agency-example-visual{background:linear-gradient(155deg,#355747,#102d27);color:#fff}
.agency-example-two .agency-example-visual strong em{color:#d8e6a9}
.agency-example-three .agency-example-visual{background:linear-gradient(145deg,#e0edf3,#b7d4e7);color:#213f62}
.agency-example-three .agency-example-visual strong em{color:#577c9d}
.agency-example h3{font-size:2rem;margin:19px 0 7px}
.agency-example p{font-size:.9rem;line-height:1.55;color:#5b6f60}
.agency-showcase-caption{font-size:.8rem;color:#6b806f;margin-top:17px}
.agency-web-offer{padding:78px 0 95px;background:linear-gradient(130deg,#e7efe5,#e6eee9)}
.agency-offer-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);align-items:start;gap:clamp(30px,5vw,75px)}
.agency-offer-grid>div>p:not(.agency-eyebrow){font-size:1.05rem;line-height:1.75;color:#52685a;margin:20px 0}
.agency-editor-preview{background:#fff;border:1px solid #c6d8cd;border-radius:16px;box-shadow:0 15px 32px #17352419;overflow:hidden;max-width:510px}
.agency-editor-toolbar{display:flex;justify-content:space-between;align-items:center;gap:8px;background:#173f2e;color:#e8f4eb;padding:12px 15px;font-size:.7rem;font-weight:800;letter-spacing:.08em}
.agency-editor-publish{padding:7px 11px;background:#d7efae;color:#143b2a;border-radius:6px}
.agency-editor-sample{display:grid;gap:12px;padding:25px;background:linear-gradient(130deg,#f9f8f0,#eaf3ee)}
.agency-editor-outline{border:2px dashed #8fae99;padding:20px 13px;border-radius:8px;color:#406852;background:#ffffffaa}
.agency-editor-preview small{display:block;padding:12px 14px;font-size:.74rem;color:#637969;line-height:1.45}
.agency-price-card{background:#143d31;color:#eef7ef;padding:clamp(25px,4vw,38px);border-radius:23px;box-shadow:0 24px 55px #133a292c}
.agency-price-eyebrow{color:#b5d9bd;font-size:.7rem;letter-spacing:.14em;font-weight:800}
.agency-price{font:400 clamp(4rem,8vw,6.5rem)/1 'Instrument Serif',Georgia,serif;margin:15px 0 0;color:#e6f6c6}
.agency-price span{font-size:.56em}
.agency-price-subtitle{color:#c1d7c7;margin:0 0 18px}
.agency-price-card ul{list-style:none;padding:0;margin:20px 0;display:grid;gap:15px}
.agency-price-card li{position:relative;padding-left:24px;line-height:1.5}
.agency-price-card li::before{content:"✓";position:absolute;left:0;color:#d5f5ad;font-weight:800}
.agency-price-card code{font-size:.87em;overflow-wrap:anywhere;color:#e5f7c8}
.agency-price-disclaimer{font-size:.78rem;line-height:1.5;color:#bdd7c4;border-top:1px solid #648d73;padding-top:17px;margin:19px 0 23px}
.agency-price-card .agency-button-dark{background:#d9f2a7;color:#173c2b}
.agency-price-card .agency-button-dark:is(:hover,:active,:focus-visible){background:#fff;color:#12372a}
@media(max-width:850px){
 .agency-web-examples{grid-template-columns:repeat(2,minmax(0,1fr))}
 .agency-offer-grid{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:650px){
 .agency-web-showcase,.agency-web-offer{padding:64px 0}
 .agency-web-examples{grid-template-columns:minmax(0,1fr)}
 .agency-example-visual{height:200px}
 .agency-sam-dialog{width:calc(100% - 18px);max-height:94dvh;border-radius:15px}
 .agency-sam-top h2{font-size:2.2rem}
 .agency-sam-step h3{font-size:1.9rem}
 .agency-sam-shell{padding:19px}
}
@media(prefers-reduced-motion:reduce){
 .agency-example,.agency-sam-meter-bar{transition:none}
}

/* Shared assistance guide */
.sam-kb-web details{margin:12px 0;padding:16px;border:1px solid currentColor;border-radius:12px;overflow-wrap:anywhere}.sam-kb-web summary{cursor:pointer;font-weight:700}.sam-kb-web details p{line-height:1.65;margin:12px 0 0}.sam-kb-links{display:flex;flex-wrap:wrap;gap:12px}.sam-kb-version{font-size:.85rem;line-height:1.55;opacity:.85}.sam-kb-web a{max-width:100%;white-space:normal}
