:root {
  --color-bg: #f7faff;
  --color-surface: #ffffff;
  --color-soft: #edf5ff;
  --color-text: #0a1f44;
  --color-muted: #5c6b82;
  --color-border: #d8e4f2;
  --color-accent: #0b3a78;
  --color-accent-dark: #062a5a;
  --color-accent-bright: #4a9be8;
  --color-accent-soft: #dceeff;
  --shadow-soft: 0 18px 50px rgba(6, 42, 90, 0.1);
  --radius: 8px;
  --container: 1160px;
  --header-height: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-bg);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--color-accent-soft);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-140%);
  border-radius: var(--radius);
  background: var(--color-text);
  color: #fff;
  padding: 10px 14px;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 84px 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(216, 228, 242, 0.86);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 750;
  letter-spacing: 0;
}

.brand-logo {
  width: 188px;
  height: auto;
  object-fit: contain;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.92rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu a {
  display: inline-flex;
  border-radius: 999px;
  color: var(--color-muted);
  padding: 10px 14px;
  font-size: 0.95rem;
  font-weight: 650;
  transition: background-color 180ms ease, color 180ms ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  background: var(--color-accent-soft);
  color: var(--color-accent-dark);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--color-text);
}

.hero {
  min-height: min(720px, calc(100svh - var(--header-height)));
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(74, 155, 232, 0.12), rgba(255, 255, 255, 0) 42%),
    var(--color-bg);
}

.hero-grid,
.split-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.97fr);
  gap: 56px;
  align-items: center;
}

.hero-content {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--color-accent-bright);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

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

h1 {
  max-width: 13ch;
  font-size: clamp(2.25rem, 5.6vw, 4.35rem);
}

#hero-title {
  max-width: 30ch;
  font-size: clamp(1.45rem, 2.45vw, 2.2rem);
  line-height: 1.16;
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
}

h3 {
  font-size: 1.08rem;
}

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

.hero-text {
  max-width: 58ch;
  margin-top: 22px;
  font-size: clamp(1rem, 1.8vw, 1.14rem);
}

.hero-mini-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 620px;
  margin-top: 24px;
}

.hero-mini-cards span {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  color: var(--color-accent-dark);
  padding: 10px 12px;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.25;
  box-shadow: 0 8px 22px rgba(6, 42, 90, 0.055);
}

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

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 18px;
  font-weight: 750;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
}

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

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 14px 32px rgba(11, 58, 120, 0.22);
}

.btn-primary:hover {
  background: var(--color-accent-dark);
}

.btn-secondary {
  border-color: var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
}

.btn-secondary:hover {
  box-shadow: var(--shadow-soft);
}

.hero-media,
.media-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(220, 238, 255, 0.95)),
    #fff;
  box-shadow: var(--shadow-soft);
}

.hero-media.has-image .image-placeholder,
.media-frame.has-image .image-placeholder {
  display: none;
}

.hero-media {
  aspect-ratio: 16 / 9;
}

.media-frame {
  aspect-ratio: 1.18 / 1;
}

.hero-media picture,
.media-frame picture,
.hero-media img,
.media-frame img,
.media-frame img {
  width: 100%;
  height: 100%;
}

.hero-media picture,
.media-frame picture {
  display: block;
}

.hero-media img,
.media-frame img {
  object-fit: cover;
}

.is-missing {
  display: none;
}

.image-placeholder {
  position: absolute;
  inset: 16px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  border: 1px dashed rgba(74, 155, 232, 0.52);
  border-radius: calc(var(--radius) - 2px);
  color: var(--color-accent-dark);
  text-align: center;
  pointer-events: none;
}

.image-placeholder span {
  font-size: clamp(1.25rem, 2.5vw, 2.1rem);
  font-weight: 800;
}

.image-placeholder small {
  color: var(--color-muted);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 36px;
}

.services-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 48px;
  align-items: center;
  margin-bottom: 36px;
}

.services-intro .section-heading {
  margin-bottom: 0;
}

.section-heading p:not(.eyebrow) {
  margin-top: 16px;
  font-size: 1.06rem;
}

#servicios-title {
  max-width: 58ch;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.18;
}

