:root {
  --ink: #0b1220;
  --muted: #526071;
  --line: #d9e2ec;
  --paper: #ffffff;
  --soft: #f4f8fb;
  --blue: #0d47a1;
  --sky: #0288d1;
  --teal: #00a6a6;
  --green: #2e7d32;
  --shadow: 0 18px 45px rgba(11, 18, 32, 0.1);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--soft);
  line-height: 1.6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(13, 71, 161, 0.1), rgba(0, 166, 166, 0.08) 38%, transparent 38%),
    var(--soft);
}

body,
button,
input {
  font: inherit;
}

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

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  min-height: 92vh;
  padding: 24px 0 72px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.94), rgba(244, 248, 251, 0.84)),
    linear-gradient(90deg, rgba(13, 71, 161, 0.14), rgba(0, 166, 166, 0.12));
  border-bottom: 1px solid var(--line);
}

.nav,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.nav-links,
.hero-actions,
.button {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  box-shadow: 0 12px 26px rgba(13, 71, 161, 0.24);
}

.nav-links {
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--blue);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.68fr);
  align-items: end;
  gap: 56px;
  padding-top: clamp(64px, 10vw, 130px);
}

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

.eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(3.5rem, 9vw, 7rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.22rem;
  line-height: 1.2;
}

p {
  color: var(--muted);
}

