/* IT Solutions page: live network map + compact service list */
.its { padding: clamp(2rem, 4vw, 3.25rem) 0 clamp(2.5rem, 5vw, 4rem); background: radial-gradient(900px 420px at 90% 0%, var(--accent-soft), transparent 65%); }
.its__grid { display: grid; gap: 2rem; grid-template-areas: "intro" "map" "list"; }
@media (min-width: 1000px) {
  .its__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "intro map" "list map"; column-gap: clamp(2.5rem, 4vw, 4rem); row-gap: 1rem; }
}
.its__intro { grid-area: intro; }
.its__intro h1 { font-size: clamp(2rem, 4vw, 3rem); max-width: 16ch; }
.its__intro .lead { margin: 1rem 0 0; }
.its__intro .hero__actions { margin: 1.5rem 0 1.25rem; }
.its-plan { display: flex; gap: .75rem; align-items: baseline; margin: 0; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(30,30,30,.6); color: var(--ink-2); font-size: .95rem; max-width: 34rem; }
.its-plan strong { color: var(--ink); font-weight: 500; }
.its-plan a { color: var(--accent); font-weight: 500; }

/* Map */
.its__map { grid-area: map; align-self: start; margin: 0; }
@media (min-width: 1000px) { .its__map { position: sticky; top: calc(64px + 1.5rem); } }
.netmap-frame { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(.75rem, 2vw, 1.25rem); }
#netmap { display: block; width: 100%; height: auto; max-height: calc(100vh - 300px); min-height: 260px; font-family: var(--font-body); }
.netmap-status { margin: 1rem 0 .85rem; min-height: 3.2em; color: var(--ink); font-size: .975rem; line-height: 1.55; }
.netmap-legend { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.netmap-legend button { display: inline-flex; align-items: center; gap: .45rem; min-height: 36px; padding: .3rem .65rem; border: 1px solid var(--line); border-radius: var(--radius-control); background: transparent; color: var(--ink-2); font: 500 .825rem/1 var(--font-body); cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.netmap-legend button::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #4a4a50; transition: background .2s; }
.netmap-legend button:hover { color: var(--ink); border-color: #4a4a50; }
.netmap-legend button[aria-pressed="true"] { color: var(--ink); border-color: var(--accent); background: var(--accent-soft); }
.netmap-legend button[aria-pressed="true"]::before { background: var(--accent); }
.netmap-legend button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* SVG parts */
.edge { fill: none; stroke: #36363c; stroke-width: 2; stroke-linecap: round; transition: stroke .45s; stroke-dasharray: 1; stroke-dashoffset: 1; animation: its-draw .9s cubic-bezier(.6,0,.2,1) forwards; animation-delay: var(--d, 0s); }
.edge.edge--remote { stroke-dasharray: 3 7; stroke-dashoffset: 0; opacity: 0; animation: its-fade .6s ease forwards; animation-delay: var(--d, 0s); }
.edge.is-on { stroke: rgba(69,232,255,.55); }
.node { transition: opacity .45s; }
#netmap.is-focused .node:not(.is-on) { opacity: .4; }
.node__in { opacity: 0; animation: its-pop .45s ease-out forwards; animation-delay: var(--d, .4s); }
.node__ring { fill: var(--bg); stroke: #3c3c42; stroke-width: 1.5; transition: stroke .45s, fill .45s; }
.node.is-on .node__ring { stroke: var(--accent); fill: #10262b; }
.node__icon { fill: none; stroke: #8d8d94; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .45s; }
.node.is-on .node__icon { stroke: #fff; }
.node__label { fill: #8d8d94; font-size: 12.5px; font-weight: 500; text-anchor: middle; transition: fill .45s; }
.node.is-on .node__label { fill: #fff; }
@media (max-width: 600px) { .node__label { font-size: 17px; } }
.node__ping { fill: none; stroke: var(--accent); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.node.is-ping .node__ping { animation: its-ping .8s ease-out; }
.node.is-block .node__ping { stroke: #ff8a80; animation: its-ping .8s ease-out; }
.pk { fill: var(--accent); }
.pk--data { fill: var(--violet); }
.pk--bad { fill: #ff8a80; }

@keyframes its-draw { to { stroke-dashoffset: 0; } }
@keyframes its-fade { to { opacity: 1; } }
@keyframes its-pop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
@keyframes its-ping { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(1.7); } }

/* Service list */
.its__list { grid-area: list; display: grid; gap: .5rem; }
@media (min-width: 1000px) { .its__list { padding-top: 1.5rem; } }
.its-cat { position: relative; padding: 1.5rem 0 1.5rem 1.4rem; border-left: 2px solid var(--line); transition: border-color .4s; scroll-margin-top: 6rem; }
.its-cat.is-active { border-left-color: var(--accent); }
.its-cat__head { margin-bottom: 1.1rem; }
.its-cat__head h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin-bottom: .2rem; }
.its-cat__head p { margin: 0; color: var(--ink-2); }
.its-cat__items { display: grid; gap: 1.1rem 1.75rem; }
@media (min-width: 600px) { .its-cat__items { grid-template-columns: 1fr 1fr; } }
.its-cat__items h3 { font-size: 1rem; margin-bottom: .3rem; }
.its-cat__items p { margin: 0; color: var(--ink-2); font-size: .925rem; line-height: 1.55; }
.its-cat__more { display: inline-block; margin-top: 1.1rem; font-weight: 500; font-size: .925rem; color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .edge { animation: none; stroke-dashoffset: 0; stroke-dasharray: none; }
  .edge.edge--remote { stroke-dasharray: 3 7; opacity: 1; }
  .node__in { animation: none; opacity: 1; }
  .node.is-ping .node__ping, .node.is-block .node__ping { animation: none; }
  .edge, .node, .node__ring, .node__icon, .node__label, .its-cat { transition: none; }
}