/* estilos.css - Estilos globales para NProgramas */

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background-color: #f4f4f4;
  color: #333;
  margin: 0;
  padding: 0;
}

header {
  background-color: #003366;
  min-height: 90px;
  display: flex;
  align-items: center;
}

header .container {
  padding-top: 10px;
  padding-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header img {
  max-height: 60px;
}

nav a.btn {
  transition: transform 0.2s ease-in-out;
}

nav a.btn:hover {
  transform: scale(1.05);
}

.site-header {
  min-height: 108px;
  background: #003366;
}

.site-header .navbar-brand {
  display: flex;
  align-items: center;
  margin-right: 2rem;
  padding: 0.55rem 0;
}

.site-header .site-logo {
  width: clamp(245px, 21vw, 305px);
  max-width: 100%;
  max-height: 72px;
  height: auto;
  object-fit: contain;
}

.site-header .site-nav {
  display: grid;
  grid-template-columns: repeat(4, 136px);
  gap: 0.5rem;
}

.site-header .site-nav .nav-item {
  display: flex;
}

.site-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  width: 100%;
  min-height: 36px;
  padding: 0.42rem 0.68rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 0.25rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.site-nav-link:hover,
.site-nav-link:focus {
  border-color: #fff;
  background: #fff;
  color: #003366;
}

.nav-icon {
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

main {
  padding-top: 40px;
  padding-bottom: 40px;
}

h2, h3, h4 {
  color: #003366;
}

footer {
  background-color: #eaeaea;
  padding: 20px;
  text-align: center;
  font-size: 14px;
  margin-top: 40px;
}

/* Estilo para formulario de login */
.login-container {
  max-width: 400px;
  margin: 0 auto;
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.login-container .form-control {
  font-size: 14px;
  padding: 8px 12px;
}

.login-container .btn {
  font-size: 14px;
  padding: 10px;
}

/* Portada */
.home-page {
  --np-navy: #062747;
  --np-navy-deep: #031a30;
  --np-blue: #0b6fc2;
  --np-blue-bright: #2b9cf0;
  --np-ink: #15283a;
  --np-muted: #5b6b79;
  --np-line: #dbe5ed;
  --np-tint: #edf6fc;
  padding: 0;
  background: #fff;
  color: var(--np-ink);
  overflow: hidden;
}

.home-page h1,
.home-page h2,
.home-page h3 {
  color: var(--np-navy);
  letter-spacing: -0.025em;
}

.home-page p {
  line-height: 1.7;
}

.home-hero {
  position: relative;
  padding: clamp(5rem, 9vw, 8.5rem) 0 clamp(7.5rem, 11vw, 11rem);
  color: #fff;
  background:
    radial-gradient(circle at 78% 20%, rgba(43, 156, 240, 0.2), transparent 30%),
    linear-gradient(125deg, var(--np-navy-deep) 0%, var(--np-navy) 62%, #074a7d 100%);
}

.home-hero::after {
  position: absolute;
  right: -8rem;
  bottom: -13rem;
  width: 28rem;
  height: 28rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
}

.hero-eyebrow,
.section-kicker {
  margin-bottom: 0.75rem;
  color: var(--np-blue);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero-eyebrow {
  color: #78c8ff;
}

.home-hero h1 {
  max-width: 760px;
  margin-bottom: 1.5rem;
  color: #fff;
  font-size: clamp(2.65rem, 5.2vw, 5rem);
  font-weight: 750;
  line-height: 1.02;
}

.hero-lead {
  max-width: 720px;
  margin-bottom: 1rem;
  color: #e4f2fb;
  font-size: clamp(1.12rem, 1.8vw, 1.4rem);
}

.hero-detail {
  max-width: 690px;
  margin-bottom: 2.25rem;
  color: #a9c4d8;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.home-page .btn {
  border-radius: 7px;
  font-weight: 650;
}

.home-page .btn-primary {
  border-color: var(--np-blue);
  background: var(--np-blue);
}

.home-page .btn-primary:hover,
.home-page .btn-primary:focus {
  border-color: #075c9f;
  background: #075c9f;
}

.operation-map {
  position: relative;
  z-index: 1;
  max-width: 430px;
  margin-left: auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(4, 25, 45, 0.72);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
}

.operation-map__header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.operation-map__header span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3e7096;
}

.operation-map__header small {
  margin-left: auto;
  color: #94b3ca;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.operation-map__body {
  padding: 2rem;
}

.flow-node {
  padding: 0.85rem 1rem;
  border: 1px solid rgba(126, 201, 255, 0.3);
  border-radius: 8px;
  background: rgba(16, 77, 120, 0.48);
  color: #dff2ff;
  font-size: 0.88rem;
  text-align: center;
}

.flow-node--small {
  padding: 0.7rem 0.4rem;
  color: #bad8eb;
  font-size: 0.76rem;
}

.flow-node--accent {
  border-color: rgba(74, 181, 255, 0.75);
  background: rgba(11, 111, 194, 0.65);
  color: #fff;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

.flow-line {
  width: 1px;
  height: 1.5rem;
  margin: 0 auto;
  background: #4385b5;
}

.device-stage {
  position: relative;
  z-index: 1;
  width: 470px;
  height: 390px;
  margin-left: auto;
}

.device-screen {
  overflow: hidden;
  background: #eef6fb;
}

.device-screen > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.device-capture--monitor {
  object-fit: contain !important;
  object-position: center !important;
  background: #dce8ee;
}

.device-capture--laptop {
  object-fit: contain !important;
  object-position: center !important;
}

.device-capture--phone {
  object-fit: contain !important;
  object-position: center !important;
}

.device-monitor {
  position: absolute;
  top: 0;
  left: 0;
  width: 400px;
}

.device-monitor > .device-screen {
  aspect-ratio: 1421 / 903;
  border: 9px solid #142d42;
  border-bottom-width: 15px;
  border-radius: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.device-monitor__stand {
  width: 80px;
  height: 38px;
  margin: 0 auto;
  border-bottom: 7px solid #17354d;
  background: linear-gradient(90deg, transparent 34%, #17354d 34%, #17354d 66%, transparent 66%);
}

.device-laptop {
  position: absolute;
  bottom: 3px;
  left: -18px;
  z-index: 2;
  width: 295px;
  transform: rotate(-2deg);
}

.device-laptop > .device-screen {
  aspect-ratio: 1049 / 622;
  padding: 0;
  border: 7px solid #10283b;
  border-radius: 9px 9px 3px 3px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.device-laptop__base {
  width: 320px;
  height: 9px;
  margin-left: -13px;
  border-radius: 2px 2px 12px 12px;
  background: #bdcbd4;
}

.device-phone {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  width: 132px;
  height: 200px;
  padding: 15px 7px 8px;
  border: 4px solid #10283b;
  border-radius: 20px;
  background: #10283b;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
  transform: rotate(3deg);
}

.device-phone__speaker {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: #476174;
  transform: translateX(-50%);
}

.device-phone .device-screen {
  height: 100%;
  padding: 18px 10px;
  border-radius: 10px;
}

.mock-topbar {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 8px;
  background: #0b6fc2;
}

.mock-topbar span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
}

.mock-topbar b {
  margin-left: auto;
  color: #fff;
  font-size: 5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mock-layout {
  display: grid;
  grid-template-columns: 22% 1fr;
  height: calc(100% - 22px);
}

.mock-sidebar {
  padding: 14px 7px;
  background: #dceaf3;
}

.mock-sidebar i,
.mock-content .mock-title,
.mock-table > i,
.mock-mobile i {
  display: block;
  height: 6px;
  margin-bottom: 8px;
  border-radius: 5px;
  background: #b5ccdc;
}

.mock-content {
  padding: 14px;
}

.mock-content .mock-title {
  width: 38%;
  height: 8px;
  background: #729ab5;
}

.mock-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin: 14px 0;
}

.mock-metrics i {
  height: 38px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(15, 62, 95, 0.09);
}

.mock-chart {
  display: flex;
  align-items: end;
  gap: 7px;
  height: 70px;
  padding: 8px;
  border-radius: 5px;
  background: #fff;
}

.mock-chart span {
  flex: 1;
  height: 40%;
  border-radius: 3px 3px 0 0;
  background: #40a1dd;
}

.mock-chart span:nth-child(2) { height: 70%; }
.mock-chart span:nth-child(3) { height: 52%; }
.mock-chart span:nth-child(4) { height: 88%; }
.mock-chart span:nth-child(5) { height: 64%; }

.mock-table > i {
  width: calc(100% - 24px);
  height: 13px;
  margin: 8px 12px;
  background: linear-gradient(90deg, #cadce8 25%, transparent 25% 28%, #dce8ef 28% 58%, transparent 58% 61%, #c4d9e6 61%);
}

.mock-mobile b {
  display: block;
  margin-bottom: 15px;
  color: #16496d;
  font-size: 9px;
}

.mock-mobile i {
  height: 35px;
  margin-bottom: 8px;
  background: #d4e7f2;
}

.home-section {
  padding: clamp(4.75rem, 8vw, 7.5rem) 0;
}

.home-section--tint {
  background: var(--np-tint);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 3.25rem;
  text-align: center;
}

.section-heading h2,
.home-section h2,
.contact-heading h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3.5vw, 3.15rem);
  font-weight: 720;
  line-height: 1.12;
}

.section-heading > p:last-child,
.section-intro,
.contact-heading > p:last-child {
  color: var(--np-muted);
  font-size: 1.05rem;
}

.problem-card,
.solution-card {
  position: relative;
  padding: 2rem;
  border: 1px solid var(--np-line);
  border-radius: 12px;
  background: #fff;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.problem-card:hover,
.solution-card:hover {
  transform: translateY(-3px);
  border-color: #a9cfe9;
  box-shadow: 0 16px 38px rgba(12, 52, 81, 0.09);
}

.card-index {
  display: block;
  margin-bottom: 2rem;
  color: var(--np-blue);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.78rem;
  font-weight: 700;
}

.problem-card h3,
.solution-card h3,
.work-steps h3 {
  margin-bottom: 0.75rem;
  font-size: 1.18rem;
  font-weight: 700;
}

.problem-card p,
.solution-card p,
.work-steps p {
  margin: 0;
  color: var(--np-muted);
  font-size: 0.95rem;
}

.solution-card {
  padding-top: 2.3rem;
  border-top: 3px solid var(--np-blue);
}

.solution-label {
  display: inline-block;
  margin-bottom: 1.5rem;
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
  background: #e6f3fc;
  color: #075d9f;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.evidence-section {
  background: #f4f8fb;
}

.evidence-stack {
  display: grid;
  gap: 2rem;
}

.evidence-block {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.7fr);
  align-items: stretch;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid var(--np-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(12, 52, 81, 0.07);
}

.evidence-block--reverse {
  grid-template-columns: minmax(0, 1.7fr) minmax(220px, 0.72fr);
}

.evidence-block--reverse .evidence-copy {
  order: 2;
}

.evidence-block--reverse .screenshot-frame {
  order: 1;
}

.evidence-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 4vw, 3.5rem);
}

.evidence-copy > span {
  margin-bottom: 1.25rem;
  color: var(--np-blue);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.evidence-copy h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  font-weight: 730;
}

.evidence-copy p {
  margin: 0;
  color: var(--np-muted);
}

.screenshot-frame {
  display: flex;
  align-items: center;
  padding: clamp(1.4rem, 3vw, 2.5rem);
  background: #e6eef4;
}

.screenshot-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 8px solid #17344a;
  border-radius: 10px;
  background: #f5f9fb;
  box-shadow: 0 22px 45px rgba(15, 48, 71, 0.2);
}

.screenshot-frame img {
  display: block;
  width: 100%;
  height: auto;
  border: 8px solid #17344a;
  border-radius: 10px;
  box-shadow: 0 22px 45px rgba(15, 48, 71, 0.2);
}

.screenshot-placeholder > small {
  position: absolute;
  right: 10px;
  bottom: 8px;
  padding: 0.25rem 0.45rem;
  border-radius: 3px;
  background: rgba(6, 39, 71, 0.82);
  color: #fff;
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.placeholder-toolbar {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 34px;
  padding: 0 12px;
  background: var(--np-navy);
}

.placeholder-toolbar span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5e829e;
}

.placeholder-toolbar b {
  margin-left: auto;
  color: #d9e9f4;
  font-size: 0.58rem;
  letter-spacing: 0.06em;
}

.placeholder-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 18px 20px 10px;
}

.placeholder-panel div {
  height: 46px;
  border-radius: 5px;
  background: linear-gradient(135deg, #d7e9f4, #fff);
  box-shadow: 0 3px 10px rgba(20, 65, 97, 0.08);
}

.placeholder-table {
  margin: 10px 20px;
  overflow: hidden;
  border: 1px solid #d3e0e8;
  border-radius: 5px;
}

.placeholder-table i {
  display: block;
  height: 17px;
  border-bottom: 1px solid #e1ebf1;
  background: linear-gradient(90deg, #c6dbe8 19%, transparent 19% 22%, #e0eaf0 22% 53%, transparent 53% 56%, #d1e1ea 56% 78%, transparent 78% 81%, #c8dce8 81%);
}

.placeholder-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px 18px;
}

.placeholder-flow i {
  width: 48px;
  height: 48px;
  border: 6px solid #d1e6f3;
  border-radius: 8px;
  background: #fff;
}

.placeholder-flow b {
  width: 42px;
  height: 2px;
  background: #80b9db;
}

.placeholder-dashboard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 18px;
}

.placeholder-dashboard > i {
  height: 38px;
  border-radius: 5px;
  background: #d7e9f4;
}

.placeholder-dashboard > div {
  display: flex;
  grid-column: 1 / -1;
  align-items: end;
  gap: 8px;
  height: 98px;
  padding: 12px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #dce8ef;
}

.placeholder-dashboard > div b {
  flex: 1;
  height: 45%;
  background: #5fb0e1;
}

.placeholder-dashboard > div b:nth-child(2) { height: 75%; }
.placeholder-dashboard > div b:nth-child(3) { height: 58%; }
.placeholder-dashboard > div b:nth-child(4) { height: 88%; }
.placeholder-dashboard > div b:nth-child(5) { height: 66%; }

.access-section {
  background: #fff;
}

.access-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, auto);
  gap: 2rem 5rem;
  max-width: 980px;
  min-height: 500px;
  margin: 0 auto;
  padding: 2rem;
  border: 1px solid var(--np-line);
  border-radius: 20px;
  background-color: #f7fafc;
  background-image: radial-gradient(#c8dbe8 1px, transparent 1px);
  background-size: 18px 18px;
}

.access-node,
.access-core {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 1.3rem;
  border: 1px solid #cbdde9;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(10, 53, 84, 0.09);
  text-align: center;
}

.access-node span {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--np-blue);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.68rem;
  font-weight: 700;
}

.access-node b,
.access-core b {
  display: block;
  color: var(--np-navy);
  font-size: 0.9rem;
}

.access-node small,
.access-core small {
  color: var(--np-muted);
  font-size: 0.7rem;
}

.access-node--desktop { grid-area: 1 / 1; }
.access-node--web { grid-area: 1 / 3; }
.access-node--mobile { grid-area: 3 / 1; }
.access-node--reports { grid-area: 3 / 3; }

.access-core {
  grid-area: 2 / 2;
  padding: 1.8rem 1.2rem;
  border: 0;
  background: var(--np-navy);
  box-shadow: 0 18px 40px rgba(6, 39, 71, 0.25);
}

.access-core i {
  display: block;
  width: 48px;
  height: 20px;
  margin: 0 auto 1rem;
  border: 2px solid #69bdf3;
  border-radius: 50%;
  box-shadow: 0 7px 0 -2px var(--np-navy), 0 7px 0 0 #69bdf3, 0 14px 0 -2px var(--np-navy), 0 14px 0 0 #69bdf3;
}

.access-core b { color: #fff; }
.access-core small { color: #a9c9df; }

.access-connector {
  position: absolute;
  z-index: 1;
  width: 32%;
  height: 2px;
  background: #86b9d8;
  transform-origin: center;
}

.access-connector::after {
  position: absolute;
  top: -3px;
  right: -1px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--np-blue);
  content: "";
}

.access-connector--a { top: 34%; left: 24%; transform: rotate(25deg); }
.access-connector--b { top: 34%; right: 24%; transform: rotate(-25deg); }
.access-connector--c { bottom: 34%; left: 24%; transform: rotate(-25deg); }
.access-connector--d { right: 24%; bottom: 34%; transform: rotate(25deg); }

.evolution-section {
  background: #f6f9fb;
}

.evolution-track {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  padding: 2.5rem;
  border: 1px solid var(--np-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(12, 52, 81, 0.06);
}

.evolution-track > div {
  text-align: center;
}

.evolution-track span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0 auto 0.7rem;
  border-radius: 50%;
  background: var(--np-navy);
  color: #fff;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.72rem;
}

.evolution-track b {
  color: var(--np-navy);
  font-size: 0.86rem;
}

.evolution-track > i {
  position: relative;
  height: 2px;
  margin: 0 0.8rem 1.45rem;
  background: linear-gradient(90deg, #9bc6df, var(--np-blue));
}

.evolution-track > i::after {
  position: absolute;
  top: -4px;
  right: -1px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid var(--np-blue);
  content: "";
}

.production-section {
  color: #c5d9e8;
  background: var(--np-navy);
}

.production-section h2 {
  color: #fff;
}

.section-kicker--light {
  color: #76c8ff;
}

.production-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.production-grid span {
  padding: 1.1rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: #e7f3fb;
  font-size: 0.92rem;
}

.work-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--np-line);
}

.work-steps article {
  padding: 2rem 1.75rem 0;
  border-right: 1px solid var(--np-line);
}

.work-steps article:first-child {
  padding-left: 0;
}

.work-steps article:last-child {
  border-right: 0;
}

.work-steps span {
  display: block;
  margin-bottom: 1.35rem;
  color: var(--np-blue);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.8rem;
  font-weight: 700;
}

.philosophy-section {
  position: relative;
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  overflow: hidden;
  background: #0b6fc2;
  color: #fff;
  text-align: center;
}

.philosophy-section .container {
  position: relative;
  z-index: 1;
  max-width: 850px;
}

.philosophy-mark {
  position: absolute;
  top: -4.5rem;
  left: 50%;
  margin: 0;
  color: rgba(255, 255, 255, 0.1);
  font-family: Georgia, serif;
  font-size: 15rem;
  line-height: 1;
  transform: translateX(-50%);
}

.philosophy-section h2 {
  position: relative;
  margin-bottom: 1rem;
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 750;
}

.philosophy-section p:last-child {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  color: #dcedf9;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.technology-section {
  border-bottom: 1px solid var(--np-line);
}

.technology-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
}

