:root {
  --bg: #f8f9fb;
  --bg-warm: #fbfbfa;
  --bg-soft: #eef1f4;
  --bg-mute: #e6eaee;
  --surface: #ffffff;
  --ink: #16191f;
  --muted: #5b6470;
  --line: rgba(22, 25, 31, 0.1);
  --accent: #0078ef;
  --accent-hover: #0064d1;
  --accent-soft: rgba(0, 120, 239, 0.1);
  --font: "Instrument Sans", system-ui, sans-serif;
  --container: min(1080px, calc(100% - 8vw));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg-warm);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Soft mesh background — Sago-like atmosphere */
.page-atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: var(--bg-warm);
}

.page-atmosphere .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
}

.page-atmosphere .blob-a {
  width: min(70vw, 920px);
  height: min(70vw, 920px);
  top: -12%;
  left: -18%;
  background: radial-gradient(circle, rgba(0, 120, 239, 0.22) 0%, rgba(0, 120, 239, 0) 68%);
}

.page-atmosphere .blob-b {
  width: min(62vw, 820px);
  height: min(62vw, 820px);
  top: 18%;
  right: -20%;
  background: radial-gradient(circle, rgba(120, 180, 255, 0.28) 0%, rgba(120, 180, 255, 0) 65%);
}

.page-atmosphere .blob-c {
  width: min(55vw, 700px);
  height: min(55vw, 700px);
  bottom: 8%;
  left: 28%;
  background: radial-gradient(circle, rgba(0, 90, 200, 0.12) 0%, rgba(0, 90, 200, 0) 70%);
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

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

h1,
h2,
h3 {
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin: 0 0 1rem;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.55rem);
  max-width: 18ch;
  font-weight: 600;
}

h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  max-width: 14ch;
}

h3 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.55rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  padding: clamp(4.5rem, 9vw, 7rem) 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 251, 250, 0.78);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled,
.site-header.is-mega-open {
  border-bottom-color: var(--line);
}

.site-header.is-mega-open {
  background: rgba(255, 255, 255, 0.98);
}

.nav {
  width: min(1200px, calc(100% - 8vw));
  margin-inline: auto;
  min-height: 3.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.nav-start {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.brand img {
  display: block;
  height: 2.35rem;
  width: auto;
}

.footer-inner .brand img {
  height: 3rem;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0.3rem 0.72rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: 0.4rem;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-item.is-open .nav-link {
  color: var(--ink);
  background: rgba(22, 25, 31, 0.045);
}

.nav-panel .nav-login {
  color: var(--ink);
  font-weight: 600;
  padding: 0.3rem 0.72rem;
  margin-left: 0.25rem;
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.45rem 1.05rem;
  margin-left: 0.35rem;
  border-radius: 0.55rem;
  background: var(--accent);
  color: #fff !important;
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s var(--ease);
}

.btn-nav:hover {
  background: var(--accent-hover);
  color: #fff !important;
  transform: translateY(-1px);
}

/* Thinkworks-inspired mega dropdown */
.mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  pointer-events: none;
}

.mega:not([hidden]) {
  pointer-events: auto;
}

.mega-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 16, 36, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 55;
}

.mega-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.mega-panel {
  position: relative;
  z-index: 1;
  background: #0b1f3a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 28px 56px rgba(6, 16, 36, 0.35);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header.is-mega-open .mega-panel {
  max-height: 28rem;
}

.mega-content {
  width: min(1100px, calc(100% - 8vw));
  margin: 0 auto;
  padding: 2rem 0 2.35rem;
  animation: megaIn 0.35s var(--ease) both;
}

@keyframes megaIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.mega-cols {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 2.25rem;
}

.mega-content[data-mega-panel="focus"] .mega-cols,
.mega-content[data-mega-panel="process"] .mega-cols,
.mega-content[data-mega-panel="about"] .mega-cols {
  grid-template-columns: 1.35fr 1fr;
}

.mega-kicker {
  margin: 0 0 0.95rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.mega-title {
  display: block;
  margin: 0 0 0.55rem;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.2;
}

.mega-title:hover { color: #fff; }

.mega-desc {
  margin: 0;
  max-width: 32ch;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
  line-height: 1.55;
}

.mega-col {
  display: grid;
  align-content: start;
  gap: 0.65rem;
}

.mega-col a:not(.mega-title) {
  font-size: 0.95rem;
  font-weight: 450;
  color: rgba(255, 255, 255, 0.82);
  padding: 0.1rem 0;
  transition: color 0.15s ease, padding-left 0.15s ease;
}

.mega-col a:not(.mega-title)::before {
  content: "→ ";
  color: rgba(255, 255, 255, 0.4);
}

.mega-col a:not(.mega-title):hover {
  color: #fff;
  padding-left: 0.2rem;
}

.mega-col-lead { padding-right: 0.5rem; }

.nav-item.is-open .nav-link {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--accent);
  border-radius: 0;
  background: transparent;
}

/* Login */
.page-login {
  background: var(--bg);
}

.login-section {
  padding-top: clamp(5rem, 10vw, 7rem);
}

.login-shell {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.login-aside h1 {
  max-width: 12ch;
  font-size: clamp(2rem, 4vw, 3rem);
}

.login-aside p {
  max-width: 36ch;
}

.login-note {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 500;
}

.login-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: clamp(1.5rem, 3vw, 2rem);
}

.login-form {
  display: grid;
  gap: 1rem;
}

.login-form label {
  display: grid;
  gap: 0.4rem;
}

.login-form label span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.login-form input {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.login-form input:focus {
  outline: 2px solid rgba(31, 75, 99, 0.25);
  border-color: var(--accent);
}

.login-form .btn {
  justify-self: start;
  margin-top: 0.35rem;
}

.login-help {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
}

.login-support {
  margin-top: 2rem;
  padding: 1.15rem 1.2rem;
  border-radius: 16px;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(0, 120, 239, 0.12), transparent 55%),
    linear-gradient(180deg, #f7f9fc, #eef3fa);
  border: 1px solid rgba(0, 120, 239, 0.14);
  max-width: 22rem;
}

.login-support-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.login-support-copy {
  margin: 0.4rem 0 0.65rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.login-support-phone {
  display: inline-block;
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.login-support-phone:hover {
  color: var(--accent);
}

.login-support-hint {
  margin: 0.45rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.login-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
  padding: 0.3rem;
  border-radius: 999px;
  background: var(--bg-soft);
}

.login-tab {
  border: 0;
  background: transparent;
  border-radius: 999px;
  min-height: 2.5rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--muted);
  cursor: var(--nl-cursor);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.login-tab.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 6px 16px rgba(15, 30, 60, 0.08);
}

.login-form-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.login-check {
  display: inline-flex !important;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: var(--muted);
  cursor: var(--nl-cursor);
}

.login-check input {
  width: auto;
  min-height: 0;
  margin: 0;
}

.login-text-btn {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--accent);
  cursor: var(--nl-cursor);
  text-align: left;
}

.login-text-btn:hover {
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.login-panel-lead {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
}

.login-demo {
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.login-feedback.is-error {
  color: #b42318;
}

.login-feedback.is-ok {
  color: #027a48;
}

.page-portal {
  background: var(--bg-warm);
}

.portal-section h1 {
  max-width: 16ch;
  font-size: clamp(2rem, 4vw, 3rem);
}

.portal-lead {
  max-width: 42ch;
  color: var(--muted);
}

.portal-user {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  margin-right: 0.75rem;
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.portal-card {
  padding: 1.25rem 1.3rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
}

.portal-card h2 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
}

.portal-card p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .portal-grid {
    grid-template-columns: 1fr;
  }
}

.lang-toggle {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: var(--nl-cursor);
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  min-width: 2.5rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.lang-toggle:hover {
  border-color: rgba(31, 75, 99, 0.35);
  background: var(--accent-soft);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  cursor: var(--nl-cursor);
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 1.25rem;
  height: 1.5px;
  margin: 0.35rem auto;
  background: var(--ink);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.55rem;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border: 0;
  cursor: var(--nl-cursor);
  transition: transform 0.2s var(--ease), background 0.2s ease, opacity 0.2s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
}

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

/* Hero — fixed image; next section scrolls over (no fade to blank) */
.hero-cinema {
  position: relative;
  z-index: 0;
  background: transparent;
}

.hero-cinema-track {
  height: auto;
  min-height: 0;
}

.hero-cinema-sticky {
  position: sticky;
  top: 3.4rem;
  height: auto;
  min-height: 0;
  overflow: visible;
}

.hero-cinema-stage {
  position: relative;
  display: grid;
  place-items: start stretch;
  padding: 0.15rem 0 0;
}

.hero-cinema-frame {
  position: relative;
  width: 100%;
  height: auto;
  min-height: clamp(400px, 58vw, 700px);
  padding: 4rem 0 5rem;
  border-radius: 0;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.hero-cinema .hero-media,
.hero-cinema-veil {
  position: absolute;
  inset: 0;
}

.hero-cinema .hero-media {
  z-index: 0;
  transform: none;
}

.hero-cinema .hero-media--net {
  background: #050b18;
}

.hero-cinema .hero-net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.hero-cinema .hero-net-mark {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-cinema .hero-media img:not(.hero-net-mark) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  animation: none;
}

.hero-cinema-veil {
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 42%, transparent 0%, rgba(5, 9, 20, 0.2) 48%, rgba(5, 9, 20, 0.68) 100%),
    linear-gradient(180deg, rgba(5, 9, 20, 0.28) 0%, transparent 30%, transparent 58%, rgba(5, 9, 20, 0.82) 100%);
  pointer-events: none;
}

.hero-cinema-veil--net {
  background:
    radial-gradient(ellipse at 50% 40%, transparent 0%, transparent 42%, rgba(5, 11, 24, 0.35) 78%, rgba(5, 11, 24, 0.72) 100%),
    linear-gradient(180deg, rgba(5, 11, 24, 0.15) 0%, transparent 28%, transparent 55%, rgba(5, 11, 24, 0.55) 100%);
}

.hero-cinema-copy {
  position: relative;
  z-index: 2;
  width: min(40rem, calc(100% - 3rem));
  margin: 0 auto;
  text-align: center;
  color: #fff;
}

.hero-cinema .hero-brand-name {
  margin: 0 0 0.55rem;
  font-size: clamp(2.4rem, 6vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.92;
  color: #fff;
  animation: none;
}

.hero-cinema h1 {
  margin: 0 auto 0.75rem;
  max-width: 22ch;
  font-size: clamp(1.05rem, 1.8vw, 1.4rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.92);
  animation: none;
}

.hero-cinema .hero-sub {
  margin: 0 auto 1.25rem;
  max-width: 40ch;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.72);
  animation: none;
}

.hero-cinema .hero-sub strong {
  color: #fff;
  font-weight: 600;
}

.hero-cinema-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.hero-cinema .btn-primary {
  background: #fff;
  color: var(--ink);
  animation: none;
}

.hero-cinema .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
}

.btn-ghost-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  min-height: 3rem;
  padding: 0.8rem 1.4rem;
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.hero-cinema-caption {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  width: min(36rem, calc(100% - 2.5rem));
  margin: 0;
  text-align: center;
  font-size: clamp(0.85rem, 1.35vw, 1.02rem);
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.78);
  opacity: 0.85;
  pointer-events: none;
}

.hero-cinema-caption strong {
  color: #fff;
  font-weight: 650;
}

/* Content after hero rides over the sticky image; rest sits on soft atmosphere */
main > .section {
  position: relative;
  z-index: 2;
  background: transparent;
}

.hero-cinema + .section {
  background:
    radial-gradient(ellipse at 12% 0%, rgba(0, 120, 239, 0.1) 0%, transparent 42%),
    radial-gradient(ellipse at 88% 18%, rgba(120, 180, 255, 0.16) 0%, transparent 45%),
    linear-gradient(180deg, rgba(251, 251, 250, 0.95) 0%, rgba(251, 251, 250, 0.78) 100%);
  box-shadow: 0 -24px 60px rgba(15, 30, 60, 0.08);
}

/* Legacy hero fallback (other pages) */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(8, 16, 36, 0.78) 0%,
      rgba(8, 20, 48, 0.62) 38%,
      rgba(8, 24, 56, 0.42) 68%,
      rgba(6, 18, 42, 0.35) 100%
    );
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 34rem;
  padding: clamp(5.5rem, 12vw, 8.5rem) 0 clamp(3.25rem, 7vw, 4.75rem);
}

.hero-brand-name {
  margin: 0 0 0.85rem;
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.95;
  color: #ffffff;
}

.hero h1 {
  margin: 0 0 1rem;
  max-width: 16ch;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: #ffffff;
}

.hero-sub {
  max-width: 34ch;
  margin-bottom: 1.75rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.82);
}

.hero-sub strong {
  color: #ffffff;
  font-weight: 600;
}

.hero .btn-primary {
  background: #ffffff;
  color: var(--ink);
}

.hero .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
}

/* Split sections */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.split-body p:last-child {
  margin-bottom: 0;
}

/* Services — card grid */
.services {
  background: transparent;
  border-block: 1px solid var(--line);
}

.services-head {
  margin-bottom: 2.5rem;
  max-width: 40rem;
}

.services-head h2 {
  max-width: 16ch;
  font-size: clamp(2rem, 4vw, 3rem);
}

.services-head h2 em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.services-lead {
  margin: 0;
  max-width: 42ch;
  font-size: 1.05rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  min-height: 100%;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}

a.service-card,
a.service-card:hover,
a.service-card:focus {
  text-decoration: none;
  color: inherit;
}

a.service-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(22, 25, 31, 0.08);
}

.service-card-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.35rem 1.3rem 1.25rem;
  flex: 1;
}

.service-mark {
  position: absolute;
  right: 0.65rem;
  bottom: 0.45rem;
  width: 4.25rem;
  height: 4.25rem;
  color: var(--accent);
  opacity: 0.14;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.25s ease, transform 0.25s var(--ease);
}

.service-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.service-card:hover .service-mark {
  opacity: 0.22;
  transform: translate(-2px, -2px);
}

.service-card h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--accent);
}

.service-card-body > p {
  margin: 0;
  flex: 1;
  font-size: 0.98rem;
  color: var(--muted);
}