#sobre-title {
  max-width: 42ch;
  font-size: clamp(1.2rem, 1.9vw, 1.65rem);
  line-height: 1.22;
}

#contacto-title {
  max-width: 34ch;
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  line-height: 1.16;
}

.nexolvia-profit-icon {
  width: min(100%, 320px);
  max-width: 320px;
  justify-self: end;
}

.nexolvia-profit-icon svg {
  display: block;
  width: 100%;
  height: auto;
}

.bg-pulse {
  transform-origin: center;
  animation: bgPulse 4.6s ease-in-out infinite;
}

.bar {
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: barGrow 4.6s ease-in-out infinite;
}

.bar-1 {
  animation-delay: 0s;
}

.bar-2 {
  animation-delay: 0.14s;
}

.bar-3 {
  animation-delay: 0.28s;
}

.bar-4 {
  animation-delay: 0.42s;
}

.orbit-trail {
  stroke-dasharray: 120 730;
  stroke-dashoffset: 0;
  opacity: 0.95;
  animation: orbitTrail 4.6s linear infinite;
}

.orbit-dot {
  animation: dotPulse 4.6s linear infinite;
}

@keyframes barGrow {
  0%,
  12% {
    transform: scaleY(0.22);
    opacity: 0.55;
  }

  32%,
  58% {
    transform: scaleY(1);
    opacity: 1;
  }

  78% {
    transform: scaleY(0.82);
    opacity: 0.9;
  }

  100% {
    transform: scaleY(0.22);
    opacity: 0.55;
  }
}

@keyframes orbitTrail {
  0% {
    stroke-dashoffset: 0;
    opacity: 0.2;
  }

  20% {
    opacity: 0.95;
  }

  70% {
    opacity: 0.55;
  }

  100% {
    stroke-dashoffset: -850;
    opacity: 0.2;
  }
}

@keyframes dotPulse {
  0%,
  100% {
    opacity: 0.9;
  }

  50% {
    opacity: 1;
  }
}

@keyframes bgPulse {
  0%,
  100% {
    transform: scale(0.96);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.03);
    opacity: 0.8;
  }
}

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

.service-card,
.value-item,
.contact-form {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: 0 10px 30px rgba(6, 42, 90, 0.055);
}

.service-card,
.value-item {
  padding: 26px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
}

.service-card::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  transform: translateY(100%);
  background: linear-gradient(135deg, rgba(11, 58, 120, 0.98), rgba(74, 155, 232, 0.92));
  content: "";
  transition: transform 260ms ease;
}

.service-card::after {
  position: absolute;
  right: -42px;
  top: -42px;
  z-index: 0;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  content: "";
  opacity: 0;
  transition: opacity 220ms ease, transform 260ms ease;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card h3 {
  color: var(--color-accent-dark);
  font-weight: 850;
  text-transform: uppercase;
  transition: color 220ms ease;
}

.service-card:hover,
.value-item:hover {
  transform: translateY(-8px);
  border-color: rgba(74, 155, 232, 0.48);
  box-shadow: var(--shadow-soft);
}

.service-card:hover {
  border-color: rgba(74, 155, 232, 0.72);
  box-shadow: 0 24px 60px rgba(6, 42, 90, 0.2);
}

.service-card:hover::before {
  transform: translateY(0);
}

.service-card:hover::after {
  opacity: 1;
  transform: translate(-22px, 22px);
}

.card-icon {
  display: inline-flex;
  width: max-content;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--color-accent-bright);
  color: var(--color-accent);
  font-weight: 850;
}

.service-card p,
.value-item p {
  margin-top: 12px;
}

.service-note {
  color: var(--color-text);
  font-size: 0.94rem;
  font-weight: 650;
  transition: color 220ms ease;
}

.service-list {
  display: grid;
  gap: 9px;
  margin: 20px 0 0;
  padding: 0;
  color: var(--color-muted);
  font-size: 0.96rem;
  line-height: 1.45;
  list-style: none;
  transition: color 220ms ease;
}

.service-list li {
  position: relative;
  padding-left: 22px;
}

.service-list li::before {
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent-bright);
  content: "";
  transition: background-color 220ms ease, transform 220ms ease;
}

.service-card:hover h3,
.service-card:hover .service-note,
.service-card:hover .service-list {
  color: #fff;
}

