:root {
  --ink: #0c1726;
  --muted: #58687b;
  --line: #d9e3ee;
  --paper: #ffffff;
  --soft: #f4f8fb;
  --navy: #071a34;
  --blue: #075bb8;
  --sky: #0d9fe8;
  --teal: #00a6a6;
  --green: #17825a;
  --shadow: 0 22px 54px rgba(7, 26, 52, 0.12);
  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: var(--soft);
}

body,
button,
input,
select,
textarea {
  font: inherit;
}

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

a {
  color: inherit;
}

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

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

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

.site-header {
  min-height: 78vh;
  padding: 22px 0 72px;
  color: #ffffff;
  background:
    linear-gradient(120deg, rgba(7, 26, 52, 0.96), rgba(7, 45, 86, 0.9)),
    url("assets/viaprofit-isp-banner.png") center / cover;
}

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

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

.brand {
  gap: 10px;
  color: #ffffff;
  font-weight: 900;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--sky), var(--teal));
  box-shadow: 0 14px 30px rgba(0, 166, 166, 0.22);
}

.nav-links {
  flex-wrap: wrap;
  gap: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
  font-weight: 700;
}

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

.nav-links a:hover {
  color: #ffffff;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.52fr);
  gap: 48px;
  align-items: end;
  padding-top: clamp(58px, 9vw, 118px);
}

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

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

.hero .eyebrow,
.solution-band .eyebrow,
.lead-section .eyebrow {
  color: #79ddff;
}

h1 {
  max-width: 840px;
  margin-bottom: 20px;
  color: inherit;
  font-size: clamp(3.2rem, 8vw, 6.6rem);
  line-height: 0.94;
  letter-spacing: 0;
}

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

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.25;
}

.hero-copy p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.16rem;
}

.hero-actions,
.solution-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: 900;
  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: linear-gradient(135deg, var(--blue), var(--sky));
}

.button-secondary,
.button-light {
  color: #0b2f58;
  background: #ffffff;
  border-color: rgba(255, 255, 255, 0.32);
}

.hero-panel {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.hero-panel strong {
  color: #79ddff;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-panel h2 {
  margin-bottom: 0;
  font-size: clamp(2.4rem, 4vw, 4rem);
}

.hero-panel p {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.82);
}

.price-stack {
  display: grid;
  gap: 4px;
  padding: 18px;
  border-radius: 8px;
  color: var(--ink);
  background: #ffffff;
}

.price-stack span,
.price-stack small {
  color: var(--muted);
  font-weight: 800;
}

.price-stack b {
  color: var(--blue);
  font-size: 2.2rem;
  line-height: 1;
}

.section {
  padding: 82px 0;
}

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

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

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

.service-grid article,
.news-grid article {
  min-height: 245px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 14px 32px rgba(7, 26, 52, 0.06);
}

.service-grid span,
.news-grid span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-grid p,
.news-grid p {
  margin-bottom: 0;
}

.solution-band {
  padding: 86px 0;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(7, 26, 52, 0.98), rgba(7, 66, 116, 0.94)),
    var(--navy);
}

.solution-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: 34px;
  align-items: center;
}

.solution-copy p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.product-preview {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.28);
}

.product-preview img {
  width: 100%;
  min-height: 390px;
  object-fit: cover;
  object-position: center;
}

.pricing-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.pricing-row article {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.pricing-row span {
  display: block;
  margin-bottom: 10px;
  color: #79ddff;
  font-weight: 900;
  text-transform: uppercase;
}

.pricing-row strong {
  display: block;
  margin-bottom: 10px;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.pricing-row p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.partnership {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1fr);
  gap: 34px;
  align-items: center;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.partnership-copy p {
  max-width: 640px;
  margin-bottom: 18px;
  font-size: 1.04rem;
}

.structure-callout {
  display: grid;
  gap: 6px;
  max-width: 620px;
  padding: 18px;
  border: 1px solid rgba(0, 166, 166, 0.2);
  border-radius: 8px;
  background: #eefbfb;
}

.structure-callout strong {
  color: #006d77;
  font-size: 1.02rem;
}

.structure-callout span {
  color: #20324a;
  font-weight: 800;
}

.service-area {
  display: grid;
  gap: 10px;
  max-width: 640px;
  margin-top: 16px;
}

.service-area strong {
  color: var(--blue);
}

.service-area div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-area span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #20324a;
  background: #ffffff;
  font-size: 0.86rem;
  font-weight: 800;
}

.partnership-steps {
  display: grid;
  gap: 12px;
}

.partnership-steps article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fbff;
}

.partnership-steps b {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: var(--blue);
}

.partnership-steps span {
  color: #20324a;
  font-weight: 800;
}

.partnership-steps strong {
  color: var(--blue);
}

.partnership-summary {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 20px;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--navy), var(--blue));
}

.partnership-summary span {
  color: #79ddff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.partnership-summary strong {
  font-size: 1.15rem;
  line-height: 1.25;
}

.partnership-summary .button {
  white-space: nowrap;
}

.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, var(--navy), var(--blue) 58%, #006d77);
  box-shadow: var(--shadow);
}

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

.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: 900;
}

.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: 900;
}

.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: 900;
}

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

.lead-form input,
.lead-form select,
.lead-form textarea,
.doubt-chat-panel input,
.doubt-chat-panel 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,
.doubt-chat-panel textarea {
  min-height: 104px;
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus,
.doubt-chat-panel input:focus,
.doubt-chat-panel textarea:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(13, 159, 232, 0.16);
}

.lead-form input[readonly] {
  color: #48586b;
  background: #eef3f8;
  cursor: not-allowed;
}

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

.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}

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

.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: 900;
}

.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;
}

.doubt-chat {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: grid;
  justify-items: end;
  gap: 10px;
}

.doubt-chat-toggle {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  box-shadow: 0 18px 42px rgba(11, 18, 32, 0.22);
  cursor: pointer;
  font-weight: 900;
}

.doubt-chat-panel {
  display: none;
  width: min(360px, calc(100vw - 32px));
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 22px 52px rgba(11, 18, 32, 0.22);
}

.doubt-chat.is-open .doubt-chat-panel {
  display: grid;
  gap: 12px;
}

.chat-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.chat-heading strong {
  color: var(--ink);
  font-size: 1rem;
}

.chat-heading button {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #ffffff;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

.doubt-chat-panel p,
.doubt-chat-panel small {
  margin: 0;
  color: var(--muted);
}

.doubt-chat-panel label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 900;
}

.doubt-chat-panel .button {
  width: 100%;
}

.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: 900;
  text-decoration: none;
}

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

  .lead-copy {
    position: static;
  }

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

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

  .partnership-summary {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}

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

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

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

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

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

  .service-grid,
  .pricing-row {
    grid-template-columns: 1fr;
  }

  .section,
  .solution-band {
    padding: 58px 0;
  }

  .product-preview img {
    min-height: 260px;
  }

  .partnership,
  .lead-section {
    padding: 24px;
  }

  .partnership-summary .button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

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

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

  .doubt-chat {
    right: 16px;
    bottom: 16px;
  }
}
