:root {
  --bg-body: #020617;
  --bg-elevated: #020617;
  --bg-elevated-soft: #020617;
  --bg-muted: #020617;
  --accent: #22c55e;
  --accent-soft: rgba(34, 197, 94, 0.12);
  --accent-2: #3b82f6;
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --border-soft: rgba(148, 163, 184, 0.35);
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.9);
  --radius-lg: 18px;
  --radius-pill: 999px;
}

/* RESET-ish */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background:
    radial-gradient(circle at top, rgba(15, 23, 42, 0.6), transparent 60%),
    #020617;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Layout helpers */

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: 72px 0;
  scroll-margin-top: 90px;
}

.section-muted {
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.8), #020617 55%);
}

/* Typography */

h1,
h2,
h3,
h4 {
  font-family: "Poppins", system-ui, sans-serif;
  margin: 0 0 12px;
}

h2 {
  font-size: 1.9rem;
}

.section-subtitle {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-muted);
}

/* Skip link */

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  padding: 10px 14px;
  background: var(--accent);
  color: #020617;
  z-index: 999;
  border-radius: 6px;
}

/* Header & Navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.8));
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.site-header.scrolled {
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.9);
  border-color: rgba(148, 163, 184, 0.6);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px min(4vw, 18px);
  gap: 20px;
}

/* Logo area – bigger logo & name */

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 64px;  /* bigger logo */
  height: auto;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.35rem;   /* bigger company name */
  font-weight: 700;
}

.logo-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Nav links */

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a {
  font-size: 0.9rem;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--text-muted);
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
}

.nav-links a:hover {
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-main);
  transform: translateY(-1px);
}

.nav-links a.active {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent-soft);
}

.nav-cta {
  background: var(--accent);
  color: #020617;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(34, 197, 94, 0.5);
}

.nav-cta:hover {
  background: #16a34a;
}

/* Mobile nav toggle */

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 6px;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #e5e7eb;
  margin: 4px 0;
  border-radius: 999px;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  border-radius: 4px;
}

/* Hero */

.hero {
  position: relative;
  padding: 56px 0 80px;
}

.hero {
  position: relative;
  padding: 100px 0 120px;
  background: url("images/hero-pump-dark.jpg") center/cover no-repeat;
}

.hero-inner {
  display: flex;
  align-items: center;
}


.hero-copy {
  z-index: 1;
}

.hero-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}

.hero h1 {
  font-size: clamp(2.2rem, 3vw + 1.4rem, 3rem);
  line-height: 1.2;
  margin-bottom: 14px;
}

.hero-highlight {
  color: var(--accent);
}

.hero-text {
  color: var(--text-muted);
  font-size: 0.98rem;
  max-width: 560px;
  margin-bottom: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

.btn i {
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--accent);
  color: #020617;
  box-shadow: 0 14px 35px rgba(16, 185, 129, 0.55);
  border-color: rgba(16, 185, 129, 0.6);
}

.btn-primary:hover {
  background: #16a34a;
  box-shadow: 0 18px 40px rgba(16, 185, 129, 0.7);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(15, 23, 42, 0.85);
  color: var(--text-main);
  border-color: rgba(148, 163, 184, 0.5);
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 1);
}

/* Hero meta */

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-meta-item {
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.9);
  font-size: 0.78rem;
}

.hero-meta-label {
  color: var(--text-muted);
  margin-right: 6px;
}

.hero-meta-value {
  font-weight: 500;
}

/* Hero visual card */

.hero-visual {
  z-index: 1;
}

.hero-card {
  background: radial-gradient(circle at top left, rgba(16, 185, 129, 0.18), rgba(15, 23, 42, 0.98));
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: var(--shadow-soft);
  padding: 18px 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-card-header,
.hero-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.hero-chip {
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.5);
  background: rgba(15, 23, 42, 0.9);
}

.hero-dot-group {
  display: inline-flex;
  gap: 4px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.dot-green {
  background: #22c55e;
}

.dot-amber {
  background: #fbbf24;
}

.dot-red {
  background: #ef4444;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.metric {
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.55);
  font-size: 0.75rem;
}

.metric-label {
  color: var(--text-muted);
  display: block;
  margin-bottom: 3px;
}

.metric-value {
  font-size: 0.9rem;
  font-weight: 600;
}

.metric-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.18);
  color: #6ee7b7;
  font-size: 0.78rem;
}

.hero-graph-placeholder {
  padding: 10px;
  border-radius: 16px;
  background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.25), rgba(15, 23, 42, 0.96));
}

.graph-label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.graph-bar-row {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 52px;
}

.graph-bar {
  flex: 1;
  border-radius: 999px;
  background: linear-gradient(to top, rgba(148, 163, 184, 0.15), rgba(148, 163, 184, 0.9));
}

.graph-bar.short { height: 30%; }
.graph-bar.mid   { height: 60%; }
.graph-bar.tall  { height: 90%; }

.hero-card-footer-text {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* Section headers */

.section-header {
  text-align: left;
  margin-bottom: 26px;
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 20px;
}

.about-card {
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid var(--border-soft);
  font-size: 0.94rem;
}

.about-highlight {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(15, 23, 42, 0.98));
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}

.checklist li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.checklist li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.78rem;
  color: var(--accent);
}

.pill-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-list li {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.55);
  font-size: 0.8rem;
}

/* Generic cards grid */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.info-card {
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid var(--border-soft);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
  position: relative;
  overflow: hidden;
  font-size: 0.93rem;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.info-card::before {
  content: "";
  position: absolute;
  inset: -35%;
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.16), transparent 55%);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 1);
  border-color: rgba(34, 197, 94, 0.55);
}