.service-more {
  margin-top: 0.15rem;
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 600;
  width: fit-content;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.service-card:hover .service-more {
  opacity: 0.75;
}

.arrow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.arrow-list li {
  color: var(--muted);
  padding-left: 1.15rem;
  position: relative;
  font-size: 0.92rem;
}

.arrow-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.arrow-list strong {
  color: var(--ink);
  font-weight: 600;
}

/* Principles */
.principles-lead {
  max-width: 58ch;
  font-size: 1.15rem;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 3rem;
}

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

.principles-grid article {
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.principles-grid p {
  margin: 0;
  font-size: 0.98rem;
}

/* About */
.about {
  background: transparent;
  border-block: 1px solid var(--line);
}

.section-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.about-intro {
  max-width: 52ch;
  margin-bottom: 3rem;
}

.about-intro h2 {
  max-width: none;
}

.about-intro p:last-child {
  margin-bottom: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.about-grid article {
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.about-grid p,
.about-grid .arrow-list {
  margin: 0;
  font-size: 0.98rem;
}

.about-grid .arrow-list {
  display: grid;
  gap: 0.55rem;
}

.offices {
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  max-width: none;
}

.offices-copy h3 {
  margin-bottom: 0.5rem;
}

.offices-copy p {
  margin-bottom: 1.15rem;
  max-width: 36ch;
}

.office-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.office-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.world-map {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e8eef2;
  box-shadow: 0 18px 40px rgba(22, 25, 31, 0.06);
}

.offices-map {
  width: 100%;
  height: min(420px, 58vw);
  min-height: 280px;
  background: #e8eef2;
}

.office-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: var(--nl-cursor);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.office-tag:hover,
.office-tag.is-active {
  border-color: rgba(31, 75, 99, 0.4);
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.leaflet-container {
  font-family: var(--font);
  background: #e8eef2;
}

.leaflet-control-attribution {
  font-size: 10px;
  background: rgba(255, 255, 255, 0.75) !important;
}

.nl-pin {
  background: transparent;
  border: 0;
}

.nl-pin-inner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #fff;
  box-shadow: 0 0 0 6px rgba(31, 75, 99, 0.18), 0 8px 18px rgba(22, 25, 31, 0.18);
}

.nl-popup .leaflet-popup-content-wrapper {
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(22, 25, 31, 0.12);
  border: 1px solid rgba(22, 25, 31, 0.08);
}

.nl-popup .leaflet-popup-content {
  margin: 0.85rem 1rem;
  font-family: var(--font);
  color: var(--ink);
}

.nl-popup strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.nl-popup span {
  color: var(--muted);
  font-size: 0.85rem;
}

/* Clients */
.clients {
  background: transparent;
  border-block: 1px solid var(--line);
}

.client-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.client-tags span {
  display: inline-flex;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 500;
}

/* Contact */
.contact-simple {
  max-width: 40rem;
}

.contact-simple h2 {
  max-width: 16ch;
}

.contact-simple > p {
  max-width: 42ch;
  margin-bottom: 1.5rem;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: start;
}

.contact-copy h2 {
  max-width: 12ch;
}

.contact-copy p {
  max-width: 34ch;
}

.contact-preview {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.6rem 1.5rem 1.7rem;
  display: grid;
  gap: 0.75rem;
  align-content: start;
  background-image:
    radial-gradient(420px 220px at 100% 0%, rgba(31, 75, 99, 0.08), transparent 60%);
}

.contact-preview h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  color: var(--ink);
  max-width: 14ch;
}

.contact-preview > p {
  margin: 0;
  max-width: 34ch;
}

.invite-list {
  list-style: none;
  margin: 0.35rem 0 0.5rem;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.invite-list li {
  color: var(--muted);
  font-weight: 600;
  padding-left: 1.15rem;
  position: relative;
}

.invite-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.contact-preview .btn {
  justify-self: start;
  margin-top: 0.35rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.4rem;
}

label span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: var(--bg-mute);
  color: var(--ink);
  font: inherit;
  padding: 0.95rem 1.15rem;
  outline: none;
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

textarea {
  border-radius: 1.25rem;
  min-height: 7rem;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  background: #fff;
  box-shadow: 0 0 0 2px var(--accent-soft), 0 0 0 1px var(--accent);
}

.form-note {
  margin: 0;
  color: var(--accent);
  font-weight: 600;
}

.contact-form .btn {
  justify-self: start;
  margin-top: 0.25rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 3rem;
}

.footer-inner {
  display: grid;
  gap: 0.5rem;
}

.footer-inner p {
  margin: 0;
  font-size: 0.95rem;
}

.footer-copy {
  font-size: 0.85rem !important;
  margin-top: 0.75rem !important;
}

/* Sticky Agenda CTA (SAGO-style) */
.agenda-fab {
  position: fixed;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(31, 75, 99, 0.28);
  transition: transform 0.2s var(--ease), background 0.2s ease;
}

.agenda-fab:hover {
  transform: translateY(-2px);
  background: var(--accent-hover);
}

/* AI chatbot — bottom right */
.nl-chat {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.85rem;
}

.nl-chat-launcher {
  width: 3.5rem;
  height: 3.5rem;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: var(--nl-cursor);
  box-shadow: 0 14px 34px rgba(0, 120, 239, 0.35);
  transition: transform 0.2s var(--ease), background 0.2s ease, box-shadow 0.2s ease;
}

.nl-chat-launcher:hover {
  transform: translateY(-2px) scale(1.03);
  background: var(--accent-hover);
}

.nl-chat-launcher .nl-chat-icon-close {
  display: none;
}

.nl-chat.is-open .nl-chat-launcher .nl-chat-icon-open {
  display: none;
}

.nl-chat.is-open .nl-chat-launcher .nl-chat-icon-close {
  display: block;
}

.nl-chat-panel {
  width: min(22.5rem, calc(100vw - 2rem));
  height: min(32rem, calc(100vh - 7.5rem));
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(16, 24, 40, 0.18);
  animation: chatRise 0.28s var(--ease) both;
}

.nl-chat-panel[hidden] {
  display: none !important;
}

.nl-chat-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  background: linear-gradient(135deg, #003d8f 0%, #0078ef 55%, #3abef9 100%);
  color: #fff;
}

.nl-chat-title {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.nl-chat-subtitle {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.35;
}

.nl-chat-close {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: var(--nl-cursor);
}

.nl-chat-close:hover {
  background: rgba(255, 255, 255, 0.28);
}

.nl-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  background: #f4f7fb;
}

.nl-chat-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-width: 88%;
}

.nl-chat-row--bot {
  align-self: flex-start;
}

.nl-chat-row--user {
  align-self: flex-end;
  align-items: flex-end;
}

.nl-chat-bubble {
  padding: 0.7rem 0.85rem;
  border-radius: 1rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(22, 25, 31, 0.06);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.nl-chat-row--user .nl-chat-bubble {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}

.nl-chat-bubble--typing {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  min-width: 3.1rem;
  padding: 0.85rem 0.95rem;
}

.nl-chat-bubble--typing span {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 999px;
  background: #7a8898;
  animation: chatDot 1s ease-in-out infinite;
}

.nl-chat-bubble--typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.nl-chat-bubble--typing span:nth-child(3) {
  animation-delay: 0.3s;
}

.nl-chat-cta {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 650;
}

.nl-chat-cta--ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(0, 120, 239, 0.35);
}

.nl-chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0 0.85rem 0.65rem;
  background: #f4f7fb;
}

.nl-chat-chip {
  border: 1px solid rgba(0, 120, 239, 0.22);
  background: #fff;
  color: var(--accent);
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: var(--nl-cursor);
  text-align: left;
}

.nl-chat-chip:hover {
  background: var(--accent-soft);
}

.nl-chat-form {
  display: flex;
  gap: 0.45rem;
  padding: 0.75rem;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.nl-chat-input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.7rem 0.95rem;
  font: inherit;
  font-size: 0.9rem;
  background: #fff;
  color: var(--ink);
}

.nl-chat-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.nl-chat-send {
  width: 2.55rem;
  height: 2.55rem;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: var(--nl-cursor);
}

.nl-chat-send:hover {
  background: var(--accent-hover);
}

@keyframes chatRise {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes chatDot {
  0%,
  80%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

/* Booking / Agendar page */
.page-agendar {
  background: var(--bg-soft);
}

.booking {
  padding-top: clamp(5.5rem, 10vw, 7rem);
}

.booking-shell {
  display: grid;
  grid-template-columns: 0.85fr 1.35fr;
  gap: 1.25rem;
  align-items: start;
}

.booking-aside {
  padding: 1.75rem 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  position: sticky;
  top: 5.5rem;
}

.booking-host {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.booking-aside h1 {
  max-width: none;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  margin-bottom: 1.25rem;
}

.booking-meta {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.booking-meta li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.booking-desc {
  margin: 0;
  font-size: 0.98rem;
}

.booking-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem;
  min-height: 640px;
  box-shadow: 0 18px 40px rgba(22, 25, 31, 0.05);
}

.calendly-wrap,
.calendly-inline-widget {
  min-height: 700px;
}

.booking-fallback-head {
  margin-bottom: 1.5rem;
}

.booking-fallback-head h2 {
  max-width: none;
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
}

.booking-fallback-head p {
  margin: 0;
}

.booking-fallback-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: start;
}

.cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.cal-nav button {
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 1.2rem;
  cursor: var(--nl-cursor);
}

.cal-nav strong {
  font-size: 1rem;
}

.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
  margin-bottom: 0.35rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
}

.cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
}

.cal-day {
  aspect-ratio: 1;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  cursor: var(--nl-cursor);
}

.cal-day.is-empty {
  visibility: hidden;
}

.cal-day.is-disabled {
  color: #c0c6ce;
  cursor: default;
}

.cal-day.is-available {
  background: rgba(31, 75, 99, 0.08);
  color: var(--accent);
}

.cal-day.is-available:hover {
  background: rgba(31, 75, 99, 0.16);
}

.cal-day.is-selected {
  background: var(--accent);
  color: #fff;
}

.cal-tz {
  margin: 1rem 0 0;
  font-size: 0.85rem;
}

.booking-tz {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.1rem;
  background: var(--bg-soft, #f4f7fa);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.booking-tz-label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.booking-tz-label select {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-weight: 500;
  color: var(--ink);
}

.booking-tz-detect {
  justify-self: start;
  border: 0;
  background: transparent;
  color: var(--accent, #0078ef);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: var(--nl-cursor);
  padding: 0;
}

.booking-tz-detect:hover {
  color: var(--ink);
}

.booking-tz-hint {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.4;
}

.booking-tz-office {
  margin: 1.25rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.booking-slots h3 {
  font-size: 1rem;
  margin-bottom: 0.85rem;
}

.slot-list {
  display: grid;
  gap: 0.5rem;
  max-height: 360px;
  overflow: auto;
  padding-right: 0.25rem;
}

.slot-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  border: 1px solid rgba(31, 75, 99, 0.35);
  background: #fff;
  color: var(--accent);
  border-radius: 10px;
  min-height: 2.75rem;
  padding: 0.45rem 0.6rem;
  font: inherit;
  font-weight: 600;
  cursor: var(--nl-cursor);
  transition: background 0.15s ease, color 0.15s ease;
}

.slot-btn .slot-main {
  line-height: 1.2;
}

.slot-btn .slot-sub {
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0.75;
}

.slot-btn:hover,
.slot-btn.is-selected {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.slot-btn:hover .slot-sub,
.slot-btn.is-selected .slot-sub {
  opacity: 0.9;
}

.slot-empty {
  margin: 0;
  font-size: 0.95rem;
}

.booking-form {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1rem;
}

.booking-form h3 {
  margin: 0;
}

.booking-summary {
  margin: 0;
  color: var(--accent);
  font-weight: 600;
}

.booking-form .btn {
  justify-self: start;
}

/* Service detail page */
.page-service {
  background: var(--bg);
}

/* Process step detail page */
.page-paso {
  background: var(--bg-warm);
}

.paso-story {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 82% 18%, rgba(0, 120, 239, 0.3), transparent 44%),
    linear-gradient(135deg, #061428 0%, #0b2a55 48%, #003d8f 100%);
  color: #fff;
  min-height: min(58vh, 520px);
  display: flex;
  align-items: flex-end;
  padding: clamp(5.5rem, 11vw, 7.5rem) 0 clamp(2.5rem, 6vw, 3.75rem);
}

.paso-story-inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
}

.paso-story-cat {
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
}

.paso-story h1 {
  margin: 0 0 1rem;
  max-width: 16ch;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.98;
  color: #fff;
}

.paso-story-lead {
  margin: 0;
  max-width: 34ch;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
}

.paso-story-texture {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 40%, rgba(6, 20, 40, 0.35) 100%),
    radial-gradient(circle at 20% 80%, rgba(58, 190, 249, 0.12), transparent 35%);
  pointer-events: none;
}

.paso-tabs {
  position: sticky;
  top: 3.35rem;
  z-index: 40;
  background: rgba(251, 251, 250, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.paso-tabs-inner {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  padding: 0.65rem 0;
  scrollbar-width: none;
}

.paso-tabs-inner::-webkit-scrollbar {
  display: none;
}

.paso-tab {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.paso-tab span {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  opacity: 0.75;
}

.paso-tab:hover {
  color: var(--ink);
  background: rgba(0, 120, 239, 0.06);
}

.paso-tab.is-active {
  color: var(--ink);
  background: #fff;
  border-color: rgba(0, 120, 239, 0.22);
  box-shadow: 0 8px 22px rgba(15, 30, 60, 0.06);
}

.paso-detail {
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
}

.paso-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(16rem, 0.7fr);
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: start;
}

.paso-detail-layout .service-crumb {
  grid-column: 1 / -1;
}

.paso-detail-main {
  display: grid;
  gap: 2rem;
}

.paso-block h2 {
  margin: 0;
  max-width: 32ch;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.paso-how-list {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.paso-how-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 0.95rem 1.05rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
}

.paso-how-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-top: 0.2rem;
}

.paso-how-item p {
  margin: 0;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.5;
}

.paso-objective {
  padding: 1.35rem 1.4rem;
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(0, 120, 239, 0.1), transparent 55%),
    linear-gradient(180deg, #f7f9fc, #eef3fa);
  border: 1px solid rgba(0, 120, 239, 0.12);
}

.paso-next-copy {
  margin: 0.5rem 0 0.9rem;
  max-width: 42ch;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.55;
}

.paso-next-link {
  display: inline-flex;
  color: var(--accent);
  font-weight: 650;
  font-size: 1rem;
}

.paso-next-link:hover {
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.paso-cta-card {
  position: sticky;
  top: 6.5rem;
  padding: 1.4rem 1.35rem;
  border-radius: 18px;
  background: linear-gradient(155deg, #0b1c42 0%, #12408f 52%, #0078ef 100%);
  color: #fff;
  box-shadow: 0 22px 48px rgba(12, 31, 74, 0.22);
}

.paso-cta-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.paso-cta-card h2 {
  margin: 0.45rem 0 0.55rem;
  color: #fff;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  max-width: 14ch;
}

.paso-cta-card p {
  margin: 0 0 1.1rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  line-height: 1.5;
}

.paso-cta-card .btn-primary {
  background: #fff;
  color: var(--ink);
  width: 100%;
  justify-content: center;
}

.paso-cta-card .btn-primary:hover {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.paso-cta-all {
  display: inline-block;
  margin-top: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 600;
}

.paso-cta-all:hover {
  color: #fff;
}

.paso-related {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.paso-related-kicker {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.paso-related-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1.5rem;
}

.paso-related-cols a {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  padding: 0.55rem 0;
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}

.paso-related-cols a span {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.paso-related-cols a:hover {
  color: var(--accent);
}

@media (max-width: 900px) {
  .paso-detail-layout {
    grid-template-columns: 1fr;
  }

  .paso-cta-card {
    position: relative;
    top: auto;
  }

  .paso-related-cols {
    grid-template-columns: 1fr;
  }
}

/* Thinkworks-inspired service story hero */
.service-story {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 88% 20%, rgba(0, 120, 239, 0.28), transparent 42%),
    linear-gradient(135deg, #061428 0%, #0b2a55 48%, #003d8f 100%);
  color: #fff;
  min-height: min(72vh, 640px);
  display: flex;
  align-items: flex-end;
  padding: clamp(6rem, 12vw, 8.5rem) 0 clamp(3rem, 7vw, 4.5rem);
}

.service-story-inner {
  position: relative;
  z-index: 1;
  max-width: 42rem;
}

.service-story-cat {
  margin: 0 0 1.1rem;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.55);
}

.service-story h1 {
  margin: 0 0 1.35rem;
  max-width: 16ch;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.72);
}

.service-story-copy {
  display: grid;
  gap: 1.15rem;
}

.service-story-lead,
.service-story-emphasis {
  margin: 0;
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  font-weight: 450;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.9);
  max-width: 28ch;
}

.service-story-emphasis {
  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  max-width: 32ch;
}

.service-story-texture {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 75% 40%, #000 20%, transparent 70%);
  pointer-events: none;
}

.service-related {
  background: #0b1f3a;
  color: #fff;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}

.service-related-kicker {
  margin: 0 0 1.25rem;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.service-related-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem 2rem;
}

.service-related-cols a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
  font-weight: 450;
  padding: 0.2rem 0;
  transition: color 0.15s ease, padding-left 0.15s ease;
}

.service-related-cols a:hover {
  color: #fff;
  padding-left: 0.25rem;
}

.service-detail {
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

.service-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 0.72fr);
  gap: 1.5rem 1.75rem;
  align-items: start;
}

.service-crumb {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin-bottom: 0.15rem;
  font-size: 0.88rem;
}

.service-crumb a {
  color: var(--muted);
  font-weight: 600;
}

.service-crumb a:hover {
  color: var(--ink);
}

.service-crumb-path {
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.service-crumb-path strong {
  color: var(--ink);
  font-weight: 600;
}

.service-detail-main {
  display: grid;
  gap: 2.25rem;
  min-width: 0;
}

.service-hero-block {
  position: relative;
  padding-right: 3.5rem;
}

.service-hero-icon {
  position: absolute;
  top: 0;
  right: 0;
  width: 3rem;
  height: 3rem;
  color: var(--accent);
  opacity: 0.22;
}

.service-hero-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.service-hero-block h1 {
  max-width: 14ch;
  margin-bottom: 0.85rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.service-detail-lead {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 48ch;
}

.service-includes .section-kicker,
.service-ideal .section-kicker,
.service-result .section-kicker {
  margin-bottom: 0.85rem;
}

.include-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.include-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.15rem 1.2rem 1.25rem;
  display: grid;
  gap: 0.75rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.include-card:hover {
  border-color: rgba(0, 120, 239, 0.28);
  box-shadow: 0 10px 28px rgba(22, 25, 31, 0.05);
  transform: translateY(-1px);
}

.include-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.include-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
}

.include-icon svg {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}

.include-num {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.include-card h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--ink);
}

.include-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
}

.service-ideal {
  display: grid;
  gap: 0.75rem;
  padding-top: 0.35rem;
  border-top: 1px solid var(--line);
}

.service-ideal-body h2 {
  margin: 0;
  max-width: 28ch;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.service-result {
  display: grid;
  gap: 0.65rem;
}

.service-result-text {
  margin: 0;
  max-width: 48ch;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink);
}

.service-cta-card {
  position: sticky;
  top: 5.5rem;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.07), transparent 40%),
    linear-gradient(155deg, #0b1c42 0%, #12408f 52%, #1a56c4 100%);
  color: #fff;
  border-radius: 18px;
  padding: 1.6rem 1.45rem 1.5rem;
  display: grid;
  gap: 0.9rem;
  align-content: start;
  box-shadow: 0 22px 48px rgba(12, 31, 74, 0.28);
  overflow: hidden;
  min-height: 22rem;
  isolation: isolate;
}

.service-cta-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background:
    radial-gradient(ellipse at 30% 100%, rgba(255, 255, 255, 0.12), transparent 55%),
    radial-gradient(ellipse at 80% 120%, rgba(90, 150, 255, 0.25), transparent 50%);
  pointer-events: none;
}

.service-cta-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.72;
}

.service-cta-card h2 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(1.45rem, 2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: #fff;
}

.service-cta-card > p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  max-width: 28ch;
}

.btn-cta-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 2.75rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  background: #fff;
  color: #0f1f45;
  font-weight: 700;
  font-size: 0.95rem;
  margin-top: 0.25rem;
  transition: transform 0.2s var(--ease), background 0.2s ease;
}

.btn-cta-light:hover {
  background: #f3f6fb;
  transform: translateY(-1px);
}

.service-cta-meta {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
  position: relative;
  z-index: 1;
}

.service-cta-meta li {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  padding-left: 1.1rem;
  position: relative;
}

.service-cta-meta li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
}

.service-cta-all {
  position: relative;
  z-index: 1;
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 600;
}

.service-cta-all:hover {
  color: #fff;
}

/* legacy aliases (safe if referenced elsewhere) */
.back-link {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.service-detail-aside {
  display: none;
}

.text-link {
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 600;
}

/* Contact wizard (SAGO-style) */
.page-contact {
  background: var(--bg-soft);
}

.contact-wizard {
  padding-top: clamp(5.5rem, 10vw, 7rem);
  min-height: calc(100svh - 8rem);
}

.wizard-shell {
  max-width: 720px;
}

.wizard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(1.75rem, 5vw, 2.75rem);
  box-shadow: 0 18px 40px rgba(22, 25, 31, 0.05);
  min-height: 420px;
}

