:root {
  --bg: #dfeefa;
  --surface: rgba(248, 251, 252, 0.9);
  --surface-strong: rgba(255, 255, 255, 0.95);
  --text: #0b2136;
  --muted: #456176;
  --line: rgba(20, 62, 102, 0.16);
  --accent: #1f6fbf;
  --accent-alt: #168b7b;
  --accent-dark: #114d86;
  --accent-soft: rgba(31, 111, 191, 0.12);
  --glow: rgba(31, 111, 191, 0.2);
  --shadow: 0 28px 80px rgba(22, 66, 109, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, #eef5f8 0%, #dde9ef 52%, #cedce3 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(33, 76, 110, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 76, 110, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
}

.site-shell {
  width: 100%;
  margin: 0 auto;
  padding: 0 0 64px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(243, 249, 255, 0.82);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 20;
  border-left: 0;
  border-right: 0;
}

.brand,
.nav a,
.footer-links a,
.quick-link {
  text-decoration: none;
  color: inherit;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-alt));
  color: white;
}

.nav {
  display: flex;
  gap: 22px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav a {
  position: relative;
}

.nav a[aria-current="page"] {
  color: var(--text);
  font-weight: 800;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--accent), transparent);
  transition: transform 180ms ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.login-link {
  background: var(--text);
  color: #fff !important;
  padding: 6px 16px;
  border-radius: 12px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.login-link:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.login-link::after {
  display: none !important;
}

.hero,
.page-hero,
.split-section,
.contact-section,
.card-grid.three-up,
.quick-nav {
  position: relative;
  z-index: 1;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  padding: 54px 0 34px;
  align-items: center;
  overflow: hidden;
  min-height: 590px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #dce8ee;
  box-shadow: var(--shadow);
  border-left: 0;
  border-right: 0;
}

.hero.hero-single {
  grid-template-columns: 1fr;
  min-height: 540px;
}

.page-hero {
  padding: 54px clamp(18px, 4vw, 64px) 18px;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(238, 246, 250, 0.96) 0%, rgba(238, 246, 250, 0.9) 30%, rgba(238, 246, 250, 0.3) 55%, rgba(238, 246, 250, 0.02) 78%),
    linear-gradient(180deg, rgba(4, 18, 30, 0.04), rgba(4, 18, 30, 0.2)),
    url("./assets/industrial-hero-hd.png");
  background-position: center, center, right center;
  background-repeat: no-repeat;
  background-size: cover, cover, cover;
}

.hero-copy,
.hero-panel {
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 640px;
  padding: 30px 30px 30px 36px;
}

.hero-single .hero-copy {
  max-width: 760px;
  padding-right: 28px;
}

.industrial-scene {
  display: none;
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--accent-dark);
  font-weight: 800;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

h1,
h2,
h3,
strong {
  font-family: "Space Grotesk", sans-serif;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 5.5vw, 5.7rem);
  line-height: 0.96;
  max-width: 13ch;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 0.98;
  max-width: 16ch;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-text,
.section-heading p,
.service-list p,
.contact-section p,
.form-note,
.quick-link p,
.homepage-note p,
.footer p,
.signal-grid p,
.info-card p {
  color: var(--muted);
}

.info-card p {
  color: #18364d;
}

.hero-text {
  font-size: clamp(1.18rem, 1.5vw, 1.38rem);
  line-height: 1.75;
  max-width: 62ch;
  margin: 24px 0;
  color: #0f2d45;
  font-weight: 500;
}

.hero h1 {
  color: #0d2b45;
  text-shadow: none;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  cursor: pointer;
}

.button:hover,
.quick-link:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), #67aee9);
  color: white;
  box-shadow: 0 16px 40px var(--glow);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.68);
  border-color: var(--line);
  color: var(--text);
}

.hero-points {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
  color: var(--muted);
}

