:root {
  --navy: #07172f;
  --navy-2: #0b2347;
  --blue: #1769ff;
  --blue-2: #00a6ff;
  --ink: #10213f;
  --muted: #62708a;
  --line: #dbe5f3;
  --soft: #f4f8fd;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(7, 23, 47, 0.14);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(219, 229, 243, 0.85);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: var(--navy);
  font-weight: 850;
  letter-spacing: 0;
}

.brand-symbol {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-logo {
  width: 190px;
  height: auto;
  max-height: 54px;
  object-fit: contain;
}

.brand-name {
  font-size: 1.02rem;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #2b3d5c;
  font-size: 0.94rem;
  font-weight: 650;
}

.nav-links a {
  padding: 8px 0;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 750;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), #0f4fc9);
  box-shadow: 0 14px 28px rgba(23, 105, 255, 0.24);
}

.btn-secondary {
  color: var(--navy);
  background: var(--white);
  border-color: var(--line);
}

.btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  position: relative;
  min-height: 690px;
  display: grid;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background: var(--navy);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 23, 47, 0.98) 0%, rgba(7, 23, 47, 0.82) 43%, rgba(7, 23, 47, 0.2) 100%),
    url("noventra-hero.png") center right / cover no-repeat;
}

.hero .container {
  position: relative;
  z-index: 1;
  width: min(1600px, calc(100% - 88px));
}

.hero-content {
  max-width: none;
  padding: 92px 0 72px;
}

.eyebrow {
  display: inline-flex;
  color: #c8dcff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.12;
  margin: 0;
  letter-spacing: 0;
}

h1 {
  margin-top: 18px;
  font-size: 3.35rem;
  font-weight: 900;
}

.hero h1 {
  max-width: 680px;
  line-height: 1.08;
  text-wrap: balance;
}

h2 {
  color: var(--navy);
  font-size: 3.1rem;
}

h3 {
  color: var(--navy);
  font-size: 1.22rem;
}

p {
  margin: 0;
}

.lead {
  margin-top: 22px;
  max-width: 600px;
  color: #d9e6ff;
  font-size: 1.14rem;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 54px;
  max-width: 710px;
}

.metric {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.metric strong {
  display: block;
  font-size: 1.42rem;
}

.metric span {
  color: #c8d8f5;
  font-size: 0.9rem;
}

.section {
  padding: 88px 0;
}

.section.alt {
  background: var(--soft);
}

.section.dark {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
}

.section.dark h2,
.section.dark h3 {
  color: var(--white);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 34px;
}

.section-head p {
  max-width: 590px;
  color: var(--muted);
}

.section.dark .section-head p,
.section.dark .muted {
  color: #c9d8ee;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.card {
  height: 100%;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(16, 33, 63, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(23, 105, 255, 0.35);
  box-shadow: var(--shadow);
}

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

.icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--blue);
  background: #eaf2ff;
  border-radius: 8px;
  font-size: 1.35rem;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.panel {
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: #30435f;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 900;
}

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

.case-top {
  min-height: 150px;
  padding: 24px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--blue));
}

.case-card .card-body {
  padding: 24px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag {
  padding: 6px 10px;
  color: #24456f;
  background: #edf5ff;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 750;
}

.testimonial {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.quote {
  font-size: 1.04rem;
  color: #263a5a;
}

.person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--navy));
  border-radius: 50%;
  font-weight: 850;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-button {
  width: 100%;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--navy);
  background: transparent;
  border: 0;
  text-align: left;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.faq-button span:last-child {
  flex: 0 0 auto;
  color: var(--blue);
  font-size: 1.4rem;
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 240ms ease;
}

.faq-panel p {
  padding: 0 0 22px;
  color: var(--muted);
}

.cta-band {
  padding: 54px;
  border-radius: var(--radius);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 23, 47, 0.98), rgba(23, 105, 255, 0.86)),
    url("noventra-hero.png") center / cover no-repeat;
}

.cta-band p {
  max-width: 690px;
  color: #dbe8ff;
}

.page-hero {
  padding: 86px 0 68px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 23, 47, 0.98), rgba(11, 35, 71, 0.94)),
    url("noventra-hero.png") center right / cover no-repeat;
}

.page-hero h1 {
  max-width: 880px;
}

.page-hero p {
  max-width: 720px;
  margin-top: 18px;
  color: #d9e6ff;
  font-size: 1.12rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 26px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 16px;
}

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

label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  min-height: 138px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(23, 105, 255, 0.16);
  border-color: var(--blue);
}

.form-status {
  min-height: 24px;
  color: var(--blue);
  font-weight: 750;
}

.site-footer {
  color: #c7d6eb;
  background: var(--navy);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
  padding: 58px 0;
}

.site-footer h3 {
  color: var(--white);
  font-size: 1rem;
}

.site-footer .brand {
  display: inline-flex;
  padding: 8px 10px;
  background: var(--white);
  border-radius: 8px;
}

.site-footer .brand-logo {
  width: 190px;
  max-height: 58px;
}

.site-footer a,
.site-footer p {
  color: #c7d6eb;
}

.footer-links {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #9fb2cf;
  font-size: 0.92rem;
}

[data-animate] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  h1 {
    font-size: 2.85rem;
  }

  h2 {
    font-size: 2.55rem;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 16px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a,
  .nav-links .btn {
    width: 100%;
  }

  .grid-3,
  .split,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .container {
    width: min(100% - 22px, 1120px);
  }

  .hero .container {
    width: min(100% - 22px, 1120px);
  }

  .brand-logo {
    width: 154px;
    max-height: 44px;
  }

  .brand-symbol {
    width: 38px;
    height: 38px;
  }

  .brand-name {
    font-size: 0.94rem;
  }

  .hero {
    min-height: calc(100vh - 118px);
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(7, 23, 47, 0.98) 0%, rgba(7, 23, 47, 0.9) 62%, rgba(7, 23, 47, 0.5) 100%),
      url("noventra-hero.png") center / cover no-repeat;
  }

  .hero-content {
    padding: 46px 0 30px;
  }

  .grid-2,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 28px;
  }

  .metric {
    padding: 10px 8px;
  }

  .metric strong {
    font-size: 1rem;
  }

  .metric span {
    font-size: 0.72rem;
    line-height: 1.25;
  }

  h1 {
    font-size: 2.08rem;
  }

  h2 {
    font-size: 2rem;
  }

  .lead {
    font-size: 1.04rem;
  }

  .section {
    padding: 64px 0;
  }

  .cta-band {
    padding: 32px 22px;
  }

  .page-hero {
    padding: 66px 0 50px;
  }
}