.service-card:hover .service-list li::before {
  transform: scale(1.5);
  background: #fff;
}

.other-services {
  padding-top: 0;
  background: var(--color-soft);
}

.other-services-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 288px);
  gap: 44px;
  align-items: center;
  margin-bottom: 28px;
  border-top: 1px solid var(--color-border);
  padding-top: 34px;
}

.compact-heading {
  display: block;
  max-width: 780px;
  margin-bottom: 0;
}

.compact-heading .eyebrow {
  margin-bottom: 8px;
}

.compact-heading h2 {
  color: var(--color-accent-dark);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  max-width: 38ch;
}

.compact-heading p:not(.eyebrow) {
  margin-top: 12px;
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.nexolvia-comparison-container {
  width: 100%;
  max-width: 288px;
  justify-self: end;
  padding: 0;
}

.nex-row {
  display: grid;
  grid-template-columns: minmax(58px, 0.9fr) minmax(72px, 1.18fr) minmax(58px, 0.9fr);
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}

.nex-row:last-child {
  margin-bottom: 0;
}

.nex-header {
  margin-bottom: 18px;
}

.nex-col-left {
  color: var(--color-text);
  font-size: 0.78rem;
  line-height: 1.25;
  text-align: center;
}

.nex-col-right {
  color: var(--color-text);
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.25;
  text-align: left;
}

.branding-title {
  color: var(--color-accent-bright);
  letter-spacing: 0.06em;
}

.text-muted {
  color: var(--color-muted);
}

.text-highlight {
  color: var(--color-accent-dark);
}

.arrow-wrapper {
  display: flex;
  width: 100%;
  align-items: center;
  overflow: hidden;
}

.animated-arrow {
  width: 100%;
  height: 14px;
  animation: slideArrow 2.5s infinite ease-in-out;
}

.animated-arrow path {
  fill: none;
  stroke: var(--color-accent-bright);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

@keyframes slideArrow {
  0% {
    transform: translateX(-30%);
    opacity: 0;
  }

  20%,
  80% {
    opacity: 1;
  }

  100% {
    transform: translateX(30%);
    opacity: 0;
  }
}

.other-services-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.other-service-card {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  padding: 18px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.other-service-card::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  transform: translateY(100%);
  background: linear-gradient(135deg, rgba(11, 58, 120, 0.98), rgba(74, 155, 232, 0.92));
  content: "";
  transition: transform 260ms ease;
}

.other-service-card::after {
  position: absolute;
  right: -30px;
  top: -30px;
  z-index: 0;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  content: "";
  opacity: 0;
  transition: opacity 220ms ease, transform 260ms ease;
}

.other-service-card:hover,
.other-service-card:focus-within {
  transform: translateY(-8px);
  border-color: rgba(74, 155, 232, 0.72);
  background: #fff;
  box-shadow: 0 24px 60px rgba(6, 42, 90, 0.2);
}

.other-service-card:hover::before,
.other-service-card:focus-within::before {
  transform: translateY(0);
}

.other-service-card:hover::after,
.other-service-card:focus-within::after {
  opacity: 1;
  transform: translate(-18px, 18px);
}

.other-service-card > * {
  position: relative;
  z-index: 1;
}

.other-service-card h3 {
  min-height: 2.7em;
  color: var(--color-accent);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.25;
  text-transform: uppercase;
  transition: color 220ms ease;
}

.other-service-card ul {
  display: grid;
  gap: 7px;
  margin: 14px 0 0;
  padding: 0;
  color: var(--color-muted);
  font-size: 0.86rem;
  line-height: 1.38;
  list-style: none;
  transition: color 220ms ease;
}

.other-service-card li {
  position: relative;
  padding-left: 15px;
}

.other-service-card li::before {
  position: absolute;
  left: 0;
  top: 0.67em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-accent-bright);
  content: "";
  transition: background-color 220ms ease, transform 220ms ease;
}

.other-service-card:hover h3,
.other-service-card:focus-within h3,
.other-service-card:hover ul,
.other-service-card:focus-within ul {
  color: #fff;
}

.other-service-card:hover li::before,
.other-service-card:focus-within li::before {
  transform: scale(1.5);
  background: #fff;
}

.content-stack {
  display: grid;
  gap: 18px;
}

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

.stats div {
  border-top: 1px solid var(--color-border);
  padding-top: 18px;
}

.stats dt {
  color: var(--color-accent);
  font-size: 2rem;
  font-weight: 850;
  line-height: 1;
}

.stats dd {
  margin: 8px 0 0;
  color: var(--color-muted);
}

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

.values-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  gap: 42px;
  align-items: center;
  margin-bottom: 36px;
}

