/* V26: Nodo ferroviario e offcanvas, restyling solo per la pagina Servizi */
/* Desktop: segmenti collegati da centro a centro, visibili dietro i marker. */
@media(min-width:1051px) {
  .services-process-steps { gap:18px; }
  .services-process-steps::before {
    display:block!important;content:"";position:absolute;top:24px;
    left:12.5%;right:12.5%;height:3px;z-index:0;
    background:linear-gradient(90deg,rgba(138,223,172,.65),rgba(55,205,181,.75));
    transform:none!important;transition:none!important;
  }
  .services-process-step::before { display:none!important; }
  .services-process-step { align-items:center; gap:34px; }
  .services-process-marker { margin:0 auto; flex:0 0 auto; }
  .services-process-step-content { align-self:stretch; width:100%; }
  .services-process-step-content::before {
    display:block;left:50%;top:-35px;height:35px;width:3px;
    background:linear-gradient(180deg,rgba(138,223,172,.65),rgba(138,223,172,.37));
  }
  body.light-mode .services-process-steps::before {
    background:linear-gradient(90deg,rgba(22,129,107,.57),rgba(22,129,107,.64));
  }
  body.light-mode .services-process-step-content::before { background:rgba(22,129,107,.43); }
}
/* Rings and subtle orbit outline inspired by provided process drawing */
.services-process-marker::after {
  content:"";position:absolute;inset:-10px;border-radius:50%;
  border:2px solid rgba(138,223,172,.38);
  border-left-color:transparent;border-bottom-color:transparent;
  transform:rotate(-38deg);pointer-events:none;
}
body.light-mode .services-process-marker::after { border-top-color:rgba(22,129,107,.48);border-right-color:rgba(22,129,107,.48); }
@media(min-width:651px) and (max-width:1050px) {
  .services-process-step {align-items:center;gap:24px;}
  .services-process-marker {margin:0 auto;}
  .services-process-step-content {width:100%;}
  .services-process-step-content::before {left:50%;height:24px;top:-25px;}
}
/* Smaller, centered light halo directly behind the service icon, not across the card */
.services-feature-section .service-feature-card .service-feature-top::before {
  width:62px!important;height:62px!important;top:0!important;right:0!important;
  transform:translate(2px,-2px)!important;
  background:radial-gradient(circle at center,rgba(138,223,172,.14) 0%,rgba(138,223,172,.045) 42%,transparent 68%)!important;
  filter:none!important;opacity:.8!important;pointer-events:none;
}
.services-feature-section .service-feature-icon { box-shadow:0 0 12px rgba(55,205,181,.10),inset 0 1px 0 rgba(255,255,255,.07)!important; }
.services-feature-section .service-feature-card:hover .service-feature-icon {box-shadow:0 0 16px rgba(55,205,181,.15),inset 0 1px 0 rgba(255,255,255,.08)!important;}
body.light-mode .services-feature-section .service-feature-card .service-feature-top::before {background:radial-gradient(circle at center,rgba(19,138,128,.09) 0%,rgba(19,138,128,.025) 42%,transparent 68%)!important;}
/* Remove corner arrow because the button explicitly communicates interactivity. */
.services-feature-section .service-feature-card h3::after {display:none!important;}
.services-feature-section .service-feature-card h3 {padding-right:0;}
.service-feature-more {
  position:relative;z-index:3;align-self:flex-start;margin-top:3px;
  display:inline-flex;gap:13px;align-items:center;justify-content:space-between;
  background:rgba(138,223,172,.08);color:#abedcc;border:1px solid rgba(138,223,172,.22);
  border-radius:999px;padding:9px 14px;font:600 .83rem 'Inter',sans-serif;
  cursor:pointer;transition:transform .2s ease,background .2s ease,border-color .2s ease;
}
.service-feature-more:hover,.service-feature-more:focus-visible {transform:translateY(-2px);background:rgba(138,223,172,.17);border-color:rgba(138,223,172,.45);}
.service-feature-more:focus-visible {outline:2px solid #8adfac;outline-offset:3px;}
body.light-mode .service-feature-more {color:#126f5b;background:rgba(19,138,128,.075);border-color:rgba(19,138,128,.22);}
body.light-mode .service-feature-more:hover {background:rgba(19,138,128,.14);}
/* Side drawer: separate from the existing client modal and guided chat */
.service-drawer {position:fixed;inset:0;z-index:100000;visibility:hidden;pointer-events:none;}
.service-drawer.is-open {visibility:visible;pointer-events:auto;}
.service-drawer-backdrop {position:absolute;inset:0;background:rgba(5,12,16,.64);opacity:0;transition:opacity .32s ease;}
.service-drawer.is-open .service-drawer-backdrop {opacity:1;}
.service-drawer-panel {
  position:absolute;right:0;top:0;bottom:0;width:min(560px,100%);overflow-y:auto;
  background:#121f20;color:#eff8f4;border-left:1px solid rgba(138,223,172,.23);
  box-shadow:-30px 0 80px rgba(0,0,0,.35);transform:translateX(105%);
  transition:transform .38s cubic-bezier(.22,.8,.22,1);
  overscroll-behavior:contain;
}
.service-drawer.is-open .service-drawer-panel {transform:translateX(0);}
.service-drawer-head {padding:23px clamp(24px,5vw,42px);display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid rgba(138,223,172,.13);}
.service-drawer-eyebrow {color:#8adfac;font:700 .7rem 'Space Grotesk',sans-serif;letter-spacing:.16em;}
.service-drawer-close {display:grid;place-items:center;width:42px;height:42px;background:rgba(138,223,172,.08);color:inherit;border:1px solid rgba(138,223,172,.19);border-radius:50%;font-size:1.2rem;cursor:pointer;}
.service-drawer-close:hover,.service-drawer-close:focus-visible {background:rgba(138,223,172,.19);}
.service-drawer-content {padding:30px clamp(24px,5vw,42px) 54px;}
.service-drawer-badge {color:#8adfac;font:700 .8rem 'Space Grotesk',sans-serif;letter-spacing:.14em;margin:0 0 16px;}
.service-drawer-symbol {display:grid;place-items:center;width:68px;height:68px;border:1px solid rgba(138,223,172,.26);border-radius:20px;background:radial-gradient(circle at center,rgba(138,223,172,.13),rgba(138,223,172,.03));color:#8adfac;font-size:1.75rem;margin:0 0 22px;}
.service-drawer-panel h2 {font-size:clamp(1.85rem,3vw,2.6rem);line-height:1.16;margin:0 0 16px;letter-spacing:-.035em;}
.service-drawer-lead {color:#c5dbd2;line-height:1.76;font-size:1.02rem;margin:0 0 28px;}
.service-drawer-panel h3 {font-size:1.12rem;margin:0 0 14px;}
.service-drawer-panel ul {padding:0;margin:0 0 28px;list-style:none;display:grid;gap:13px;}
.service-drawer-panel li {position:relative;padding-left:27px;line-height:1.58;color:#deebe7;}
.service-drawer-panel li::before {content:'✓';position:absolute;left:0;color:#8adfac;font-weight:700;}
.service-drawer-callout {border:1px solid rgba(138,223,172,.22);border-radius:18px;padding:20px;background:rgba(138,223,172,.065);color:#cee9dd;line-height:1.65;margin-bottom:27px;}
.service-drawer-cta {display:inline-flex;align-items:center;gap:12px;border-radius:999px;background:#8adfac;color:#102b27!important;padding:14px 20px;font-weight:700;text-decoration:none;}
.service-drawer-cta:hover {background:#b0f0c8;}
body.service-drawer-lock {overflow:hidden;}
body.light-mode .service-drawer-panel {background:#f3faf6;color:#173d33;border-left-color:rgba(19,138,128,.18);}
body.light-mode .service-drawer-head {border-bottom-color:rgba(19,138,128,.14);}
body.light-mode .service-drawer-eyebrow,body.light-mode .service-drawer-badge {color:#117e6c;}
body.light-mode .service-drawer-close {color:#165445;border-color:rgba(19,138,128,.2);background:rgba(19,138,128,.08);}
body.light-mode .service-drawer-symbol {color:#117e6c;border-color:rgba(19,138,128,.18);background:rgba(19,138,128,.07);}
body.light-mode .service-drawer-lead,body.light-mode .service-drawer-panel li {color:#47675c;}
body.light-mode .service-drawer-panel li::before {color:#11816c;}
body.light-mode .service-drawer-callout {color:#285a4b;border-color:rgba(19,138,128,.19);background:rgba(19,138,128,.06);}
body.light-mode .service-drawer-cta {background:#117e6c;color:white!important;}
body.light-mode .service-drawer-cta:hover {background:#0a5e53;}
@media(max-width:650px) { .service-drawer-head {padding:18px 22px;} .service-drawer-content {padding:28px 22px 50px;} }
@media(prefers-reduced-motion:reduce) { .service-drawer-panel,.service-drawer-backdrop,.service-feature-more {transition:none!important;} }