.hero-copy p {
  max-width: 680px;
  font-size: 1.18rem;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  min-height: 48px;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.button-primary {
  color: #ffffff;
  background: var(--blue);
}

.button-secondary {
  color: var(--blue);
  background: #ffffff;
  border-color: var(--line);
}

.button-light {
  color: var(--blue);
  background: #ffffff;
}

.hero-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(13, 71, 161, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-panel div {
  padding: 18px;
  border-radius: 8px;
  background: var(--paper);
}

.hero-panel strong,
.hero-panel span {
  display: block;
}

.hero-panel strong {
  margin-bottom: 4px;
  color: var(--blue);
}

.hero-panel span {
  color: var(--muted);
  font-size: 0.95rem;
}

.section {
  padding: 86px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(280px, 0.6fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading.compact {
  display: block;
  max-width: 720px;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.card {
  min-height: 280px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 12px 30px rgba(11, 18, 32, 0.06);
}

.card-number {
  display: block;
  margin-bottom: 36px;
  color: var(--teal);
  font-weight: 800;
}

.viaproft-band {
  padding: 84px 0;
  background: #071a34;
  color: #ffffff;
}

.viaproft {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.viaproft-showcase {
  margin-bottom: 28px;
}

.showcase-heading {
  max-width: 820px;
}

.showcase-heading .eyebrow {
  color: #66d9ef;
}

.showcase-heading h2,
.showcase-heading p {
  color: #ffffff;
}

.showcase-heading p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.bi-carousel {
  display: grid;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: linear-gradient(145deg, #eef4f8, #ffffff);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.28);
}

.carousel-toolbar,
.carousel-info,
.carousel-metrics,
.carousel-dots,
.carousel-controls {
  display: flex;
  align-items: center;
}

.carousel-toolbar {
  justify-content: space-between;
  gap: 12px;
}

.carousel-kicker,
.carousel-label {
  color: #006d77;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.carousel-controls {
  gap: 8px;
}

.carousel-button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(13, 71, 161, 0.18);
  border-radius: 8px;
  color: var(--blue);
  background: #ffffff;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease;
}

.carousel-button:hover {
  transform: translateY(-1px);
  background: #edf6ff;
}

.carousel-stage {
  position: relative;
  overflow: hidden;
  min-height: 342px;
  border: 1px solid rgba(13, 71, 161, 0.12);
  border-radius: 8px;
  background: #eef4f8;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: translateX(18px) scale(0.985);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.carousel-slide.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

.carousel-info {
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(13, 71, 161, 0.12);
  border-radius: 8px;
  background: #ffffff;
}

.carousel-info h3,
.carousel-info p {
  margin-bottom: 0;
}

.carousel-info h3 {
  color: var(--ink);
}

.carousel-info p {
  color: var(--muted);
}

.carousel-metrics {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.carousel-metrics span {
  padding: 7px 10px;
  border-radius: 8px;
  color: #005a84;
  background: #e7f4fb;
  font-size: 0.82rem;
  font-weight: 800;
}

.carousel-dots {
  justify-content: center;
  gap: 8px;
}

.carousel-dot {
  width: 34px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: #c9d8e6;
  cursor: pointer;
}

.carousel-dot.is-active {
  background: var(--teal);
}

.viaproft-copy .eyebrow {
  color: #66d9ef;
}

.viaproft-copy h2,
.viaproft-copy p {
  color: #ffffff;
}

.viaproft-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.feature-list div {
  min-height: 92px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.bi-highlights span,
.bi-highlights strong,
.product-line span,
.product-line strong {
  display: block;
}

.bi-highlights,
.product-line {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

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

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

.bi-highlights article,
.product-line article {
  min-height: 230px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.product-line article {
  min-height: 205px;
  background: rgba(255, 255, 255, 0.1);
}

.product-card {
  overflow: hidden;
  padding: 0;
}

.product-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.product-card div {
  padding: 22px;
}

.product-card a {
  display: inline-flex;
  margin-top: 18px;
  border-radius: 8px;
  padding: 10px 13px;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.product-isp {
  box-shadow: 0 22px 50px rgba(2, 136, 209, 0.24);
}

.product-isp a {
  background: #0288d1;
}

.product-agro {
  box-shadow: 0 22px 50px rgba(46, 125, 50, 0.24);
}

.product-agro a {
  background: #2e7d32;
}

.product-condo {
  box-shadow: 0 22px 50px rgba(173, 20, 87, 0.24);
}

.product-condo a {
  background: #ad1457;
}

.bi-highlights span,
.product-line span {
  margin-bottom: 18px;
  color: #66d9ef;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bi-highlights strong,
.product-line strong {
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 1.06rem;
  line-height: 1.25;
}

.bi-highlights p,
.product-line p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
}

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

.integration-grid article {
  min-height: 245px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 12px 30px rgba(11, 18, 32, 0.06);
}

.integration-grid span {
  display: inline-flex;
  margin-bottom: 28px;
  padding: 7px 10px;
  border-radius: 8px;
  color: #006d77;
  background: #e7f4fb;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.integration-grid p {
  margin-bottom: 0;
}

.lead-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 1fr);
  gap: 34px;
  align-items: start;
  margin-bottom: 72px;
  padding: 42px;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, #071a34, var(--blue) 56%, #006d77);
  box-shadow: var(--shadow);
}

.lead-copy {
  position: sticky;
  top: 24px;
}

.lead-copy .eyebrow,
.lead-copy h2,
.lead-copy p {
  color: #ffffff;
}

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

.lead-flow {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.lead-flow span {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
}

.optional-integrations {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.optional-integrations legend {
  padding: 0 6px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
}

.optional-integrations label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: #ffffff;
  outline: none;
}

.lead-form textarea {
  min-height: 104px;
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(2, 136, 209, 0.16);
}

.lead-form .full {
  grid-column: 1 / -1;
}

.privacy-check {
  display: flex;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}

.privacy-check input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.optional-integrations input {
  width: 16px;
  min-width: 16px;
  height: 16px;
  min-height: 16px;
}

.privacy-note {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.form-status {
  display: none;
  margin-bottom: 0;
  padding: 12px;
  border-radius: 8px;
  font-weight: 800;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  color: #0b5f3a;
  background: #e6f7ee;
}

.form-status.is-error {
  color: #8a1f11;
  background: #fdebe7;
}

.lead-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  counter-reset: steps;
}

.steps article {
  position: relative;
  padding: 24px;
  border-top: 4px solid var(--green);
  border-radius: 8px;
  background: #ffffff;
}

.steps span {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-weight: 800;
}

.steps p {
  margin-bottom: 0;
}

.cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-bottom: 72px;
  padding: 38px;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--sky) 58%, var(--teal));
}

.cta .eyebrow,
.cta h2,
.cta p {
  color: #ffffff;
}

.cta p {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.84);
}

.site-footer {
  padding: 30px 0;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

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

  .lead-copy {
    position: static;
  }

  .solution-grid,
  .bi-highlights,
  .product-line,
  .integration-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta {
    justify-items: start;
  }

  .carousel-stage {
    min-height: 430px;
  }
}

@media (max-width: 700px) {
  .site-header {
    min-height: auto;
    padding-bottom: 48px;
  }

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

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero {
    gap: 28px;
    padding-top: 52px;
  }

  .hero-copy p {
    font-size: 1rem;
  }

  .bi-carousel {
    padding: 12px;
  }

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

  .carousel-stage {
    min-height: 260px;
  }

  .carousel-info {
    padding: 14px;
  }

  .lead-section {
    padding: 26px;
  }

  .lead-form {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .optional-integrations {
    grid-template-columns: 1fr;
  }

  .solution-grid,
  .bi-highlights,
  .product-line,
  .integration-grid,
  .feature-list,
  .steps {
    grid-template-columns: 1fr;
  }

  .section,
  .viaproft-band {
    padding: 60px 0;
  }

  .cta {
    padding: 26px;
  }
}
