/* A single network showpiece. Typography and interactive nodes never animate. */
.hero-network {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto auto minmax(200px, 1fr) auto auto;
  gap: 16px;
  min-width: 0;
  min-height: 510px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: radial-gradient(ellipse at 100% 0, #fff2e5, transparent 62%),
    linear-gradient(145deg, #fff, #f7f8f8);
}

.hero-network::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: radial-gradient(#f5841524 0.8px, transparent 0.8px);
  background-size: 20px 20px;
  mask-image: linear-gradient(transparent 8%, #000 40%, transparent 90%);
  pointer-events: none;
  content: "";
}

.hero-network__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.hero-network__eyebrow {
  color: var(--link);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero-network .hero-network__title {
  margin: 0;
  font-size: clamp(1.25rem, 1.7vw, 1.625rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.035em;
}

.hero-network__title span { color: var(--link); }
.hero-network__scene { position: relative; min-width: 0; width: 100%; aspect-ratio: 10 / 7; align-self: center; }
.hero-network__connections { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.hero-network__wire { stroke: #f1cba8; stroke-width: 1.5; }
.hero-network__signal { stroke: var(--orange); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 8 42; }
.hero-network__orbit { stroke: #f1d7be; stroke-width: 0.7; }
.hero-network__orbit--outer { stroke-dasharray: 2 6; }
.hero-network__packet { transform-box: view-box; transform-origin: 0 0; }

.hero-network__aura {
  position: absolute;
  z-index: 1;
  top: calc(50% - 90px);
  left: calc(50% - 90px);
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, #f584152e, #f5841500 70%);
  opacity: 0.6;
  pointer-events: none;
}

.hero-network__hub {
  position: absolute;
  z-index: 2;
  top: calc(50% - 35px);
  left: calc(50% - 65px);
  display: flex;
  width: 130px;
  height: 70px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  background: #fff;
  border: 1px solid #f1d7be;
  border-radius: 18px;
  box-shadow: 0 8px 24px #7b431017;
}

.hero-network__hub img { display: block; width: 108px; height: 36px; object-fit: contain; }
.hero-network__hub span { color: var(--muted); font-size: 10px; letter-spacing: 0.08em; }
.hero-network__node {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 40px;
  padding: 7px 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 4px 12px #22222205;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.hero-network__node img { display: block; flex: 0 0 24px; width: 24px; height: 24px; object-fit: contain; }
.hero-network__node--internet { top: 0; left: 0; }
.hero-network__node--tv { top: 0; right: 0; }
.hero-network__node--phone { bottom: 0; left: 0; }
.hero-network__node--cctv { bottom: 0; right: 0; }
.hero-network__node:hover { border-color: var(--orange); color: var(--link); }
.hero-network :is(a, button):focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }

.hero-network__activity { padding-top: 2px; }
.hero-network__bars { display: flex; align-items: flex-end; gap: 5px; height: 36px; border-bottom: 1px solid #f1d7be; }
.hero-network__bars span {
  flex: 1;
  height: 100%;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(0deg, #f5841540, var(--orange));
  transform: scaleY(var(--level));
  transform-origin: center bottom;
}

.hero-network__footer { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 12px; padding-top: 2px; }
.hero-network__footer > div { display: grid; gap: 5px; }
.hero-network__footer span { color: var(--muted); font-size: 10px; }
.hero-network__footer strong { color: var(--ink); font-size: 20px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.hero-network__footer small { font-size: 12px; font-weight: 500; }
.hero-network__footer a { display: grid; place-items: center; width: 40px; height: 40px; background: var(--orange); color: #fff; border-radius: 50%; }
.hero-network__footer a:hover { background: var(--action-hover); }

@media (min-width: 701px) and (max-width: 1200px) {
  .hero-network { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); grid-template-rows: auto auto auto auto; gap: 16px 36px; min-height: 310px; padding: 28px; }
  .hero-network__head, .hero-network__title, .hero-network__activity, .hero-network__footer { grid-column: 1; }
  .hero-network__scene { grid-column: 2; grid-row: 1 / 5; align-self: center; }
  .hero-network .hero-network__title { font-size: 26px; }
}

@media (max-width: 700px) {
  .hero-network { min-height: 470px; padding: 20px; border-radius: 22px; gap: 14px; }
  .hero-network .hero-network__title { font-size: 25px; }
  .hero-network__scene { width: 100%; max-width: 440px; margin-inline: auto; }
}

@media (max-width: 360px) {
  .hero-network { padding: 16px; }
  .hero-network .hero-network__title { font-size: 22px; }
  .hero-network__eyebrow { font-size: 9px; letter-spacing: 0.03em; }
  .hero-network__node { padding: 7px 5px; gap: 3px; font-size: 10px; }
  .hero-network__node img { flex-basis: 20px; width: 20px; height: 20px; }
  .hero-network__hub { width: 110px; height: 60px; top: calc(50% - 30px); left: calc(50% - 55px); }
  .hero-network__footer { gap: 8px; }
  .hero-network__footer strong { font-size: 18px; }
}