.values-intro .section-heading {
  margin-bottom: 0;
}

.dashboard-animation-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius);
  background: transparent;
  padding: 0;
}

.dashboard-window-container {
  position: relative;
  width: 100%;
  max-width: 260px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.mouse-pointer-element {
  position: absolute;
  top: 15%;
  left: 10%;
  z-index: 5;
  pointer-events: none;
  animation: mouseMoveAndClick 6s infinite ease-in-out;
}

.click-ripple-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  transform: translate(-30%, -30%) scale(0);
  border: 2px solid var(--color-accent-bright);
  border-radius: 50%;
  opacity: 0;
  animation: clickRipplePulse 6s infinite ease-in-out;
}

.economic-dashboard-content {
  display: block;
  background: transparent;
  opacity: 0;
  filter: blur(4px);
  transform: scale(0.97);
  animation: revealDashboardLayout 6s infinite ease-in-out;
}

.economic-dashboard-content picture,
.economic-dashboard-content img {
  display: block;
  width: 100%;
  height: auto;
}

.economic-dashboard-content img {
  border-radius: 6px;
  filter: drop-shadow(0 14px 26px rgba(6, 42, 90, 0.12));
}

@keyframes mouseMoveAndClick {
  0% {
    top: 15%;
    left: 10%;
    opacity: 0;
    transform: scale(1);
  }

  5% {
    opacity: 1;
  }

  35% {
    top: 52%;
    left: 50%;
    transform: scale(1);
  }

  38% {
    top: 52%;
    left: 50%;
    transform: scale(0.82);
  }

  42% {
    top: 52%;
    left: 50%;
    transform: scale(1);
  }

  50% {
    top: 58%;
    left: 55%;
    opacity: 1;
  }

  55%,
  100% {
    top: 15%;
    left: 10%;
    opacity: 0;
  }
}

@keyframes clickRipplePulse {
  0%,
  37% {
    transform: translate(-30%, -30%) scale(0);
    opacity: 0;
  }

  39% {
    opacity: 0.8;
  }

  45% {
    transform: translate(-30%, -30%) scale(2.5);
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@keyframes revealDashboardLayout {
  0%,
  38% {
    opacity: 0;
    filter: blur(4px);
    transform: scale(0.97);
  }

  44%,
  90% {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }

  96%,
  100% {
    opacity: 0;
    filter: blur(4px);
    transform: scale(0.97);
  }
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  overflow: hidden;
}

.process-list li {
  padding: 28px;
  border-right: 1px solid var(--color-border);
}

.process-list li:last-child {
  border-right: 0;
}

.process-list span {
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--color-accent);
  font-weight: 850;
}

.process-list p {
  margin-top: 12px;
}

.contact-grid {
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  color: var(--color-muted);
  list-style: none;
}

.contact-list strong {
  color: var(--color-text);
}

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

.form-field {
  display: grid;
  gap: 7px;
}

.form-field label {
  font-size: 0.92rem;
  font-weight: 750;
}

.optional-label {
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fbfdfc;
  color: var(--color-text);
  padding: 12px 13px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-field textarea {
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--color-accent);
  outline: 0;
  box-shadow: 0 0 0 4px var(--color-accent-soft);
}

.form-status {
  min-height: 1.5em;
  color: var(--color-accent-dark);
  font-weight: 750;
}

.form-status.is-error {
  color: #a51d2d;
}

.form-status.is-success {
  color: #08745c;
}

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

.form-consents {
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--color-border);
  padding-top: 16px;
}

.check-field {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--color-muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.check-field input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--color-accent);
}

