:root {
  --ink: #102533;
  --ink-2: #193b4c;
  --muted: #637684;
  --line: #d8e3e8;
  --blue: #246fb8;
  --blue-deep: #124d82;
  --green: #6aa53a;
  --teal: #1f9b9a;
  --coral: #e9664d;
  --amber: #f0b04f;
  --paper: #ffffff;
  --soft: #f5f8f9;
  --mist: #edf6f3;
  --shadow: 0 24px 70px rgba(16, 37, 51, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background: var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 88px;
  padding: 10px clamp(18px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(216, 227, 232, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 210px;
  min-width: 210px;
  height: 72px;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 4vw, 42px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.nav a,
.header-phone,
.site-footer a {
  transition: color 180ms ease;
}

.nav a:hover,
.header-phone:hover,
.site-footer a:hover {
  color: var(--blue);
}

.header-phone {
  color: var(--blue-deep);
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 1.06fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
  min-height: calc(100vh - 78px);
  padding: clamp(48px, 7vw, 92px) clamp(18px, 5vw, 76px) clamp(46px, 6vw, 82px);
  overflow: visible;
  background:
    linear-gradient(105deg, rgba(255,255,255,0.94) 0%, rgba(246,250,251,0.88) 43%, rgba(237,246,243,0.92) 100%),
    radial-gradient(circle at 74% 28%, rgba(36,111,184,0.18), transparent 34%),
    radial-gradient(circle at 16% 84%, rgba(233,102,77,0.13), transparent 28%);
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(44px, 6.2vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  max-width: 940px;
  margin-bottom: 0;
  font-size: clamp(30px, 4.1vw, 54px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 9px;
  font-size: 20px;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 690px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.56;
}

.hero-actions,
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 15px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: var(--coral);
  box-shadow: 0 18px 34px rgba(233, 102, 77, 0.26);
}

.btn-primary:hover {
  background: #d95841;
}

.btn-secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.btn-secondary:hover {
  border-color: rgba(36, 111, 184, 0.44);
  box-shadow: 0 14px 30px rgba(16, 37, 51, 0.08);
}

.btn-link {
  min-height: 54px;
  padding-inline: 12px;
  color: var(--blue-deep);
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.btn-link:hover {
  color: var(--blue);
  background: rgba(255, 255, 255, 0.62);
}

.hero-meta {
  margin-top: 28px;
}

.hero-meta span {
  padding: 10px 12px;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 800;
}

.hero-stage {
  position: relative;
  min-height: 620px;
}

.stage-panel {
  position: absolute;
  inset: 18px 0 18px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: stretch;
  gap: 18px;
  min-height: 560px;
  padding: 76px 24px 24px;
  overflow: hidden;
  background:
    linear-gradient(145deg, #ffffff 0%, #eef7f9 52%, #f9fbf4 100%);
  border: 1px solid rgba(216, 227, 232, 0.92);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stage-panel::before {
  content: "";
  position: absolute;
  inset: 38px 34px auto auto;
  width: 42%;
  aspect-ratio: 1;
  background: rgba(106, 165, 58, 0.16);
  border: 1px solid rgba(106, 165, 58, 0.24);
  border-radius: 50%;
}

.stage-label {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  padding: 9px 11px;
  color: var(--blue-deep);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stage-products {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: minmax(260px, 1fr);
  gap: 14px;
  width: 100%;
  height: 100%;
}

.stage-product {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  justify-items: center;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(216, 227, 232, 0.92);
  border-radius: var(--radius);
  box-shadow: 0 16px 36px rgba(16, 37, 51, 0.08);
  overflow: hidden;
}

.stage-product img {
  width: 100%;
  height: 100%;
  max-height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 18px 18px rgba(16, 37, 51, 0.12));
}

.stage-product figcaption {
  width: 100%;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
}

.stage-note {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px 16px;
  width: 100%;
  min-height: 84px;
  padding: 16px 18px;
  color: #fff;
  background: var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(16, 37, 51, 0.22);
}

.stage-note strong {
  grid-row: 1 / span 2;
  font-size: 30px;
  line-height: 1;
}

.stage-note span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.45;
}

.ticker {
  display: flex;
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ticker span {
  flex: 1 0 auto;
  min-width: 190px;
  padding: 18px 24px;
  color: var(--ink-2);
  background: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.metrics div {
  min-height: 150px;
  padding: 30px clamp(18px, 4vw, 50px);
  background: #fff;
}

.metrics strong {
  display: block;
  margin-bottom: 9px;
  color: var(--blue);
  font-size: 42px;
  line-height: 1;
}

.metrics span {
  display: block;
  max-width: 360px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.45;
}

.section,
.lead-section,
.site-bridge {
  padding: clamp(62px, 8vw, 104px) clamp(18px, 5vw, 76px);
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 34px;
}

.section-link {
  width: fit-content;
  color: var(--blue-deep);
  font-weight: 900;
  line-height: 1.35;
  border-bottom: 2px solid rgba(36, 111, 184, 0.22);
  transition: color 180ms ease, border-color 180ms ease;
}

.section-link:hover {
  color: var(--blue);
  border-color: rgba(36, 111, 184, 0.68);
}

.product-grid,
.matrix-grid,
.process-grid {
  display: grid;
  gap: 18px;
}

.site-bridge {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.site-bridge h2 {
  font-size: clamp(28px, 3.4vw, 44px);
}

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

.site-bridge-links a {
  display: grid;
  gap: 10px;
  min-height: 154px;
  padding: 22px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-bridge-links a:hover {
  transform: translateY(-3px);
  border-color: rgba(36, 111, 184, 0.44);
  box-shadow: 0 16px 34px rgba(16, 37, 51, 0.08);
}

.site-bridge-links strong {
  color: var(--ink);
  font-size: 21px;
  line-height: 1.18;
}

.site-bridge-links span {
  color: var(--muted);
  line-height: 1.5;
}

.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(16, 37, 51, 0.1);
}

.product p,
.matrix-row p,
.process-grid p,
.lead-copy p,
.lead-copy li,
.form-note {
  color: var(--muted);
  line-height: 1.55;
}

.product h3,
.product p,
.matrix-row p,
.process-grid p {
  margin-bottom: 0;
}

.product-section {
  background:
    linear-gradient(180deg, #f7fafb 0%, #eef5f7 100%);
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product {
  display: grid;
  grid-template-rows: 230px auto auto auto;
  gap: 11px;
  min-height: 430px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product img {
  align-self: center;
  justify-self: center;
  width: 100%;
  height: 230px;
  padding: 8px;
  object-fit: contain;
}

.product span {
  width: fit-content;
  padding: 7px 9px;
  color: var(--blue-deep);
  background: #eef6fd;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 900;
}

.matrix {
  color: #fff;
  background:
    linear-gradient(130deg, rgba(16,37,51,0.96), rgba(25,59,76,0.94)),
    linear-gradient(90deg, var(--blue), var(--green));
}

.matrix .eyebrow {
  color: #91d6d4;
}

.matrix-grid {
  grid-template-columns: 1fr;
  max-width: 1040px;
}

.matrix-row {
  display: grid;
  grid-template-columns: 72px minmax(190px, 0.38fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.matrix-row:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.matrix-row span {
  color: var(--amber);
  font-size: 15px;
  font-weight: 900;
}

.matrix-row strong {
  font-size: 23px;
  line-height: 1.16;
}

.matrix-row p {
  color: rgba(255, 255, 255, 0.72);
}

.process {
  background: #fff;
}

.process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-grid div {
  padding: 26px;
  background: var(--mist);
  border: 1px solid rgba(31, 155, 154, 0.18);
  border-radius: var(--radius);
}

.process-grid span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 20px;
  color: #fff;
  background: var(--teal);
  border-radius: 50%;
  font-weight: 900;
}

.lead-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.66fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
  color: #fff;
  background:
    linear-gradient(122deg, rgba(18,77,130,0.97), rgba(16,37,51,0.98) 58%, rgba(25,59,76,0.98));
}

.lead-section .eyebrow {
  color: #9de0c3;
}

.lead-copy {
  max-width: 720px;
}

.lead-copy h2 {
  margin-bottom: 18px;
}

.lead-copy p,
.lead-copy li {
  color: rgba(255, 255, 255, 0.76);
}

.lead-copy ul {
  margin: 26px 0 0;
  padding-left: 20px;
}

.lead-copy li + li {
  margin-top: 10px;
}

.lead-form {
  display: grid;
  gap: 15px;
  padding: 26px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
}

.lead-form label {
  display: grid;
  gap: 7px;
  font-size: 14px;
  font-weight: 900;
}

.lead-form input,
.lead-form select {
  width: 100%;
  min-height: 50px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.lead-form input:focus,
.lead-form select:focus {
  outline: 3px solid rgba(36, 111, 184, 0.18);
  border-color: var(--blue);
  background: #fff;
}

.lead-form button {
  width: 100%;
  margin-top: 4px;
  border: 0;
}

.form-note {
  margin: 0;
  font-size: 13px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(18px, 5vw, 76px);
  background: #f4f8fa;
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: 190px;
  height: 65px;
  object-fit: contain;
  object-position: left center;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-weight: 900;
}

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .hero,
  .lead-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-stage {
    min-height: 620px;
  }

  .stage-products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: minmax(220px, 1fr);
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .brand {
    width: 186px;
    min-width: 186px;
    height: 64px;
  }

  .nav {
    justify-content: space-between;
    width: 100%;
    gap: 10px;
    font-size: 13px;
  }

  .header-phone {
    font-size: 14px;
  }

  .hero {
    padding-top: 34px;
  }

  h1 {
    font-size: clamp(40px, 12vw, 56px);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .btn-link {
    background: rgba(255, 255, 255, 0.72);
    border-color: var(--line);
  }

  .hero-stage {
    min-height: 980px;
  }

  .stage-panel {
    inset: 0;
    min-height: 940px;
    padding: 68px 16px 16px;
  }

  .stage-label {
    top: 16px;
    left: 16px;
  }

  .stage-products {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, minmax(180px, 1fr));
    gap: 12px;
  }

  .stage-product {
    padding: 14px;
  }

  .stage-product img {
    max-height: 160px;
  }

  .stage-note {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .stage-note strong {
    grid-row: auto;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .site-bridge {
    grid-template-columns: 1fr;
  }

  .site-bridge-links {
    grid-template-columns: 1fr;
  }

  .matrix-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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