@import url("https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400;0,500;0,600;1,400&family=JetBrains+Mono:wght@500;600&family=Outfit:wght@400;500;600&display=swap");

:root {
  --neo-blue: #0b2942;
  --neo-blue-mid: #1e5f8c;
  --neo-navy: #0b2942;
  --neo-deep: #0b2942;
  --neo-recovered: #2e7d64;
  --neo-ink: #14181c;
  --neo-muted: #8e9faf;
  --neo-line: #e8edf2;
  --neo-surface: #e8edf2;
  --neo-paper: #f7f6f3;
  --neo-steel: #8e9faf;
  --neo-amber: #c9772f;
  --neo-white: #fff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--neo-paper);
  color: var(--neo-ink);
  font-family: "Instrument Sans", Inter, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

a:focus-visible,
summary:focus-visible {
  border-radius: 2px;
  outline: 3px solid rgba(30, 95, 140, 0.38);
  outline-offset: 4px;
}

::selection {
  background: var(--neo-blue-mid);
  color: var(--neo-white);
}

.site-navbar {
  z-index: 1000;
  min-height: 80px;
  border-bottom: 1px solid var(--neo-line);
  background: var(--neo-paper);
}

.navbar-content {
  position: relative;
  display: flex;
  min-height: 80px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand img {
  display: block;
  width: 190px;
  height: auto;
  object-fit: contain;
}

.desktop-navigation {
  align-items: center;
  gap: 1.5rem;
}

.desktop-navigation a {
  color: var(--neo-steel);
  font-size: 0.87rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.desktop-navigation a:hover {
  color: var(--neo-blue);
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  border-radius: 2px;
  font-size: 0.86rem;
  font-family: "Outfit", Poppins, "Segoe UI", sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.btn-lg {
  min-height: 56px;
  padding-right: 1.4rem;
  padding-left: 1.4rem;
  font-size: 0.9rem;
}

.nav-contact {
  min-height: 43px;
  padding: 0.55rem 1rem;
}

.btn-nextria {
  border: 1px solid var(--neo-blue);
  background: var(--neo-blue);
  color: var(--neo-white);
}

.btn-nextria:hover,
.btn-nextria:focus {
  border-color: var(--neo-blue-mid);
  background: var(--neo-blue-mid);
  color: var(--neo-white);
}

.btn-outline-nextria {
  border: 1px solid var(--neo-steel);
  background: transparent;
  color: var(--neo-blue);
}

.btn-outline-nextria:hover,
.btn-outline-nextria:focus {
  border-color: var(--neo-blue);
  background: var(--neo-blue);
  color: var(--neo-white);
}

.mobile-navigation {
  position: relative;
}

.mobile-navigation summary {
  display: grid;
  width: 46px;
  height: 42px;
  cursor: pointer;
  list-style: none;
  place-content: center;
  gap: 5px;
  border: 1px solid var(--neo-line);
  border-radius: 2px;
}

.mobile-navigation summary::-webkit-details-marker {
  display: none;
}

.mobile-navigation summary span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--neo-blue);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-navigation[open] summary span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-navigation[open] summary span:nth-child(2) {
  opacity: 0;
}

.mobile-navigation[open] summary span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-navigation nav {
  position: absolute;
  top: calc(100% + 18px);
  right: 0;
  display: grid;
  width: min(310px, calc(100vw - 24px));
  padding: 1rem;
  gap: 0.25rem;
  border: 1px solid var(--neo-line);
  border-radius: 2px;
  background: var(--neo-paper);
}

.mobile-navigation nav > a:not(.btn) {
  padding: 0.75rem;
  border-radius: 8px;
  color: var(--neo-blue);
  font-size: 0.94rem;
  font-weight: 650;
}

.mobile-navigation nav > a:not(.btn):hover {
  background: var(--neo-surface);
  color: var(--neo-blue);
}

.mobile-navigation .btn {
  margin-top: 0.65rem;
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 7.2rem 0 0;
  background: var(--neo-blue);
}

.hero-section::after {
  display: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: url("../images/nextria-pattern.png");
  background-position: right center;
  background-size: auto 100%;
}

.hero-row {
  min-height: 570px;
  padding-bottom: 6.5rem;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.3rem;
  color: var(--neo-blue);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-kicker > span {
  width: 28px;
  height: 2px;
  background: var(--neo-blue-mid);
}

.display-title,
.section-title {
  margin: 0;
  color: var(--neo-navy);
  font-family: "Outfit", Poppins, "Segoe UI", sans-serif;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.display-title {
  max-width: 700px;
  font-size: clamp(2.75rem, 5vw, 4.75rem);
  line-height: 1.02;
  color: var(--neo-white);
}

.display-title em,
.section-title em {
  color: var(--neo-blue-mid);
  font-family: inherit;
  font-style: normal;
  font-weight: 400;
}

.hero-section .display-title em {
  color: var(--neo-steel);
}

.hero-description {
  max-width: 620px;
  margin: 1.7rem 0 0;
  color: var(--neo-line);
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero-actions {
  margin-top: 2rem;
}

.hero-actions .btn-nextria {
  border-color: var(--neo-paper);
  background: var(--neo-paper);
  color: var(--neo-blue);
}

.hero-actions .btn-nextria:hover,
.hero-actions .btn-nextria:focus {
  border-color: var(--neo-white);
  background: var(--neo-white);
  color: var(--neo-blue-mid);
}

.hero-actions .btn-outline-nextria {
  border-color: var(--neo-steel);
  color: var(--neo-white);
}

.hero-actions .btn-outline-nextria:hover,
.hero-actions .btn-outline-nextria:focus {
  border-color: var(--neo-paper);
  background: transparent;
}

.nextria-data-panel {
  position: relative;
  z-index: 2;
  padding: 1.7rem;
  border: 1px solid var(--neo-steel);
  border-radius: 2px;
  background: var(--neo-paper);
}

.nextria-data-panel::before {
  position: absolute;
  z-index: -1;
  inset: 10px -10px -10px 10px;
  border: 1px solid rgba(142, 159, 175, 0.42);
  border-radius: 0;
  content: "";
}

.dashboard-heading small,
.dashboard-heading strong {
  display: block;
}

.dashboard-heading small {
  margin-bottom: 0.2rem;
  color: var(--neo-muted);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-heading strong {
  color: var(--neo-navy);
  font-family: "Outfit", Poppins, sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.6rem;
  border-radius: 2px;
  background: var(--neo-surface);
  color: var(--neo-blue-mid);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.58rem;
  font-weight: 600;
}

.status-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neo-blue-mid);
}

.value-flow {
  margin-top: 1.5rem;
}

.flow-item {
  display: grid;
  min-height: 82px;
  padding: 0.8rem;
  align-content: space-between;
  border: 1px solid var(--neo-line);
  border-radius: 2px;
  background: var(--neo-white);
}

.flow-item span {
  color: var(--neo-blue-mid);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.62rem;
  font-weight: 600;
}

.flow-item strong {
  color: var(--neo-blue);
  font-size: clamp(0.65rem, 1.3vw, 0.82rem);
}

.dashboard-chart {
  display: flex;
  height: 165px;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 1.4rem;
  padding: 1.25rem 1.2rem 0;
  gap: 0.65rem;
  border-bottom: 1px solid var(--neo-steel);
  background: var(--neo-surface);
}

.dashboard-chart > span {
  width: 11%;
  min-height: 24px;
  border-radius: 0;
  background: var(--neo-blue-mid);
}

.dashboard-chart .bar-highlight {
  background: var(--neo-recovered);
}

.dashboard-caption {
  margin-top: 0.65rem;
  color: var(--neo-steel);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.56rem;
  font-weight: 500;
}

.solution-pill {
  display: flex;
  min-height: 64px;
  align-items: center;
  padding: 0.55rem;
  gap: 0.55rem;
  border: 1px solid var(--neo-line);
  border-radius: 2px;
}

.solution-pill b {
  display: grid;
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  place-items: center;
  border-radius: 0;
  background: var(--neo-blue);
  color: #fff;
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.6rem;
}

.solution-pill span,
.solution-pill small {
  display: block;
}

.solution-pill span {
  color: var(--neo-navy);
  font-size: 0.63rem;
  font-weight: 750;
  line-height: 1.3;
}

.solution-pill small {
  color: var(--neo-steel);
  font-size: 0.51rem;
  font-weight: 650;
}

.hero-facts {
  position: relative;
  z-index: 3;
  border: 1px solid var(--neo-line);
  border-bottom: 0;
  border-radius: 2px 2px 0 0;
  background: var(--neo-paper);
}

.fact-item {
  min-height: 115px;
  padding: 1.6rem;
  border-right: 1px solid var(--neo-line);
}

.hero-facts > div:last-child .fact-item {
  border-right: 0;
}

.fact-item strong,
.fact-item span {
  display: block;
}

.fact-item strong {
  margin-bottom: 0.35rem;
  color: var(--neo-blue);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.92rem;
  font-weight: 600;
}

.fact-item span {
  color: var(--neo-steel);
  font-size: 0.75rem;
  line-height: 1.5;
}

.section-space {
  padding: 7.5rem 0;
}

.bg-white {
  background-color: var(--neo-paper) !important;
}

.section-title {
  max-width: 790px;
  font-size: clamp(2.25rem, 4vw, 3.65rem);
  line-height: 1.08;
}

.lead-copy {
  color: var(--neo-blue);
  font-size: 1.28rem;
  font-weight: 500;
  line-height: 1.55;
}

.body-copy {
  color: var(--neo-muted);
  font-size: 0.98rem;
  line-height: 1.8;
}

.about-highlight {
  margin-top: 1.7rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--neo-line);
  color: var(--neo-blue);
}

.about-highlight > span {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 2px;
  background: var(--neo-surface);
  color: var(--neo-blue-mid);
  font-size: 1.15rem;
}

.about-highlight strong {
  max-width: 470px;
  font-size: 0.9rem;
  line-height: 1.55;
}

.services-section {
  background: var(--neo-surface);
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  padding: 1.65rem;
  border: 1px solid var(--neo-line);
  border-radius: 2px;
  background: var(--neo-paper);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  z-index: 2;
  transform: translateY(-5px);
  border-color: var(--neo-blue-mid);
}

.service-card.is-featured {
  border-top: 3px solid var(--neo-blue-mid);
}

.card-number {
  color: var(--neo-steel);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.66rem;
  font-weight: 600;
}

.service-badge {
  padding: 0.42rem 0.6rem;
  border: 1px solid var(--neo-line);
  border-radius: 2px;
  background: var(--neo-surface);
  color: var(--neo-blue-mid);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.55rem;
  font-weight: 600;
}

.service-card h3 {
  max-width: 330px;
  margin: 3rem 0 0.85rem;
  color: var(--neo-navy);
  font-size: 1.27rem;
  font-family: "Outfit", Poppins, sans-serif;
  font-weight: 500;
  line-height: 1.3;
}

.service-card p {
  max-width: 350px;
  margin: 0;
  color: var(--neo-muted);
  font-size: 0.85rem;
  line-height: 1.7;
}

.card-arrow {
  position: absolute;
  right: 1.4rem;
  bottom: 1.3rem;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--neo-line);
  border-radius: 2px;
  color: var(--neo-blue);
}

.service-card:hover .card-arrow {
  border-color: var(--neo-blue-mid);
  background: var(--neo-blue-mid);
  color: #fff;
}

.legal-panel {
  padding: 1.3rem 1.4rem;
  border: 1px solid var(--neo-line);
  border-radius: 2px;
  background: var(--neo-paper);
}

.legal-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 2px;
  background: var(--neo-blue);
  color: #fff;
  font-family: "Outfit", Poppins, sans-serif;
  font-size: 1.45rem;
}

.legal-panel strong {
  color: var(--neo-blue);
  font-size: 0.9rem;
}

.legal-panel p {
  margin-top: 0.2rem;
  color: var(--neo-muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

.legal-links a {
  color: var(--neo-blue-mid);
  font-size: 0.72rem;
  font-weight: 800;
}

.dark-section {
  position: relative;
  overflow: hidden;
  background: var(--neo-navy);
}

.dark-section::after {
  position: absolute;
  inset: 0;
  background-image: url("../images/nextria-pattern.png");
  background-position: right center;
  background-size: auto 100%;
  content: "";
  opacity: 0.09;
  pointer-events: none;
}

.kicker-light {
  color: var(--neo-steel);
}

.kicker-light > span {
  background: var(--neo-steel);
}

.dark-title {
  max-width: 960px;
}

.differential-grid {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2px;
}

.differential-card {
  min-height: 275px;
  padding: 1.8rem;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

.differential-grid > div:last-child .differential-card {
  border-right: 0;
}

.differential-card > span {
  color: var(--neo-steel);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.7rem;
  font-weight: 800;
}

.differential-card h3 {
  margin: 4.2rem 0 0.8rem;
  color: #fff;
  font-size: 1.08rem;
  font-family: "Outfit", Poppins, sans-serif;
  font-weight: 500;
}

.differential-card p {
  margin: 0;
  color: var(--neo-steel);
  font-size: 0.8rem;
  line-height: 1.7;
}

.process-list {
  border-top: 1px solid var(--neo-line);
}

.process-item {
  padding: 1.7rem 0;
  border-bottom: 1px solid var(--neo-line);
}

.process-item > span {
  display: grid;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  place-items: center;
  border-radius: 2px;
  background: var(--neo-surface);
  color: var(--neo-blue-mid);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 800;
}

.process-item h3 {
  margin: 0.2rem 0 0.4rem;
  color: var(--neo-blue);
  font-size: 1.1rem;
  font-family: "Outfit", Poppins, sans-serif;
  font-weight: 500;
}

.process-item p {
  margin: 0;
  color: var(--neo-muted);
  font-size: 0.85rem;
  line-height: 1.65;
}

.contact-section {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0;
  background: var(--neo-blue-mid);
}

.contact-section::after {
  position: absolute;
  inset: 0;
  background-image: url("../images/nextria-pattern.png");
  background-position: right center;
  background-size: auto 140%;
  content: "";
  opacity: 0.08;
  pointer-events: none;
}

.contact-section .section-title {
  font-size: clamp(2.15rem, 4vw, 3.35rem);
}

.contact-section p:not(.section-kicker) {
  max-width: 650px;
  margin: 1.2rem 0 0;
  color: var(--neo-steel);
  line-height: 1.7;
}

.contact-button {
  border: 0;
  background: var(--neo-paper);
  color: var(--neo-blue);
  white-space: nowrap;
}

.contact-phone {
  display: block;
  min-width: 145px;
  color: #fff;
}

.contact-phone small,
.contact-phone strong {
  display: block;
}

.contact-phone small {
  color: var(--neo-steel);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-phone strong {
  margin-top: 0.2rem;
  font-size: 0.93rem;
}

.site-footer {
  background: var(--neo-blue);
  color: var(--neo-steel);
}

.footer-main {
  padding: 4.6rem 0 3.5rem;
}

.footer-logo {
  display: block;
  width: 190px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 1.25rem;
}

.site-footer p,
.site-footer a,
.site-footer span {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 0.75rem;
  line-height: 1.6;
}

.site-footer a:hover {
  color: var(--neo-white);
}

.site-footer h3 {
  margin-bottom: 1rem;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.footer-bottom {
  padding: 1.2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
  color: var(--neo-steel);
  font-size: 0.65rem;
}

.whatsapp-float {
  position: fixed;
  z-index: 100;
  right: 1.25rem;
  bottom: 1.25rem;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 2px;
  background: var(--neo-blue);
  color: #fff;
  font-size: 1.35rem;
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  color: #fff;
}

@media (max-width: 1199.98px) {
  .desktop-navigation {
    gap: 0.85rem;
  }

  .desktop-navigation a {
    font-size: 0.78rem;
  }

  .differential-grid > div:nth-child(2) .differential-card {
    border-right: 0;
  }

  .differential-grid > div:nth-child(-n+2) .differential-card {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
}

@media (max-width: 991.98px) {
  .hero-section {
    padding-top: 5.5rem;
  }

  .hero-row {
    min-height: auto;
    padding-bottom: 5rem;
  }

  .display-title {
    max-width: 760px;
  }

  .nextria-data-panel {
    max-width: 700px;
    margin: 0 auto;
  }

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

  .hero-facts > div:nth-child(2) .fact-item {
    border-right: 0;
  }

  .hero-facts > div:nth-child(n+3) .fact-item {
    border-bottom: 0;
  }

  .section-space {
    padding: 6rem 0;
  }

  .contact-section {
    padding: 5rem 0;
  }
}

@media (max-width: 767.98px) {
  .brand img {
    width: 174px;
  }

  .display-title {
    font-size: clamp(2.55rem, 11vw, 4rem);
  }

  .section-title {
    font-size: clamp(2rem, 9vw, 3.1rem);
  }

  .service-card {
    min-height: 285px;
  }

  .differential-card {
    min-height: 235px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .differential-grid > div:last-child .differential-card {
    border-bottom: 0;
  }

  .differential-card h3 {
    margin-top: 3rem;
  }
}

@media (max-width: 575.98px) {
  .site-navbar,
  .navbar-content {
    min-height: 70px;
  }

  html {
    scroll-padding-top: 72px;
  }

  .hero-section {
    padding-top: 4.1rem;
  }

  .hero-row {
    padding-bottom: 4rem;
  }

  .section-kicker {
    font-size: 0.64rem;
  }

  .hero-description {
    font-size: 0.97rem;
  }

  .nextria-data-panel {
    padding: 1rem;
  }

  .dashboard-heading {
    gap: 0.7rem;
  }

  .status-badge {
    font-size: 0.56rem;
  }

  .dashboard-chart {
    height: 135px;
    padding-right: 0.7rem;
    padding-left: 0.7rem;
    gap: 0.4rem;
  }

  .solution-pill span {
    font-size: 0.69rem;
  }

  .fact-item {
    min-height: 125px;
    padding: 1.2rem 1rem;
  }

  .section-space {
    padding: 4.8rem 0;
  }

  .lead-copy {
    font-size: 1.12rem;
  }

  .service-card {
    padding: 1.35rem;
  }

  .legal-panel {
    padding: 1rem;
  }

  .process-item > span {
    width: 43px;
    height: 43px;
    flex-basis: 43px;
  }

  .contact-section {
    padding: 4.5rem 0;
  }

  .footer-main {
    padding: 3.8rem 0 2.8rem;
  }

  .whatsapp-float {
    right: 1rem;
    bottom: 1rem;
    width: 52px;
    height: 52px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