.hero-points li {
  padding-left: 18px;
  position: relative;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-panel,
.info-card,
.service-list article,
.contact-card,
.quick-link {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 22px;
  min-height: 100%;
  background: rgba(245, 250, 248, 0.74);
}

.signal-card {
  padding: 10px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(247, 251, 255, 0.97), rgba(226, 239, 249, 0.94));
  height: 100%;
  border: 1px solid rgba(31, 111, 191, 0.16);
}

.signal-label {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(29, 168, 154, 0.12);
  font-size: 0.82rem;
  font-weight: 800;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.signal-grid article {
  padding: 18px;
  border-radius: 20px;
  background: rgba(250, 252, 251, 0.72);
  min-height: 132px;
  border: 1px solid rgba(23, 49, 58, 0.08);
}

.section {
  padding: 26px clamp(18px, 4vw, 64px);
}

.quick-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.quick-link {
  padding: 22px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.quick-link:hover {
  border-color: rgba(31, 111, 191, 0.34);
  background: rgba(255, 255, 255, 0.96);
}

.quick-link p {
  margin-bottom: 0;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.section-heading.narrow {
  max-width: 54ch;
}

.card-grid.three-up {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hero + .card-grid.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.service-list article {
  padding: 26px;
}

.info-card {
  display: grid;
  align-content: start;
}

.text-link {
  align-self: end;
  width: fit-content;
  margin-top: 18px;
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: none;
}

.text-link::after {
  content: " ->";
}

.text-link:hover {
  color: var(--accent);
}

.tool-showcase-section {
  padding-top: 40px;
}

.about-vision-section {
  padding-top: 36px;
}

.about-vision-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tool-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tool-portfolio-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 18px;
  align-items: stretch;
}

.tool-image-panel {
  min-height: clamp(280px, 34vw, 460px);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(20, 62, 102, 0.18);
  box-shadow: var(--shadow);
  background: #0d2232;
}

.tool-image-panel img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
}

.tool-summary-list {
  display: grid;
  gap: 14px;
}

.tool-summary-list article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(248, 251, 252, 0.92);
  box-shadow: 0 18px 46px rgba(22, 66, 109, 0.1);
}

.tool-summary-list span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 900;
}

.tool-summary-list p {
  color: var(--muted);
}
}

.tool-showcase-card {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 22px;
  align-items: center;
  min-height: 286px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(248, 251, 252, 0.92);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.tool-showcase-card p {
  color: var(--muted);
}

.tool-screen {
  position: relative;
  min-height: 232px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(20, 62, 102, 0.14);
  background:
    linear-gradient(rgba(20, 62, 102, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 62, 102, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(222, 235, 240, 0.92));
  background-size: 22px 22px, 22px 22px, cover;
  overflow: hidden;
}

.screen-header,
.screen-metrics {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.74rem;
  font-weight: 800;
  color: #14314a;
}

.screen-header {
  min-height: 28px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(20, 62, 102, 0.1);
}

.screen-header strong,
.screen-metrics span,
.terminal-kpis strong {
  padding: 6px 9px;
  border-radius: 999px;
  color: #0d665d;
  background: rgba(22, 139, 123, 0.13);
}

.pressure-chart,
.network-map {
  width: 100%;
  height: 158px;
}

.pressure-chart svg,
.network-map {
  width: 100%;
  height: 100%;
}

.grid-line {
  stroke: rgba(20, 62, 102, 0.08);
  stroke-width: 1;
}

.limit-path {
  stroke: rgba(178, 73, 73, 0.62);
  stroke-width: 2;
  stroke-dasharray: 7 7;
}

.surge-path,
.base-path {
  fill: none;
  stroke-linecap: round;
}

.surge-path {
  stroke: var(--accent);
  stroke-width: 5;
}

.base-path {
  stroke: var(--accent-alt);
  stroke-width: 4;
  opacity: 0.82;
}

.status-ok {
  color: #0d665d;
}

.network-pipe {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.network-pipe.main {
  stroke: #647f8c;
  stroke-width: 10;
}

.network-pipe.branch {
  stroke: #97abb4;
  stroke-width: 8;
}

.asset {
  fill: #ffffff;
  stroke: #14314a;
  stroke-width: 3;
}

.asset.pump,
.asset.valve,
.asset.unit {
  fill: #e6f4f3;
  stroke: var(--accent-alt);
}

.asset.meter {
  fill: #e8f2fb;
  stroke: var(--accent);
}

.optimization-layout {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 166px;
}

.efficiency-gauge {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #f8fbfc 0 48%, transparent 49%),
    conic-gradient(var(--accent-alt) 0 82%, rgba(20, 62, 102, 0.12) 82% 100%);
  color: #14314a;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
}

.optimizer-bars {
  display: grid;
  gap: 12px;
}

.optimizer-bars div {
  display: grid;
  grid-template-columns: 74px 1fr 42px;
  gap: 10px;
  align-items: center;
  font-size: 0.74rem;
  font-weight: 800;
  color: #14314a;
}

.optimizer-bars i {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-alt));
}

.terminal-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.25fr;
  gap: 12px;
  align-items: stretch;
  min-height: 166px;
  padding-top: 14px;
}