.technology-list span {
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--np-line);
  border-radius: 6px;
  background: #f8fbfd;
  color: #24455e;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.8rem;
  font-weight: 700;
}

.final-cta {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  background: #f2f7fa;
}

.final-cta .container {
  max-width: 900px;
}

.final-cta h2 {
  margin-bottom: 1.25rem;
  color: var(--np-navy);
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  font-weight: 740;
  line-height: 1.15;
}

.final-cta p {
  max-width: 730px;
  margin: 0 auto 2rem;
  color: var(--np-muted);
  font-size: 1.08rem;
}

.contact-section {
  padding: clamp(4.25rem, 7vw, 6rem) 0 3.5rem;
  background: linear-gradient(180deg, #fff 0%, #fff 72%, #e3edf3 100%);
}

.contact-heading {
  max-width: 680px;
  margin: 0 auto 1.8rem;
}

.contact-card {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(1.35rem, 3vw, 2.25rem);
  border: 1px solid var(--np-line);
  border-radius: 14px;
  background: #f8fbfd;
  box-shadow: 0 18px 50px rgba(7, 47, 77, 0.08);
}

.contact-card .form-label {
  color: #274157;
  font-size: 0.88rem;
  font-weight: 650;
}

.contact-card .mb-3 {
  margin-bottom: 0.75rem !important;
}

.contact-card .form-control {
  min-height: 46px;
  border-color: #cad9e4;
  background: #fff;
}

.contact-card textarea.form-control {
  min-height: 108px;
}

.contact-card .form-control:focus {
  border-color: var(--np-blue);
  box-shadow: 0 0 0 0.2rem rgba(11, 111, 194, 0.13);
}

.contact-honeypot {
  position: absolute;
  top: auto;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.turnstile-row {
  display: flex;
  justify-content: center;
  margin: 0.9rem 0 0.65rem;
}

.site-footer {
  position: relative;
  border-top: 4px solid #0b6fc2;
  background: linear-gradient(180deg, #082840 0%, #020d16 100%);
}

.home-page + footer {
  margin-top: 0 !important;
}

@media (min-width: 992px) and (max-height: 820px) {
  .home-hero {
    padding-top: 4.25rem;
    padding-bottom: 6.5rem;
  }
}

@media (max-width: 991.98px) {
  .home-hero {
    padding: 5.5rem 0 7.5rem;
  }

  .technology-list {
    justify-content: flex-start;
  }

  .work-steps {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 2.5rem;
  }

  .work-steps article:nth-child(2) {
    border-right: 0;
  }

  .work-steps article:nth-child(3) {
    padding-left: 0;
  }

  .evidence-block,
  .evidence-block--reverse {
    grid-template-columns: 1fr;
  }

  .evidence-block--reverse .evidence-copy,
  .evidence-block--reverse .screenshot-frame {
    order: initial;
  }

  .access-map {
    gap: 1.5rem 2rem;
  }

  .evolution-track {
    padding: 2rem 1.25rem;
  }

  .site-header .site-nav {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding-top: 0.85rem;
  }

  .site-header .site-nav-link {
    justify-content: flex-start;
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  .access-map {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: 0;
    padding: 1.25rem;
    gap: 1rem;
  }

  .access-node--desktop,
  .access-node--web,
  .access-node--mobile,
  .access-node--reports,
  .access-core {
    grid-area: auto;
  }

  .access-core {
    order: -1;
  }

  .access-connector {
    display: none;
  }

  .evolution-track {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .evolution-track > div {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    text-align: left;
  }

  .evolution-track span {
    flex: 0 0 42px;
    margin: 0;
  }

  .evolution-track > i {
    width: 2px;
    height: 35px;
    margin: 0 0 0 20px;
    background: linear-gradient(#9bc6df, var(--np-blue));
  }

  .evolution-track > i::after {
    top: auto;
    right: -4px;
    bottom: -1px;
    border-top: 7px solid var(--np-blue);
    border-right: 5px solid transparent;
    border-bottom: 0;
    border-left: 5px solid transparent;
  }
}

@media (max-width: 575.98px) {
  .home-hero {
    padding: 4.5rem 0 5.75rem;
  }

  .site-header {
    min-height: 94px;
  }

  .site-header .site-logo {
    width: min(235px, 68vw);
    max-height: 66px;
  }

  .site-header .navbar-brand {
    margin-right: 0.5rem;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .btn {
    width: 100%;
    padding-right: 0.8rem;
    padding-left: 0.8rem;
    font-size: 0.96rem;
  }

  .section-heading {
    text-align: left;
  }

  .problem-card,
  .solution-card {
    padding: 1.5rem;
  }

  .card-index {
    margin-bottom: 1.2rem;
  }

  .production-grid,
  .work-steps {
    grid-template-columns: 1fr;
  }

  .production-grid span {
    padding: 0.9rem 1rem;
  }

  .work-steps {
    gap: 0;
    border-top: 0;
  }

  .work-steps article,
  .work-steps article:first-child,
  .work-steps article:nth-child(3) {
    padding: 1.5rem 0;
    border-top: 1px solid var(--np-line);
    border-right: 0;
  }

  .technology-list {
    gap: 0.5rem;
  }

  .technology-list span {
    padding: 0.55rem 0.7rem;
  }

  .contact-card {
    margin-right: -0.25rem;
    margin-left: -0.25rem;
  }

  .contact-section {
    padding-bottom: 2.5rem;
  }

  .evidence-block {
    min-height: 0;
  }

  .evidence-copy {
    padding: 1.75rem;
  }

  .screenshot-frame {
    padding: 1rem;
  }

  .screenshot-placeholder {
    border-width: 5px;
  }

  .screenshot-frame img {
    border-width: 5px;
  }

  .placeholder-panel,
  .placeholder-dashboard {
    padding: 10px;
  }

  .placeholder-panel div {
    height: 28px;
  }

  .placeholder-table {
    margin: 6px 10px;
  }

  .placeholder-flow {
    padding: 16px 10px 8px;
  }

  .placeholder-flow i {
    width: 34px;
    height: 34px;
  }

  .placeholder-dashboard > div {
    height: 55px;
  }

  .cf-turnstile {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .problem-card,
  .solution-card,
  nav a.btn {
    transition: none;
  }
}