.check-field a,
.privacy-summary a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-summary {
  color: var(--color-muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.privacy-summary strong {
  color: var(--color-text);
}

.contact-form button[disabled] {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.site-footer {
  background: #061a38;
  color: #fff;
  padding: 64px 0 28px;
}

.footer-logo {
  width: 178px;
  border-radius: 4px;
  background: #fff;
  padding: 7px 10px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.9fr;
  gap: 36px;
}

.footer-brand {
  margin-bottom: 14px;
}

.site-footer p,
.site-footer a,
.site-footer li {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer h2 {
  margin-bottom: 14px;
  font-size: 1rem;
}

.site-footer ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  transition: color 180ms ease;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 52px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
}

.legal-page {
  background: var(--color-bg);
}

.legal-header .nav {
  justify-content: flex-start;
}

.legal-main {
  padding: 70px 0 96px;
}

.legal-document {
  width: min(100% - 40px, 900px);
  margin-inline: auto;
}

.legal-document > header {
  margin-bottom: 44px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 28px;
}

.legal-document h1 {
  max-width: none;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.legal-document h2 {
  margin-top: 38px;
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
}

.legal-document h3 {
  margin-top: 24px;
}

.legal-document p,
.legal-document li {
  color: var(--color-muted);
}

.legal-document p {
  margin-top: 14px;
}

.legal-document ul,
.legal-document ol {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding-left: 22px;
}

.legal-document a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-meta {
  margin-top: 12px;
  font-size: 0.9rem;
}

.legal-notice {
  margin-top: 28px;
  border-left: 4px solid var(--color-accent-bright);
  background: var(--color-soft);
  padding: 18px;
}

.legal-table-wrap {
  overflow-x: auto;
  margin-top: 18px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface);
  font-size: 0.9rem;
}

.legal-table th,
.legal-table td {
  border: 1px solid var(--color-border);
  padding: 11px;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: var(--color-soft);
  color: var(--color-text);
}

.reveal {
  transform: translateY(18px);
  opacity: 0;
  transition: transform 650ms ease, opacity 650ms ease;
}

.reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 920px) {
  .section {
    padding: 70px 0;
  }

  .hero-grid,
  .split-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .services-intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .other-services-intro {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .values-intro {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .dashboard-animation-wrapper {
    justify-content: center;
  }

  .dashboard-window-container {
    max-width: 260px;
  }

  .nexolvia-profit-icon {
    justify-self: center;
  }

  .nexolvia-comparison-container {
    justify-self: center;
  }

  h1 {
    max-width: 14ch;
  }

  .cards-grid,
  .values-grid,
  .other-services-grid,
  .process-list,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-list li {
    border-right: 0;
    border-bottom: 1px solid var(--color-border);
  }

  .process-list li:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

}

@media (max-width: 720px) {
  :root {
    --header-height: 68px;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .brand-logo {
    width: 150px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-menu {
    position: fixed;
    inset: var(--header-height) 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-surface);
    box-shadow: var(--shadow-soft);
    padding: 10px;
  }

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

  .nav-menu a {
    justify-content: center;
    border-radius: var(--radius);
  }

  .hero {
    min-height: auto;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .hero-mini-cards {
    grid-template-columns: 1fr;
  }

  .nexolvia-profit-icon {
    max-width: 260px;
  }

  .nexolvia-comparison-container {
    max-width: 288px;
  }

  .nex-row {
    grid-template-columns: minmax(58px, 0.9fr) minmax(72px, 1fr) minmax(58px, 0.9fr);
    gap: 10px;
  }

  .nex-col-left,
  .nex-col-right {
    font-size: 0.76rem;
  }

  .dashboard-window-container {
    max-width: 240px;
  }

  .cards-grid,
  .values-grid,
  .other-services-grid,
  .process-list,
  .stats,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .process-list li:nth-last-child(2) {
    border-bottom: 1px solid var(--color-border);
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    transform: none;
    opacity: 1;
  }

  .bg-pulse,
  .bar,
  .orbit-trail,
  .orbit-dot,
  .animated-arrow,
  .mouse-pointer-element,
  .click-ripple-effect,
  .economic-dashboard-content {
    animation: none !important;
  }

  .economic-dashboard-content {
    opacity: 1;
    filter: none;
    transform: none;
  }
}