.tank-card {
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(20, 62, 102, 0.1);
  color: #14314a;
  font-size: 0.72rem;
  font-weight: 800;
}

.tank-card span {
  display: block;
  min-height: 42px;
  border-radius: 10px 10px 6px 6px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), transparent 34%),
    linear-gradient(180deg, #d9e7ec 0%, #78bdc8 100%);
}

.terminal-kpis {
  display: grid;
  gap: 8px;
}

.terminal-kpis p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  padding: 9px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(20, 62, 102, 0.1);
  font-size: 0.72rem;
  font-weight: 800;
  color: #14314a;
}

.info-card h3,
.service-list article h3,
.contact-card h3 {
  margin-bottom: 14px;
}

.feature-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.feature-list li {
  position: relative;
  padding-left: 18px;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #77b8ef);
}

.card-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 800;
  margin-bottom: 16px;
  box-shadow: inset 0 0 0 1px rgba(17, 77, 134, 0.08);
}

.split-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 22px;
  align-items: start;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  align-items: start;
}

.contact-card {
  padding: 24px;
  display: grid;
  gap: 16px;
}

.tool-selector-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(248, 252, 255, 0.95), rgba(220, 237, 239, 0.92));
  box-shadow: var(--shadow);
}

.tool-selector-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
}

.tool-selector-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
  color: #14314a;
}

.tool-selector-form label span {
  font-size: 0.96rem;
}

.tool-selector-form select {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(23, 49, 58, 0.14);
  background: rgba(255, 255, 255, 0.8);
  font: inherit;
  color: var(--text);
}

.tool-selector-form select:focus {
  outline: 2px solid rgba(41, 199, 184, 0.2);
  border-color: var(--accent);
}

.tool-card {
  display: grid;
  gap: 14px;
  align-content: start;
}

.tool-card-tag {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent-dark);
}

.tool-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 6px;
}

.tool-card-status {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(23, 49, 58, 0.12);
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--accent-dark);
}

.tool-card-placeholder .tool-card-status {
  background: rgba(31, 111, 191, 0.08);
  color: var(--muted);
}

.calculator-card {
  display: grid;
  gap: 22px;
}

.calculator-intro {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.calculator-intro p {
  margin: 10px 0 0;
}

.calculator-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}

.calculator-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
  color: #14314a;
}

.calculator-form label span {
  font-size: 0.96rem;
}

.calculator-form input,
.calculator-form select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(23, 49, 58, 0.14);
  background: rgba(255, 255, 255, 0.72);
  font: inherit;
  color: var(--text);
}

.calculator-form input:focus,
.calculator-form select:focus {
  outline: 2px solid rgba(41, 199, 184, 0.2);
  border-color: var(--accent);
}

