/* src/styles/resp-diagram.css */
.resp-diagram .node-card { fill: var(--surface); stroke: var(--line); stroke-width: 1.5; }
.resp-diagram .dg-frame { fill: var(--surface); stroke: var(--line); }

.resp-diagram .center-node { fill: var(--primary); stroke: none; }
.resp-diagram .center-node-label { fill: var(--surface); font-weight: 700; font-size: 13px; text-anchor: middle; }
.resp-diagram .center-node-sub { fill: color-mix(in srgb, var(--surface) 75%, transparent); font-size: 11px; }
.resp-diagram .node-label { fill: var(--ink); font-weight: 600; font-size: 12px; text-anchor: middle; }
.resp-diagram .link { fill: none; stroke: color-mix(in srgb, var(--primary) 30%, transparent); stroke-width: 1.5; }
.resp-diagram .status-dot { fill: var(--status); }
.resp-diagram .orbit-ring { fill: none; stroke: var(--line); stroke-
  width: 1; stroke-dasharray: 2, 6; }
/* Draft refinements: header, empty hero media, trust row and process steps */
.brand {
  display: flex;
  flex-direction: column;
  gap: .12rem;
  min-width: 0;
  line-height: 1.1;
}
.brand-kicker {
  font-size: .86rem;
  font-weight: 700;
}
.brand-name {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 500;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
.header-contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .15rem;
  white-space: nowrap;
  font-size: .78rem;
  line-height: 1.15;
}
.header-contacts a {
  color: var(--muted);
  text-decoration: none;
}
.header-contacts a:hover {
  color: var(--primary);
}
.hero-visual {
  min-height: 260px;
  box-sizing: border-box;
  border: 1px dashed var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
}
.trust-row {
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-width: 0;
  padding: .45rem .5rem .45rem 1.4rem;
  border: 0;
  border-radius: 0;
  background: radial-gradient(circle at .55rem 50%, var(--status) 0 4px, transparent 4.5px);
  font-size: .9rem;
  font-weight: 600;
}
.trust-item::before {
  display: none !important;
  content: none !important;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
  position: relative;
}
.process-grid::before,
.step::before {
  display: none !important;
  content: none !important;
}
.step {
  box-sizing: border-box;
  min-height: 170px;
  padding: 1.2rem;
  border: 1px solid var(--line) !important;
  border-radius: 14px;
  background: var(--surface);
}
.step .num {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: .9rem;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
}
@media (max-width: 900px) {
  .trust-list,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-visual {
    min-height: 180px;
  }
}
@media (max-width: 600px) {
  .header-contacts {
    display: none;
  }
  .trust-list,
  .process-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    min-height: 90px;
  }
}
.hero-visual {
  width: 100%;
  min-width: 0;
}
/* Trust panel replacement */
.trust-row {
  padding: 0;
  border: 0;
}
.trust-panel {
  display: grid;
  grid-template-columns: minmax(190px, .8fr) minmax(0, 2.2fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.trust-lead {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.4rem 1.5rem;
  background: var(--primary-soft);
}
.trust-lead h2 {
  margin: 0 0 .35rem;
  font-size: 1.05rem;
}
.trust-lead p {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.45;
}
.trust-panel .trust-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
}
.trust-panel .trust-item {
  display: block;
  min-width: 0;
  padding: 1.25rem 1rem;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
.trust-panel .trust-item h3 {
  margin: 0 0 .4rem;
  color: var(--ink);
  font-size: .9rem;
  line-height: 1.25;
}
.trust-panel .trust-item p {
  margin: 0;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.4;
}
@media (max-width: 900px) {
  .trust-panel {
    display: block;
  }
  .trust-lead {
    padding: 1.1rem 1.25rem;
  }
  .trust-panel .trust-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .trust-panel .trust-item {
    border-top: 1px solid var(--line);
  }
  .trust-panel .trust-item:nth-child(odd) {
    border-left: 0;
  }
}
@media (max-width: 600px) {
  .trust-panel .trust-list {
    grid-template-columns: 1fr;
  }
  .trust-panel .trust-item,
  .trust-panel .trust-item:nth-child(odd) {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: .9rem 1.1rem;
  }
}