/*! Repost Studio – sezioni servizi nello stile di Selected Work (v1) */

/* etichetta sopra il titolo: cartella + "Servizio" + numero */
.rsv-eyebrow{
  display:flex; align-items:center; gap:14px; margin:0 0 14px;
  font-family:Poppins, Helvetica, Arial, sans-serif; color:var(--rsw-purple,#6c2887);
}
.rsv-eyebrow img{ width:46px; height:auto; transition:transform .5s var(--rsw-bounce); }
.rsv-eyebrow:hover img{ transform:translateY(-5px) rotate(-8deg) scale(1.08); }
.rsv-eyebrow .rsv-cat{ font-size:13px; font-weight:700; letter-spacing:.16em; text-transform:uppercase; }
.rsv-eyebrow .rsv-n{
  min-width:34px; height:34px; padding:0 10px; border-radius:999px; box-sizing:border-box;
  display:grid; place-items:center; font-size:12px; font-weight:700; color:#000; background:var(--rsw-gold,#fec144);
}
.rsv-eyebrow::after{
  content:""; flex:1; height:2px; border-radius:2px; min-width:40px;
  background:linear-gradient(90deg,var(--rsw-purple,#6c2887),var(--rsw-gold,#fec144));
  transform-origin:left; transform:scaleX(0); transition:transform 1.1s var(--rsw-ease) .25s;
}
.rsv-in.rsv-eyebrow::after, .rsv-in .rsv-eyebrow::after{ transform:scaleX(1); }

/* titolo grande come "Selected Work" */
.rsv-title, .rsv-title .et_pb_text_inner{ height:auto !important; min-height:0 !important; }
.rsv-title :is(h1,h2,h3,h4,p,span){
  font-family:Poppins, Helvetica, Arial, sans-serif !important;
  font-weight:800 !important; line-height:1.02 !important; letter-spacing:-.02em !important;
  font-size:clamp(34px,4.2vw,64px) !important; color:#000 !important; margin:0 !important; padding:0 !important;
}
.rsv-desc :is(p,span){ color:#555 !important; font-size:clamp(15px,1.15vw,18px) !important; line-height:1.6 !important; }

/* punti elenco → righe come i progetti */
.rsv-row{ position:relative; margin:0 !important; padding:clamp(14px,1.5vw,20px) 0 !important; cursor:default; }
.rsv-row::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:1px; background:rgba(0,0,0,.14);
  transform-origin:left; transform:scaleX(0); transition:transform .9s var(--rsw-ease) var(--d,0s);
}
.rsv-row.rsv-in::after{ transform:scaleX(1); }
.rsv-row .et_pb_main_blurb_image{ display:none !important; }
.rsv-row .et_pb_blurb_content{
  display:grid !important; grid-template-columns:44px 1fr 52px; align-items:center; gap:12px;
  max-width:none !important; text-align:left !important;
}
.rsv-row .et_pb_blurb_container{ padding:0 !important; min-width:0; }
.rsv-num{ font:700 12px/1 Poppins, sans-serif; letter-spacing:.1em; color:#9a9a9a; transition:color .3s ease; }
.rsv-row .et_pb_module_header{
  display:inline; padding:0 !important; margin:0 !important;
  font-family:Poppins, Helvetica, Arial, sans-serif !important; font-weight:800 !important;
  font-size:clamp(20px,1.9vw,28px) !important; line-height:1.15 !important; letter-spacing:-.01em !important; color:#111 !important;
  background:linear-gradient(transparent 60%, rgba(254,193,68,.9) 60%, rgba(254,193,68,.9) 92%, transparent 92%) no-repeat 0 0 / 0% 100%;
  transition:background-size .5s var(--rsw-ease);
}
.rsv-row .et_pb_blurb_description{ margin-top:6px; }
.rsv-row .et_pb_blurb_description, .rsv-row .et_pb_blurb_description p{
  color:#666 !important; font-size:clamp(14px,1vw,16px) !important; line-height:1.55 !important; padding:0 !important;
}
.rsv-row .rsw-arrow{ justify-self:end; }
.rsv-row:hover .et_pb_module_header{ background-size:100% 100%; }
.rsv-row:hover .rsv-num{ color:var(--rsw-purple,#6c2887); }
.rsv-row:hover .rsw-arrow{ border-color:transparent; color:#fff; }
.rsv-row:hover .rsw-arrow::before{ transform:scale(1); }
.rsv-row:hover .rsw-arrow svg{ transform:rotate(-45deg); }

/* immagine: angoli arrotondati e comparsa dal basso come la gallery */
.rsv-media .et_pb_image_wrap{
  display:block; overflow:hidden; border-radius:26px;
  background:linear-gradient(135deg,#f6f1f8,#fdf6e6);
  clip-path:inset(100% 0 0 0 round 26px);
  transition:clip-path 1.1s var(--rsw-ease) var(--d,0s), transform .5s var(--rsw-bounce), box-shadow .4s ease;
}
.rsv-media .et_pb_image_wrap img{ transform:scale(1.15); transition:transform 1.4s var(--rsw-ease) var(--d,0s); }
.rsv-media.rsv-in .et_pb_image_wrap{ clip-path:inset(0 0 0 0 round 26px); }
.rsv-media.rsv-in .et_pb_image_wrap img{ transform:scale(1); }
@media (hover:hover){
  .rsv-media.rsv-in .et_pb_image_wrap:hover{ transform:translateY(-6px); box-shadow:0 24px 40px -22px rgba(108,40,135,.55); }
}

/* pulsante Contattaci come "Parliamone" del menù */
.rsv-cta{
  position:relative; isolation:isolate; overflow:hidden;
  display:inline-flex; align-items:center; gap:14px;
  padding:8px 8px 8px 26px; border-radius:999px;
  background:var(--rsw-gold,#fec144); color:#000 !important; text-decoration:none;
  font:700 17px/1 Poppins, Helvetica, Arial, sans-serif; letter-spacing:.01em;
  box-shadow:0 10px 24px -12px rgba(108,40,135,.55);
  transition:color .35s ease .05s, box-shadow .4s ease, transform .5s var(--rsw-bounce);
}
.rsv-cta::before{
  content:""; position:absolute; z-index:-1; right:8px; top:50%; width:44px; height:44px; margin-top:-22px; border-radius:50%;
  background:linear-gradient(135deg,var(--rsw-purple,#6c2887),#9b3fb5); transition:transform .6s var(--rsw-ease);
}
.rsv-cta-ico{ position:relative; width:44px; height:44px; border-radius:50%; display:grid; place-items:center; color:#fff; flex:none; }
.rsv-cta-ico svg{ width:18px; height:18px; transition:transform .5s var(--rsw-bounce); }
.rsv-cta:hover, .rsv-cta:focus-visible{ color:#fff !important; outline:none; transform:translateY(-3px); box-shadow:0 16px 30px -12px rgba(108,40,135,.7); }
.rsv-cta:hover::before, .rsv-cta:focus-visible::before{ transform:scale(24); }
.rsv-cta:hover .rsv-cta-ico svg, .rsv-cta:focus-visible .rsv-cta-ico svg{ transform:rotate(-45deg) scale(1.1); }

/* ingresso */
.rsv-anim{ opacity:0; transform:translateY(36px); transition:opacity .7s var(--rsw-ease) var(--d,0s), transform .9s var(--rsw-bounce) var(--d,0s); }
.rsv-anim.rsv-in{ opacity:1; transform:none; }

@media (max-width:600px){
  .rsv-row .et_pb_blurb_content{ grid-template-columns:30px 1fr 42px; gap:8px; }
  .rsv-row .rsw-arrow{ width:42px; height:42px; }
  .rsv-media .et_pb_image_wrap{ border-radius:18px; }
}
@media (prefers-reduced-motion:reduce){
  .rsv-anim, .rsv-row::after, .rsv-media .et_pb_image_wrap, .rsv-media img{ transition:none !important; }
  .rsv-anim{ opacity:1; transform:none; } .rsv-row::after{ transform:scaleX(1); }
  .rsv-media .et_pb_image_wrap{ clip-path:none; } .rsv-media img{ transform:none; }
}

/* ====== "Strumenti Digitali su Misura": blocco in evidenza ====== */
.rsv-feature{
  position:relative; overflow:hidden; isolation:isolate; box-sizing:border-box;
  width:90%; max-width:1280px; margin:clamp(40px,6vw,90px) auto clamp(48px,7vw,110px);
  padding:clamp(56px,8vw,120px) clamp(22px,6vw,100px);
  border-radius:clamp(28px,4vw,48px); text-align:center;
  background:radial-gradient(120% 90% at 50% 0%, #4a1a5e 0%, #26102f 55%, #1a0a21 100%);
  box-shadow:0 40px 80px -40px rgba(108,40,135,.65);
  font-family:Poppins, Helvetica, Arial, sans-serif;
}
/* anelli sfumati come quello del logo */
.rsv-ring{ position:absolute; z-index:-1; border-radius:50%; pointer-events:none;
  background:conic-gradient(from 200deg,#894092,#f2c937,#894092);
  -webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 26px),#000 calc(100% - 25px));
          mask:radial-gradient(farthest-side,transparent calc(100% - 26px),#000 calc(100% - 25px));
  opacity:.9; animation:rsv-spin 26s linear infinite; }
.rsv-ring-a{ width:clamp(260px,34vw,480px); aspect-ratio:1; top:-18%; right:-10%; }
.rsv-ring-b{ width:clamp(180px,22vw,320px); aspect-ratio:1; bottom:-20%; left:-8%; animation-direction:reverse; opacity:.55; }
@keyframes rsv-spin{ to{ transform:rotate(360deg); } }
.rsv-feature-inner{ position:relative; max-width:920px; margin:0 auto; display:flex; flex-direction:column; align-items:center; }
.rsv-feature .et_pb_module{ width:100% !important; max-width:none !important; margin-left:0 !important; margin-right:0 !important; text-align:center !important; }
.rsv-feature .rsv-eyebrow{ justify-content:center; color:var(--rsw-gold,#fec144); width:auto !important; }
.rsv-feature .rsv-eyebrow::after{ display:none; }
.rsv-feature .rsv-title :is(h1,h2,h3,h4,p,span){ color:#fff !important; font-size:clamp(40px,6.4vw,96px) !important; text-align:center !important; }
.rsv-gold{ font-style:normal; color:var(--rsw-gold,#fec144);
  background:linear-gradient(transparent 78%, rgba(137,64,146,.9) 78%, rgba(137,64,146,.9) 92%, transparent 92%) no-repeat 0 0 / 0% 100%;
  transition:background-size 1s var(--rsw-ease) .6s; }
.rsv-in .rsv-gold, .rsv-feature.rsv-in .rsv-gold{ background-size:100% 100%; }
.rsv-feature .rsv-desc{ margin-top:clamp(18px,2vw,28px) !important; }
.rsv-feature .rsv-desc :is(p,span){ color:rgba(255,255,255,.82) !important; font-size:clamp(16px,1.45vw,21px) !important; line-height:1.6 !important; text-align:center !important; }

.rsv-chips{ list-style:none; margin:clamp(26px,3vw,40px) 0 clamp(30px,3.4vw,46px); padding:0; display:flex; flex-wrap:wrap; justify-content:center; gap:12px; }
.rsv-chips li{
  margin:0; padding:12px 20px; border-radius:999px; font-size:clamp(13px,1vw,15px); font-weight:600; color:#fff;
  background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.18);
  animation:rsv-float 5s ease-in-out calc(var(--i,0) * -.8s) infinite;
}
.rsv-chips .rsv-chip-new{ color:var(--rsw-gold,#fec144); background:transparent; border:1.5px dashed var(--rsw-gold,#fec144); }
.rsv-chips .rsv-chip-new span{ display:inline-block; font-weight:800; margin-right:4px; animation:rsv-plus 2.4s var(--rsw-bounce) infinite; }
@keyframes rsv-float{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-6px); } }
@keyframes rsv-plus{ 0%,60%,100%{ transform:rotate(0) scale(1); } 30%{ transform:rotate(90deg) scale(1.3); } }
.rsv-feature .et_pb_button_module_wrapper{ display:flex; justify-content:center; }
.rsv-feature .rsv-cta{ font-size:18px; padding:10px 10px 10px 30px; }
@media (prefers-reduced-motion:reduce){ .rsv-ring, .rsv-chips li, .rsv-chip-new span{ animation:none !important; } }
.rsv-feature .rsv-chips{ list-style:none !important; padding:0 !important; }
.rsv-feature .rsv-chips li{ list-style:none !important; }
.rsv-feature .rsv-chips li::before, .rsv-feature .rsv-chips li::marker{ content:none !important; display:none !important; }

/* ====== Hero: elemento grafico accanto a "Parliamone" ====== */
.rsh-host{ position:relative; display:flex !important; align-items:center !important; justify-content:flex-end !important; }
.rsh-deco{
  display:grid; grid-template-columns:auto auto; grid-template-rows:auto auto; align-items:center; column-gap:4px; row-gap:4px;
  font-family:Poppins, Helvetica, Arial, sans-serif; pointer-events:auto;
  opacity:0; transform:translateY(14px); transition:opacity .7s var(--rsw-ease) .9s, transform .9s var(--rsw-bounce) .9s;
}
.rsh-deco.rsv-in{ opacity:1; transform:none; }
.rsh-folders{ grid-column:1; grid-row:1; display:flex; justify-content:flex-end; padding-left:14px; }
.rsh-folders img{
  width:36px; height:auto; margin-left:-14px; display:block;
  filter:drop-shadow(0 4px 6px rgba(108,40,135,.18));
  transform:rotate(calc((var(--i) - 1.5) * 9deg)) translateY(0);
  animation:rsh-bob 3.2s ease-in-out calc(var(--i) * -.45s + 1.6s) infinite;
  transition:margin .45s var(--rsw-bounce), transform .45s var(--rsw-bounce);
}
.rsh-deco:hover .rsh-folders img{ margin-left:2px; transform:rotate(0) translateY(-4px); }
@keyframes rsh-bob{ 0%,100%{ translate:0 0; } 50%{ translate:0 -5px; } }
.rsh-note{
  grid-column:1; grid-row:2; justify-self:end; white-space:nowrap;
  font-size:11px; line-height:1.2; color:#6b6b6b; letter-spacing:.01em;
}
.rsh-note b{ color:var(--rsw-purple,#6c2887); font-weight:700; }
.rsh-arrow{ grid-column:2; grid-row:1 / span 2; width:54px; height:auto; overflow:visible; animation:rsh-nudge 2.4s ease-in-out 2.4s infinite; }
.rsh-line{ stroke-dasharray:100; stroke-dashoffset:100; transition:stroke-dashoffset 1s var(--rsw-ease) 1.3s; }
.rsh-head{ stroke-dasharray:30; stroke-dashoffset:30; transition:stroke-dashoffset .4s var(--rsw-ease) 2.1s; }
.rsh-deco.rsv-in .rsh-line, .rsh-deco.rsv-in .rsh-head{ stroke-dashoffset:0; }
@keyframes rsh-nudge{ 0%,100%{ transform:translateX(0); } 50%{ transform:translateX(5px); } }
@media (max-width:980px){ .rsh-deco{ display:none; } }
@media (prefers-reduced-motion:reduce){
  .rsh-folders img, .rsh-arrow{ animation:none !important; }
  .rsh-deco{ opacity:1; transform:none; transition:none; } .rsh-line, .rsh-head{ stroke-dashoffset:0; transition:none; }
}