.calculator-form input::placeholder {
  color: #7f98a0;
}

.calculator-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-start;
  padding-top: 4px;
}

.calculator-actions .button:disabled {
  cursor: wait;
  opacity: 0.75;
  transform: none;
}

.calculator-result {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(31, 111, 191, 0.16);
  background: linear-gradient(180deg, rgba(247, 251, 255, 0.97), rgba(226, 239, 249, 0.94));
}

.calculator-result-label {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.calculator-result-value {
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.2;
  color: #0d2b45;
}

.result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.result-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(23, 49, 58, 0.1);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--accent-dark);
}

.calculator-result[data-state="loading"] {
  border-color: rgba(31, 111, 191, 0.22);
}

.calculator-result[data-state="success"] {
  border-color: rgba(24, 144, 128, 0.24);
  background: linear-gradient(180deg, rgba(245, 252, 250, 0.98), rgba(225, 242, 237, 0.94));
}

.calculator-result[data-state="error"] {
  border-color: rgba(178, 73, 73, 0.24);
  background: linear-gradient(180deg, rgba(255, 248, 248, 0.98), rgba(248, 232, 232, 0.94));
}

.section-band {
  padding-top: 8px;
}

.cta-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(248, 252, 255, 0.95), rgba(220, 237, 239, 0.92));
  box-shadow: var(--shadow);
}

.cta-banner.compact {
  grid-template-columns: 1fr;
}

.cta-banner h2,
.cta-banner p {
  max-width: 34ch;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(23, 49, 58, 0.12);
  font-weight: 700;
  color: var(--accent-dark);
}

.contact-card label {
  display: grid;
  gap: 8px;
  font-weight: 700;
  color: #14314a;
}

.contact-card input,
.contact-card select,
.contact-card textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(23, 49, 58, 0.14);
  background: rgba(255, 255, 255, 0.72);
  font: inherit;
  color: var(--text);
}

.contact-card input:focus,
.contact-card select:focus,
.contact-card textarea:focus {
  outline: 2px solid rgba(41, 199, 184, 0.2);
  border-color: var(--accent);
}

.contact-card input::placeholder,
.contact-card textarea::placeholder {
  color: #7f98a0;
}

.form-note {
  margin: 0;
  font-size: 0.92rem;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(18px, 4vw, 64px) 10px;
  border-top: 1px solid var(--line);
  margin-top: 18px;
  position: relative;
  z-index: 1;
}

.footer-brand {
  margin-bottom: 10px;
}

.footer p {
  margin: 0;
  max-width: 48ch;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-content: flex-start;
}

.footer-links a {
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero,
  .quick-nav,
  .split-section,
  .contact-section,
  .card-grid.three-up,
  .about-vision-grid,
  .tool-showcase-grid,
  .tool-portfolio-layout,
  .tool-showcase-card,
  .cta-banner {
    grid-template-columns: 1fr;
  }

  .service-list,
  .signal-grid {
    grid-template-columns: 1fr;
  }

  .tool-selector-form {
    grid-template-columns: 1fr;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-banner .button {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: 100%;
  }

  .topbar {
    padding: 16px;
  }

  .hero,
  .page-hero {
    padding-top: 34px;
  }

  .hero {
    min-height: auto;
  }

  .hero-backdrop::before {
    background:
      linear-gradient(180deg, rgba(238, 246, 250, 0.92), rgba(238, 246, 250, 0.78)),
      url("./assets/industrial-hero-hd.png");
    background-size: cover, cover;
    background-position: center, center;
  }

  .hero-copy,
  .hero-single .hero-copy {
    padding: 30px 20px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 12vw, 3.3rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .tool-image-panel {
    min-height: 280px;
  }

  .button {
    width: 100%;
  }

  .calculator-form {
    grid-template-columns: 1fr;
  }

  .calculator-intro {
    flex-direction: column;
  }

  .tool-card-footer {
    flex-direction: column;
    align-items: stretch;
  }
}