.info-card:hover::before {
  opacity: 1;
}

.info-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 10px;
}

.info-card p {
  color: var(--text-muted);
}

/* Process */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.process-step {
  padding: 16px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid var(--border-soft);
  font-size: 0.9rem;
}

.step-number {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.5);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

/* Industries */

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.industry-card {
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid var(--border-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.industry-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.8);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.95);
}

.industry-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  margin-bottom: 8px;
}

/* Projects */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid var(--border-soft);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.85);
  font-size: 0.92rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.project-card:hover {
  transform: translateY(-3px);
  border-color: rgba(148, 163, 184, 0.9);
  box-shadow: 0 24px 52px rgba(15, 23, 42, 0.98);
}

.project-tag {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.15);
  color: #facc15;
  font-size: 0.78rem;
  margin-bottom: 6px;
}

/* Contact */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr);
  gap: 22px;
}

.contact-details {
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid var(--border-soft);
  font-size: 0.95rem;
}

.contact-details a {
  color: var(--accent-2);
  text-decoration: underline;
}

.contact-form {
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid var(--border-soft);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.9rem;
}

label {
  color: var(--text-muted);
}

input,
textarea,
select {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: #020617;
  color: var(--text-main);
  font: inherit;
  resize: vertical;
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.45);
}

select {
  cursor: pointer;
}

.btn-full {
  width: 100%;
  justify-content: center;
  margin-top: 10px;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.55);
  background: #020617;
  padding: 20px 0;
}

.footer-inner {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-tagline {
  margin-top: 4px;
}

/* Floating buttons */

.whatsapp-fab {
  position: fixed;
  right: 16px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: #22c55e;
  color: #020617;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 40px rgba(22, 163, 74, 0.7);
  z-index: 60;
  font-size: 1.2rem;
}

.whatsapp-fab:hover {
  background: #16a34a;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 74px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: rgba(15, 23, 42, 0.98);
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 55;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Focus */

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Responsive */

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    order: -1;
  }

  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid,
  .industries-grid,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .nav {
    padding-inline: 12px;
  }

  .nav-links {
    position: absolute;
    right: 12px;
    top: 60px;
    background: rgba(15, 23, 42, 0.98);
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.9);
    padding: 10px;
    flex-direction: column;
    gap: 6px;
    min-width: 180px;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-block;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-text {
    font-size: 0.94rem;
  }

  .hero-card {
    margin-top: 8px;
  }

  .cards-grid,
  .projects-grid,
  .industries-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .logo-img {
    width: 52px;
  }

  .logo-title {
    font-size: 1.1rem;
  }
}
/* ===== Hero card variants ===== */

/* Option 1 – Dashboard KPIs */
.hero-body-dashboard {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.kpi-item {
  padding: 10px 10px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 0.78rem;
}

.kpi-label {
  display: block;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.kpi-value {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
}

.kpi-sub {
  display: block;
  color: var(--text-muted);
  font-size: 0.72rem;
  margin-top: 2px;
}

.kpi-tag {
  display: inline-flex;
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
}

.kpi-tag-ok {
  background: rgba(34, 197, 94, 0.18);
  color: #6ee7b7;
  border: 1px solid rgba(34, 197, 94, 0.6);
}

.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
}

.status-pill-ok {
  background: rgba(34, 197, 94, 0.16);
  border: 1px solid rgba(34, 197, 94, 0.5);
  color: #bbf7d0;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
}

.status-note {
  color: var(--text-muted);
}

/* Option 2 – Trend + Live readings */
.hero-body-trend {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 10px;
}

.trend-panel {
  padding: 8px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.trend-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.trend-title {
  font-weight: 500;
}

.trend-scale {
  font-style: italic;
}

.trend-graph {
  position: relative;
  height: 70px;
  border-radius: 10px;
  background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.25), rgba(15, 23, 42, 0.98));
  overflow: hidden;
}

.trend-line-main {
  position: absolute;
  inset: 16px 10px 18px;
  border-radius: 999px;
  border: 2px solid rgba(96, 165, 250, 0.9);
  border-color: transparent transparent rgba(96, 165, 250, 0.9) transparent;
  transform: skewX(-12deg);
  opacity: 0.9;
}

.trend-axis {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  display: flex;
  justify-content: space-between;
  padding: 0 8px;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.live-panel {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.live-reading {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  padding: 5px 6px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.45);
}

.live-label {
  color: var(--text-muted);
}

.live-value {
  font-weight: 600;
}

.live-value-ok {
  color: #bbf7d0;
}

.live-pill {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.18);
  border: 1px solid rgba(34, 197, 94, 0.6);
  font-size: 0.75rem;
}

/* Option 3 – Pump schematic style */
.hero-body-schematic {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pump-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.pump-node {
  min-width: 0;
  flex: 1;
  padding: 8px 8px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.55);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
}

.node-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
}

.pump-node-main .node-icon {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
}

.node-text {
  display: flex;
  flex-direction: column;
}

.node-title {
  font-weight: 600;
  font-size: 0.82rem;
}

.node-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.pump-connector {
  display: flex;
  align-items: center;
  gap: 3px;
}

.connector-line {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.8);
}

.connector-arrow {
  font-size: 0.8rem;
  color: rgba(148, 163, 184, 0.9);
}

.pump-legend {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.legend-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
}

.legend-ok {
  background: #22c55e;
}

.legend-warn {
  background: #f97316;
}

/* Responsive tweaks for hero card body variants */
@media (max-width: 640px) {
  .hero-body-trend {
    grid-template-columns: minmax(0, 1fr);
  }

  .kpi-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pump-layout {
    flex-direction: column;
  }
}
