/* Sezioni interne approvate: composizione aperta, testi originali, solo desktop. */
@media (min-width:1024px) {
 body:not(.page-home) main .service-copy-group { display:block; }
 body:not(.page-home) main .service-copy {
  display:block;
  column-gap:clamp(32px,5vw,72px); row-gap:24px; max-width:none;
  padding:clamp(32px,4vw,56px); border:0; border-radius:0;
  background:#fff; color:#4f5e73; --text:#0b1830; --muted:#4f5e73;
 }
 /* Le due colonne appartengono soltanto ai gruppi a tutta larghezza,
    con titolo iniziale. Un paragrafo prima del titolo conserva l'ordine naturale. */
 body:not(.page-home) main .service-copy-group > .service-copy:has(> h2:first-child) {
  display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);
 }
 body:not(.page-home) main .service-copy-group > .service-copy:first-child {
  background:#fff; color:#4f5e73; --text:#0b1830; --muted:#4f5e73; --accent-ink:#a5420c; --line:#d9dee7;
 }
 body:not(.page-home) main .service-copy-group > .service-copy + .service-copy {
  margin-top:0; background:#0b1830; color:#dbe2ee;
  --text:#fff; --muted:#dbe2ee; --accent-ink:#ffb17a; --line:#ffffff30;
 }
 body:not(.page-home) main .service-copy > * { min-width:0; margin-block:0; }
 body:not(.page-home) main .service-copy > * + * { margin-top:24px; }
 body:not(.page-home) main .service-copy-group > .service-copy:has(> h2:first-child) > * { margin-block:0; }
 body:not(.page-home) main .service-copy > h2 { grid-column:1; font-size:clamp(28px,2.7vw,40px); line-height:1.14; text-wrap:balance; }
 body:not(.page-home) main .service-copy > h2::before { content:none; }
 body:not(.page-home) main .service-copy > p { grid-column:2; line-height:1.8; text-align:justify; hyphens:auto; text-wrap:pretty; overflow-wrap:break-word; }
 body:not(.page-home) main .service-copy > ul,
 body:not(.page-home) main .service-copy > ol { grid-column:1/-1; margin-block:8px; }
 body:not(.page-home) main .service-copy > ul > li {
  padding:24px 0 24px 32px; border:0; border-top:1px solid var(--line);
  line-height:1.75; text-align:justify; hyphens:auto;
 }
 body:not(.page-home) main .service-copy-group > .service-copy:first-child > ul > li { border-color:#d9dee7; }
 body:not(.page-home) main .service-copy > ul > li::before { top:2.1em; }
 body:not(.page-home) main .service-copy > :not(h2):not(p):not(ul):not(ol) { grid-column:1/-1; }
 body:not(.page-home) main .service-copy p a { text-underline-offset:4px; }
 body:not(.page-home) main .prose:not(.service-copy) { text-wrap:pretty; }
 body:not(.page-home) main .prose p { hyphens:auto; }
 /* Nei layout già stretti si mantiene una colonna, senza comprimere il testo. */
 body:not(.page-home) main .split > .service-copy,
 body:not(.page-home) main .new-work-layout .service-copy,
 body:not(.page-home) main .rack-case-layout .service-copy { display:block; padding:32px; }
 body:not(.page-home) main .split > .service-copy > * + *,
 body:not(.page-home) main .new-work-layout .service-copy > * + *,
 body:not(.page-home) main .rack-case-layout .service-copy > * + * { margin-top:24px; }
 /* Un unico corpo leggibile accanto al riquadro laterale, anche quando
    prose ed elenco sono fratelli dentro un contenitore intermedio. */
 body:not(.page-home) main .split > div:has(> .service-copy) {
  padding:clamp(28px,3vw,40px); background:#fff;
 }
 body:not(.page-home) main .split > div > .service-copy {
  display:block; padding:0; background:transparent;
 }
 body:not(.page-home) main .split .service-copy h2 {
  font-size:clamp(26px,2.1vw,34px); line-height:1.2; max-width:none;
 }
}
.nas-explorer { display:none; }
@media(min-width:1024px) {
 body:not(.page-home) main { --card:#fff; }
 body:not(.page-home) main .page-hero { background:#fff; }
 .nas-explorer { display:block; margin-block:56px; border-block:1px solid var(--line); padding-block:24px; }
 .nas-explorer summary { cursor:pointer; font:700 24px/1.4 var(--font-display); color:var(--text); padding:12px 0; }
 .nas-explorer iframe { display:block; width:100%; height:1450px; border:0; background:#f4f2ee; margin-top:24px; }
}
@media(min-width:1024px) and (prefers-reduced-motion:no-preference) {
 body:not(.page-home) main .faq details[open] > p { animation:faq-answer .22s ease-out; }
 @keyframes faq-answer { from { opacity:.75; transform:translateY(-3px); } to { opacity:1; transform:none; } }
}

/* Riferimento scelto: sfumatura arancio della fascia contatti.
   Lo stesso effetto sui blocchi, mantenendo neutra la lettura degli articoli. */
@media(min-width:1024px) {
 body:not(.page-home) main .service-copy {
  background:#fff;
  border-radius:24px; color:#25354b; --text:#0b1830; --muted:#25354b;
  box-shadow:0 18px 38px -28px #0b183030;
 }
 body:not(.page-home) main .service-copy-group { display:grid; grid-template-columns:minmax(0,1fr); gap:24px; }
 body:not(.page-home) main .service-copy-group > .service-copy:first-child {
  background:linear-gradient(110deg,#ef6b1c,#f79a49);color:#12263d;
  --text:#0b1830;--muted:#12263d;--accent-ink:#71300a;--line:#74330e38;
 }
 body:not(.page-home) main .service-copy-group > .service-copy + .service-copy {
  background:linear-gradient(115deg,#0b1830,#203d5c);border-radius:24px;
 }
 body:not(.page-home) main .service-copy-group > .service-copy:first-child > ul > li {border-color:#74330e38;}
 body:not(.page-home) main .service-copy-group > .service-copy:first-child > ul > li::before {background:#0b1830;}
 body:not(.page-home) main .split > div:has(> .service-copy) {
  background:#fff; border-radius:24px;
  box-shadow:0 18px 38px -28px #0b183030;
 }
 body:not(.page-home) main .split > div > .service-copy {background:transparent;box-shadow:none;}
 body:not(.page-home) main .side-box {
  background:linear-gradient(120deg,#0b1830,#203d5c);border-color:transparent;
  color:#edf2fa;--text:#edf2fa;--muted:#cbd8e8;--line:#ffffff30;
 }
 body:not(.page-home) main .side-box a.link {color:#ffb17a;}
 body:not(.page-home) main .feature-grid > .card,
 body:not(.page-home) main .steps > li {
  background:#fff;border-color:#dfe2e7;--muted:#3f5067;
 }
 body:not(.page-home) main .article-cta {background:linear-gradient(110deg,#ef6b1c,#f79a49);color:#0b1830;--muted:#12263d;--text:#0b1830;border-radius:24px;}
}

.repair-scene{display:none;}
@media(min-width:1024px){
 .repair-scene{display:block;padding-top:48px;padding-bottom:16px;}
 .repair-bench{position:relative;display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:24px;align-items:center;padding:clamp(28px,3.5vw,48px);border-radius:28px;background:linear-gradient(120deg,#0b1830,#203d5c);color:#eaf0f8;min-height:540px;overflow:hidden;}
 .repair-copy{min-width:0;position:relative;z-index:1;}
 .repair-copy h2{font:700 clamp(28px,2.8vw,40px)/1.14 var(--font-display);letter-spacing:-.025em;text-wrap:balance;color:#fff;}
 .repair-copy>p{margin-top:24px;line-height:1.75;text-align:justify;hyphens:auto;color:#cfdae8;}
 .repair-state{margin-top:28px;padding-top:24px;border-top:1px solid #ffffff30;min-height:210px;}
 .repair-state h3{font:700 20px/1.3 var(--font-display);color:#ffb17a;}
 .repair-state p{margin-top:12px;line-height:1.7;text-align:justify;hyphens:auto;color:#cfdae8;}
 .repair-controls{display:none;margin-top:20px;}
 .js .repair-controls{display:block;visibility:hidden;}
 .is-ready .repair-controls{display:block;visibility:visible;}
 .repair-phases{display:flex;flex-wrap:wrap;gap:8px;}
 .repair-controls button{min-height:44px;padding:10px 12px;border:1px solid #ffffff40;border-radius:10px;font-size:13px;line-height:1.4;color:#eaf0f8;cursor:pointer;}
 .repair-controls button[aria-pressed="true"]{background:#f18a3d;color:#0b1830;border-color:#f18a3d;font-weight:700;}
 .repair-controls button:hover{border-color:#ffb17a;}
 .repair-controls button:focus-visible{outline:3px solid #ffb17a;outline-offset:4px;}
 .repair-controls .repair-play{margin-top:12px;border:0;padding-left:0;text-decoration:underline;text-underline-offset:4px;color:#ffb17a;}
 .repair-copy .repair-disclaimer{font-size:12px;line-height:1.6;margin-top:20px;color:#c3d0df;}
 .repair-visual{position:relative;min-width:0;aspect-ratio:3/2;border-radius:18px;background:#182d47;overflow:hidden;}
 .repair-photo-camera{position:absolute;inset:0;transform-origin:50% 50%;}
 .repair-photo-plane,.repair-photo-plane picture{position:absolute;inset:0;display:block;}
 .repair-photo-plane img{display:block;width:100%;height:100%;object-fit:cover;object-position:48% 50%;}
 .repair-scene[data-device="notebook"] .repair-photo-plane{inset:auto;left:50%;top:50%;width:66.6667%;aspect-ratio:900/1599;transform:translate(-50%,-50%) rotate(90deg);}
 .repair-photo-note{position:absolute;left:20px;bottom:20px;padding:8px 12px;border-radius:8px;background:#0b1830e8;color:#fff;font-size:12px;line-height:1.5;pointer-events:none;}
 .repair-controls .repair-play:disabled{color:#c3d0df;text-decoration:none;cursor:default;}
}