.wizard-progress {
  margin: 0 0 1.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.wizard-step h1 {
  max-width: 14ch;
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 0.65rem;
}

.wizard-step h2 {
  max-width: none;
  font-size: 1.35rem;
  margin: 1.5rem 0 0.5rem;
}

.wizard-help {
  margin: 0 0 1.5rem;
  max-width: 36ch;
}

.wizard-field {
  display: block;
  margin-bottom: 1.5rem;
}

.wizard-field input,
.wizard-field textarea {
  width: 100%;
  border: 0;
  border-bottom: 2px solid var(--line);
  border-radius: 0;
  background: transparent;
  padding: 0.85rem 0;
  font-size: 1.2rem;
  color: var(--ink);
  box-shadow: none;
}

.wizard-field input:focus,
.wizard-field textarea:focus {
  border-bottom-color: var(--accent);
  box-shadow: none;
  background: transparent;
}

.wizard-field textarea {
  min-height: 6rem;
  resize: vertical;
}

.choice-grid {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.choice {
  display: block;
  cursor: var(--nl-cursor);
}

.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice span,
.choice .choice-card {
  display: block;
  padding: 0.95rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.choice .choice-card strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.choice .choice-card em {
  display: block;
  margin-top: 0.28rem;
  font-style: normal;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.4;
}

.choice:hover span,
.choice:hover .choice-card {
  border-color: rgba(0, 120, 239, 0.35);
}

.choice input:focus-visible + span,
.choice input:focus-visible + .choice-card {
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.choice input:checked + span,
.choice input:checked + .choice-card {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

.choice input:checked + .choice-card em {
  color: rgba(0, 120, 239, 0.82);
}

.wizard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.wizard-extra {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
}

.wizard-done h1 {
  max-width: 16ch;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.btn-ghost {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  border-radius: 999px;
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: rgba(22, 25, 31, 0.04);
  color: var(--ink);
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes fadeRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroKen {
  from {
    transform: scale(1.05) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.2%, -0.8%, 0);
  }
}

@keyframes floatSoft {
  from {
    transform: translateY(-50%) translateX(0);
  }
  to {
    transform: translateY(calc(-50% - 8px)) translateX(-6px);
  }
}

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

  .hero-inner,
  .hero-brand-name,
  .hero h1,
  .hero-sub,
  .hero .btn,
  .hero-media img,
  .reveal,
  .panel-body {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }

  .hero-media img {
    transform: scale(1.02) !important;
  }
}

@media (max-width: 980px) {
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .login-shell,
  .split,
  .principles-grid,
  .about-grid,
  .offices,
  .contact-wrap,
  .booking-shell,
  .booking-fallback-grid,
  .service-detail-layout {
    grid-template-columns: 1fr;
  }

  .service-related-cols {
    grid-template-columns: 1fr;
  }

  .service-story {
    min-height: 0;
    padding-top: 5.5rem;
  }

  .booking-aside,
  .service-cta-card {
    position: static;
  }

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

  .service-cta-card {
    min-height: 0;
  }

  .service-hero-block {
    padding-right: 0;
  }

  .agenda-fab {
    left: 1rem;
    right: auto;
    transform: none;
    width: max-content;
    max-width: calc(100% - 5.5rem);
    font-size: 0.88rem;
    padding: 0.7rem 1rem;
  }

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

  .nl-chat {
    right: 1rem;
    bottom: 1rem;
  }

  .nl-chat-panel {
    width: min(22.5rem, calc(100vw - 1.5rem));
    height: min(70vh, 32rem);
  }

  .hero {
    min-height: min(78vh, 640px);
  }

  .hero-media img {
    object-position: center 35%;
  }

  .hero-media::after {
    background:
      linear-gradient(
        180deg,
        rgba(8, 16, 36, 0.45) 0%,
        rgba(8, 20, 48, 0.7) 50%,
        rgba(8, 16, 36, 0.88) 100%
      );
  }

  .nav-toggle {
    display: block;
  }

  .nav-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 4vw 1.25rem;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    z-index: 5;
  }

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

  .nav-item {
    display: contents;
  }

  .nav-panel a,
  .nav-panel .nav-link,
  .nav-panel .lang-toggle {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
    width: fit-content;
    background: transparent;
    border-radius: 0;
    min-height: 0;
  }

  .nav-panel .btn-nav {
    margin-top: 0.75rem;
    width: 100%;
    max-width: 18rem;
    border-bottom: 0;
  }

  .mega {
    display: none !important;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(1080px, calc(100% - 1.5rem));
  }

  .nav {
    width: calc(100% - 1.5rem);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 14ch;
  }

  .panel-body {
    padding-left: 0;
  }
}

/* FAQs page */
.page-faqs {
  background: var(--bg);
}

.faqs-hero {
  padding-top: clamp(5.5rem, 10vw, 7rem);
  padding-bottom: 0.5rem;
}

.faqs-hero-inner {
  max-width: 40rem;
}

.faqs-hero h1 {
  max-width: 16ch;
  margin-bottom: 0.85rem;
}

.faqs-lead {
  margin: 0;
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 42ch;
  line-height: 1.65;
}

.faqs-body {
  padding-top: 2rem;
}

.faqs-layout {
  display: grid;
  grid-template-columns: 12rem minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.faqs-toc {
  position: sticky;
  top: 5.5rem;
}

.faqs-toc-label {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.faqs-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.faqs-toc-list a {
  display: block;
  padding: 0.4rem 0.55rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  transition: background 0.15s ease, color 0.15s ease;
}

.faqs-toc-list a:hover {
  color: var(--accent);
  background: var(--accent-soft);
}

.faqs-panels {
  display: grid;
  gap: 2.25rem;
}

.faq-group h2 {
  margin: 0 0 0.85rem;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.faq-list {
  display: grid;
  gap: 0.55rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:has(.faq-q.is-open) {
  border-color: rgba(0, 120, 239, 0.35);
  box-shadow: 0 10px 28px rgba(22, 25, 31, 0.05);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.15rem;
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--ink);
  cursor: var(--nl-cursor);
}

.faq-q:hover {
  color: var(--accent);
}

.faq-icon {
  flex: 0 0 auto;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: var(--bg-soft);
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--accent);
  transition: transform 0.2s var(--ease), opacity 0.2s ease;
}

.faq-icon::before {
  width: 0.55rem;
  height: 1.5px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 1.5px;
  height: 0.55rem;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.faq-q.is-open .faq-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-a {
  padding: 0 1.15rem 1.15rem;
}

.faq-a p {
  margin: 0;
  padding-top: 0.15rem;
  border-top: 1px solid var(--line);
  padding-top: 0.9rem;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 58ch;
}

.faqs-cta {
  padding-top: 1rem;
}

.faqs-cta-card {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.75rem 1.6rem;
  border-radius: 18px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.07), transparent 40%),
    linear-gradient(155deg, #0b1c42 0%, #12408f 52%, #0078ef 100%);
  color: #fff;
  box-shadow: 0 22px 48px rgba(12, 31, 74, 0.22);
}

.faqs-cta-card .section-kicker {
  color: rgba(255, 255, 255, 0.7);
}

.faqs-cta-card h2 {
  margin: 0.35rem 0 0.55rem;
  color: #fff;
  max-width: 16ch;
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
}

.faqs-cta-card p {
  margin: 0;
  max-width: 40ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  line-height: 1.55;
}

.faqs-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.faqs-cta-actions .btn-primary {
  background: #fff;
  color: #0f1f45;
}

.faqs-cta-actions .btn-primary:hover {
  background: #f3f6fb;
}

.faqs-cta-actions .btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.faqs-cta-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

@media (max-width: 860px) {
  .faqs-layout {
    grid-template-columns: 1fr;
  }

  .faqs-toc {
    position: static;
  }

  .faqs-toc-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
  }
}

/* Interactive process pipeline — stair climb to goal */
.pipeline {
  background: transparent;
  overflow: visible;
}

.pipeline-head {
  max-width: 38rem;
  margin-bottom: 2.25rem;
}

.pipeline-head h2 {
  max-width: 16ch;
  margin-bottom: 0.75rem;
}

.pipeline-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 42ch;
  line-height: 1.6;
}

.pipeline-board {
  position: relative;
  padding: 1.25rem 1.25rem 1.35rem;
  border-radius: 20px;
  background:
    radial-gradient(ellipse at 92% 8%, rgba(0, 120, 239, 0.12), transparent 42%),
    radial-gradient(ellipse at 8% 92%, rgba(0, 61, 143, 0.06), transparent 40%),
    var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(22, 25, 31, 0.04);
}

.pipeline-stage {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.35rem 0.55rem;
  margin-bottom: 0.35rem;
}

.pipeline-nav {
  appearance: none;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  cursor: var(--nl-cursor);
  flex-shrink: 0;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
  z-index: 3;
}

.pipeline-nav svg {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}

.pipeline-nav:hover:not(:disabled) {
  border-color: rgba(0, 120, 239, 0.4);
  color: var(--accent);
  background: var(--accent-soft);
  transform: scale(1.04);
}

.pipeline-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.pipeline-climb {
  position: relative;
  height: clamp(15rem, 28vw, 19rem);
  min-width: 0;
}

.pipeline-path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
  pointer-events: none;
  z-index: 0;
}

.pipeline-path-base {
  stroke: rgba(22, 25, 31, 0.12);
}

.pipeline-path-fill {
  stroke: #0078ef;
  stroke-linecap: round;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  transition: stroke-dashoffset 0.55s var(--ease);
}

.pipeline-board[data-active="0"] .pipeline-path-fill { stroke-dashoffset: 1280; }
.pipeline-board[data-active="1"] .pipeline-path-fill { stroke-dashoffset: 980; }
.pipeline-board[data-active="2"] .pipeline-path-fill { stroke-dashoffset: 680; }
.pipeline-board[data-active="3"] .pipeline-path-fill { stroke-dashoffset: 380; }
.pipeline-board[data-active="4"] .pipeline-path-fill { stroke-dashoffset: 0; }

.pipeline-goal-tag {
  position: absolute;
  right: 1.5%;
  top: 2%;
  z-index: 2;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.9;
  pointer-events: none;
}

.pipeline-steps {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.pipeline-step {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: var(--nl-cursor);
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  font: inherit;
  color: var(--muted);
  transition: color 0.2s ease, transform 0.3s var(--ease);
  z-index: 2;
}

.pipeline-step:hover,
.pipeline-step:focus-visible {
  color: var(--accent);
  outline: none;
  z-index: 4;
}

.pipeline-step.is-active {
  z-index: 5;
  transform: translate(-50%, -50%) scale(1.2);
}

.pipeline-node {
  position: relative;
  z-index: 2;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 2px solid rgba(22, 25, 31, 0.14);
  color: #4b5563;
  box-shadow: 0 8px 20px rgba(22, 25, 31, 0.05);
  transition:
    transform 0.3s var(--ease),
    border-color 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

.pipeline-node::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: inherit;
  background: var(--surface);
  z-index: -1;
}

.pipeline-step.is-active .pipeline-node::before,
.pipeline-step:hover .pipeline-node::before {
  background: transparent;
}

.pipeline-icon {
  width: 1.28rem;
  height: 1.28rem;
  display: block;
  color: inherit;
}

.pipeline-step.is-goal .pipeline-node {
  width: 3.9rem;
  height: 3.9rem;
  border-width: 2.5px;
}

.pipeline-step.is-goal .pipeline-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.pipeline-step.is-active .pipeline-node,
.pipeline-step:hover .pipeline-node {
  transform: scale(1.06);
  border-color: #0078ef;
  background: linear-gradient(145deg, #1a8cff 0%, #0078ef 45%, #0056b8 100%);
  color: #fff;
  box-shadow:
    0 0 0 4px rgba(0, 120, 239, 0.22),
    0 0 0 10px rgba(0, 120, 239, 0.1),
    0 16px 34px rgba(0, 100, 209, 0.35);
}

.pipeline-step.is-active .pipeline-icon {
  width: 1.55rem;
  height: 1.55rem;
  color: #fff;
  stroke: #fff;
  filter: drop-shadow(0 1px 2px rgba(0, 30, 80, 0.35));
}

.pipeline-step.is-active .pipeline-icon path,
.pipeline-step.is-active .pipeline-icon circle,
.pipeline-step.is-active .pipeline-icon rect {
  stroke: #fff;
}

.pipeline-step.is-active .pipeline-node::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  border: 2px solid rgba(255, 255, 255, 0.55);
  pointer-events: none;
}

.pipeline-step.is-done .pipeline-node {
  border-color: rgba(0, 120, 239, 0.45);
  color: var(--accent);
  background: #fff;
}

.pipeline-step.is-done:hover .pipeline-node,
.pipeline-step.is-done.is-active .pipeline-node {
  background: linear-gradient(145deg, #1a8cff 0%, #0078ef 45%, #0056b8 100%);
  color: #fff;
  border-color: #0078ef;
}

.pipeline-step.is-goal.is-active .pipeline-node {
  transform: scale(1.08);
  box-shadow:
    0 0 0 5px rgba(0, 120, 239, 0.24),
    0 0 0 12px rgba(0, 120, 239, 0.1),
    0 18px 36px rgba(0, 100, 209, 0.38);
}

.pipeline-step.is-goal.is-active .pipeline-icon {
  width: 1.7rem;
  height: 1.7rem;
  color: #fff;
}

.pipeline-panel {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr;
  gap: 1.25rem;
  align-items: center;
  min-height: 9.5rem;
  padding: 1.25rem 1.35rem;
  border-radius: 16px;
  background: linear-gradient(180deg, #f7f9fc 0%, #eef3fa 100%);
  border: 1px solid rgba(0, 120, 239, 0.1);
  opacity: 1;
  transform: none;
  pointer-events: auto;
  transition: opacity 0.3s ease, transform 0.3s var(--ease);
}

.pipeline-panel.is-switching {
  opacity: 0.45;
  transform: translateY(4px);
}

.pipeline-panel-kicker {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.pipeline-panel-inner h3 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  letter-spacing: -0.03em;
  max-width: 18ch;
}

.pipeline-panel-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 44ch;
}

.pipeline-more {
  display: inline-flex;
  align-items: center;
  margin-top: 0.95rem;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 650;
}

.pipeline-more:hover {
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.pipeline-panel-visual {
  justify-self: end;
  width: min(7rem, 100%);
  color: var(--accent);
  opacity: 0.9;
}

.pipeline-panel-visual svg {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 860px) {
  .pipeline-climb {
    height: auto;
    min-height: 0;
  }

  .pipeline-stage {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "climb climb"
      "prev next";
    gap: 0.75rem;
  }

  .pipeline-climb { grid-area: climb; }
  .pipeline-nav-prev { grid-area: prev; justify-self: start; }
  .pipeline-nav-next { grid-area: next; justify-self: end; }

  .pipeline-path,
  .pipeline-goal-tag {
    display: none;
  }

  .pipeline-steps {
    position: relative;
    display: grid;
    gap: 0.55rem;
  }

  .pipeline-step {
    position: relative;
    left: auto !important;
    top: auto !important;
    transform: none;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0.85rem;
    padding: 0.55rem 0.65rem;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #fff;
  }

  .pipeline-step::after {
    content: attr(aria-label);
    font-size: 0.92rem;
    font-weight: 650;
    color: var(--ink);
    text-align: left;
  }

  .pipeline-step.is-active {
    border-color: rgba(0, 120, 239, 0.45);
    background: var(--accent-soft);
    transform: none;
    z-index: 2;
  }

  .pipeline-node,
  .pipeline-step.is-goal .pipeline-node {
    width: 2.6rem;
    height: 2.6rem;
  }

  .pipeline-step.is-active .pipeline-node,
  .pipeline-step:hover .pipeline-node {
    transform: scale(1.08);
  }

  .pipeline-step.is-active .pipeline-icon {
    width: 1.2rem;
    height: 1.2rem;
  }

  .pipeline-panel {
    grid-template-columns: 1fr;
    margin-top: 0.75rem;
  }

  .pipeline-panel[hidden] {
    display: none;
  }

  .pipeline-panel:not([hidden]) {
    display: grid;
  }

  .pipeline-panel-visual {
    justify-self: start;
    width: 4.5rem;
  }

  .mega {
    display: none !important;
  }

  .hero-cinema-track,
  .hero-cinema-sticky {
    height: auto;
    min-height: 0;
  }

  .hero-cinema-sticky {
    position: relative;
    top: auto;
    height: auto;
  }

  .hero-cinema-stage {
    position: relative;
    opacity: 1 !important;
    padding: 0.1rem 0 0;
  }

  .hero-cinema-frame {
    width: 100%;
    height: auto;
    min-height: clamp(300px, 70vw, 460px);
    padding: 2.5rem 0 4rem;
    border-radius: 0;
  }

  .hero-cinema-copy {
    margin-top: 0;
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-cinema-caption {
    opacity: 1 !important;
    transform: translateX(-50%) !important;
    bottom: 1rem;
  }

  .page-atmosphere .blob {
    filter: blur(60px);
  }
}

/* ---------- Process journey (mountain) ---------- */
.journey {
  position: relative;
  background: #e9ebef;
  overflow: hidden;
}

.journey-stage {
  position: relative;
  max-width: 1920px;
  margin: 0 auto;
}

.journey-scene {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.journey-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.journey-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(233, 235, 239, 0.9) 0%, rgba(233, 235, 239, 0.5) 26%, rgba(233, 235, 239, 0) 46%),
    linear-gradient(0deg, rgba(233, 235, 239, 0.6) 0%, rgba(233, 235, 239, 0) 16%);
}

.journey-goal-tag {
  position: absolute;
  left: 82.5%;
  top: 2.2%;
  transform: translateX(-50%);
  padding: 0.3rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 6px;
  font-size: clamp(0.58rem, 0.62vw, 0.75rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0c1526;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 6px 18px rgba(0, 40, 100, 0.18);
  backdrop-filter: blur(6px);
}

/* Orbs sitting on each platform */
.journey-orb {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 3;
  width: clamp(46px, 5.6vw, 104px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.85);
  color: var(--accent);
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.35) 60%, rgba(160, 200, 245, 0.35));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(0, 60, 140, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  cursor: var(--nl-cursor);
  transform: translate(-50%, -50%);
  transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}

.journey-orb svg {
  width: 44%;
  height: 44%;
}

.journey-orb::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 120, 239, 0.55);
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
}

.journey-orb:hover {
  transform: translate(-50%, -50%) scale(1.08);
}

.journey-orb.is-done {
  color: #fff;
  background: radial-gradient(circle at 30% 25%, rgba(120, 185, 255, 0.95), rgba(0, 120, 239, 0.75));
}

.journey-orb.is-active {
  color: #fff;
  background: radial-gradient(circle at 30% 25%, #6fb4ff, #0078ef 55%, #0059c2);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.45), 0 0 36px rgba(0, 120, 239, 0.75), 0 14px 32px rgba(0, 60, 140, 0.35);
  transform: translate(-50%, -50%) scale(1.12);
}

.journey-orb.is-active::after {
  animation: journeyPulse 1.8s ease-out infinite;
}

.journey-orb.is-goal {
  color: #fff;
  background: radial-gradient(circle at 30% 25%, #6fb4ff, #0078ef 55%, #0059c2);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.4), 0 0 30px rgba(0, 120, 239, 0.6), 0 12px 30px rgba(0, 60, 140, 0.3);
}

@keyframes journeyPulse {
  0% { opacity: 0.9; transform: scale(0.85); }
  100% { opacity: 0; transform: scale(1.55); }
}

.journey-orb-num {
  position: absolute;
  top: calc(100% + 0.35em);
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(0.62rem, 0.72vw, 0.9rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
  color: #24324a;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.9), 0 0 2px rgba(255, 255, 255, 0.9);
}

/* Left copy */
.journey-copy {
  position: absolute;
  left: 5%;
  top: 7%;
  z-index: 4;
  width: min(52%, 820px);
}

.journey-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.9rem;
  font-size: clamp(0.66rem, 0.72vw, 0.85rem);
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #4a5566;
}

.journey-copy h2 {
  max-width: none;
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 3.8vw, 4.4rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: #0c1526;
}

.journey-grad {
  display: table;
  white-space: nowrap;
  background: linear-gradient(90deg, #0078ef 0%, #2f6bff 45%, #6a5cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.journey-lead {
  margin: 0 0 clamp(0.9rem, 1.6vw, 1.8rem);
  max-width: 27em;
  font-size: clamp(0.88rem, 1.2vw, 1.3rem);
  line-height: 1.55;
  color: #3a4556;
}

.journey-start {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 1.2rem 0.45rem 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  font: inherit;
  font-size: clamp(0.82rem, 0.9vw, 1rem);
  font-weight: 600;
  color: #0c1526;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 28px rgba(0, 60, 140, 0.18);
  cursor: var(--nl-cursor);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.journey-start:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 90, 200, 0.28);
}

.journey-start-icon {
  display: grid;
  place-items: center;
  width: 2.3em;
  height: 2.3em;
  border-radius: 50%;
  color: #fff;
  background: #0c1526;
  box-shadow: 0 4px 12px rgba(12, 21, 38, 0.35);
}

.journey-start-icon svg {
  width: 55%;
  height: 55%;
}

.journey-start-arrow {
  margin-left: 0.6rem;
  color: #0c1526;
}

/* Glass cards */
.journey-card {
  position: absolute;
  left: var(--cx);
  top: var(--cy);
  z-index: 4;
  width: clamp(150px, 14.6vw, 270px);
  padding: clamp(0.7rem, 1.1vw, 1.3rem) clamp(0.8rem, 1.2vw, 1.4rem) clamp(2rem, 2.8vw, 3rem);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(160deg, rgba(62, 68, 80, 0.86), rgba(38, 43, 52, 0.82));
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  box-shadow: 0 14px 36px rgba(0, 30, 80, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  cursor: var(--nl-cursor);
  translate: var(--dx, 0px) var(--dy, 0px);
  transition: transform 0.35s ease, translate 0.35s ease, opacity 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.journey-card:hover,
.journey-card.is-active {
  border-color: rgba(160, 205, 255, 0.85);
  background: linear-gradient(160deg, rgba(20, 95, 190, 0.9), rgba(12, 58, 130, 0.88));
  box-shadow: 0 0 0 3px rgba(0, 120, 239, 0.18), 0 20px 44px rgba(0, 60, 150, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transform: translateY(-4px);
}

.journey-card-num {
  margin: 0 0 0.35rem;
  font-size: clamp(0.72rem, 0.85vw, 1rem);
  font-weight: 600;
  line-height: 1;
  color: rgba(255, 255, 255, 0.85);
}

.journey-card h3 {
  margin: 0 0 0.5rem;
  font-size: clamp(0.85rem, 1.1vw, 1.25rem);
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
}

.journey-card p:not(.journey-card-num) {
  margin: 0;
  font-size: clamp(0.68rem, 0.78vw, 0.9rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.86);
}

.journey-card-link {
  position: absolute;
  left: clamp(0.8rem, 1.2vw, 1.4rem);
  bottom: clamp(0.5rem, 0.8vw, 0.9rem);
  font-size: clamp(0.9rem, 1vw, 1.15rem);
  line-height: 1;
  color: #fff;
  text-decoration: none;
  transition: transform 0.25s ease;
}

.journey-card-link:hover,
.journey-card.is-active .journey-card-link {
  transform: translateX(4px);
}

/* Mobile-only panel */
.journey-panel {
  display: none;
}

/* Bottom chip, progress and CTA */
.journey-chip,
.journey-cta {
  position: absolute;
  bottom: 3.5%;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.5rem 1rem 0.5rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 18px;
  color: #0c1526;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 30px rgba(0, 50, 120, 0.16);
  font-size: clamp(0.75rem, 0.82vw, 0.92rem);
  line-height: 1.35;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.journey-chip:hover,
.journey-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 80, 190, 0.26);
}

.journey-chip {
  left: 2.5%;
}

.journey-chip img {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 12px;
  object-fit: cover;
  object-position: 82% 12%;
}

.journey-chip strong,
.journey-cta strong {
  display: block;
  font-weight: 700;
}

.journey-chip-arrow {
  margin-left: 0.3rem;
  color: var(--accent);
}

.journey-cta {
  right: 2.5%;
}

.journey-cta small {
  display: block;
  font-size: 0.9em;
  color: #4a5566;
}

.journey-cta-icon {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  flex: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.05rem;
  background: linear-gradient(135deg, #2f8cff, #0060d0);
  box-shadow: 0 0 20px rgba(0, 120, 239, 0.5);
}

.journey-progress {
  position: absolute;
  left: 50%;
  bottom: 4%;
  z-index: 4;
  width: min(30%, 440px);
  display: flex;
  justify-content: space-between;
  transform: translateX(-50%);
}

.journey-progress-track {
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: rgba(0, 120, 239, 0.2);
}

.journey-progress-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0078ef, #6a5cff);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.5s ease;
}

.journey-dot {
  position: relative;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 0.55rem;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: clamp(0.68rem, 0.72vw, 0.82rem);
  font-weight: 700;
  color: #3a4556;
  background: none;
  cursor: var(--nl-cursor);
}

.journey-dot::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(0, 120, 239, 0.45);
  background: #fff;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.journey-dot.is-done::before {
  border-color: var(--accent);
  background: var(--accent);
}

.journey-dot.is-active {
  color: var(--accent);
}

.journey-dot.is-active::before {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 120, 239, 0.2), 0 0 14px rgba(0, 120, 239, 0.7);
}

@media (max-width: 1100px) {
  .journey-stage {
    display: flex;
    flex-direction: column;
    padding-bottom: 2.5rem;
  }
  .journey-copy {
    position: static;
    order: -1;
    width: auto;
    padding: 3.5rem 1.5rem 1.75rem;
  }
  .journey-grad {
    display: inline;
    white-space: normal;
  }
  .journey-veil {
    background: linear-gradient(180deg, rgba(233, 235, 239, 0.6) 0%, rgba(233, 235, 239, 0) 22%);
  }
  .journey-cards,
  .journey-chip {
    display: none;
  }
  .journey-panel {
    display: block;
    margin: -2.5rem 1.25rem 0;
    position: relative;
    z-index: 5;
    padding: 1.2rem 1.25rem;
    border: 1px solid rgba(0, 120, 239, 0.35);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 16px 40px rgba(0, 60, 140, 0.18);
    transition: opacity 0.2s ease;
  }
  .journey-panel.is-switching {
    opacity: 0.35;
  }
  .journey-panel .journey-card-num {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
  }
  .journey-panel h3 {
    margin: 0 0 0.4rem;
    font-size: 1.15rem;
    color: #0c1526;
  }
  .journey-panel p:not(.journey-card-num) {
    margin: 0 0 0.75rem;
    font-size: 0.93rem;
    line-height: 1.55;
    color: #4a5566;
  }
  .journey-panel .pipeline-more {
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
  }
  .journey-progress {
    position: relative;
    left: auto;
    bottom: auto;
    width: auto;
    margin: 1.6rem 1.75rem 0;
    transform: none;
  }
  .journey-cta {
    position: relative;
    right: auto;
    bottom: auto;
    align-self: center;
    margin: 1.6rem 1.25rem 0;
  }
  .journey-goal-tag {
    top: 1%;
  }
}

@media (max-width: 640px) {
  .journey-orb {
    width: clamp(26px, 7.5vw, 34px);
  }
  .journey-orb-num {
    top: calc(100% + 2px);
    font-size: 0.55rem;
  }
  .journey-panel {
    margin-top: -0.75rem;
  }
  .journey-goal-tag {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .journey-orb.is-active::after {
    animation: none;
  }
  .sv-hub-ring {
    animation: none;
  }
  .sv.is-leaving *,
  .sv.is-entering * {
    translate: none !important;
  }
}

/* ---------- Immersive step view ---------- */
html.sv-lock,
html.sv-lock body {
  overflow: hidden;
}

.sv {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(0.8rem, 2vh, 1.6rem);
  min-height: 100%;
  padding: clamp(0.9rem, 2.4vh, 1.8rem) clamp(1.1rem, 3vw, 3rem);
  overflow-y: auto;
  color: #eaf2ff;
  background: #050b18;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sv[hidden] {
  display: none;
}

body[data-step-view="standalone"] > :not(.sv) {
  visibility: hidden;
}

body[data-step-view="standalone"] .sv {
  opacity: 1;
  transition: none;
}

.sv.is-open {
  opacity: 1;
}

.sv-net,
.sv-veil {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.sv-net {
  width: 100%;
  height: 100%;
  display: block;
}

.sv-veil {
  background:
    linear-gradient(90deg, rgba(5, 11, 24, 0.7) 0%, rgba(5, 11, 24, 0.35) 28%, rgba(5, 11, 24, 0) 48%),
    linear-gradient(0deg, rgba(5, 11, 24, 0.6) 0%, rgba(5, 11, 24, 0) 22%);
}

.sv > :not(.sv-net):not(.sv-veil) {
  position: relative;
  z-index: 2;
}

.sv :is(.sv-kicker, .sv-title, .sv-sub, .sv-lead, .sv-list > *, .sv-card > *, .sv-benefit) {
  transition: opacity 0.34s ease var(--d, 0ms), translate 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms);
}

.sv .sv-card > .sv-card-toggle {
  transition:
    opacity 0.34s ease var(--d, 0ms),
    translate 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms),
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.sv.is-leaving :is(.sv-kicker, .sv-title, .sv-sub, .sv-lead, .sv-list > *, .sv-card > *, .sv-benefit) {
  opacity: 0;
  translate: calc(var(--swap-dir, 1) * -18px) 0;
  transition-duration: 0.18s;
  transition-delay: 0ms;
}

.sv.is-entering :is(.sv-kicker, .sv-title, .sv-sub, .sv-lead, .sv-list > *, .sv-card > *, .sv-benefit) {
  opacity: 0;
  translate: calc(var(--swap-dir, 1) * 18px) 0;
  transition: none;
}

/* Central hub (replaces the building artwork) */
.sv-hub {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  justify-self: center;
  position: relative;
  width: min(100%, 48vh, 460px);
  aspect-ratio: 1;
  pointer-events: none;
}

.sv-hub-ring {
  position: absolute;
  border-radius: 50%;
}

.sv-hub-ring--outer {
  inset: 0;
  border: 1px solid rgba(90, 160, 255, 0.22);
  box-shadow: inset 0 0 60px rgba(0, 120, 239, 0.08);
}

.sv-hub-ring--dash {
  inset: 9%;
  border: 1.5px dashed rgba(110, 175, 255, 0.35);
  animation: svSpin 60s linear infinite;
}

.sv-hub-ring--arc {
  inset: 17%;
  background: conic-gradient(from 0deg, rgba(0, 120, 239, 0) 0deg, rgba(60, 160, 255, 0.9) 70deg, rgba(0, 120, 239, 0) 140deg, rgba(0, 120, 239, 0) 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  animation: svSpin 7s linear infinite;
}

.sv-hub-core {
  position: absolute;
  inset: 26%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25em;
  border: 1px solid rgba(130, 190, 255, 0.45);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(60, 150, 255, 0.4), rgba(0, 70, 170, 0.28) 55%, rgba(5, 11, 24, 0.6));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 0 60px rgba(0, 120, 239, 0.45), inset 0 0 40px rgba(120, 190, 255, 0.18);
  font-size: min(1.1vw, 2vh, 11px);
  color: #fff;
  transition: opacity 0.4s ease, scale 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.sv.is-leaving .sv-hub-core {
  opacity: 0;
  scale: 0.9;
  transition-duration: 0.18s;
}

.sv.is-entering .sv-hub-core {
  opacity: 0;
  scale: 1.08;
  transition: none;
}

.sv-hub-icon {
  display: grid;
  width: 3.2em;
  height: 3.2em;
  color: #9ccaff;
}

.sv-hub-icon svg {
  width: 100%;
  height: 100%;
}

.sv-hub-num {
  font-size: 7.5em;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-shadow: 0 0 28px rgba(90, 170, 255, 0.8);
}

.sv-hub-label {
  font-size: 1.25em;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(220, 235, 255, 0.85);
}

@keyframes svSpin {
  to {
    rotate: 360deg;
  }
}

.sv-glass {
  border: 1px solid rgba(120, 170, 255, 0.2);
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(22, 44, 88, 0.55), rgba(8, 18, 40, 0.55));
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.sv-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid rgba(90, 160, 255, 0.35);
  border-radius: 50%;
  color: #7fb8ff;
  background: rgba(0, 120, 239, 0.14);
  box-shadow: 0 0 16px rgba(0, 120, 239, 0.2);
}

.sv-icon svg {
  width: 55%;
  height: 55%;
}

.sv-icon--lg {
  width: 3rem;
  height: 3rem;
  box-shadow: 0 0 0 4px rgba(0, 120, 239, 0.08), 0 0 24px rgba(0, 120, 239, 0.35);
}

/* Top bar */
.sv-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.sv-back {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(220, 235, 255, 0.75);
  cursor: var(--nl-cursor);
}

.sv-back-icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  font-size: 1rem;
  letter-spacing: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.2s ease, background 0.2s ease;
}

.sv-back:hover .sv-back-icon {
  transform: translateX(-2px);
  background: rgba(255, 255, 255, 0.16);
}

.sv-stepper {
  position: relative;
  display: flex;
  gap: clamp(1.4rem, 3.4vw, 3rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.sv-stepper::before {
  content: "";
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  bottom: 5px;
  height: 2px;
  background: rgba(255, 255, 255, 0.16);
}

.sv-stepper button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(220, 235, 255, 0.55);
  cursor: var(--nl-cursor);
}

.sv-stepper-dot {
  width: 12px;
  height: 12px;
  border: 2px solid rgba(120, 175, 255, 0.5);
  border-radius: 50%;
  background: #0a1830;
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.sv-stepper button.is-done .sv-stepper-dot {
  border-color: #4da3ff;
  background: #4da3ff;
}

.sv-stepper button.is-active {
  color: #7fb8ff;
}

.sv-stepper button.is-active .sv-stepper-dot {
  border-color: #fff;
  background: var(--accent);
  transform: scale(1.25);
  box-shadow: 0 0 0 4px rgba(0, 120, 239, 0.25), 0 0 18px rgba(0, 120, 239, 0.9);
}

.sv-next {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.35rem 0.35rem 0.35rem 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.sv-next:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 34px rgba(0, 90, 200, 0.35);
}

.sv-next-icon {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  color: #fff;
  font-size: 1.05rem;
  background: linear-gradient(135deg, #2f8cff, #0060d0);
  box-shadow: 0 0 18px rgba(0, 120, 239, 0.55);
}

/* Body columns */
.sv-body {
  display: grid;
  grid-template-columns: minmax(300px, 33%) 1fr minmax(240px, 20%);
  gap: clamp(1rem, 2vw, 2rem);
  align-items: start;
}

.sv-kicker {
  margin: clamp(0rem, 1vh, 0.8rem) 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #7fb8ff;
}

.sv-title {
  margin: 0;
  font-size: clamp(2.2rem, min(4.2vw, 7.2vh), 4.4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #fff;
}

.sv-title-accent {
  display: block;
  padding-bottom: 0.08em;
  background: linear-gradient(90deg, #3d9bff 0%, #6f8bff 50%, #a78bff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sv-title:has(.sv-title-accent) {
  margin-bottom: 0.8rem;
}

.sv-sub[hidden] {
  display: none;
}

.sv-sub {
  margin: 0.2em 0 0.8rem;
  font-size: clamp(1.5rem, min(2.8vw, 5vh), 3rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: rgba(235, 242, 255, 0.92);
}

.sv-sub2 {
  display: block;
  font-weight: 600;
  background: linear-gradient(90deg, #3d9bff 0%, #6f8bff 50%, #a78bff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sv-lead {
  max-width: 30em;
  margin: 0 0 clamp(0.8rem, 2vh, 1.4rem);
  font-size: clamp(0.88rem, 1vw, 1.02rem);
  line-height: 1.55;
  color: rgba(210, 225, 250, 0.78);
}

.sv-list {
  padding: clamp(0.8rem, 1.8vh, 1.2rem) 1.2rem;
}

.sv-list-title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: #fff;
}

.sv-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sv-list li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: clamp(0.2rem, 0.6vh, 0.4rem) 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(235, 242, 255, 0.9);
}

.sv-list-arrow {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.35);
  transition: transform 0.2s ease, color 0.2s ease;
}

.sv-list li:hover .sv-list-arrow {
  color: #4da3ff;
  transform: translateX(3px);
}

.sv-list li.sv-list-full {
  padding-top: 0.6rem;
}

.sv-list-full a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.sv-list-full a:hover {
  text-decoration: underline;
}

.sv-right {
  grid-column: 3;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(0.7rem, 1.8vh, 1.1rem);
}

.sv-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  padding: 1rem 1rem 1.6rem;
}

.sv-card h3 {
  margin: 0.15rem 0 0.35rem;
  font-size: 0.98rem;
  color: #fff;
}

.sv-card p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(210, 225, 250, 0.72);
}

.sv-card .sv-card-more {
  margin-top: 0.45rem;
  color: #dfe9ff;
}

.sv-card-toggle {
  position: absolute;
  right: 0.7rem;
  bottom: 0.6rem;
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  font: inherit;
  font-size: 1.05rem;
  line-height: 1;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  cursor: var(--nl-cursor);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.sv-card.is-expanded .sv-card-toggle {
  transform: rotate(45deg);
  color: #fff;
  background: var(--accent);
}

/* Bottom benefits bar */
.sv-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: clamp(0.8rem, 2vh, 1.2rem) clamp(1rem, 2vw, 2rem);
}

.sv-benefit {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 clamp(0.8rem, 2vw, 2rem);
}

.sv-benefit + .sv-benefit {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.sv-benefit strong {
  display: block;
  font-size: 0.98rem;
  color: #fff;
}

.sv-benefit span:not(.sv-icon) {
  font-size: 0.84rem;
  color: rgba(210, 225, 250, 0.72);
}

@media (max-width: 980px) {
  .sv {
    grid-template-rows: auto auto auto;
  }
  .sv-veil {
    background: linear-gradient(180deg, rgba(5, 11, 24, 0.35) 0%, rgba(5, 11, 24, 0.55) 100%);
  }
  .sv-hub {
    display: none;
  }
  .sv-body {
    grid-template-columns: 1fr;
  }
  .sv-right {
    grid-column: auto;
  }
  .sv-benefits {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }
  .sv-benefit {
    padding: 0;
  }
  .sv-benefit + .sv-benefit {
    border-left: 0;
  }
}

@media (max-width: 640px) {
  .sv-top {
    grid-template-columns: auto 1fr;
    row-gap: 0.9rem;
  }
  .sv-back-label {
    display: none;
  }
  .sv-stepper {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: space-between;
    gap: 0;
  }
  .sv-next {
    grid-column: 2;
    grid-row: 1;
  }
}

/* ---------- IA + Automatización ---------- */
main > .section.ai-section {
  position: relative;
  z-index: 2;
  color: #e8eef8;
  background:
    radial-gradient(60% 50% at 85% 20%, rgba(0, 120, 239, 0.28) 0%, rgba(0, 120, 239, 0) 70%),
    radial-gradient(50% 40% at 10% 90%, rgba(110, 90, 255, 0.18) 0%, rgba(110, 90, 255, 0) 70%),
    #050b18;
  overflow: hidden;
}
.ai-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
}
.ai-section .container { position: relative; }
.ai-section .section-kicker { color: #5aaeff; }
.ai-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.ai-head h2 {
  max-width: 22ch;
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
}
.ai-grad {
  background: linear-gradient(90deg, #3d9bff 0%, #8f7bff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ai-lead { margin: 0; font-size: clamp(1rem, 1.3vw, 1.15rem); color: rgba(232, 238, 248, 0.78); }

.ai-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}
.ai-caps { display: grid; gap: 0.85rem; }
.ai-cap {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
}
.ai-cap:hover { border-color: rgba(90, 174, 255, 0.5); background: rgba(0, 120, 239, 0.08); transform: translateX(4px); }
.ai-cap-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: #5aaeff;
  background: rgba(0, 120, 239, 0.14);
  border: 1px solid rgba(90, 174, 255, 0.28);
}
.ai-cap-icon svg { width: 22px; height: 22px; }
.ai-cap h3 { margin: 0.1rem 0 0.25rem; font-size: 1.05rem; color: #fff; }
.ai-cap p { margin: 0; font-size: 0.93rem; color: rgba(232, 238, 248, 0.7); line-height: 1.5; }
.ai-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-top: 0.9rem; }
.ai-link { color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.35); }
.ai-link:hover { border-color: #5aaeff; color: #5aaeff; }

.ai-chat {
  position: relative;
  border-radius: 22px;
  padding: 1.1rem;
  background: linear-gradient(180deg, rgba(20, 32, 58, 0.92), rgba(10, 18, 36, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 120, 239, 0.12), 0 0 60px rgba(0, 120, 239, 0.18);
}
.ai-chat-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.25rem 0.35rem 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ai-chat-avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #0078ef, #6f5bff);
}
.ai-chat-avatar svg { width: 22px; height: 22px; }
.ai-chat-name { margin: 0; font-weight: 700; color: #fff; line-height: 1.2; }
.ai-chat-status { margin: 0.1rem 0 0; font-size: 0.8rem; color: rgba(232, 238, 248, 0.65); display: flex; align-items: center; gap: 0.4rem; }
.ai-chat-status i { width: 7px; height: 7px; border-radius: 50%; background: #2fd47a; box-shadow: 0 0 0 3px rgba(47, 212, 122, 0.2); }
.ai-chat-body { display: flex; flex-direction: column; gap: 0.7rem; padding: 1rem 0.2rem 0.5rem; min-height: 22rem; }
.ai-msg {
  max-width: 86%;
  padding: 0.7rem 0.95rem;
  border-radius: 16px;
  font-size: 0.94rem;
  line-height: 1.5;
}
.ai-msg strong { color: #fff; }
.ai-msg--me { align-self: flex-end; color: #fff; background: #0078ef; border-bottom-right-radius: 5px; }
.ai-msg--bot { align-self: flex-start; color: rgba(232, 238, 248, 0.9); background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.08); border-bottom-left-radius: 5px; }
.ai-tasks { list-style: none; margin: 0.55rem 0 0; padding: 0; display: grid; gap: 0.4rem; }
.ai-tasks li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.88rem; }
.ai-tasks svg { flex: none; width: 18px; height: 18px; padding: 2px; border-radius: 50%; color: #2fd47a; background: rgba(47, 212, 122, 0.14); }
.ai-chat-note { margin: 0.4rem 0.3rem 0; font-size: 0.72rem; color: rgba(232, 238, 248, 0.4); text-align: right; }

/* animación de la demo */
.ai-chat.is-animated .ai-msg { opacity: 0; transform: translateY(10px); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
.ai-chat.is-animated .ai-msg.is-shown { opacity: 1; transform: none; }
.ai-chat.is-animated .ai-tasks li { opacity: 0; transition: opacity 0.35s var(--ease); }
.ai-chat.is-animated .ai-tasks li.is-shown { opacity: 1; }
.ai-typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 0.75rem 0.95rem; border-radius: 16px; background: rgba(255, 255, 255, 0.07); }
.ai-typing i { width: 6px; height: 6px; border-radius: 50%; background: rgba(232, 238, 248, 0.6); animation: aiDot 1s infinite ease-in-out; }
.ai-typing i:nth-child(2) { animation-delay: 0.15s; }
.ai-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes aiDot { 0%, 80%, 100% { opacity: 0.3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

.ai-connects { margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.75rem; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.ai-connects p { margin: 0 0 1rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(232, 238, 248, 0.55); }
.ai-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.ai-chips span {
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(232, 238, 248, 0.85);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 860px) {
  .ai-layout { grid-template-columns: 1fr; }
  .ai-chat { order: -1; }
  .ai-chat-body { min-height: 0; }
  .ai-msg { max-width: 92%; }
}
@media (prefers-reduced-motion: reduce) {
  .ai-chat.is-animated .ai-msg, .ai-chat.is-animated .ai-tasks li { opacity: 1; transform: none; transition: none; }
}

/* Tarjeta destacada: IA */
.service-grid .service-card--ai {
  grid-column: 1 / -1;
  min-height: 0;
  color: #e8eef8;
  border-color: rgba(90, 174, 255, 0.35);
  background:
    radial-gradient(70% 120% at 100% 0%, rgba(0, 120, 239, 0.35) 0%, rgba(0, 120, 239, 0) 60%),
    linear-gradient(135deg, #0a1428 0%, #101c3a 100%);
}
.service-grid .service-card--ai h3 { color: #fff; }
.service-grid .service-card--ai p { color: rgba(232, 238, 248, 0.8); max-width: 52ch; }
.service-grid .service-card--ai .service-more { color: #5aaeff; }
.service-grid .service-card--ai .service-mark { color: #5aaeff; opacity: 0.9; }


/* ---------- Portada v2: texto a la izquierda + beneficios ---------- */
.hero-cinema-frame.hero-v2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  min-height: clamp(560px, 52vw, 820px);
  padding: clamp(2.75rem, 5vw, 5.5rem) 0 clamp(2rem, 3vw, 3rem);
}
.hero-v2 .hero-cinema-veil--net {
  background:
    linear-gradient(90deg, rgba(5, 11, 24, 0.82) 0%, rgba(5, 11, 24, 0.55) 38%, rgba(5, 11, 24, 0) 62%),
    linear-gradient(180deg, rgba(5, 11, 24, 0.1) 0%, transparent 40%, rgba(5, 11, 24, 0.7) 100%);
}
.hero-v2 .hero-v2-copy {
  width: min(1320px, calc(100% - 8vw));
  margin: 0 auto;
  text-align: left;
}
.hero-v2 .hero-kicker {
  margin: 0 0 1.25rem;
  font-size: clamp(0.72rem, 0.9vw, 0.85rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #5aaeff;
}
.hero-cinema.hero-cinema .hero-v2-title {
  margin: 0 0 1.4rem;
  max-width: none;
  font-size: clamp(2.6rem, 5.4vw, 5.4rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: #fff;
}
.hero-grad {
  display: block;
  background: linear-gradient(90deg, #1f8bff 0%, #5d6bff 55%, #9b6bff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-v2 .hero-sub {
  margin: 0 0 2rem;
  max-width: 44ch;
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.55;
  color: rgba(232, 238, 248, 0.82);
}
.hero-v2 .hero-cinema-actions {
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
}
.hero-v2 .hero-cinema-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.6rem;
  padding: 0.9rem 1.9rem;
  font-size: 1.02rem;
  font-weight: 600;
  border-radius: 999px;
}
.hero-cinema .hero-v2 .hero-btn-main,
.hero-cinema .hero-v2 .hero-btn-main:hover {
  color: #fff;
  background: #0078ef;
  border-color: #0078ef;
  box-shadow: 0 10px 30px rgba(0, 120, 239, 0.35);
}
.hero-cinema .hero-v2 .hero-btn-main:hover { background: #0064d1; }
.hero-v2 .btn-ico { width: 20px; height: 20px; transition: transform 0.25s var(--ease); }
.hero-v2 .hero-btn-main:hover .btn-ico { transform: translateX(3px); }
.hero-v2 .hero-btn-alt { padding-left: 1.1rem; }
.hero-v2 .btn-play {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
}
.hero-v2 .btn-play svg { width: 16px; height: 16px; margin-left: 2px; }

.hero-benefits {
  position: relative;
  z-index: 2;
  width: min(1320px, calc(100% - 8vw));
  margin: clamp(2.5rem, 4.5vw, 5rem) auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.hero-benefit {
  display: flex;
  gap: 1rem;
  padding: 0.25rem 1.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}
.hero-benefit:first-child { border-left: 0; padding-left: 0; }
.hero-benefit-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  color: #2f8fff;
  border: 1.6px solid rgba(47, 143, 255, 0.85);
  box-shadow: 0 0 22px rgba(0, 120, 239, 0.25);
}
.hero-benefit-ico svg { width: 26px; height: 26px; }
.hero-benefit-title { margin: 0.1rem 0 0.35rem; font-size: 1.02rem; font-weight: 600; color: #fff; line-height: 1.3; }
.hero-benefit-body { margin: 0; font-size: 0.9rem; line-height: 1.5; color: rgba(232, 238, 248, 0.68); }

@media (max-width: 1000px) {
  .hero-v2 .hero-cinema-veil--net {
    background: linear-gradient(180deg, rgba(5, 11, 24, 0.55) 0%, rgba(5, 11, 24, 0.7) 100%);
  }
  .hero-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.75rem; }
  .hero-benefit:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 720px) {
  .hero-cinema-frame.hero-v2 { min-height: 0; padding: 3rem 0 2.5rem; }
  .hero-v2 .hero-v2-copy, .hero-benefits { width: calc(100% - 2.5rem); }
  .hero-cinema.hero-cinema .hero-v2-title { font-size: clamp(2.3rem, 10.5vw, 3rem); }
  .hero-v2 .hero-kicker { letter-spacing: 0.14em; line-height: 1.6; }
  .hero-v2 .hero-cinema-actions { flex-direction: column; align-items: stretch; }
  .hero-v2 .hero-cinema-actions .btn { justify-content: center; }
  .hero-benefits { grid-template-columns: 1fr; row-gap: 1.25rem; margin-top: 2.5rem; }
  .hero-benefit { border-left: 0; padding: 0; }
}

.hero-v2-title .hero-line1 { display: block; max-width: 13ch; }


/* ---------- Integraciones: tarjetas ---------- */
.ai-connects { margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 0; border-top: 0; }
.int-head { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.75rem; }
.int-head p { margin: 0; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(200, 212, 240, 0.78); white-space: nowrap; }
.int-line { position: relative; flex: 0 1 11rem; height: 1px; background: linear-gradient(90deg, rgba(90, 174, 255, 0) 0%, rgba(90, 174, 255, 0.6) 55%, rgba(90, 174, 255, 0) 100%); }
.int-line::after { content: ""; position: absolute; left: 55%; top: 50%; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: #8fc6ff; box-shadow: 0 0 10px 3px rgba(90, 174, 255, 0.7); }
.int-grid { --gap: 1rem; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.int-card {
  flex: 0 0 calc((100% - 3 * var(--gap)) / 4);
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 0.9rem 1rem 1rem;
  border-radius: 16px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(160deg, rgba(30, 44, 86, 0.55), rgba(14, 22, 48, 0.6));
  border: 1px solid rgba(130, 160, 230, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.int-card:hover {
  transform: translateY(-3px);
  border-color: rgba(90, 174, 255, 0.6);
  background: linear-gradient(160deg, rgba(36, 60, 120, 0.65), rgba(16, 28, 60, 0.7));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 36px rgba(0, 60, 160, 0.35);
}
.int-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(140deg, #1f8bff 0%, #5d6bff 60%, #9b6bff 100%);
  box-shadow: 0 6px 18px rgba(31, 139, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.int-ico svg { width: 22px; height: 22px; }
.int-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.int-name { font-size: 0.98rem; font-weight: 600; }
.int-cat { margin-top: 0.2rem; font-size: 0.76rem; color: rgba(200, 212, 240, 0.6); }
.int-chev { flex: none; width: 16px; height: 16px; color: rgba(200, 212, 240, 0.55); transition: transform 0.3s var(--ease), color 0.3s var(--ease); }
.int-card:hover .int-chev { transform: translateX(3px); color: #8fc6ff; }

@media (max-width: 900px)  { .int-card { flex-basis: calc((100% - 2 * var(--gap)) / 3); } }
@media (max-width: 640px) {
  .int-grid { --gap: 0.65rem; }
  .int-card { flex-basis: calc((100% - var(--gap)) / 2); padding: 0.8rem 0.7rem; gap: 0.6rem; }
  .int-ico { width: 2.3rem; height: 2.3rem; border-radius: 10px; }
  .int-ico svg { width: 19px; height: 19px; }
  .int-name { font-size: 0.88rem; }
  .int-cat { font-size: 0.7rem; }
  .int-chev { display: none; }
  .int-head p { white-space: normal; letter-spacing: 0.16em; }
  .int-line { display: none; }
  .int-card { align-items: flex-start; }
}

/* Integraciones solo con nombre */
.int-card { padding: 1.05rem 1rem 1.05rem 1.25rem; min-height: 4.6rem; }
.int-name { font-size: 1.02rem; }

/* Integraciones: lista minimalista */
.int-list {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 3;
  column-gap: 3rem;
  max-width: 46rem;
}
.int-list li {
  break-inside: avoid;
  padding: 0.55rem 0;
  font-size: 1rem;
  color: rgba(232, 238, 248, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
@media (max-width: 640px) {
  .int-list { columns: 2; column-gap: 1.5rem; }
  .int-list li { font-size: 0.95rem; }
}

/* ---------- Portada v3: centrada y breve ---------- */
.hero-cinema-frame.hero-v3 {
  display: grid;
  place-items: center;
  min-height: clamp(460px, 48vw, 720px);
  padding: 4rem 0;
}
.hero-v3 .hero-v3-copy { width: min(60rem, calc(100% - 2.5rem)); margin: 0 auto; text-align: center; }
.hero-v3-kicker {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  margin: 0 0 1.6rem;
  font-size: 0.95rem; font-weight: 500; color: rgba(200, 212, 240, 0.85);
}
.hero-v3-rule { position: relative; width: clamp(3.5rem, 12vw, 9rem); height: 1px; background: linear-gradient(90deg, rgba(90,140,255,0), rgba(110,150,255,0.85)); }
.hero-v3-kicker .hero-v3-rule:last-child { background: linear-gradient(90deg, rgba(110,150,255,0.85), rgba(90,140,255,0)); }
.hero-v3-rule::after { content: ""; position: absolute; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: #9db8ff; box-shadow: 0 0 8px 2px rgba(110,150,255,0.7); }
.hero-v3-kicker .hero-v3-rule:first-child::after { right: 0; }
.hero-v3-kicker .hero-v3-rule:last-child::after { left: 0; }
.hero-cinema.hero-cinema .hero-v3-title {
  margin: 0 auto 1.4rem;
  max-width: 22ch;
  text-wrap: balance;
  font-size: clamp(2.4rem, 5.6vw, 4.9rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
}
.hero-ai {
  background: linear-gradient(90deg, #8fc2ff 0%, #3d8bff 55%, #2f6bff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-v3-sub { margin: 0 auto; max-width: 46ch; text-wrap: balance; font-size: clamp(1rem, 1.5vw, 1.3rem); color: rgba(200, 212, 240, 0.75); }

/* ---------- Botón modo claro / oscuro ---------- */
.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  cursor: var(--nl-cursor);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.theme-toggle:hover { border-color: var(--accent); transform: rotate(-12deg); }
.theme-toggle svg { width: 17px; height: 17px; grid-area: 1 / 1; transition: opacity 0.25s ease, transform 0.35s var(--ease); }
.theme-toggle .ico-sun { opacity: 0; transform: rotate(-60deg) scale(0.6); }
:root[data-theme="dark"] .theme-toggle .ico-moon { opacity: 0; transform: rotate(60deg) scale(0.6); }
:root[data-theme="dark"] .theme-toggle .ico-sun { opacity: 1; transform: none; }
.nav-start { gap: 0.6rem; }
html { transition: background-color 0.3s ease; }

:root[data-theme="dark"] .hero-cinema + .section {
  background:
    radial-gradient(ellipse at 12% 0%, rgba(0, 120, 239, 0.14) 0%, transparent 42%),
    radial-gradient(ellipse at 88% 18%, rgba(120, 180, 255, 0.1) 0%, transparent 45%),
    linear-gradient(180deg, rgba(11, 18, 32, 0.96) 0%, rgba(11, 18, 32, 0.85) 100%);
  box-shadow: 0 -24px 60px rgba(0, 0, 0, 0.35);
}

/* ---------- Aviso de privacidad ---------- */
html[lang="en"] .legal-es { display: none !important; }
html:not([lang="en"]) .legal-en { display: none !important; }
.legal-hero { padding-bottom: 1rem; }
.legal-wrap { width: min(52rem, calc(100% - 2.5rem)); margin: 0 auto; }
.legal-hero h1 { max-width: none; margin: 0 0 0.75rem; font-size: clamp(2.2rem, 4.5vw, 3.2rem); line-height: 1.08; letter-spacing: -0.03em; }
.legal-meta { margin: 0; color: var(--muted); }
.legal-draft { margin: 1.25rem 0 0; padding: 0.75rem 1rem; border-radius: 12px; font-size: 0.9rem; color: var(--ink); background: rgba(255, 196, 0, 0.12); border: 1px solid rgba(255, 196, 0, 0.35); }
.legal-body { padding-top: 1.5rem; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; margin: 0 0 2.5rem; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); font-size: 0.9rem; }
.legal-toc a { color: var(--muted); text-decoration: none; }
.legal-toc a:hover { color: var(--accent); }
.legal-doc h2 { max-width: none; margin: 2.5rem 0 0.75rem; font-size: 1.3rem; letter-spacing: -0.01em; scroll-margin-top: 5rem; }
.legal-doc p, .legal-doc li { color: var(--muted); line-height: 1.7; }
.legal-doc strong { color: var(--ink); }
.legal-doc ul { padding-left: 1.2rem; }
.legal-doc li { margin: 0.3rem 0; }
.ph { padding: 0 0.3em; border-radius: 4px; background: rgba(255, 196, 0, 0.22); color: var(--ink); font-weight: 600; }
.footer-legal a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.footer-legal a:hover { color: var(--accent); }
.form-privacy { margin: 0.75rem 0; font-size: 0.82rem; color: var(--muted); }
.form-privacy a { color: var(--accent); }

/* =========================================================
   v4 — mejoras nov 2026
   ========================================================= */

/* Hero: llamadas a la acción y lema */
.hero-v3-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.85rem; margin: 2.2rem 0 0; }
.btn-hero { background: #0078ef; color: #fff; border-radius: 999px; box-shadow: 0 12px 32px rgba(0, 120, 239, 0.4); }
.btn-hero:hover { background: #1a88ff; }
.btn-hero-ghost { color: #fff; border: 1px solid rgba(200, 215, 245, 0.45); border-radius: 999px; background: rgba(255, 255, 255, 0.04); }
.btn-hero-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }
.btn-hero:focus-visible, .btn-hero-ghost:focus-visible, .btn:focus-visible { outline: 2px solid #8fc2ff; outline-offset: 3px; }
.hero-v3-motto { margin: 1.6rem 0 0; font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: rgba(200, 212, 240, 0.7); }

/* En la práctica: semana de operación + reporte */
.ops { border-top: 1px solid var(--line); }
.ops-head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.ops-head h2 { max-width: 18ch; font-size: clamp(2rem, 4vw, 3rem); text-wrap: balance; }
.ops-lead { margin: 0; max-width: 46ch; }
.ops-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.ops-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: none; }
.ops-steps li { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; padding: 1.25rem 0; border-top: 1px solid var(--line); }
.ops-steps li:last-child { border-bottom: 1px solid var(--line); }
.ops-num { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; font-weight: 700; font-size: 0.95rem; color: var(--accent); background: var(--accent-soft); }
.ops-steps h3 { margin: 0.2rem 0 0.3rem; font-size: 1.08rem; }
.ops-steps p { margin: 0; font-size: 0.98rem; }
.ops-report { position: sticky; top: 5.5rem; margin: 0; padding: clamp(1.25rem, 2.5vw, 1.75rem); border-radius: 20px; color: #e8eef8; background: radial-gradient(80% 60% at 100% 0%, rgba(0, 120, 239, 0.3), transparent 60%), linear-gradient(160deg, #0b1a36 0%, #071226 100%); border: 1px solid rgba(120, 170, 255, 0.18); box-shadow: 0 30px 70px rgba(7, 18, 38, 0.28); }
.ops-report-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.5rem; margin-bottom: 1.25rem; }
.ops-report-title { margin: 0; font-size: 1.15rem; font-weight: 650; color: #fff; }
.ops-report-date { font-size: 0.85rem; color: rgba(200, 215, 245, 0.65); }
.ops-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; }
.ops-kpis div { padding: 0.85rem 0.9rem; border-radius: 14px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); }
.ops-kpis span { display: block; font-size: 0.8rem; color: rgba(200, 215, 245, 0.7); }
.ops-kpis strong { display: block; margin-top: 0.2rem; font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 650; letter-spacing: -0.02em; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ops-kpis .is-alert strong { color: #ffb45c; }
.ops-meter { height: 8px; margin: 1.2rem 0 0.45rem; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.ops-meter span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #0078ef, #3fb0ff); }
.ops-meter-label { margin: 0 0 1.25rem; font-size: 0.85rem; color: rgba(200, 215, 245, 0.75); }
.ops-list-title { margin: 0 0 0.4rem; font-size: 0.85rem; font-weight: 650; color: #fff; }
.ops-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; font-variant-numeric: tabular-nums; }
.ops-table td { padding: 0.6rem 0; border-top: 1px solid rgba(255, 255, 255, 0.08); color: rgba(232, 238, 248, 0.85); white-space: nowrap; }
.ops-table td:nth-child(2) { color: #ffb45c; }
.ops-table td:last-child { text-align: right; color: #fff; font-weight: 600; }
.ops-report figcaption { margin-top: 0.9rem; font-size: 0.75rem; color: rgba(200, 215, 245, 0.5); }

/* Oficinas: dos tarjetas con reloj */
.offices { align-items: center; }
.offices-cards { display: grid; grid-template-columns: minmax(0, 1fr) 3rem minmax(0, 1fr); align-items: stretch; }
.offices-link { align-self: center; }
.office-card { display: flex; flex-direction: column; }
.office-clock { margin-top: auto !important; }
.office-card { padding: 1.4rem 1.35rem; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(22, 25, 31, 0.06); }
.office-card-kicker { margin: 0 0 0.6rem; font-size: 0.8rem; font-weight: 650; color: var(--accent); }
.office-card h4 { margin: 0 0 0.4rem; font-size: 1.3rem; letter-spacing: -0.02em; }
.office-card-addr { margin: 0 0 1rem; font-size: 0.92rem; line-height: 1.5; }
.office-clock { margin: 0; display: flex; align-items: baseline; gap: 0.45rem; font-size: 0.85rem; color: var(--muted); }
.office-time { font-size: 1.6rem; font-weight: 650; letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.offices-link { position: relative; height: 2px; margin: 0 -0.25rem; background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 12px); opacity: 0.55; }
.offices-link span { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }

/* Contacto: banda oscura */
main > .section.contact-band { background: radial-gradient(60% 80% at 85% 10%, rgba(0, 120, 239, 0.35), transparent 60%), linear-gradient(160deg, #0b1a36, #050b18); border: 0; }
.contact-band .contact-simple { max-width: 46rem; margin-inline: auto; text-align: center; }
.contact-band h2 { color: #fff; max-width: 20ch; margin-inline: auto; text-wrap: balance; }
.contact-band .contact-simple > p { color: rgba(220, 230, 250, 0.78); margin-inline: auto; }
.contact-band .section-kicker { color: #5aaeff; }
.contact-band .hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; }

/* Footer */
.site-footer { padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 0.8fr 1fr; gap: 2rem; }
.footer-brand .brand img { height: 2.8rem; }
.footer-brand p { margin: 1rem 0 0; max-width: 32ch; font-size: 0.95rem; }
.footer-motto { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-size: 1.1rem !important; color: var(--ink) !important; }
.footer-col { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-head { margin: 0 0 0.35rem; font-size: 0.85rem; font-weight: 700; color: var(--ink); }
.footer-col a { font-size: 0.93rem; color: var(--muted); }
.footer-col a:hover { color: var(--accent); }
.footer-col address { margin-top: 0.4rem; font-style: normal; font-size: 0.9rem; line-height: 1.55; color: var(--muted); }
.footer-lang { margin: 0; font-size: 0.85rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.footer-bottom p { margin: 0 !important; font-size: 0.85rem !important; }

/* Formularios: estados */
.form-error { margin: 0; padding: 0.7rem 0.9rem; border-radius: 10px; font-size: 0.92rem; font-weight: 600; color: #b42318; background: rgba(180, 35, 24, 0.08); }
.form-preview { margin: 0.75rem 0 0; padding: 0.6rem 0.85rem; border-radius: 10px; font-size: 0.85rem; color: var(--muted); background: var(--bg-soft); border: 1px dashed var(--line); }
.btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }

/* Portal (solicitud de acceso) */
.login-card-title { max-width: none; margin: 0 0 0.4rem; font-size: 1.4rem; }
.login-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.7rem; }
.login-list li { position: relative; padding-left: 1.6rem; color: var(--ink); font-weight: 500; }
.login-list li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 0.8rem; height: 0.8rem; border-radius: 50%; background: var(--accent-soft); box-shadow: inset 0 0 0 3px var(--accent); }
.login-radio { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin: 0; padding: 0; border: 0; }
.login-radio legend { width: 100%; margin-bottom: 0.4rem; font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.login-radio label { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.95rem; color: var(--ink); cursor: var(--nl-cursor); }
.login-radio input { width: auto; min-height: 0; accent-color: var(--accent); }
.login-card .login-help { margin-top: 1.25rem; }

@media (max-width: 900px) {
  .ops-layout { grid-template-columns: 1fr; }
  .ops-report { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .offices-cards { grid-template-columns: 1fr; gap: 0.9rem; }
  .offices-link { display: none; }
  .ops-kpis { grid-template-columns: 1fr 1fr; }
  .ops-kpis .is-alert { grid-column: 1 / -1; }
  .hero-v3-actions { flex-direction: column; align-items: stretch; width: min(20rem, 100%); margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  /* el botón flotante tapaba el texto en móvil; el CTA ya está en el hero y el menú */
  .agenda-fab { display: none; }
}

/* =========================================================
   v5 — portada simple
   ========================================================= */
.hero-simple { min-height: clamp(520px, 74vh, 760px); }
.hero-simple .hero-v3-title { max-width: 18ch; }
.hero-simple .hero-v3-sub { max-width: 52ch; }

.home-head { max-width: 40rem; margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem); }
.home-head h2 { max-width: 20ch; margin-bottom: 0.6rem; font-size: clamp(2rem, 4vw, 3rem); text-wrap: balance; }
.home-head .ops-lead { margin: 0; }

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.pillar { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.6rem 1.5rem 1.4rem; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); color: inherit; transition: transform 0.25s var(--ease), box-shadow 0.25s ease, border-color 0.25s ease; }
.pillar:hover { transform: translateY(-3px); border-color: rgba(0, 120, 239, 0.35); box-shadow: 0 18px 40px rgba(22, 25, 31, 0.08); }
.pillar:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.pillar-ico { display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 0.4rem; border-radius: 14px; color: var(--accent); background: var(--accent-soft); }
.pillar-ico svg { width: 24px; height: 24px; }
.pillar h3 { margin: 0; font-size: 1.25rem; }
.pillar p { margin: 0; flex: 1; font-size: 1rem; }
.pillar-more { margin-top: 0.4rem; font-size: 0.95rem; font-weight: 600; color: var(--accent); }
.pillar--ai { color: #e8eef8; border-color: rgba(90, 174, 255, 0.35); background: radial-gradient(90% 80% at 100% 0%, rgba(0, 120, 239, 0.38), transparent 60%), linear-gradient(150deg, #0b1a36, #071226); }
.pillar--ai h3 { color: #fff; }
.pillar--ai p { color: rgba(220, 230, 250, 0.8); }
.pillar--ai .pillar-ico { color: #8fc2ff; background: rgba(0, 120, 239, 0.22); }
.pillar--ai .pillar-more { color: #8fc2ff; }
.pillars-also { margin: 1.5rem 0 0; font-size: 0.98rem; }
.pillars-also a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.pillars-also a:hover { color: var(--accent); text-decoration-color: currentColor; }

.ops-steps li { padding: 1.5rem 0; }
.ops-steps h3 { font-size: 1.15rem; }

.why { border-top: 1px solid var(--line); }
.why .home-head { margin-bottom: 1.25rem; }
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.why-grid article { padding-top: 1.25rem; border-top: 2px solid var(--accent); }
.why-grid h3 { font-size: 1.2rem; margin-bottom: 0.45rem; }
.why-grid p { margin: 0; }

.contact-band h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }

@media (max-width: 900px) {
  .pillars, .why-grid { grid-template-columns: 1fr; }
  .why-grid { gap: 1.5rem; }
}
@media (max-width: 640px) {
  .hero-simple { min-height: 0; padding: 3.5rem 0 3rem; }
}

/* v6 — hero con el chat del Agente Northline */
.hero-cinema-frame.hero-v3.hero-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; gap: clamp(2rem, 4vw, 4rem); padding: clamp(3rem, 6vw, 5rem) max(4vw, calc((100% - 1200px) / 2)); }
.hero-split .hero-v3-copy { position: relative; z-index: 2; width: auto; margin: 0; text-align: left; }
.hero-split .hero-v3-title { margin-left: 0 !important; font-size: clamp(2.1rem, min(4vw, 8vh), 3.6rem) !important; }
.hero-split .hero-v3-sub { margin: 0; }
.hero-split .hero-v3-actions { justify-content: flex-start; }
.hero-chat { position: relative; z-index: 2; width: 100%; max-width: 30rem; justify-self: end; order: 0 !important; }
.hero-chat .ai-chat-body { min-height: 21rem; }
.hero-chat .ai-msg { font-size: 0.9rem; }
@media (max-width: 900px) {
  .hero-cinema-frame.hero-v3.hero-split { grid-template-columns: 1fr; padding: 3rem 1.25rem; }
  .hero-split .hero-v3-copy { text-align: center; }
  .hero-split .hero-v3-actions { justify-content: center; }
  .hero-split .hero-v3-sub { margin-inline: auto; }
  .hero-split .hero-v3-title { margin-inline: auto !important; }
  .hero-chat { justify-self: center; }
  .hero-chat .ai-chat-body { min-height: 0; }
}
@media (max-width: 640px) {
  .hero-split .hero-v3-actions { width: min(20rem, 100%); margin-inline: auto; }
}

/* v7 — ciclo de la empresa + diagnóstico */
.cycle { border-top: 1px solid var(--line); }
.cy-scope { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-bottom: 1.5rem; }
.cy-scope-q { margin-right: 0.35rem; font-size: 0.95rem; font-weight: 600; color: var(--ink); }
.cy-scope button { min-height: 2.6rem; padding: 0.5rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font: inherit; font-size: 0.92rem; font-weight: 600; cursor: var(--nl-cursor); transition: background 0.2s, color 0.2s, border-color 0.2s; }
.cy-scope button:hover { border-color: var(--accent); color: var(--ink); }
.cy-scope button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.cy-scope button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cy-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.cy-ring, .dg-ring { width: 100%; height: auto; display: block; overflow: visible; }
.cy-ring { max-width: 500px; justify-self: center; }
.cy-track { fill: none; stroke: var(--line); stroke-width: 1; stroke-dasharray: 4 6; }
.cy-arc { fill: none; stroke: var(--muted); stroke-width: 1.2; opacity: 0.55; }
.cy-center { fill: #0b1a36; }
.cy-center-t, .cy-center-s, .cy-node-t, .cy-node-s { text-anchor: middle; dominant-baseline: central; font-family: var(--font); }
.cy-center-t { fill: #fff; font-size: 14px; font-weight: 600; }
.cy-center-s { fill: #8fc2ff; font-size: 12px; }
.cy-node circle { fill: var(--surface); stroke: var(--line); stroke-width: 1; transition: fill 0.25s, stroke 0.25s; }
.cy-node-t { fill: var(--ink); font-size: 14px; font-weight: 600; }
.cy-node-s { fill: var(--muted); font-size: 11px; }
.cy-ring .cy-node { cursor: var(--nl-cursor); outline: none; }
.cy-ring .cy-node:hover circle { stroke: var(--accent); }
.cy-ring .cy-node:focus-visible circle { stroke: var(--accent); stroke-width: 3; }
.cy-node.is-on circle { fill: #0078ef; stroke: #0078ef; }
.cy-node.is-on .cy-node-t { fill: #fff; }
.cy-node.is-on .cy-node-s { fill: rgba(255, 255, 255, 0.8); }
.cy-node.is-sel circle { stroke: #0b1a36; stroke-width: 3; }
.cy-panel { padding: clamp(1.25rem, 2.5vw, 1.75rem); border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(22, 25, 31, 0.06); }
.cy-panel-kicker { margin: 0 0 0.75rem; font-size: 0.85rem; font-weight: 700; color: var(--accent); }
.cy-mini { list-style: none; margin: 0 0 1.25rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; counter-reset: mini; }
.cy-mini li { counter-increment: mini; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.75rem; border-radius: 999px; font-size: 0.9rem; font-weight: 600; color: var(--muted); background: var(--bg-soft); }
.cy-mini li::before { content: counter(mini); font-size: 0.75rem; opacity: 0.7; }
.cy-mini li.is-hl { color: #fff; background: #0078ef; }
.cy-mini li:last-child::after { content: "↻"; margin-left: 0.2rem; }
.cy-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.cy-facts p { margin: 0; font-size: 0.98rem; }
.cy-fact-l { margin-bottom: 0.3rem !important; font-size: 0.85rem !important; font-weight: 700; color: var(--ink); }
.cy-scope-line { margin: 1.2rem 0 0; padding: 0.8rem 1rem; border-radius: 12px; font-size: 0.95rem; color: var(--ink); background: var(--accent-soft); }
.cy-scope-line span { font-weight: 700; color: var(--accent); margin-right: 0.25rem; }

.diag { border-top: 1px solid var(--line); }
.dg-map { position: sticky; top: 5.5rem; margin: 0; padding: clamp(1.25rem, 2.5vw, 1.6rem); border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(22, 25, 31, 0.08); }
.dg-map-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; font-weight: 650; color: var(--ink); }
.dg-map-tag { padding: 0.2rem 0.6rem; border-radius: 999px; font-size: 0.75rem; font-weight: 600; color: var(--muted); background: var(--bg-soft); }
.dg-ring { max-width: 340px; margin: 0 auto; }
.dg-ring .cy-node.is-red circle { fill: #fde8e8; stroke: #e5484d; stroke-width: 2; }
.dg-ring .cy-node.is-red .cy-node-t { fill: #a51d22; }
.dg-ring .cy-node.is-amber circle { fill: #fff4e0; stroke: #e5a100; stroke-width: 2; }
.dg-ring .cy-node.is-amber .cy-node-t { fill: #8a5a00; }
.dg-ring .cy-node.is-green circle { fill: #e6f6ee; stroke: #30a46c; stroke-width: 2; }
.dg-ring .cy-node.is-green .cy-node-t { fill: #1b6b46; }
.dg-ring .cy-node-t { font-size: 13px; }
.dg-legend { list-style: none; display: flex; justify-content: center; gap: 1.1rem; margin: 0.5rem 0 1.1rem; padding: 0; font-size: 0.85rem; color: var(--muted); }
.dg-legend li { display: inline-flex; align-items: center; gap: 0.4rem; }
.dg-legend i { width: 0.7rem; height: 0.7rem; border-radius: 50%; }
.dg-legend i.is-red { background: #e5484d; } .dg-legend i.is-amber { background: #e5a100; } .dg-legend i.is-green { background: #30a46c; }
.dg-prio-t { margin: 0 0 0.4rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.85rem; font-weight: 700; color: var(--ink); }
.dg-prio { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.3rem; font-size: 0.95rem; color: var(--muted); }
.dg-prio strong { color: var(--ink); }
.dg-note { margin: 0.9rem 0 0; font-size: 0.75rem; color: var(--muted); }
.dg-cta { margin-top: 2rem; }

@media (max-width: 900px) {
  .cy-layout { grid-template-columns: 1fr; }
  .cy-ring { max-width: 420px; }
  .dg-map { position: static; }
}
@media (max-width: 560px) {
  .cy-facts { grid-template-columns: 1fr; }
  .cy-scope-q { width: 100%; }
}

/* =========================================================
   v8 — "Cómo funciona" estilo centro de control
   ========================================================= */
main > .section.cycle-dark {
  position: relative; overflow: hidden; color: #e8eef8; border: 0;
  background:
    radial-gradient(50% 60% at 28% 55%, rgba(0, 120, 239, 0.22), transparent 70%),
    radial-gradient(40% 50% at 90% 10%, rgba(110, 90, 255, 0.16), transparent 70%),
    #050b18;
}
.cycle-dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(120, 170, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(120, 170, 255, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(70% 70% at 35% 55%, #000 30%, transparent 80%);
}
.cycle-dark .container { position: relative; }
.cycle-dark .section-kicker { color: #5aaeff; }
.cycle-dark h2 { color: #fff; }
.cycle-dark .ops-lead { color: rgba(220, 230, 250, 0.75); }
.cycle-dark .home-head h2 { max-width: 22ch; }

/* Selector de alcance (segmentado con indicador deslizante) */
.cycle-dark .cy-scope { gap: 0.75rem 1rem; margin-bottom: 0.5rem; }
.cycle-dark .cy-scope-q { color: rgba(220, 230, 250, 0.8); font-weight: 600; }
.cx-seg { position: relative; display: inline-flex; flex-wrap: wrap; gap: 0.25rem; padding: 0.3rem; border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(140, 180, 255, 0.18); }
.cx-seg-thumb { position: absolute; left: 0; top: 0; border-radius: 999px; background: linear-gradient(135deg, #1a8cff, #0060d0); box-shadow: 0 6px 24px rgba(0, 120, 239, 0.55); transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), width 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.cycle-dark .cx-seg button { position: relative; z-index: 1; min-height: 2.5rem; padding: 0.45rem 1.05rem; border: 0; border-radius: 999px; background: transparent; color: rgba(220, 230, 250, 0.72); font: inherit; font-size: 0.92rem; font-weight: 600; cursor: var(--nl-cursor); transition: color 0.3s; }
.cycle-dark .cx-seg button:hover { color: #fff; }
.cycle-dark .cx-seg button[aria-pressed="true"] { color: #fff; background: transparent; }
.cycle-dark .cx-seg button:focus-visible { outline: 2px solid #8fc2ff; outline-offset: 2px; }

.cycle-dark .cy-layout { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; }
.cx-stage-wrap { position: relative; }
.cx-stage { display: block; width: 100%; max-width: 600px; height: auto; margin: 0 auto; overflow: visible; }

/* Escenario SVG */
.cx-track { fill: none; stroke: rgba(140, 180, 255, 0.14); stroke-width: 1; }
.cx-orbit { fill: none; stroke: rgba(140, 180, 255, 0.16); stroke-width: 1; stroke-dasharray: 2 10; transform-origin: 260px 260px; }
.cx-orbit-a { animation: cxSpin 80s linear infinite; }
.cx-orbit-b { stroke-dasharray: 1 7; animation: cxSpin 50s linear infinite reverse; }
.cx-arc-base { fill: none; stroke: rgba(140, 180, 255, 0.35); stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s cubic-bezier(0.65, 0, 0.35, 1) calc(0.5s + var(--i) * 0.12s), stroke 0.4s; }
.cx-arc-flow { fill: none; stroke: #5fb0ff; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 0.04 0.06; opacity: 0; transition: opacity 0.4s; filter: url(#cxSoft); }
.cx-arc.is-on .cx-arc-base { stroke: rgba(95, 176, 255, 0.55); }
.cx-arc.is-on .cx-arc-flow { opacity: 1; animation: cxFlow 1.6s linear infinite; }
.cx-spoke-base { fill: none; stroke: rgba(140, 180, 255, 0.12); stroke-width: 1; stroke-dasharray: 3 5; }
.cx-spoke-line { fill: none; stroke: url(#cxOn); stroke: #3d9bff; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0.9; transition: stroke-dashoffset 0.7s cubic-bezier(0.65, 0, 0.35, 1); filter: url(#cxSoft); }
.cx-spoke-flow { fill: none; stroke: #bfe0ff; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 0.06 0.14; opacity: 0; transition: opacity 0.3s 0.5s; }
.cx-spoke.is-on .cx-spoke-line { stroke-dashoffset: 0; }
.cx-spoke.is-on .cx-spoke-flow { opacity: 0.85; animation: cxFlow 1.1s linear infinite; }
.cx-pulse { fill: #e6f3ff; filter: url(#cxGlow); }
.cx-pulse.is-back { fill: #8fc2ff; }
.cx-pulse.is-ring { fill: #5fb0ff; }

.cx-hub-disc { fill: url(#cxHub); stroke: rgba(120, 180, 255, 0.55); stroke-width: 1.2; }
.cx-hub-ring { fill: none; stroke: rgba(120, 180, 255, 0.3); stroke-width: 1; stroke-dasharray: 3 6; transform-origin: 260px 260px; animation: cxSpin 24s linear infinite; }
.cx-hub-wave { fill: none; stroke: rgba(61, 155, 255, 0.55); stroke-width: 1.2; transform-origin: 260px 260px; animation: cxWave 3.2s ease-out infinite; }
.cx-hub-wave-2 { animation-delay: 1.6s; }
.cx-hub-t, .cx-hub-s, .cx-node-t { text-anchor: middle; dominant-baseline: central; font-family: var(--font); }
.cx-hub-t { fill: #fff; font-size: 15px; font-weight: 600; }
.cx-hub-s { fill: #8fc2ff; font-size: 12.5px; }

.cx-node { cursor: var(--nl-cursor); outline: none; transform: translate(260px, 260px) scale(0.2); opacity: 0; transition: transform 0.9s cubic-bezier(0.22, 1.2, 0.36, 1) calc(var(--i) * 0.09s), opacity 0.5s calc(var(--i) * 0.09s); }
.is-built .cx-node { transform: translate(var(--x), var(--y)) scale(1); opacity: 1; }
.is-built .cx-arc-base { stroke-dashoffset: 0; }
.cx-node-disc { fill: rgba(14, 28, 58, 0.9); stroke: rgba(140, 180, 255, 0.35); stroke-width: 1.2; transition: fill 0.4s, stroke 0.4s; }
.cx-node-halo { fill: none; stroke: rgba(61, 155, 255, 0); stroke-width: 1; transition: stroke 0.4s; }
.cx-node-ico { fill: none; stroke: #8fc2ff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.4s; }
.cx-node-t { fill: rgba(232, 238, 248, 0.9); font-size: 13.5px; font-weight: 600; }
.cx-node:hover .cx-node-disc { stroke: #5fb0ff; }
.cx-node:focus-visible .cx-node-halo { stroke: #8fc2ff; stroke-width: 2; }
.cx-node.is-on .cx-node-disc { fill: url(#cxOn); stroke: #9fd0ff; filter: url(#cxGlow); }
.cx-node.is-on .cx-node-ico { stroke: #fff; }
.cx-node.is-on .cx-node-t { fill: #fff; }
.cx-node.is-sel .cx-node-halo { stroke: rgba(143, 194, 255, 0.7); stroke-dasharray: 3 5; animation: cxSpinSlow 12s linear infinite; }
.cx-node.is-ping .cx-node-halo { animation: cxPing 0.7s ease-out, cxSpinSlow 12s linear infinite 0.7s; }

@keyframes cxSpin { to { transform: rotate(360deg); } }
@keyframes cxSpinSlow { to { transform: rotate(360deg); } }
@keyframes cxFlow { to { stroke-dashoffset: -0.2; } }
@keyframes cxWave { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes cxPing { 0% { stroke: #fff; stroke-width: 6; } 100% { stroke-width: 1; } }

/* Panel de cristal */
.cx-panel { position: relative; padding: clamp(1.4rem, 2.6vw, 2rem); border-radius: 24px; background: linear-gradient(160deg, rgba(30, 50, 100, 0.45), rgba(8, 18, 40, 0.6)); border: 1px solid rgba(140, 180, 255, 0.2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 30px 80px rgba(0, 0, 0, 0.35); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.cx-panel-top { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.4rem; }
.cx-panel-ico { display: grid; place-items: center; flex: none; width: 3.2rem; height: 3.2rem; border-radius: 16px; background: linear-gradient(135deg, #1a8cff, #0057c7); box-shadow: 0 10px 30px rgba(0, 120, 239, 0.45); }
.cx-panel-ico svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cx-panel-kicker { margin: 0; font-size: 0.82rem; font-weight: 600; color: #8fc2ff; }
.cx-panel-title { margin: 0.1rem 0 0; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.1; color: #fff; }
.cx-flow { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.4rem; position: relative; }
.cx-flow::before { content: ""; position: absolute; left: 1.1rem; right: 1.1rem; top: 1.1rem; height: 2px; background: rgba(140, 180, 255, 0.18); }
.cx-flow li { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 0.55rem; font-size: 0.85rem; font-weight: 600; line-height: 1.3; color: rgba(220, 230, 250, 0.55); }
.cx-step-dot { position: relative; z-index: 1; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; font-size: 0.85rem; color: rgba(220, 230, 250, 0.6); background: #0b1a36; border: 1px solid rgba(140, 180, 255, 0.3); }
.cx-panel.is-anim .cx-flow li:not(.is-dim) { animation: cxStepText 0.4s ease forwards; animation-delay: calc(0.15s + var(--i) * 0.35s); }
.cx-panel.is-anim .cx-flow li:not(.is-dim) .cx-step-dot { animation: cxStepOn 0.5s ease forwards; animation-delay: calc(0.15s + var(--i) * 0.35s); }
.cx-flow li:last-child .cx-step-dot::after { content: "↻"; position: absolute; right: -1.1rem; top: 0.3rem; font-size: 0.9rem; color: #5fb0ff; }
@keyframes cxStepOn { to { color: #fff; background: linear-gradient(135deg, #1a8cff, #0057c7); border-color: #9fd0ff; box-shadow: 0 0 0 4px rgba(0, 120, 239, 0.2), 0 0 22px rgba(0, 120, 239, 0.6); } }
@keyframes cxStepText { to { color: #fff; } }
.cx-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.cx-fact { padding: 1rem 1.05rem; border-radius: 16px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.07); }
.cx-fact p { margin: 0; font-size: 0.93rem; line-height: 1.5; color: rgba(220, 230, 250, 0.8); }
.cx-fact-l { margin-bottom: 0.35rem !important; font-size: 0.78rem !important; font-weight: 700; }
.cx-fact--pain .cx-fact-l { color: #ffb45c; }
.cx-fact--ai .cx-fact-l { color: #5fdca0; }
.cx-scope-line { margin: 1rem 0 0; padding: 0.85rem 1rem; border-radius: 14px; font-size: 0.93rem; line-height: 1.5; color: #e8eef8; background: rgba(0, 120, 239, 0.16); border: 1px solid rgba(95, 176, 255, 0.3); }
.cx-scope-line span { margin-right: 0.4rem; font-weight: 700; color: #8fc2ff; }

@media (max-width: 900px) {
  .cycle-dark .cy-layout { grid-template-columns: 1fr; }
  .cx-stage { max-width: 460px; }
}
@media (max-width: 560px) {
  .cx-seg { border-radius: 20px; }
  .cx-seg button { padding: 0.45rem 0.8rem; font-size: 0.86rem; }
  .cx-flow { grid-template-columns: 1fr 1fr; row-gap: 1rem; }
  .cx-flow::before { display: none; }
  .cx-facts { grid-template-columns: 1fr; }
  .cx-flow li:last-child .cx-step-dot::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cx-node, .cx-arc-base { transition: none; }
  .cx-orbit, .cx-hub-ring, .cx-hub-wave, .cx-arc-flow, .cx-spoke-flow, .cx-node-halo { animation: none !important; }
  .cx-panel .cx-flow li:not(.is-dim) .cx-step-dot { color: #fff; background: #0078ef; }
  .cx-panel .cx-flow li:not(.is-dim) { color: #fff; }
}
@media (max-width: 560px) {
  .cx-node-t { font-size: 16px; }
  .cx-hub-t { font-size: 17px; }
  .cx-hub-s { font-size: 14px; }
}

/* v9 — tarjetas 3D por paso */
.cx-cards-wrap { margin-top: clamp(2.5rem, 5vw, 4rem); }
.cx-cards-label { margin: 0 0 1.1rem; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.02em; color: #8fc2ff; }
.cx-cards { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; perspective: 1400px; }
.cx-cards::before { content: ""; position: absolute; left: 4%; right: 4%; top: 2.55rem; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(95, 176, 255, 0) 0%, rgba(95, 176, 255, 0.55) 15%, rgba(143, 123, 255, 0.55) 85%, rgba(143, 123, 255, 0) 100%); background-size: 200% 100%; animation: cxLine 4s linear infinite; z-index: 0; }
@keyframes cxLine { to { background-position: -200% 0; } }
.cx-card { position: relative; z-index: 1; transform-style: preserve-3d; }
.cx-card-inner {
  --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 0%;
  position: relative; height: 100%; padding: 1.35rem 1.25rem 1.4rem; border-radius: 22px;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s, border-color 0.4s, opacity 0.4s;
  background:
    linear-gradient(160deg, #1a2c55, #0a1530) padding-box,
    linear-gradient(160deg, rgba(150, 195, 255, 0.45), rgba(150, 195, 255, 0.05) 45%, rgba(143, 123, 255, 0.35)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.cx-card.is-hover .cx-card-inner { transition: transform 0.08s linear, box-shadow 0.4s; box-shadow: 0 40px 80px -20px rgba(0, 60, 160, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.cx-card-glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; background: radial-gradient(circle at var(--gx) var(--gy), rgba(255, 255, 255, 0.18), transparent 45%); transition: opacity 0.3s; }
.cx-card.is-hover .cx-card-glare { opacity: 1; }
.cx-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.1rem; transform: translateZ(40px); }
.cx-card-num { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; font-size: 0.9rem; font-weight: 700; color: #cfe5ff; background: #0b1a36; border: 1px solid rgba(140, 180, 255, 0.35); transition: all 0.4s; }
.cx-card-step { font-size: 0.75rem; font-weight: 600; color: rgba(200, 215, 245, 0.55); }
.cx-card-tag { padding: 0.25rem 0.6rem; border-radius: 999px; font-size: 0.72rem; font-weight: 700; color: #fff; background: linear-gradient(135deg, #1a8cff, #6f5bff); }
.cx-card-title { margin: 0 0 1rem; font-size: 1.15rem; line-height: 1.25; color: #fff; transform: translateZ(30px); }
.cx-card-row { padding-top: 0.75rem; margin-top: 0.75rem; border-top: 1px solid rgba(255, 255, 255, 0.07); transform: translateZ(18px); }
.cx-card-row p { margin: 0; font-size: 0.88rem; line-height: 1.5; color: rgba(220, 230, 250, 0.78); }
.cx-card-l { margin-bottom: 0.25rem !important; font-size: 0.72rem !important; font-weight: 700; letter-spacing: 0.02em; }
.cx-card-row.is-now .cx-card-l { color: #ffb45c; }
.cx-card-row.is-ai .cx-card-l { color: #5fdca0; }
.cx-card-row.is-ai p { color: #fff; }

/* Paso activo: el flujo "trabajando" */
.cx-card.is-live .cx-card-inner { box-shadow: 0 0 0 1px rgba(143, 194, 255, 0.6), 0 30px 70px -20px rgba(0, 120, 239, 0.75), 0 0 40px rgba(0, 120, 239, 0.25); transform: rotateX(var(--rx)) rotateY(var(--ry)) translateZ(24px) translateY(-6px); }
.cx-card.is-live .cx-card-num { color: #fff; background: linear-gradient(135deg, #1a8cff, #0057c7); border-color: #9fd0ff; box-shadow: 0 0 0 4px rgba(0, 120, 239, 0.25), 0 0 22px rgba(0, 120, 239, 0.7); }
.cx-card.is-dim .cx-card-inner { opacity: 0.38; filter: saturate(0.6); }

/* Entrada: las tarjetas giran y se colocan */
.cx-cards.is-in .cx-card { animation: cxCardIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both; animation-delay: calc(var(--i) * 0.11s); }
@keyframes cxCardIn { from { opacity: 0; transform: translateY(40px) translateZ(-160px) rotateX(38deg) rotateY(-14deg); } to { opacity: 1; transform: none; } }

@media (max-width: 980px) {
  .cx-cards { grid-template-columns: repeat(4, minmax(15rem, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding: 1rem 0.25rem 1.5rem; margin: -1rem -0.25rem 0; scrollbar-width: none; }
  .cx-cards::-webkit-scrollbar { display: none; }
  .cx-card { scroll-snap-align: start; }
  .cx-cards::before { top: 3.55rem; left: 2rem; right: auto; width: calc(400% + 3rem); max-width: none; }
}
@media (max-width: 560px) {
  .cx-cards { grid-template-columns: repeat(4, 78vw); }
}
@media (prefers-reduced-motion: reduce) {
  .cx-cards.is-in .cx-card { animation: none; }
  .cx-cards::before { animation: none; }
}

/* v11 — "Cómo funciona" con el mismo fondo de red de la portada */
main > .section.cycle-dark { background: #050b18; }
.cycle-dark::before { display: none; }
.section-net { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; pointer-events: none; }
.section-net-veil { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 45%, transparent 0%, transparent 45%, rgba(5, 11, 24, 0.35) 80%, rgba(5, 11, 24, 0.7) 100%), linear-gradient(180deg, rgba(5, 11, 24, 0.35) 0%, transparent 14%, transparent 86%, rgba(5, 11, 24, 0.5) 100%); }
.cycle-dark .container { z-index: 1; }
/* red de fondo: más fina y desenfocada para no competir con el contenido */
.section-net { filter: blur(1px); opacity: 0.95; }

/* =========================================================
   v13 — una sección = una pantalla + cronología en vivo
   ========================================================= */
@media (min-width: 1000px) and (min-height: 560px) {
  .screen { min-height: calc(100svh - 3.4rem); display: flex; flex-direction: column; justify-content: center; padding-block: clamp(1.5rem, 3.5vh, 2.5rem); }
  .screen > .container { width: min(1240px, calc(100% - 6vw)); }

  /* Cómo funciona: todo en una pantalla */
  .cx-screen { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); grid-template-rows: auto auto; column-gap: clamp(2rem, 4vw, 4rem); row-gap: clamp(1rem, 2.5vh, 1.75rem); align-items: center; }
  .cx-left { display: flex; flex-direction: column; gap: clamp(0.8rem, 1.8vh, 1.2rem); }
  .cx-right { display: grid; place-items: center; }
  .cx-stage { width: auto; height: min(46vh, 480px); max-width: 100%; }
  .cx-pipe-wrap { grid-column: 1 / -1; }
}
.cx-head h2 { margin: 0 0 0.5rem; max-width: 20ch; font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.08; color: #fff; }
.cx-head .section-kicker { margin-bottom: 0.5rem; }
.cx-lead { margin: 0; max-width: 50ch; font-size: 0.98rem; line-height: 1.55; color: rgba(220, 230, 250, 0.72); }
.cycle-dark .cy-scope { margin: 0; }

/* Panel compacto */
.cycle-dark .cx-panel { padding: 1.1rem 1.2rem; border-radius: 20px; }
.cycle-dark .cx-panel-top { margin-bottom: 0.85rem; gap: 0.8rem; }
.cycle-dark .cx-panel-ico { width: 2.6rem; height: 2.6rem; border-radius: 13px; }
.cycle-dark .cx-panel-title { font-size: 1.45rem; }
.cycle-dark .cx-fact { padding: 0.75rem 0.85rem; border-radius: 14px; }
.cycle-dark .cx-fact p { font-size: 0.88rem; }
.cycle-dark .cx-scope-line { margin-top: 0.7rem; padding: 0.6rem 0.85rem; font-size: 0.88rem; }

/* Cronología en vivo */
.cx-cards-label { display: inline-flex; align-items: center; gap: 0.55rem; margin: 0 0 0.9rem; }
.cx-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #2fd47a; box-shadow: 0 0 0 0 rgba(47, 212, 122, 0.6); animation: cxLive 1.8s ease-out infinite; }
@keyframes cxLive { 0% { box-shadow: 0 0 0 0 rgba(47, 212, 122, 0.6); } 100% { box-shadow: 0 0 0 10px rgba(47, 212, 122, 0); } }
.cx-pipe { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; padding: 1.1rem 1.2rem 1.15rem; border-radius: 20px; background: linear-gradient(160deg, rgba(26, 44, 85, 0.75), rgba(8, 18, 40, 0.85)); border: 1px solid rgba(140, 180, 255, 0.2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 24px 60px rgba(0, 0, 0, 0.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.cx-pipe-track { position: absolute; left: calc(1.2rem + 15px); right: calc(25% - 1rem + 15px); top: calc(1.1rem + 15px); height: 2px; border-radius: 2px; background: rgba(140, 180, 255, 0.18); }
.cx-pipe-fill { position: absolute; inset: 0 auto 0 0; width: var(--p); border-radius: inherit; background: linear-gradient(90deg, #2fd47a, #1a8cff); box-shadow: 0 0 12px rgba(26, 140, 255, 0.6); transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.cx-pipe.is-in .cx-pipe-fill { animation: cxFill 1.2s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes cxFill { from { width: 0; } }
.cx-pipe-step { position: relative; z-index: 1; min-width: 0; }
.cx-pipe-node { display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 0.7rem; border-radius: 50%; background: #0b1a36; border: 1.5px solid rgba(140, 180, 255, 0.35); }
.cx-pipe-node svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cx-pipe-name { margin: 0 0 0.3rem; font-size: 0.98rem; font-weight: 650; color: #fff; }
.cx-pipe-name span { margin-right: 0.15rem; font-size: 0.78rem; font-weight: 600; color: rgba(200, 215, 245, 0.5); }
.cx-pipe-name em { margin-left: 0.3rem; padding: 0.1rem 0.45rem; border-radius: 999px; font-style: normal; font-size: 0.7rem; font-weight: 700; color: #fff; background: linear-gradient(135deg, #1a8cff, #6f5bff); }
.cx-pipe-status { display: inline-block; margin: 0 0 0.35rem; padding: 0.15rem 0.55rem; border-radius: 999px; font-size: 0.75rem; font-weight: 700; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.cx-pipe-log { margin: 0; font-size: 0.86rem; line-height: 1.45; color: rgba(220, 230, 250, 0.75); }
.cx-pipe-step.is-done .cx-pipe-node { color: #fff; background: #1f9d63; border-color: #5fdca0; }
.cx-pipe-step.is-done .cx-pipe-status { color: #5fdca0; background: rgba(47, 212, 122, 0.12); }
.cx-pipe-step.is-live .cx-pipe-node { color: #fff; background: #0078ef; border-color: #9fd0ff; box-shadow: 0 0 0 0 rgba(0, 120, 239, 0.6); animation: cxNodePulse 1.6s ease-out infinite; }
.cx-pipe-step.is-live .cx-pipe-node svg { animation: cxBlink 1.2s ease-in-out infinite; }
.cx-pipe-step.is-live .cx-pipe-status { color: #8fc2ff; background: rgba(0, 120, 239, 0.16); }
.cx-pipe-step.is-auth .cx-pipe-node { color: #1b1300; background: #f5a524; border-color: #ffd37a; box-shadow: 0 0 0 0 rgba(245, 165, 36, 0.6); animation: cxNodePulseA 1.6s ease-out infinite; }
.cx-pipe-step.is-auth .cx-pipe-status { color: #ffc46b; background: rgba(245, 165, 36, 0.14); }
.cx-pipe-step.is-next .cx-pipe-node { color: rgba(200, 215, 245, 0.6); }
.cx-pipe-step.is-next .cx-pipe-status { color: rgba(200, 215, 245, 0.7); background: rgba(255, 255, 255, 0.06); }
.cx-pipe-step.is-next .cx-pipe-log { color: rgba(220, 230, 250, 0.55); }
.cx-pipe-step.is-dim { opacity: 0.35; }
.cx-pipe-btn { margin-top: 0.55rem; min-height: 2.1rem; padding: 0.35rem 0.95rem; border: 0; border-radius: 999px; font: inherit; font-size: 0.82rem; font-weight: 700; color: #1b1300; background: #f5a524; cursor: var(--nl-cursor); box-shadow: 0 6px 18px rgba(245, 165, 36, 0.35); transition: transform 0.2s, background 0.2s; }
.cx-pipe-btn:hover { transform: translateY(-1px); background: #ffb84a; }
.cx-pipe-btn:focus-visible { outline: 2px solid #ffd37a; outline-offset: 2px; }
.cx-pipe.is-in .cx-pipe-step { animation: cxStepIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) both; animation-delay: calc(var(--i) * 0.18s); }
@keyframes cxStepIn { from { opacity: 0; transform: translateY(14px); } }
@keyframes cxNodePulse { 0% { box-shadow: 0 0 0 0 rgba(0, 120, 239, 0.6); } 100% { box-shadow: 0 0 0 12px rgba(0, 120, 239, 0); } }
@keyframes cxNodePulseA { 0% { box-shadow: 0 0 0 0 rgba(245, 165, 36, 0.6); } 100% { box-shadow: 0 0 0 12px rgba(245, 165, 36, 0); } }
@keyframes cxBlink { 50% { opacity: 0.35; } }

@media (max-width: 999px) {
  .cx-screen { display: flex; flex-direction: column; gap: 1.5rem; }
  .cx-left { display: flex; flex-direction: column; gap: 1rem; }
  .cx-stage { max-width: 440px; width: 100%; height: auto; margin: 0 auto; display: block; }
  .cx-pipe { grid-template-columns: 1fr 1fr; row-gap: 1.25rem; }
  .cx-pipe-track { display: none; }
}
@media (max-width: 560px) {
  .cx-pipe { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .cx-pipe.is-in .cx-pipe-step, .cx-pipe.is-in .cx-pipe-fill, .cx-live-dot, .cx-pipe-node, .cx-pipe-node svg { animation: none !important; }
}
@media (min-width: 1000px) and (min-height: 560px) {
  .cx-head h2 { font-size: clamp(1.55rem, min(2.9vw, 5vh), 2.5rem); max-width: 24ch; }
  .cx-lead { max-width: 64ch; font-size: clamp(0.88rem, 1.9vh, 0.98rem); }
  .cx-seg { flex-wrap: nowrap; }
  .cycle-dark .cx-seg button { padding: 0.4rem 0.85rem; font-size: 0.86rem; min-height: 2.3rem; white-space: nowrap; }
  .cycle-dark .cx-panel { padding: 0.95rem 1.1rem; }
  .cycle-dark .cx-panel-top { margin-bottom: 0.65rem; }
  .cycle-dark .cx-fact { padding: 0.65rem 0.8rem; }
  .cycle-dark .cx-fact p { font-size: 0.85rem; line-height: 1.45; }
  .cycle-dark .cx-scope-line { margin-top: 0.6rem; padding: 0.5rem 0.8rem; font-size: 0.85rem; }
  .cx-cards-label { margin-bottom: 0.6rem; }
  .cx-pipe { padding: 0.9rem 1.1rem 0.95rem; }
  .cx-pipe-node { margin-bottom: 0.5rem; }
  .cx-pipe-track { top: calc(0.9rem + 15px); }
  .cx-pipe-log { font-size: 0.84rem; }
}
@media (min-width: 1000px) and (min-height: 560px) and (max-height: 820px) {
  .cycle-dark .cx-panel-top { display: none; }
  .cx-stage { height: min(42vh, 440px); }
}
@media (min-width: 1000px) and (min-height: 560px) {
  .hero-cinema-frame.hero-v3.hero-split { min-height: calc(100svh - 3.4rem); }
  /* Diagnóstico compacto */
  .diag .home-head { margin-bottom: clamp(1rem, 2.5vh, 1.75rem); }
  .diag .home-head h2, .home-services .home-head h2 { font-size: clamp(1.7rem, min(3vw, 5.2vh), 2.6rem); }
  .diag .ops-steps li { padding: clamp(0.55rem, 1.4vh, 0.95rem) 0; gap: 0.9rem; }
  .diag .ops-steps h3 { font-size: 1.02rem; margin: 0.1rem 0 0.15rem; }
  .diag .ops-steps p { font-size: 0.92rem; line-height: 1.45; }
  .diag .ops-num { width: 2.1rem; height: 2.1rem; }
  .diag .dg-map { position: static; padding: 1rem 1.2rem; }
  .diag .dg-ring { max-width: min(300px, 34vh); }
  .diag .dg-legend { margin: 0.3rem 0 0.7rem; }
  .diag .dg-prio-t { padding-top: 0.7rem; }
  .diag .dg-prio { font-size: 0.9rem; gap: 0.15rem; }
  .diag .dg-cta { margin-top: clamp(1rem, 2.5vh, 1.75rem); }
  .diag .ops-layout { align-items: center; }
}
.ops-steps li.dg-cta-li { display: block; border-bottom: 0 !important; padding-top: clamp(1rem, 2.5vh, 1.5rem) !important; }
.ops-steps li.dg-cta-li { border-top: 0; }
.diag .ops-steps li:nth-last-child(2) { border-bottom: 1px solid var(--line); }
@media (min-width: 1000px) and (min-height: 560px) and (max-height: 820px) {
  .diag .ops-steps p { font-size: 0.88rem; }
  .diag .ops-steps li { padding: 0.5rem 0; }
  .diag .dg-ring { max-width: 30vh; }
  .diag .dg-map { padding: 0.85rem 1.1rem; }
  .diag .home-head .ops-lead { font-size: 0.95rem; }
}
@media (min-width: 1000px) and (min-height: 560px) {
  .why { padding-block: clamp(2rem, 5vh, 3.5rem); }
  main > .section.contact-band { padding-block: clamp(2.5rem, 7vh, 4.5rem); }
}
@media (min-width: 1000px) and (min-height: 560px) and (max-height: 820px) {
  .diag .ops-steps li { padding: 0.4rem 0; }
  .diag .dg-ring { max-width: 27vh; }
  .diag .dg-note { display: none; }
  .diag .home-head h2 { margin-bottom: 0.35rem; }
}
@media (max-width: 999px) {
  .cx-left { display: contents; }
  .cx-head { order: 1; } .cycle-dark .cy-scope { order: 2; } .cx-right { order: 3; } .cx-panel { order: 4; } .cx-pipe-wrap { order: 5; }
}
/* ciclo más grande */
@media (min-width: 1000px) and (min-height: 560px) {
  .cx-screen { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
  .cx-stage { height: min(58vh, 600px); }
}
@media (min-width: 1000px) and (min-height: 560px) and (max-height: 820px) {
  .cx-stage { height: min(55vh, 520px); }
}
@media (max-width: 999px) {
  .cx-stage { max-width: 520px; }
}

/* =========================================================
   v15 — Paquetes
   ========================================================= */
main > .section.pkgs { position: relative; overflow: hidden; color: #e8eef8; border: 0; background: radial-gradient(45% 55% at 50% 30%, rgba(0, 120, 239, 0.22), transparent 70%), radial-gradient(35% 40% at 90% 90%, rgba(110, 90, 255, 0.14), transparent 70%), #060c1a; }
.pkgs::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(150, 190, 255, 0.09) 1px, transparent 1px); background-size: 22px 22px; mask-image: radial-gradient(70% 70% at 50% 40%, #000 30%, transparent 85%); }
.pkgs .container { position: relative; }
.pkgs-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); gap: 2rem; align-items: end; margin-bottom: clamp(1.25rem, 3vh, 2.25rem); }
.pkgs .section-kicker { color: #5aaeff; }
.pkgs-head h2 { margin: 0; max-width: 18ch; color: #fff; font-size: clamp(1.8rem, min(3.4vw, 5.4vh), 2.9rem); line-height: 1.05; }
.pkgs-lead { margin: 0; font-size: 1rem; color: rgba(220, 230, 250, 0.72); }

.pkg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; align-items: stretch; }
.pkg { position: relative; display: flex; flex-direction: column; padding: clamp(1.25rem, 2.6vh, 1.75rem) 1.5rem; border-radius: 22px; background: linear-gradient(170deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)); border: 1px solid rgba(160, 195, 255, 0.14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s, box-shadow 0.35s; }
.pkg:hover { transform: translateY(-4px); border-color: rgba(160, 195, 255, 0.32); box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.7); }
.pkg.is-popular { background: linear-gradient(170deg, #0f2a5c, #091633) padding-box, linear-gradient(160deg, #5fb0ff, rgba(95, 176, 255, 0.15) 45%, #8f7bff) border-box; border: 1.5px solid transparent; box-shadow: 0 0 0 1px rgba(95, 176, 255, 0.15), 0 40px 90px -30px rgba(0, 120, 239, 0.7); }
.pkg-badge { position: absolute; top: -0.75rem; left: 1.5rem; padding: 0.3rem 0.75rem; border-radius: 999px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; color: #fff; background: linear-gradient(135deg, #1a8cff, #6f5bff); box-shadow: 0 8px 24px rgba(26, 140, 255, 0.45); }
.pkg-name { margin: 0 0 0.6rem; font-size: 1.15rem; font-weight: 650; color: rgba(220, 232, 255, 0.92); }
.pkg-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.15rem 0.5rem; margin-bottom: 0.45rem; }
.pkg-from { width: 100%; font-size: 0.78rem; font-weight: 600; color: rgba(200, 215, 245, 0.6); }
.pkg-price strong { font-size: clamp(2.2rem, min(3.4vw, 6vh), 3rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.pkg.is-popular .pkg-price strong { background: linear-gradient(90deg, #ffffff, #9fd0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pkg-price .pkg-quote { font-size: clamp(1.7rem, min(2.6vw, 4.6vh), 2.3rem); }
.pkg-per { font-size: 0.85rem; color: rgba(200, 215, 245, 0.65); }
.pkg-tag { margin: 0 0 0.9rem; padding-bottom: 0.9rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.92rem; line-height: 1.45; color: rgba(220, 230, 250, 0.75); }
.pkg-list { list-style: none; margin: 0 0 0.9rem; padding: 0; display: grid; gap: clamp(0.3rem, 0.9vh, 0.55rem); }
.pkg-list li { display: flex; align-items: flex-start; gap: 0.55rem; font-size: 0.9rem; line-height: 1.35; color: rgba(232, 238, 248, 0.88); }
.pkg-list svg { flex: none; width: 16px; height: 16px; margin-top: 1px; fill: none; stroke: #5fb0ff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pkg.is-popular .pkg-list svg { stroke: #5fdca0; }
.pkg-ideal { margin-top: auto; padding-top: 0.8rem; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.pkg-ideal p { margin: 0; font-size: 0.86rem; line-height: 1.4; color: rgba(220, 230, 250, 0.7); }
.pkg-l { margin-bottom: 0.2rem !important; font-size: 0.72rem !important; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(160, 195, 255, 0.7) !important; }
.pkg-cta { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-top: 1rem; min-height: 2.9rem; padding: 0.6rem 1.15rem; border-radius: 999px; font-size: 0.92rem; font-weight: 650; color: #fff; border: 1px solid rgba(200, 220, 255, 0.28); transition: background 0.25s, border-color 0.25s, transform 0.25s; }
.pkg-cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s; }
.pkg-cta:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }
.pkg-cta:hover svg { transform: translateX(3px); }
.pkg.is-popular .pkg-cta { border: 0; background: linear-gradient(135deg, #1a8cff, #0057c7); box-shadow: 0 12px 30px rgba(0, 120, 239, 0.45); }
.pkg.is-popular .pkg-cta:hover { background: linear-gradient(135deg, #3d9bff, #0a64d6); }
.pkg-cta:focus-visible { outline: 2px solid #8fc2ff; outline-offset: 3px; }

.pkg-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.9rem 1.5rem; margin-top: clamp(0.9rem, 2.2vh, 1.4rem); padding: 0.85rem 1.1rem; border-radius: 16px; background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(160, 195, 255, 0.12); }
.pkg-proj { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; }
.pkg-proj-head { display: flex; flex-direction: column; line-height: 1.25; }
.pkg-proj-head strong { font-size: 0.92rem; color: #fff; }
.pkg-proj-head span { font-size: 0.75rem; color: rgba(200, 215, 245, 0.6); }
.pkg-proj-list { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.pkg-proj-list a { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.35rem 0.75rem; border-radius: 999px; font-size: 0.83rem; font-weight: 600; color: rgba(232, 238, 248, 0.9); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(160, 195, 255, 0.16); transition: border-color 0.2s, color 0.2s; }
.pkg-proj-list a svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }
.pkg-proj-list a:hover { border-color: #5fb0ff; color: #fff; }
.pkg-note { margin: 0; font-size: 0.88rem; color: rgba(220, 230, 250, 0.75); }
.pkg-note a { margin-left: 0.25rem; font-weight: 700; color: #8fc2ff; white-space: nowrap; }
.pkg-note a:hover { color: #fff; }
.pkg-legal { margin: 0.7rem 0 0; font-size: 0.75rem; color: rgba(200, 215, 245, 0.5); }

@media (max-width: 999px) {
  .pkgs-head { grid-template-columns: 1fr; gap: 0.75rem; }
  .pkg-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .pkg.is-popular { order: -1; }
}
@media (min-width: 1000px) and (min-height: 560px) {
  .pkgs-head h2 { font-size: clamp(1.7rem, min(3vw, 4.8vh), 2.6rem); max-width: 20ch; }
  .pkgs-lead { font-size: 0.92rem; }
  .pkg-price .pkg-quote { line-height: 1; }
  .pkg-tag { margin-bottom: 0.7rem; padding-bottom: 0.7rem; }
  .pkg-list { margin-bottom: 0.7rem; }
  .pkg-cta { margin-top: 0.8rem; min-height: 2.6rem; }
  .pkg-foot { padding: 0.65rem 1rem; }
}
@media (min-width: 1000px) and (min-height: 560px) and (max-height: 820px) {
  .pkg { padding: 1rem 1.25rem; }
  .pkg-list { gap: 0.2rem; }
  .pkg-list li { font-size: 0.85rem; }
  .pkg-tag { font-size: 0.86rem; }
  .pkg-ideal p { font-size: 0.82rem; }
  .pkg-price strong { font-size: clamp(1.9rem, 5.2vh, 2.4rem); }
  .pkg-price .pkg-quote { font-size: clamp(1.5rem, 4vh, 1.9rem); }
  .pkg-name { margin-bottom: 0.35rem; font-size: 1.05rem; }
  .pkg-cta { min-height: 2.4rem; padding-block: 0.45rem; }
  .pkgs-head { margin-bottom: 1rem; }
}
@media (min-width: 1000px) and (min-height: 560px) and (max-height: 820px) {
  main > .section.pkgs.screen { padding-block: 0.9rem; }
  .pkg-foot { margin-top: 0.7rem; gap: 0.5rem 1.2rem; }
  .pkg-ideal { padding-top: 0.6rem; }
}

/* v17 — cronología con la misma altura en todos los procesos */
.cx-pipe-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-pipe-meta { display: flex; align-items: center; gap: 0.4rem; height: 1.75rem; margin-bottom: 0.4rem; min-width: 0; }
.cx-pipe-meta .cx-pipe-status { margin: 0; flex: 0 1 auto; min-width: 0; }
.cx-pipe-meta .cx-pipe-btn { flex: none; margin: 0; min-height: 0; height: 1.6rem; padding: 0 0.7rem; font-size: 0.74rem; box-shadow: 0 4px 14px rgba(245, 165, 36, 0.35); }
.cx-pipe-log { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-height: calc(1.45em * 2); }
@media (max-width: 999px) {
  .cx-pipe-log { -webkit-line-clamp: 3; min-height: 0; }
}
@media (min-width: 1000px) {
  .cycle-dark .cx-fact p:not(.cx-fact-l) { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; min-height: calc(1.45em * 3); }
  .cycle-dark .cx-scope-line { min-height: calc(1.5em * 2 + 1rem); display: flex; align-items: center; }
}
@media (min-width: 1000px) and (min-height: 560px) {
  .cx-left { gap: clamp(0.6rem, 1.4vh, 0.95rem); }
  .cycle-dark .cx-panel { padding: 0.85rem 1rem; }
  .cycle-dark .cx-facts { gap: 0.6rem; }
  .cycle-dark .cx-fact { padding: 0.55rem 0.75rem; }
  .cycle-dark .cx-fact p:not(.cx-fact-l) { font-size: 0.83rem; line-height: 1.4; min-height: calc(1.4em * 3); }
  .cycle-dark .cx-scope-line { margin-top: 0.55rem; padding: 0.4rem 0.75rem; font-size: 0.83rem; line-height: 1.4; min-height: calc(1.4em * 2 + 0.8rem); }
  .cx-head h2 { max-width: 26ch; }
}
@media (min-width: 1000px) and (min-height: 560px) {
  .cx-head h2 { font-size: clamp(1.5rem, min(2.7vw, 4.6vh), 2.35rem); }
  .cx-lead { max-width: 70ch; }
  .cycle-dark .cx-scope-line { height: calc(1.4em * 2 + 0.8rem); min-height: 0; overflow: hidden; }
}

/* v19 — menú móvil: líneas completas y botón visible */
@media (max-width: 900px) {
  .nav-panel a, .nav-panel .nav-link { width: 100%; }
  .nav-panel .nav-login { padding-left: 0; }
  .nav-panel .btn-nav { width: 100%; max-width: none; margin: 1rem 0 0; padding: 0.85rem 1rem; background: var(--accent); border-radius: 0.7rem; font-size: 0.95rem; }
}

/* v21 — Paquetes: se iluminan al pasar el mouse + clic moderno */
.pkg { cursor: var(--nl-cursor); isolation: isolate; }
.pkg > *:not(.pkg-badge) { position: relative; z-index: 1; }
.pkg-badge { z-index: 2; }
.pkg::before, .pkg::after { content: ""; position: absolute; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity 0.45s ease; }
.pkg::after { inset: 0; z-index: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 30%), rgba(70, 160, 255, 0.22), transparent 60%), linear-gradient(170deg, #0f2a5c, #091633); }
.pkg::before { inset: -1px; z-index: 1; padding: 1.5px; background: linear-gradient(160deg, #5fb0ff, rgba(95, 176, 255, 0.15) 45%, #8f7bff); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.pkg.is-popular::after { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 30%), rgba(110, 190, 255, 0.22), transparent 60%); }
.pkg-cta { position: relative; overflow: hidden; isolation: isolate; }
.pkg-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, #1a8cff, #0057c7); opacity: 0; transition: opacity 0.35s ease; }
.pkg.is-popular .pkg-cta::before { opacity: 1; }
.pkg-price strong { transition: color 0.35s; }

@media (hover: hover) {
  .pkg:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 0 0 1px rgba(95, 176, 255, 0.15), 0 40px 90px -30px rgba(0, 120, 239, 0.75); }
  .pkg:hover::before, .pkg:hover::after { opacity: 1; }
  .pkg:hover .pkg-cta { border-color: transparent; box-shadow: 0 12px 30px rgba(0, 120, 239, 0.45); }
  .pkg:hover .pkg-cta::before { opacity: 1; }
  .pkg:hover .pkg-cta svg { transform: translateX(4px); }
  .pkg:hover .pkg-list svg { stroke: #5fdca0; }
  .pkg:hover .pkg-price strong { background: linear-gradient(90deg, #ffffff, #9fd0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .pkg-grid:hover .pkg:not(:hover) { opacity: 0.6; transform: scale(0.985); filter: saturate(0.7); }
  .pkg-grid:hover .pkg.is-popular:not(:hover) { box-shadow: 0 0 0 1px rgba(95, 176, 255, 0.08); }
  .pkg { transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s, border-color 0.45s, opacity 0.45s, filter 0.45s; }
}

.pkg-ripple { position: absolute; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(255, 255, 255, 0.9), rgba(160, 210, 255, 0.35) 45%, transparent 70%); animation: pkgRipple 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
@keyframes pkgRipple { to { transform: scale(40); opacity: 0; } }
.pkg.is-press { animation: pkgPress 0.42s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes pkgPress {
  0% { scale: 1; }
  35% { scale: 0.975; box-shadow: 0 0 0 2px rgba(95, 176, 255, 0.6), 0 0 60px rgba(0, 120, 239, 0.6); }
  100% { scale: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .pkg-ripple, .pkg.is-press { animation: none; }
}

/* v23 — puntero Northline */
:root { --nl-cursor: -webkit-image-set(url("../assets/cursor.png") 1x, url("../assets/cursor@2x.png") 2x) 1 1, auto; }
html, body, a, button, label, select, summary, [role="button"], .pkg, .svc-item, .nav-link, .btn {
  cursor: url("../assets/cursor.png") 1 1, auto;
  cursor: -webkit-image-set(url("../assets/cursor.png") 1x, url("../assets/cursor@2x.png") 2x) 1 1, auto;
  cursor: image-set(url("../assets/cursor.png") 1x, url("../assets/cursor@2x.png") 2x) 1 1, auto;
}
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]), textarea, [contenteditable="true"] { cursor: text; }

/* v24 — puntero Northline siempre visible (dibujado por js/cursor.js) */
html.nl-cursor, html.nl-cursor *, html.nl-cursor *::before, html.nl-cursor *::after { cursor: none !important; }
html.nl-cursor input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="range"]),
html.nl-cursor textarea, html.nl-cursor [contenteditable="true"] { cursor: text !important; }
.nl-cursor-dot { position: fixed; top: 0; left: 0; z-index: 2147483647; width: 22px; height: 22px; pointer-events: none; opacity: 0; will-change: transform; }
.nl-cursor-dot::before { content: ""; position: absolute; inset: 0; background: url("../assets/cursor-nl.png") center / contain no-repeat; transform-origin: 1px 1px; transition: transform 0.15s cubic-bezier(0.22, 1, 0.36, 1), filter 0.2s; }
.nl-cursor-dot.is-on { opacity: 1; }
.nl-cursor-dot.is-text { opacity: 0; }
.nl-cursor-dot.is-link::before { transform: scale(1.12); filter: drop-shadow(0 0 6px rgba(40, 170, 255, 0.75)); }
.nl-cursor-dot.is-down::before { transform: scale(0.82); filter: drop-shadow(0 0 10px rgba(40, 170, 255, 0.95)); }

/* =========================================================
   v25 — Páginas de servicio (servicio.html)
   ========================================================= */
.sp-page { background: var(--bg); }
.sp-k { margin: 0 0 0.6rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--accent); }
.sp-arr { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s var(--ease); }
a:hover > .sp-arr { transform: translateX(3px); }
.sp-ico { display: grid; place-items: center; flex: none; width: 3.1rem; height: 3.1rem; border-radius: 15px; color: #fff; background: linear-gradient(135deg, #1a8cff, #0057c7); box-shadow: 0 12px 30px rgba(0, 120, 239, 0.4); }
.sp-ico svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sp-ico--sm { width: 2.5rem; height: 2.5rem; border-radius: 12px; box-shadow: none; }
.sp-ico--sm svg { width: 19px; height: 19px; }

/* Hero */
.sp-hero { position: relative; overflow: hidden; padding: clamp(3.5rem, 9vh, 6rem) 0 clamp(3.5rem, 9vh, 5.5rem); color: #e8eef8; background: radial-gradient(70% 80% at 85% 10%, rgba(0, 120, 239, 0.32), transparent 60%), radial-gradient(50% 60% at 0% 100%, rgba(110, 90, 255, 0.16), transparent 70%), linear-gradient(165deg, #0b1a3a, #050c1e 70%); }
.sp-hero .section-net { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.sp-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 70% at 85% 30%, rgba(0, 120, 239, 0.22), transparent 65%), linear-gradient(180deg, transparent 70%, rgba(5, 11, 24, 0.5)); }
.sp-hero-grid { z-index: 1; }
.sp-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.sp-crumb { display: flex; gap: 0.5rem; margin-bottom: 1.4rem; font-size: 0.85rem; color: rgba(200, 215, 245, 0.6); }
.sp-crumb a { color: #8fc2ff; font-weight: 600; }
.sp-crumb a:hover { color: #fff; }
.sp-title { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.sp-title h1 { margin: 0; font-size: clamp(1.05rem, 1.4vw, 1.2rem); font-weight: 650; letter-spacing: 0; color: rgba(220, 232, 255, 0.92); }
.sp-promise { margin: 0 0 1.1rem; max-width: 22ch; font-size: clamp(1.9rem, min(3.4vw, 6vh), 2.9rem); font-weight: 650; line-height: 1.05; letter-spacing: -0.035em; color: #fff; text-wrap: balance; }
.sp-sub { margin: 0 0 1.8rem; max-width: 52ch; font-size: 1.05rem; line-height: 1.6; color: rgba(220, 230, 250, 0.75); }
.sp-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.4rem; margin-bottom: 2.2rem; }
.sp-ctas .btn, .sp-cta .btn, .sp-proj .btn { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 3rem; padding: 0.7rem 1.35rem; border-radius: 999px; font-weight: 650; background: linear-gradient(135deg, #1a8cff, #0057c7); box-shadow: 0 14px 34px rgba(0, 120, 239, 0.45); color: #fff; }
.sp-ghost { font-weight: 650; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, 0.35); padding-bottom: 2px; }
.sp-ghost:hover { border-color: #fff; }
.sp-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.sp-facts div { padding: 0.9rem 1rem 0 0; }
.sp-facts div + div { padding-left: 1rem; border-left: 1px solid rgba(255, 255, 255, 0.1); }
.sp-facts dt { margin-bottom: 0.2rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(160, 195, 255, 0.65); }
.sp-facts dd { margin: 0; font-size: 0.92rem; font-weight: 600; color: #fff; }

/* Ventana de ejemplo */
.sp-window { margin: 0; border-radius: 22px; background: rgba(8, 16, 36, 0.72); border: 1px solid rgba(140, 180, 255, 0.2); box-shadow: 0 50px 100px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.03) inset; backdrop-filter: blur(10px); overflow: hidden; transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transition: transform 0.6s var(--ease); }
.sp-window:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
.sp-window figcaption { display: flex; align-items: center; gap: 0.8rem; padding: 0.85rem 1.1rem; border-bottom: 1px solid rgba(255, 255, 255, 0.07); background: rgba(255, 255, 255, 0.03); font-size: 0.85rem; color: #fff; }
.sp-dots { display: flex; gap: 5px; }
.sp-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.sp-window figcaption em { margin-left: auto; padding: 0.15rem 0.55rem; border-radius: 999px; font-style: normal; font-size: 0.68rem; font-weight: 600; color: rgba(200, 215, 245, 0.7); background: rgba(255, 255, 255, 0.07); }
.sp-window-body { padding: 1.2rem; min-height: 300px; }
.sp-window-body svg { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@keyframes spmIn { from { opacity: 0; transform: translateY(8px); } }
.spm-inbox, .spm-calls, .spm-check, .spm-log { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.spm-inbox li, .spm-calls li { display: flex; align-items: center; gap: 0.75rem; padding: 0.65rem 0.75rem; border-radius: 12px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.05); animation: spmIn 0.6s var(--ease) both; animation-delay: calc(var(--d) * 0.12s + 0.2s); }
.spm-av { display: grid; place-items: center; flex: none; width: 2rem; height: 2rem; border-radius: 50%; font-size: 0.8rem; font-weight: 700; color: #fff; background: linear-gradient(135deg, #2a5bd7, #6f5bff); }
.spm-inbox-t, .spm-calls span { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.spm-inbox-t strong, .spm-calls strong { font-size: 0.85rem; color: #fff; }
.spm-inbox-t small, .spm-calls small { font-size: 0.78rem; color: rgba(200, 215, 245, 0.65); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spm-tag { padding: 0.2rem 0.55rem; border-radius: 999px; font-style: normal; font-size: 0.7rem; font-weight: 700; }
.spm-tag--0 { color: #ffb45c; background: rgba(255, 180, 92, 0.14); }
.spm-tag--1 { color: #5fdca0; background: rgba(95, 220, 160, 0.14); }
.spm-tag--2 { color: #8fc2ff; background: rgba(143, 194, 255, 0.14); }
.spm-tag--3 { color: #c3b5ff; background: rgba(195, 181, 255, 0.14); }
.spm-tag--4 { color: rgba(200, 215, 245, 0.7); background: rgba(255, 255, 255, 0.07); }
.spm-calls time { font-weight: 700; font-size: 0.85rem; color: #8fc2ff; font-variant-numeric: tabular-nums; }
.spm-calls em { padding: 0.15rem 0.45rem; border-radius: 6px; font-style: normal; font-size: 0.7rem; font-weight: 700; color: rgba(220, 232, 255, 0.85); border: 1px solid rgba(255, 255, 255, 0.16); }
.spm-calls li:nth-child(1) small { color: #5fdca0; }
.spm-calls li:nth-child(3) small { color: #ffb45c; }
.spm-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; margin-bottom: 1.2rem; }
.spm-kpis div { padding: 0.75rem; border-radius: 12px; background: rgba(255, 255, 255, 0.05); }
.spm-kpis span { display: block; margin-bottom: 0.2rem; font-size: 0.72rem; color: rgba(200, 215, 245, 0.65); }
.spm-kpis strong { font-size: 1.25rem; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.spm-kpis .is-alert strong { color: #ffb45c; }
.spm-aging { display: grid; gap: 0.7rem; margin-bottom: 1.1rem; }
.spm-aging-row { display: grid; grid-template-columns: 6.5rem 1fr 2.5rem; align-items: center; gap: 0.7rem; font-size: 0.8rem; color: rgba(220, 232, 255, 0.8); }
.spm-aging-row i { height: 8px; border-radius: 9px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.spm-aging-row b { display: block; height: 100%; width: var(--w); border-radius: inherit; animation: spmBar 1.1s var(--ease) both 0.3s; }
.spm-b0 { background: linear-gradient(90deg, #0078ef, #3fb0ff); }
.spm-b1 { background: linear-gradient(90deg, #6f5bff, #9f8bff); }
.spm-b2 { background: linear-gradient(90deg, #ff8a3d, #ffb45c); }
@keyframes spmBar { from { width: 0; } }
.spm-aging-row em { font-style: normal; text-align: right; font-variant-numeric: tabular-nums; color: rgba(200, 215, 245, 0.7); }
.spm-note { display: flex; gap: 0.5rem; align-items: flex-start; margin: 0; padding: 0.7rem 0.8rem; border-radius: 12px; font-size: 0.82rem; color: rgba(232, 238, 248, 0.88); background: rgba(255, 180, 92, 0.08); border: 1px solid rgba(255, 180, 92, 0.2); }
.spm-note svg { width: 14px; height: 14px; margin-top: 2px; flex: none; color: #ffb45c; fill: currentColor; stroke: none; }
.spm-chat { display: grid; gap: 0.6rem; }
.spm-chat p { margin: 0; max-width: 85%; padding: 0.65rem 0.85rem; border-radius: 14px; font-size: 0.88rem; line-height: 1.45; animation: spmIn 0.6s var(--ease) both; animation-delay: calc(var(--d) * 0.5s + 0.2s); }
.spm-chat .is-me { justify-self: end; color: #fff; background: #0078ef; border-bottom-right-radius: 4px; }
.spm-chat .is-bot { color: rgba(232, 238, 248, 0.92); background: rgba(255, 255, 255, 0.07); border-bottom-left-radius: 4px; }
.spm-action { display: flex; align-items: center; gap: 0.5rem; justify-self: start; padding: 0.55rem 0.8rem; border-radius: 12px; font-size: 0.82rem; font-weight: 600; color: #5fdca0; background: rgba(95, 220, 160, 0.1); border: 1px solid rgba(95, 220, 160, 0.25); animation: spmIn 0.6s var(--ease) both; animation-delay: 1.8s; }
.spm-action svg { width: 15px; height: 15px; }
.spm-sync { display: grid; gap: 1rem; }
.spm-hub { position: relative; height: 180px; }
.spm-hub::before { content: ""; position: absolute; left: 50%; top: 50%; width: 150px; height: 150px; translate: -50% -50%; border-radius: 50%; border: 1px dashed rgba(140, 180, 255, 0.3); animation: cxSpin 30s linear infinite; }
.spm-core, .spm-node { position: absolute; left: 50%; top: 50%; translate: -50% -50%; border-radius: 999px; white-space: nowrap; }
.spm-core { z-index: 1; padding: 0.5rem 0.9rem; font-size: 0.82rem; font-weight: 700; color: #fff; background: linear-gradient(135deg, #1a8cff, #0057c7); box-shadow: 0 0 0 7px rgba(0, 120, 239, 0.15), 0 0 30px rgba(0, 120, 239, 0.55); }
.spm-node { padding: 0.28rem 0.65rem; font-size: 0.74rem; font-weight: 600; color: rgba(232, 238, 248, 0.9); background: rgba(14, 26, 54, 0.9); border: 1px solid rgba(140, 180, 255, 0.28); transform: rotate(var(--a)) translateY(-75px) rotate(calc(-1 * var(--a))); }
.spm-log li { display: grid; grid-template-columns: auto auto 1fr; gap: 0.7rem; align-items: center; padding: 0.5rem 0.7rem; border-radius: 10px; background: rgba(255, 255, 255, 0.04); font-size: 0.78rem; }
.spm-log time { color: rgba(200, 215, 245, 0.55); font-variant-numeric: tabular-nums; }
.spm-log strong { color: #fff; }
.spm-log span { justify-self: end; color: #5fdca0; }
.spm-progress { position: relative; height: 10px; margin: 0.2rem 3rem 1.2rem 0; border-radius: 9px; background: rgba(255, 255, 255, 0.07); }
.spm-progress i { position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, #0078ef, #5fdca0); animation: spmBar 1.2s var(--ease) both 0.3s; }
.spm-progress span { position: absolute; right: -3rem; top: 50%; translate: 0 -50%; font-size: 0.85rem; font-weight: 700; color: #fff; }
.spm-check { gap: 0.6rem; }
.spm-check li { display: flex; align-items: center; gap: 0.7rem; font-size: 0.9rem; color: rgba(232, 238, 248, 0.9); }
.spm-check li > span { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid rgba(140, 180, 255, 0.35); }
.spm-check li svg { width: 13px; height: 13px; }
.spm-check .is-done { color: rgba(220, 230, 250, 0.6); }
.spm-check .is-done > span { color: #fff; background: #1f9d63; border-color: #5fdca0; }
.spm-check .is-live > span { color: #fff; background: #0078ef; border-color: #9fd0ff; animation: cxNodePulse 1.6s ease-out infinite; }
.spm-check .is-live { color: #fff; font-weight: 600; }
.spm-check .is-live svg { fill: currentColor; stroke: none; }
.spm-check .is-next > span svg { opacity: 0; }
.spm-org { display: grid; justify-items: center; gap: 1rem; margin-bottom: 1.4rem; }
.spm-org span { padding: 0.45rem 0.85rem; border-radius: 10px; font-size: 0.82rem; font-weight: 600; color: #fff; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(140, 180, 255, 0.25); }
.spm-org .is-top { position: relative; border: 0; background: linear-gradient(135deg, #1a8cff, #0057c7); }
.spm-org .is-top::after { content: ""; position: absolute; left: 50%; top: 100%; height: 1rem; border-left: 1px solid rgba(140, 180, 255, 0.45); }
.spm-org div { display: flex; gap: 0.5rem; padding-top: 0.15rem; border-top: 1px solid rgba(140, 180, 255, 0.45); }
.spm-plan { display: grid; gap: 0.75rem; }
.spm-plan > div { display: grid; gap: 0.35rem; }
.spm-plan span { display: flex; gap: 0.6rem; font-size: 0.82rem; color: rgba(220, 232, 255, 0.85); }
.spm-plan span b { min-width: 4.5rem; color: #8fc2ff; }
.spm-plan i { height: 7px; border-radius: 9px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.spm-plan i b { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, #0078ef, #3fb0ff); animation: spmBar 1.1s var(--ease) both 0.3s; }

/* Secciones */
.sp-sec { padding: clamp(4rem, 10vh, 6.5rem) 0; }
.sp-sec + .sp-sec { padding-top: 0; }
.sp-head { margin-bottom: clamp(1.75rem, 4vh, 2.5rem); }
.sp-head h2 { margin: 0; max-width: 24ch; font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.08; letter-spacing: -0.03em; text-wrap: balance; }
.sp-head--row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1.25rem; }
.sp-head--row a { font-weight: 650; color: var(--accent); }

/* Antes / después */
.sp-ba { border-radius: 22px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; box-shadow: 0 30px 60px -40px rgba(10, 30, 70, 0.25); }
.sp-ba-head, .sp-ba-row { display: grid; grid-template-columns: 1fr 3rem 1fr; align-items: center; }
.sp-ba-head { padding: 0.9rem 1.5rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); background: var(--bg-soft); }
.sp-ba-head span:last-child { grid-column: 3; color: var(--accent); }
.sp-ba-row { padding: 1.1rem 1.5rem; border-top: 1px solid var(--line); transition: background 0.25s; }
.sp-ba-row:hover { background: var(--accent-soft); }
.sp-ba-row p { display: flex; gap: 0.7rem; margin: 0; font-size: 0.97rem; line-height: 1.5; }
.sp-ba-row svg { flex: none; width: 18px; height: 18px; margin-top: 3px; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.sp-ba-a { color: var(--muted); }
.sp-ba-a svg { stroke: #e0625a; }
.sp-ba-b { color: var(--ink); font-weight: 550; }
.sp-ba-b svg { stroke: #1f9d63; }
.sp-ba-arrow { display: grid; place-items: center; color: var(--accent); }
.sp-ba-arrow svg { margin: 0; stroke: currentColor; stroke-width: 2; opacity: 0.6; }

/* Qué incluye */
.sp-incl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border-radius: 22px; overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.sp-card { position: relative; padding: 1.75rem 1.6rem 1.9rem; background: var(--surface); transition: background 0.3s; }
.sp-card::after { content: ""; position: absolute; left: 1.6rem; right: 1.6rem; bottom: 0; height: 2px; background: linear-gradient(90deg, #1a8cff, #8f7bff); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease); }
.sp-card:hover::after { transform: scaleX(1); }
.sp-num { display: block; margin-bottom: 1.6rem; font-size: 0.8rem; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.sp-card h3 { margin: 0 0 0.45rem; font-size: 1.12rem; letter-spacing: -0.01em; }
.sp-card p { margin: 0; font-size: 0.93rem; line-height: 1.55; color: var(--muted); }

/* Línea de tiempo */
.sp-timeline { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.sp-timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 2.35rem; height: 2px; background: linear-gradient(90deg, #1a8cff, #8f7bff 70%, var(--line)); }
.sp-when { display: block; margin-bottom: 1.15rem; font-size: 0.8rem; font-weight: 700; color: var(--accent); }
.sp-pin { position: relative; display: block; width: 14px; height: 14px; margin-bottom: 1.3rem; border-radius: 50%; background: var(--bg); border: 3px solid #1a8cff; box-shadow: 0 0 0 5px var(--accent-soft); }
.sp-timeline li:last-child .sp-pin { border-color: #8f7bff; }
.sp-timeline h3 { margin: 0 0 0.4rem; font-size: 1.08rem; }
.sp-timeline p { margin: 0; font-size: 0.92rem; line-height: 1.55; color: var(--muted); }

/* Entregables + herramientas */
.sp-outs-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.sp-outs-grid .sp-head { position: sticky; top: 6rem; margin: 0; }
.sp-tools { margin-top: 2rem; }
.sp-tools ul { list-style: none; margin: 0 0 0.6rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.sp-tools li { padding: 0.4rem 0.8rem; border-radius: 999px; font-size: 0.85rem; font-weight: 600; background: var(--surface); border: 1px solid var(--line); }
.sp-tools-note { margin: 0; font-size: 0.82rem; color: var(--muted); }
.sp-docs { display: grid; gap: 1rem; }
.sp-doc { position: relative; padding: 1.5rem 1.6rem 1.5rem 1.6rem; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s; }
.sp-doc:hover { transform: translateY(-3px); border-color: rgba(0, 120, 239, 0.35); box-shadow: 0 24px 50px -30px rgba(0, 60, 160, 0.4); }
.sp-freq { display: inline-block; margin-bottom: 0.8rem; padding: 0.22rem 0.6rem; border-radius: 999px; font-size: 0.72rem; font-weight: 700; color: var(--accent); background: var(--accent-soft); }
.sp-doc h3 { margin: 0 0 0.35rem; font-size: 1.12rem; }
.sp-doc p { margin: 0; max-width: 40ch; font-size: 0.93rem; line-height: 1.55; color: var(--muted); }
.sp-doc-lines { position: absolute; right: 1.6rem; top: 1.5rem; display: grid; gap: 6px; width: 76px; padding: 12px 10px; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--line); transform: rotate(4deg); }
.sp-doc-lines i { height: 5px; border-radius: 4px; background: var(--bg-mute); }
.sp-doc-lines i:first-child { width: 60%; background: var(--accent); opacity: 0.6; }
.sp-doc-lines i:last-child { width: 80%; }

/* Paquetes / proyecto */
.sp-pkgs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.sp-pkg { display: flex; flex-direction: column; gap: 0.3rem; padding: 1.4rem 1.5rem; border-radius: 18px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s; }
.sp-pkg:hover { transform: translateY(-3px); border-color: rgba(0, 120, 239, 0.4); box-shadow: 0 24px 50px -30px rgba(0, 60, 160, 0.4); }
.sp-pkg.is-pop { color: #fff; background: linear-gradient(160deg, #0f2a5c, #091633); border-color: transparent; box-shadow: 0 30px 60px -30px rgba(0, 80, 200, 0.6); }
.sp-pkg-n { font-size: 1.1rem; font-weight: 700; }
.sp-pkg-p { font-size: 0.85rem; color: var(--muted); }
.sp-pkg.is-pop .sp-pkg-p { color: rgba(200, 215, 245, 0.7); }
.sp-pkg-v { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid var(--line); font-size: 0.93rem; font-weight: 600; }
.sp-pkg.is-pop .sp-pkg-v { border-color: rgba(255, 255, 255, 0.12); }
.sp-pkg-v svg { flex: none; width: 17px; height: 17px; fill: none; stroke: #1f9d63; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.sp-pkg.is-pop .sp-pkg-v svg { stroke: #5fdca0; }
.sp-pkg.is-no .sp-pkg-v { color: var(--muted); font-weight: 500; }
.sp-pkg.is-no .sp-pkg-v svg { stroke: var(--muted); }
.sp-proj { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; padding: clamp(1.6rem, 3vw, 2.4rem); border-radius: 22px; color: #e8eef8; background: radial-gradient(60% 90% at 100% 0%, rgba(0, 120, 239, 0.3), transparent 60%), linear-gradient(160deg, #0f2a5c, #070f26); }
.sp-proj > div { flex: 1 1 26rem; }
.sp-proj .sp-k { color: #8fc2ff; }
.sp-proj h3 { margin: 0 0 0.5rem; font-size: 1.5rem; color: #fff; }
.sp-proj p { margin: 0; max-width: 56ch; line-height: 1.6; color: rgba(220, 230, 250, 0.78); }
.sp-proj .sp-proj-also { margin-top: 0.6rem; font-size: 0.88rem; color: #8fc2ff; }

/* FAQ */
.sp-faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.sp-faq-list { border-top: 1px solid var(--line); }
.sp-faq-list details { border-bottom: 1px solid var(--line); }
.sp-faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; list-style: none; font-size: 1.05rem; font-weight: 650; }
.sp-faq-list summary::-webkit-details-marker { display: none; }
.sp-faq-list summary span { display: grid; place-items: center; flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: var(--accent-soft); color: var(--accent); transition: transform 0.3s var(--ease); }
.sp-faq-list summary svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.sp-faq-list details[open] summary span { transform: rotate(45deg); }
.sp-faq-list p { margin: 0 0 1.3rem; max-width: 60ch; line-height: 1.65; color: var(--muted); }

/* CTA y relacionados */
.sp-cta { padding: 0 0 clamp(4rem, 10vh, 6rem); }
.sp-cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; padding: clamp(2rem, 4vw, 3rem); border-radius: 26px; color: #fff; background: radial-gradient(70% 120% at 100% 0%, rgba(0, 120, 239, 0.45), transparent 60%), radial-gradient(50% 80% at 0% 100%, rgba(110, 90, 255, 0.25), transparent 70%), linear-gradient(160deg, #0b1a3a, #050c1e); }
.sp-cta h2 { margin: 0 0 0.5rem; font-size: clamp(1.6rem, 2.8vw, 2.3rem); letter-spacing: -0.03em; color: #fff; }
.sp-cta p { margin: 0; max-width: 52ch; color: rgba(220, 230, 250, 0.78); }
.sp-rel { padding-bottom: clamp(4rem, 10vh, 6rem); }
.sp-rel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.sp-rel-card { position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 0.9rem; align-items: center; padding: 1.2rem 3rem 1.2rem 1.2rem; border-radius: 18px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); transition: transform 0.35s var(--ease), border-color 0.35s; }
.sp-rel-card:hover { transform: translateY(-3px); border-color: rgba(0, 120, 239, 0.4); }
.sp-rel-card .sp-ico { grid-row: span 2; }
.sp-rel-card strong { font-size: 0.98rem; }
.sp-rel-card small { font-size: 0.82rem; color: var(--muted); }
.sp-rel-card > .sp-arr { position: absolute; right: 1.2rem; top: 50%; margin-top: -9px; color: var(--accent); }

@media (max-width: 960px) {
  .sp-hero-grid, .sp-outs-grid, .sp-faq-grid { grid-template-columns: 1fr; }
  .sp-window { transform: none; }
  .sp-outs-grid .sp-head { position: static; }
  .sp-incl-grid, .sp-pkgs, .sp-rel-grid { grid-template-columns: 1fr 1fr; }
  .sp-timeline { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .sp-timeline::before { display: none; }
}
@media (max-width: 640px) {
  .sp-incl-grid, .sp-pkgs, .sp-rel-grid, .sp-timeline { grid-template-columns: 1fr; }
  .sp-facts { grid-template-columns: 1fr; }
  .sp-facts div + div { padding-left: 0; border-left: 0; }
  .sp-ba-head { display: none; }
  .sp-ba-row { grid-template-columns: 1fr; gap: 0.6rem; }
  .sp-ba-arrow { display: none; }
  .sp-doc-lines { display: none; }
  .sp-window-body { min-height: 0; padding: 1rem; }
  .spm-aging-row { grid-template-columns: 5.5rem 1fr 2.2rem; }
}
:root[data-theme="dark"] .sp-ba, :root[data-theme="dark"] .sp-card, :root[data-theme="dark"] .sp-doc, :root[data-theme="dark"] .sp-pkg:not(.is-pop), :root[data-theme="dark"] .sp-rel-card, :root[data-theme="dark"] .sp-tools li { background: #121b2e; }

/* v26 — Servicio simplificado: VS + qué incluye */
.sp-head--center { text-align: center; }
.sp-head--center h2 { margin-inline: auto; }
.sp-vs-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; align-items: stretch; }
.sp-vs-card { padding: clamp(1.6rem, 3vw, 2.3rem); border-radius: 24px; }
.sp-vs-card--no { background: var(--surface); border: 1px solid var(--line); }
.sp-vs-card--yes { color: #fff; background: radial-gradient(80% 70% at 100% 0%, rgba(0, 120, 239, 0.4), transparent 60%), linear-gradient(160deg, #0f2a5c, #071331); box-shadow: 0 40px 80px -35px rgba(0, 80, 200, 0.6); }
.sp-vs-label { display: flex; align-items: center; gap: 0.6rem; margin: 0 0 1.4rem; padding-bottom: 1.1rem; font-size: 1.15rem; font-weight: 700; border-bottom: 1px solid var(--line); }
.sp-vs-card--yes .sp-vs-label { border-color: rgba(255, 255, 255, 0.12); }
.sp-vs-label svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.sp-vs-card--no .sp-vs-label svg { stroke: #d9534a; background: rgba(217, 83, 74, 0.12); }
.sp-vs-card--yes .sp-vs-label svg { stroke: #fff; background: #1f9d63; }
.sp-vs-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.05rem; }
.sp-vs-card li { display: flex; gap: 0.75rem; font-size: 1rem; line-height: 1.5; }
.sp-vs-card li svg { flex: none; width: 18px; height: 18px; margin-top: 3px; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.sp-vs-card--no li { color: var(--muted); }
.sp-vs-card--no li svg { stroke: #d9534a; opacity: 0.8; }
.sp-vs-card--yes li { color: rgba(240, 245, 255, 0.95); font-weight: 550; }
.sp-vs-card--yes li svg { stroke: #5fdca0; }
.sp-vs-mid { position: absolute; left: 50%; top: 50%; z-index: 1; display: grid; place-items: center; width: 3rem; height: 3rem; translate: -50% -50%; border-radius: 50%; font-size: 0.85rem; font-weight: 800; letter-spacing: 0.04em; color: var(--accent); background: var(--bg); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(10, 30, 70, 0.15); }
.sp-incl-grid { gap: 1rem; background: none; border: 0; border-radius: 0; overflow: visible; }
.sp-incl .sp-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.4rem 1.5rem; border-radius: 18px; border: 1px solid var(--line); transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s; }
.sp-incl .sp-card:hover { transform: translateY(-3px); border-color: rgba(0, 120, 239, 0.35); box-shadow: 0 24px 50px -30px rgba(0, 60, 160, 0.35); }
.sp-incl .sp-card::after { display: none; }
.sp-card-ico { display: grid; place-items: center; flex: none; width: 2.2rem; height: 2.2rem; border-radius: 10px; color: var(--accent); background: var(--accent-soft); }
.sp-card-ico svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.sp-incl .sp-card h3 { margin: 0.2rem 0 0.3rem; font-size: 1.05rem; }
.sp-incl + .sp-cta { padding-top: 0; }
.sp-hero .sp-ctas { margin-bottom: 0; }
@media (max-width: 760px) {
  .sp-vs-grid { grid-template-columns: 1fr; gap: 2.2rem; }
}
:root[data-theme="dark"] .sp-vs-card--no { background: #121b2e; }
.sp-vs-card--yes .sp-vs-label { color: #fff; }
.sp-vs-card--no .sp-vs-label { color: var(--ink); }

/* v27 — cada bolita es un mini ciclo */
.cx-mini { pointer-events: none; animation: cxSpin 16s linear infinite; }
.cx-mini-arcs path { fill: none; stroke: rgba(143, 194, 255, 0.55); stroke-width: 2; stroke-linecap: round; }
.cx-mini-heads path { fill: rgba(143, 194, 255, 0.75); }
.cx-mini-dots circle { fill: #cfe6ff; animation: cxMiniDot 3s ease-in-out infinite; animation-delay: calc(var(--j) * 1s); }
@keyframes cxMiniDot { 0%, 100% { opacity: 0.35; } 30% { opacity: 1; } }
.cx-node:hover .cx-mini { animation-duration: 6s; }
.cx-node:hover .cx-mini-arcs path { stroke: rgba(170, 210, 255, 0.85); }
.cx-node.is-sel .cx-mini { animation-duration: 5s; filter: drop-shadow(0 0 4px rgba(95, 176, 255, 0.9)); }
.cx-node.is-sel .cx-mini-arcs path { stroke: #8fc2ff; stroke-width: 2.4; }
.cx-node.is-sel .cx-mini-heads path { fill: #cfe6ff; }
.cx-node.is-sel .cx-node-halo { stroke: rgba(143, 194, 255, 0.25); }
@media (prefers-reduced-motion: reduce) { .cx-mini, .cx-mini-dots circle { animation: none !important; } }

/* v28 — pantallas bajas (laptop con barras del navegador): misma distribución, más compacta */
@media (min-width: 1000px) and (min-height: 560px) and (max-height: 700px) {
  .cx-lead { display: none; }
  .cx-head h2 { font-size: clamp(1.5rem, 4.6vh, 2rem); }
  .cx-screen { row-gap: 0.7rem; }
  #cycleSteps { height: auto; padding-top: 0.7rem; padding-bottom: 0.7rem; }
  .cx-pipe-log { display: none; }
  .pkgs-head h2 { font-size: clamp(1.5rem, 4.6vh, 2rem); }
  .pkgs-head p { display: none; }
  .pkg-ideal { display: none; }
  .pkg-list { gap: 0.3rem; }
  .pkg-list li { font-size: 0.85rem; }
  .pkg { padding-top: 0.75rem; padding-bottom: 0.75rem; }
  .cx-screen { row-gap: 0.6rem; }
}

/* v29 — letra un poco más pequeña en todo el sitio */
html { font-size: 93.75%; }
@media (min-width: 1000px) { html { font-size: 90%; } }
.hero h1.hero-v3-title { font-size: clamp(2.2rem, min(4.4vw, 8.5vh), 3.9rem); }
.sp-promise { font-size: clamp(1.7rem, min(3vw, 5.4vh), 2.5rem); }
.sp-head h2, .cx-head h2, .pkgs-head h2 { font-size: clamp(1.5rem, min(2.6vw, 5vh), 2.2rem); }
.sp-hero .section-net { filter: none; opacity: 1; }
.pkg.is-popular .pkg-name { margin-top: 0.85rem; }

/* =========================================================
   v40 — Escala tipográfica estándar (todo el sitio)
   Etiquetas 13 px · Detalle 14 px · Texto 15.5 px · Destacado 18 px
   Subtítulos 20 px · Títulos de sección 30–42 px
   ========================================================= */
html { font-size: 100%; }
@media (min-width: 1000px) { html { font-size: 100%; } }
:root {
  --fs-eyebrow: 0.8125rem;
  --fs-small: 0.875rem;
  --fs-body: 0.97rem;
  --fs-lead: 1.125rem;
  --fs-h3: 1.25rem;
  --fs-h2: clamp(1.85rem, min(2.9vw, 5.4vh), 2.6rem);
}
html body :is(.section-kicker, .mega-kicker, .cx-fact-l, .cx-panel-kicker, .footer-head, .pkg-l, .sp-k, .cx-cards-label, .pkg-badge, .sp-crumb, .sp-vs-head) { font-size: var(--fs-eyebrow) !important; }
html body :is(.cx-pipe-status, .cx-pipe-log, .cx-pipe-btn, .footer-copy, .footer-lang, .footer-legal, .pkg-proj-head span, .pkg-proj-list a, .pillars-also, .pillars-also a, .cx-seg button, .ai-chat-status, .pillar-more, .lang-toggle, .sp-window figcaption, .nl-chat-subtitle, .pkg-note) { font-size: var(--fs-small); }
html body .cx-fact p { font-size: var(--fs-body) !important; }
html body :is(.pillar p, .why-grid p, .cx-fact p, .cx-scope-line, .pkg-tag, .pkg-list li, .pkg-ideal p, .pkg-cta, .mega-desc, .mega-col a:not(.mega-title), .footer-col a, .footer-brand p, .cx-lead, .pkgs-lead, .contact-band p, .ai-msg, .sp-vs-card li, .sp-card p, .sp-sub, .nl-chat-bubble, .faq-a, .faq-item p) { font-size: var(--fs-body); }
html body :is(.nav-link, .btn, .nav-login, .btn-nav) { font-size: 0.9375rem; }
html body :is(.hero-v3-sub, .home-head p, .sp-cta p) { font-size: var(--fs-lead); }
html body :is(.pillar h3, .why-grid h3, .pkg-name, .sp-card h3, .cx-pipe-name) { font-size: var(--fs-h3); }
html body .cx-pipe-name { font-size: 1.05rem; }
html body .cx-panel-title { font-size: 1.4rem; }
html body :is(.home-head h2, .cx-head h2, .pkgs-head h2, .contact-band h2, .why h2, .sp-head h2, .sp-cta h2) { font-size: var(--fs-h2); line-height: 1.1; }
html body .svg-lbl, html body .cx-node-t { font-size: 13.5px; }
@media (max-width: 640px) {
  :root { --fs-body: 1rem; --fs-h2: 1.9rem; }
}

@media (min-width: 1000px) and (min-height: 560px) and (max-height: 820px) {
  .cx-pipe-log { display: none; }
  #cycleSteps { height: auto; }
}
@media (min-width: 1000px) and (min-height: 560px) and (max-height: 820px) {
  html body .cx-lead { font-size: var(--fs-small); max-width: 60ch; }
  #como.screen { padding-top: 1rem; padding-bottom: 1rem; }
}
@media (min-width: 1000px) and (min-height: 560px) and (max-height: 700px) {
  #como.screen { padding-top: 0.6rem; padding-bottom: 0.6rem; }
  #cycleSteps { padding-top: 0.5rem; padding-bottom: 0.5rem; }
  .cx-facts { gap: 0.5rem; }
  html body .cx-fact p { font-size: var(--fs-small) !important; }
}
