/* MIRAI — Pure B/W minimalist (dark-aesthetic structure)
   Same dashboard-centric layout, but only white background + black ink. */

:root {
  --bg: #ffffff;
  --bg-2: #fafafa;
  --card: #ffffff;
  --card-2: #f7f7f7;
  --card-border: rgba(0, 0, 0, 0.10);
  --card-border-strong: rgba(0, 0, 0, 0.22);

  --ink: #000000;
  --muted: rgba(0, 0, 0, 0.58);
  --muted-soft: rgba(0, 0, 0, 0.40);
  --muted-strong: rgba(0, 0, 0, 0.80);

  --accent: #000000;
  --accent-2: #1a1a1a;
  --accent-3: #333333;

  --rule: rgba(0, 0, 0, 0.08);
  --rule-strong: rgba(0, 0, 0, 0.14);
  --soft: rgba(0, 0, 0, 0.035);
  --soft-2: rgba(0, 0, 0, 0.06);

  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;

  --max: 1240px;
  --gutter: clamp(20px, 4vw, 48px);

  --t-display-1: clamp(40px, 6.4vw, 80px);
  --t-display-2: clamp(34px, 5.4vw, 64px);
  --t-h2: clamp(28px, 4vw, 52px);
  --t-h3: clamp(20px, 1.8vw, 26px);
  --t-eyebrow: 11px;
  --t-body: 16px;
  --t-body-lg: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--ink); }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
section[id], footer[id] { scroll-margin-top: 110px; }
body {
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  background: var(--bg);
}
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }

::selection { background: #000; color: #fff; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { padding: clamp(72px, 9vw, 130px) 0; position: relative; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }

#problema { margin-top: 48px; }
@media (max-width: 760px) {
  #problema { margin-top: 24px; }
}

/* ====== Type ====== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid var(--rule-strong);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.78);
  letter-spacing: 0;
}
.eyebrow .spark { display: inline-block; width: 12px; height: 12px; }
.eyebrow .dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: #000;
  border-radius: 999px;
}

h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.022em;
  line-height: 1.05;
  text-wrap: balance;
  color: #000;
}
.display-1 { font-size: var(--t-display-1); letter-spacing: -0.025em; line-height: 1.04; font-weight: 500; }
.display-2 { font-size: var(--t-display-2); letter-spacing: -0.022em; line-height: 1.05; }
.h2 { font-size: var(--t-h2); letter-spacing: -0.022em; line-height: 1.05; }
.h3 { font-size: var(--t-h3); letter-spacing: -0.012em; line-height: 1.2; }

.lede { font-size: var(--t-body-lg); color: var(--muted); max-width: 56ch; text-wrap: pretty; }
.body { color: var(--muted); text-wrap: pretty; }

.italic { font-style: italic; font-family: "Georgia", serif; font-weight: 400; letter-spacing: -0.01em; }

.gradient-text {
  color: #000;
  background: none;
  -webkit-text-fill-color: initial;
}

/* ====== Buttons ====== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  white-space: nowrap;
  position: relative;
}
.btn .arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  font-size: 11px;
  transition: transform 240ms cubic-bezier(.2,.7,.2,1), background 220ms ease;
}
.btn:hover .arrow { transform: translateX(3px); }

.btn--primary {
  background: #000;
  color: #fff;
  border: 1px solid #000;
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.35);
}
.btn--primary:hover { background: #1a1a1a; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.45); }
.btn--primary .arrow { background: rgba(255,255,255,0.22); }

.btn--outline {
  background: #fff;
  color: #000;
  border: 1px solid #000;
}
.btn--outline:hover { background: #000; color: #fff; }
.btn--outline .arrow { background: rgba(0,0,0,0.1); }
.btn--outline:hover .arrow { background: rgba(255,255,255,0.2); }

.btn--ghost {
  background: transparent;
  color: #000;
  border: 1px solid var(--rule-strong);
}
.btn--ghost:hover { border-color: #000; background: rgba(0,0,0,0.04); }
.btn--ghost .arrow { background: rgba(0,0,0,0.08); }

.btn--sm { padding: 9px 16px 9px 18px; font-size: 13px; }
.btn--lg { padding: 16px 28px; font-size: 15px; }

/* ====== Nav ====== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 240ms ease, backdrop-filter 240ms ease, border-color 240ms ease;
  padding: 12px 0;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--rule);
}
.nav__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
}
.nav__logo img {
  height: 145px;
  width: auto;
  display: block;
  filter: none;
}
.nav__menu {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  justify-self: center;
}
.nav__menu a {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  color: rgba(0,0,0,0.72);
  font-weight: 400;
  transition: color 180ms ease, background 200ms ease;
}
.nav__menu a:hover { color: #000; background: rgba(0,0,0,0.05); }
.nav__menu a.active { color: #fff; background: #000; }
.nav__cta { display: flex; align-items: center; gap: 10px; justify-self: end; }
.nav__user {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  border: 1px solid #000;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease;
  flex: none;
}
.nav__user:hover { background: #000; color: #fff; }
.nav__burger {
  display: none;
  background: transparent;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #000;
  padding: 0;
}
.nav__burger:hover { background: rgba(0,0,0,0.04); }

.nav__mobile {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 60;
  display: flex;
  flex-direction: column;
  padding: 18px var(--gutter) 24px;
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity 220ms ease, transform 240ms ease;
}
.nav__mobile[data-open="true"] {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.nav__mobile__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav__mobile__head .nav__logo img { height: 48px; }
.nav__mobile__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 48px;
}
.nav__mobile__list a {
  font-size: clamp(28px, 7vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  color: #000;
}
.nav__mobile__list a.active { color: rgba(0,0,0,0.45); }
.nav__mobile__cta {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
}
.nav__mobile__cta .btn { width: 100%; justify-content: center; }

@media (max-width: 980px) {
  .nav__inner { grid-template-columns: 1fr auto; }
  .nav__menu { display: none; }
  .nav__logo img { height: 54px; }
  .nav__burger { display: inline-flex; }
}

@media (min-width: 981px) {
  .nav__mobile { display: none !important; }
}

/* ====== Hero ====== */
.hero {
  position: relative;
  padding: 240px 0 110px;
  overflow: hidden;
  isolation: isolate;
}
@media (min-width: 981px) {
  .hero {
    min-height: 88vh;
    display: flex;
    align-items: center;
  }
  .hero .wrap { width: 100%; }
}
.hero__orb,
.hero__sheen,
.hero__beam { display: none; }
.hero__rings {
  position: absolute;
  left: 50%;
  top: 40px;
  transform: translateX(-50%);
  width: min(1200px, 130vw);
  height: 900px;
  pointer-events: none;
  z-index: -1;
  opacity: 0.5;
}
.hero__rings svg { width: 100%; height: 100%; }
.hero__content {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
.hero__headline .gradient-text { text-wrap: balance; }
.hero__headline { margin-top: 24px; }
.hero__sub {
  margin-top: 24px;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}
.hero__ctas {
  display: flex;
  gap: 12px;
  margin-top: 36px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero__foot {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #000;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero__foot .pulse {
  width: 8px; height: 8px;
  background: #EF4444;
  border-radius: 999px;
  position: relative;
}
.hero__foot .pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid #EF4444;
  border-radius: 999px;
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* fade in stagger */
.fade-up { opacity: 0; transform: translateY(18px); transition: opacity 900ms cubic-bezier(.2,.7,.2,1), transform 900ms cubic-bezier(.2,.7,.2,1); }
.fade-up.is-in { opacity: 1; transform: none; }

/* ====== Dashboard mock ====== */
.dash-wrap {
  margin-top: 160px;
  position: relative;
  padding: 0 var(--gutter);
}
.dash {
  max-width: 1080px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #000;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 60px -28px rgba(0,0,0,0.25), 0 14px 28px -16px rgba(0,0,0,0.15);
  position: relative;
}
.dash::before { content: none; }
.dash__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--rule);
  font-size: 12px;
  color: var(--muted);
  gap: 14px;
}
.dash__bar .left { display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.dash__bar .left img { height: 22px; width: auto; filter: none; }
.dash__search {
  flex: 0 1 280px;
  background: rgba(0,0,0,0.04);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12px;
  color: var(--muted-soft);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.dash__bar .right { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; }
.dash__bar .right .av { width: 24px; height: 24px; border-radius: 999px; background: #000; }

.dash__body {
  display: grid;
  grid-template-columns: 56px 1fr 320px;
  min-height: 460px;
}
@media (max-width: 800px) {
  .dash__body { grid-template-columns: 1fr; }
  .dash__rail, .dash__side { display: none; }
}
.dash__rail {
  border-right: 1px solid var(--rule);
  padding: 18px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.dash__rail .icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(0,0,0,0.03);
  display: grid; place-items: center;
  color: var(--muted);
}
.dash__rail .icon.active { background: #000; color: #fff; }

.dash__main { padding: 22px; }
.dash__title { font-size: 22px; font-weight: 500; letter-spacing: -0.015em; color: #000; }
.dash__tabs {
  display: inline-flex; gap: 4px;
  margin-top: 16px;
  padding: 4px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: rgba(0,0,0,0.02);
}
.dash__tabs button {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted);
  font-family: inherit;
}
.dash__tabs button.active { background: #000; color: #fff; font-weight: 500; }

.dash__card {
  margin-top: 18px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 18px;
}
.dash__card .head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(0,0,0,0.78); }
.dash__card .head a { font-size: 11px; color: #000; display: inline-flex; align-items: center; gap: 4px; text-decoration: underline; text-underline-offset: 3px; }

.dash__chart {
  display: flex;
  align-items: end;
  gap: 14px;
  height: 180px;
  margin-top: 18px;
  position: relative;
}
.dash__chart .bar {
  flex: 1;
  background: rgba(0,0,0,0.06);
  border: 1px solid var(--rule-strong);
  border-radius: 8px;
  transition: height 1200ms cubic-bezier(.2,.7,.2,1);
  position: relative;
}
.dash__chart .bar.active {
  background: #000;
  border-color: #000;
}
.dash__chart .bar.active::after {
  content: "+32%";
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 11px;
  background: #000;
  color: #fff;
  border: 1px solid #000;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.dash__chart .yaxis {
  position: absolute;
  left: -32px;
  top: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted-soft);
}

.dash__side {
  border-left: 1px solid var(--rule);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dash__kpi {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 18px;
}
.dash__kpi .head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); }
.dash__kpi .big {
  font-size: 34px;
  letter-spacing: -0.025em;
  margin-top: 14px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: #000;
}
.dash__kpi .sub { font-family: var(--mono); font-size: 10px; color: var(--muted-soft); margin-top: 6px; letter-spacing: 0.06em; }

.dash__msg {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dash__msg .row { display: flex; justify-content: space-between; align-items: center; }
.dash__msg .av { width: 26px; height: 26px; border-radius: 999px; background: #000; }
.dash__msg .who { font-weight: 500; color: #000; }
.dash__msg .time { font-family: var(--mono); font-size: 10px; color: var(--muted-soft); letter-spacing: 0.06em; }
.dash__msg .text { color: var(--muted); font-size: 13px; line-height: 1.45; }
.dash__msg.ai { background: #000; border-color: #000; }
.dash__msg.ai .who { color: #fff; }
.dash__msg.ai .text { color: rgba(255,255,255,0.85); }
.dash__msg.ai .time { color: rgba(255,255,255,0.55); }
.dash__msg .badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255,255,255,0.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}
.cursor {
  display: inline-block;
  width: 6px; height: 12px;
  background: #fff;
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ====== Trust strip ====== */
.trust { padding: 40px 0 60px; text-align: center; }
.trust__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-soft);
  margin-bottom: 28px;
}
.trust__logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(28px, 5vw, 64px);
  opacity: 0.8;
}
.trust__logo {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: rgba(0,0,0,0.7);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.trust__logo .sym { width: 22px; height: 22px; border: 1px solid #000; border-radius: 4px; display: inline-block; position: relative; }
.trust__logo .sym.c { border-radius: 999px; }
.trust__logo .sym.t::after { content: ""; position: absolute; inset: 4px; background: #000; }

/* ====== Section heading (centered) ====== */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
@media (min-width: 901px) {
  .section-head {
    max-width: 1040px;
  }
}
.section-head__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.section-head__tag::before, .section-head__tag::after {
  content: ""; display: inline-block;
  width: 24px; height: 1px;
  background: #000;
}
.section-head__title { font-size: var(--t-h2); letter-spacing: -0.022em; line-height: 1.05; font-weight: 500; }
.section-head__lede { color: var(--muted); font-size: 15px; max-width: 56ch; margin: 18px auto 0; line-height: 1.55; }

/* ====== Problema / Cambio two-col grids ====== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  margin-top: clamp(40px, 5vw, 64px);
}
.two-col--center { align-items: center; }
@media (max-width: 760px) {
  .two-col { grid-template-columns: 1fr; }
}

/* ====== SectionProblema ====== */
.problema-ch-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  border: 1px solid var(--rule-strong);
  background: var(--card-2);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.problema-ch-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.10);
}

.problema-inbox {
  border: 1px solid var(--rule-strong);
  border-radius: 14px;
  padding: 16px 18px;
  background: var(--card);
  transition: border-color 0.2s;
}
.problema-inbox--shake {
  animation: inboxShake 0.35s ease;
}
@keyframes inboxShake {
  0%   { transform: translateX(0); }
  20%  { transform: translateX(-4px); }
  40%  { transform: translateX(4px); }
  60%  { transform: translateX(-3px); }
  80%  { transform: translateX(2px); }
  100% { transform: translateX(0); }
}

.problema-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 22px; height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #e53e3e;
  color: #fff;
  font-size: 11px;
  font-family: var(--mono);
  font-weight: 600;
  animation: badgePop 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes badgePop {
  from { transform: scale(0.4); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.problema-msg {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--bg-2);
  border: 1px solid var(--rule);
  animation: msgSlideIn 0.3s ease;
  overflow: hidden;
  transition: padding 0.4s ease, background 0.4s ease;
}
.problema-msg--collapsed {
  padding: 5px 10px;
  background: transparent;
  border-color: transparent;
}
@keyframes msgSlideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.problema-msg__dot {
  flex-shrink: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-top: 5px;
  transition: margin-top 0.3s ease;
}
.problema-msg--collapsed .problema-msg__dot { margin-top: 3px; }

.problema-item {
  display: flex; flex-direction: row; gap: 16px; align-items: center;
  justify-content: center;
  text-align: left;
  padding: 22px 24px;
  border-radius: 12px;
  border: 1px solid var(--rule);
  background: var(--card);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  cursor: default;
}
.problema-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}
.problema-item__icon {
  flex-shrink: 0; width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--icon-grad);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  box-shadow: 0 10px 22px -8px var(--icon-shadow, rgba(0,0,0,0.3));
  transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1);
}
.problema-item__icon::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: inherit;
  background: var(--icon-grad);
  filter: blur(11px);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.08s ease;
}
.problema-item:hover .problema-item__icon {
  transform: scale(1.08) rotate(-4deg);
}
.problema-item:hover .problema-item__icon::after {
  opacity: 0.7;
  transition: opacity 0.18s ease;
}

/* ====== SectionCambio hub ====== */
.cambio-hub-wrap { position: relative; }
.cambio-hub-wrap::before {
  content: "";
  position: absolute;
  inset: 10%;
  background: radial-gradient(circle, rgba(0,0,0,0.07), rgba(0,0,0,0) 70%);
  filter: blur(24px);
  pointer-events: none;
}
.cambio-hub { display: block; position: relative; }

.cambio-node {
  cursor: default;
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cambio-node circle { transition: filter 0.3s ease; }
.cambio-node:hover { transform: scale(1.16) translateY(-2px); }
.cambio-node:hover circle { filter: drop-shadow(0 10px 16px rgba(0,0,0,0.16)); }

.cambio-spoke, .cambio-pulse-dot { transform-box: fill-box; }

.cambio-center { transform-box: fill-box; transform-origin: center; }
.cambio-center__core { animation: cambioGlow 3.4s ease-in-out infinite; }
.cambio-orbit {
  transform-origin: 210px 210px;
  animation: cambioSpin 20s linear infinite;
}

@keyframes cambioGlow {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(0,0,0,0)); }
  50%       { filter: drop-shadow(0 0 16px rgba(0,0,0,0.22)); }
}
@keyframes cambioSpin {
  to { transform: rotate(360deg); }
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.06; }
  50%       { transform: scale(1.12); opacity: 0.02; }
}
.cambio-ring--1 {
  animation: ringPulse 3s ease-in-out infinite;
  transform-origin: 210px 210px;
}
.cambio-ring--2 {
  animation: ringPulse 3s ease-in-out infinite 1.5s;
  transform-origin: 210px 210px;
}

@media (prefers-reduced-motion: reduce) {
  .cambio-center__core, .cambio-orbit, .cambio-ring--1, .cambio-ring--2 { animation: none; }
}

/* ====== Agente de Campaña título y lede ====== */
.campana-title {
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.campana-lede {
  max-width: 82ch;
  line-height: 1.5;
  font-size: 15px;
  margin-top: 20px;
}

/* ====== Agente de Campaña ====== */

.campana-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: clamp(36px, 5vw, 56px);
}
@media (max-width: 900px) { .campana-grid { grid-template-columns: 1fr; } }

.campana-card {
  position: relative;
  border: 1px solid var(--rule-strong);
  border-radius: 16px;
  padding: 28px 24px;
  background: var(--card);
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.campana-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--card-grad);
}
.campana-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -12px var(--card-shadow, rgba(0,0,0,0.2));
  border-color: transparent;
}
.campana-card__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--card-grad);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  position: relative;
  box-shadow: 0 10px 22px -8px var(--card-shadow, rgba(0,0,0,0.35));
  transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1);
}
.campana-card:hover .campana-card__icon {
  transform: scale(1.08) rotate(-4deg);
}
.campana-card__title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--ink);
}
.campana-card__desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ====== Feature cards grid ====== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: clamp(36px, 5vw, 56px);
}
.features-grid--2 {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 28px;
}
@media (max-width: 900px) {
  .features-grid, .features-grid--2 { grid-template-columns: 1fr; }
}
.feature-card {
  position: relative;
  border: 1px solid var(--rule-strong);
  border-radius: 16px;
  padding: 28px 24px;
  background: var(--card);
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--card-grad);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -12px var(--card-shadow, rgba(0,0,0,0.2));
  border-color: transparent;
}
.feature-card__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--card-grad);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  position: relative;
  box-shadow: 0 10px 22px -8px var(--card-shadow, rgba(0,0,0,0.35));
  transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1);
}
.feature-card:hover .feature-card__icon {
  transform: scale(1.08) rotate(-4deg);
}
.feature-card__title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--ink);
}
.feature-card__desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.viz-chart { display: flex; align-items: end; gap: 8px; height: 110px; padding: 0 18px; width: 100%; }
.viz-chart .bar { flex: 1; background: rgba(0,0,0,0.08); border: 1px solid var(--rule-strong); border-radius: 6px; }
.viz-chart .bar.hi { background: #000; border-color: #000; position: relative; }
.viz-chart .bar.hi::after {
  content: "+45%"; position: absolute; top: -22px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 10px; color: #fff;
  background: #000; border: 1px solid #000; padding: 2px 6px; border-radius: 4px; white-space: nowrap;
}

.viz-wave { width: 100%; height: 110px; display: flex; align-items: center; gap: 3px; padding: 0 24px; }
.viz-wave .stem { flex: 1; background: rgba(0,0,0,0.6); border-radius: 2px; }

.viz-network { width: 100%; height: 100%; display: grid; place-items: center; }

.viz-avatars {
  display: flex; align-items: center; justify-content: center; gap: -16px;
}
.viz-avatars .av {
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 2px solid #fff;
  background: #000;
  margin-left: -10px;
}
.viz-avatars .av:first-child { margin-left: 0; }

/* ====== Metrics strip ====== */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid #000;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}
@media (max-width: 760px) { .metrics { grid-template-columns: repeat(2, 1fr); } }
.metric {
  padding: 32px clamp(18px, 2.4vw, 30px);
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.metric:last-child { border-right: none; }
@media (max-width: 760px) {
  .metric { border-bottom: 1px solid var(--rule); }
  .metric:nth-child(2n) { border-right: none; }
  .metric:nth-last-child(-n+2) { border-bottom: none; }
}
.metric__num {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: #000;
}
.metric__num .unit { font-size: 0.4em; color: var(--muted); margin-left: 2px; font-weight: 400; }
.metric__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ====== How it works steps ====== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 8px;
}
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  min-height: 220px;
}
.step__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #000;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.step__num::before {
  content: ""; width: 5px; height: 5px; border-radius: 999px;
  background: #000;
}
.step__title { font-size: 18px; font-weight: 500; letter-spacing: -0.012em; line-height: 1.25; color: #000; }
.step__body { color: var(--muted); font-size: 13.5px; line-height: 1.55; margin-top: auto; }

/* ====== Flow (lead journey) ====== */
.flow-section { background: linear-gradient(180deg, #fafafa 0%, #f3f3f5 100%); }
.flow {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  align-items: start;
  padding: 12px 0 0;
  margin: 0;
  position: relative;
}
.flow__step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 0 6px;
  text-align: center;
}
/* connector line between tiles */
.flow__step::before {
  content: "";
  position: absolute;
  top: 38px;
  left: -50%;
  width: 100%;
  height: 1px;
  background: rgba(0, 0, 0, 0.18);
  z-index: 0;
}
.flow__step:first-child::before { content: none; }
.flow__tile {
  position: relative;
  z-index: 1;
  width: 76px;
  height: 76px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--card-border);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 22px -14px rgba(0, 0, 0, 0.25);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}
.flow__step:hover .flow__tile {
  transform: translateY(-2px);
  border-color: #000;
  box-shadow: 0 14px 28px -16px rgba(0, 0, 0, 0.35);
}
.flow__tile--brand { background: #000; border-color: #000; }
.flow__logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: invert(1);
}
.flow__num {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  position: relative;
  z-index: 1;
}
.flow__label {
  font-size: 13.5px;
  line-height: 1.4;
  color: #000;
  max-width: 14ch;
  font-weight: 500;
  letter-spacing: -0.005em;
}
@media (max-width: 900px) {
  .flow { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .flow__step:nth-child(3n+1)::before { content: none; }
  .flow__step:first-child::before { content: none; }
}
@media (max-width: 520px) {
  .flow { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .flow__step::before { content: none; }
  .flow__tile { width: 68px; height: 68px; }
}

/* ====== Case / Testimonial ====== */
.case {
  position: relative;
  margin: 0 var(--gutter);
  background: #000;
  color: #fff;
  border: 1px solid #000;
  border-radius: 24px;
  padding: clamp(40px, 5vw, 72px);
  overflow: hidden;
}
.case::before { content: none; }
.case .eyebrow { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.18); color: rgba(255,255,255,0.78); }
.case .eyebrow .dot { background: #fff; }
.case__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
@media (max-width: 900px) { .case__grid { grid-template-columns: 1fr; } }
.case__quote {
  font-size: clamp(22px, 2.8vw, 36px);
  letter-spacing: -0.018em;
  line-height: 1.18;
  font-weight: 400;
  margin-top: 22px;
  text-wrap: balance;
  color: #fff;
}
.case__quote .mark { color: rgba(255,255,255,0.4); font-family: "Georgia", serif; }
.case__byline {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.case__avatar {
  width: 48px; height: 48px;
  border-radius: 999px;
  background: #fff;
  display: grid;
  place-items: center;
  color: #000;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.case__byline .name { font-size: 15px; font-weight: 500; color: #fff; }
.case__byline .role { color: rgba(255,255,255,0.6); font-size: 13px; margin-top: 2px; }

.case__stats { display: flex; flex-direction: column; gap: 12px; }
.case__stat {
  padding: 22px 24px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
}
.case__stat .num {
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: #fff;
}
.case__stat .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 10px;
}
.case__stat .delta { color: rgba(255,255,255,0.5); font-size: 12px; margin-top: 4px; }

/* ====== Pricing ====== */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } }
.pricing--single { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
.plan__price .amount--text {
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: -0.02em;
  font-weight: 500;
  line-height: 1.1;
}
.plan {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  color: #000;
}
.plan--featured {
  background: #000;
  color: #fff;
  border-color: #000;
}
.plan--featured h3, .plan--featured .plan__name { color: #fff; }
.plan__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.plan--featured .plan__tag { color: rgba(255,255,255,0.7); }
.plan__name {
  font-size: clamp(24px, 2.4vw, 32px);
  letter-spacing: -0.02em;
  font-weight: 500;
  line-height: 1.1;
  color: #000;
}
.plan__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  color: #000;
}
.plan--featured .plan__price { border-top-color: rgba(255,255,255,0.18); color: #fff; }
.plan__price .currency { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.plan--featured .plan__price .currency { color: rgba(255,255,255,0.6); }
.plan__price .amount { font-size: clamp(40px, 4.4vw, 60px); letter-spacing: -0.03em; line-height: 1; font-weight: 500; font-variant-numeric: tabular-nums; }
.plan__price .per { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.plan--featured .plan__price .per { color: rgba(255,255,255,0.6); }
.plan__desc { color: var(--muted); font-size: 14px; line-height: 1.5; max-width: 36ch; }
.plan--featured .plan__desc { color: rgba(255,255,255,0.7); }
.plan__features { list-style: none; padding: 18px 0; margin: 0; display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.plan--featured .plan__features { border-color: rgba(255,255,255,0.18); }
.plan__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(0,0,0,0.82);
  line-height: 1.45;
}
.plan--featured .plan__features li { color: rgba(255,255,255,0.88); }
.plan__features li::before {
  content: "";
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'><circle cx='8' cy='8' r='7' stroke='black' stroke-width='1'/><path d='M5 8.3l2 2 4-4.6' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
}
.plan--featured .plan__features li::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'><circle cx='8' cy='8' r='7' stroke='white' stroke-width='1'/><path d='M5 8.3l2 2 4-4.6' stroke='white' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
.plan--featured .btn--primary { background: #fff; color: #000; border-color: #fff; box-shadow: none; }
.plan--featured .btn--primary:hover { background: #e6e6e6; }
.plan--featured .btn--primary .arrow { background: rgba(0,0,0,0.15); }
.plan__foot { margin-top: auto; font-family: var(--mono); font-size: 10px; color: var(--muted-soft); letter-spacing: 0.08em; }
.plan--featured .plan__foot { color: rgba(255,255,255,0.5); }

/* ====== FAQ ====== */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item {
  border: 1px solid var(--card-border);
  border-radius: 14px;
  background: #fff;
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color 220ms ease;
}
.faq__item.open { border-color: #000; }
.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  text-align: left;
  padding: 20px 22px;
  font-size: 15.5px;
  letter-spacing: -0.008em;
  font-weight: 500;
  font-family: inherit;
  color: #000;
}
.faq__plus {
  width: 24px; height: 24px;
  border-radius: 999px;
  border: 1px solid var(--rule-strong);
  position: relative;
  flex-shrink: 0;
  transition: background 220ms ease, border-color 220ms ease;
}
.faq__item.open .faq__plus { background: #000; border-color: #000; }
.faq__plus::before, .faq__plus::after {
  content: "";
  position: absolute;
  background: #000;
  top: 50%; left: 50%;
}
.faq__item.open .faq__plus::before,
.faq__item.open .faq__plus::after { background: #fff; }
.faq__plus::before { width: 10px; height: 1px; transform: translate(-50%, -50%); }
.faq__plus::after { width: 1px; height: 10px; transform: translate(-50%, -50%); transition: transform 320ms ease; }
.faq__item.open .faq__plus::after { transform: translate(-50%, -50%) scaleY(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 460ms cubic-bezier(.2,.7,.2,1); }
.faq__a__inner { padding: 0 22px 22px; color: var(--muted); font-size: 14px; line-height: 1.6; max-width: 64ch; }

/* ====== Final CTA ====== */
.final {
  position: relative;
  text-align: center;
  padding: clamp(80px, 11vw, 140px) 0;
  overflow: hidden;
  background: #000;
  color: #fff;
}
.final .eyebrow { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.18); color: rgba(255,255,255,0.78); }
.final .eyebrow .dot { background: #fff; }
.final__inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.final h2 {
  font-size: clamp(36px, 6vw, 72px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-top: 22px;
  font-weight: 500;
  text-wrap: balance;
  color: #fff;
}
.final h2 em { font-family: "Georgia", serif; font-style: italic; font-weight: 400; }
.final__ctas { display: inline-flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; justify-content: center; }
.final__orb { display: none; }
.final .btn--primary { background: #fff; color: #000; border-color: #fff; box-shadow: none; }
.final .btn--primary:hover { background: #e6e6e6; }
.final .btn--primary .arrow { background: rgba(0,0,0,0.15); }
.final .btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.final .btn--outline:hover { background: #fff; color: #000; border-color: #fff; }
.final .btn--outline .arrow { background: rgba(255,255,255,0.18); }
.final .btn--outline:hover .arrow { background: rgba(0,0,0,0.15); }

/* ====== For Whom ====== */
.forwhom__list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 760px) { .forwhom__list { grid-template-columns: 1fr; } }
.forwhom__list li {
  list-style: none;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  background: #fff;
  font-size: 14.5px;
  color: rgba(0,0,0,0.82);
  line-height: 1.5;
  align-items: start;
}
.forwhom__list li .n {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #000;
  padding-top: 2px;
}

/* ====== Marquee ====== */
.marquee {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
  padding: 14px 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  background: #fff;
}
.marquee__track {
  display: inline-flex;
  gap: 48px;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  padding-right: 48px;
}
.marquee__track span { display: inline-flex; align-items: center; gap: 10px; }
.marquee__track .dot { width: 4px; height: 4px; background: #000; border-radius: 999px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ====== Footer ====== */
.footer { padding: 70px 0 30px; border-top: 1px solid var(--rule); background: #fff; }
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 48px;
}
@media (max-width: 760px) { .footer__top { grid-template-columns: 1fr 1fr; } }
.footer__logo { display: flex; flex-direction: column; gap: 14px; }
.footer__logo img { height: 92px; width: auto; filter: none; }
.footer__logo--xl img { height: 180px; }
@media (max-width: 760px) { .footer__logo--xl img { height: 120px; } }
.footer--minimal { padding: 80px 0 30px; }
.footer__main {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 48px;
}
@media (max-width: 760px) { .footer__main { grid-template-columns: 1fr; } }
.footer__bottom--minimal { justify-content: flex-start; }
.forwhom__title {
  display: block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 16px;
  color: #000;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.footer__logo p { color: var(--muted); font-size: 13px; max-width: 32ch; line-height: 1.5; }
.footer__col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 18px;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__col a { font-size: 13.5px; color: rgba(0,0,0,0.78); }
.footer__col a:hover { color: #000; text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 26px;
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-soft);
  flex-wrap: wrap;
}

/* ====== Compact centered footer ====== */
.footer--compact { padding: 32px 0 28px; border-top: 1px solid var(--rule); background: #fff; }
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}
.footer__brand { display: inline-flex; }
.footer__brand img { height: 56px; width: auto; display: block; }
.footer__tag { color: var(--muted); font-size: 13px; line-height: 1.5; margin: 0; max-width: 48ch; }
.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.footer__links a { color: rgba(0,0,0,0.78); }
.footer__links a:hover { color: #000; text-decoration: underline; text-underline-offset: 3px; }
.footer__links span { color: var(--muted-soft); }
.footer__copy {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-soft);
  margin-top: 4px;
}
@media (max-width: 560px) {
  .footer--compact { padding: 28px 0 24px; }
  .footer__brand img { height: 48px; }
  .footer__links { gap: 8px; font-size: 12.5px; }
}

/* ====== Misc ====== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .fade-up { opacity: 1; transform: none; }
}

/* SVG network in feature: force black */
.feature .viz-network g[stroke] { stroke: rgba(0,0,0,0.4) !important; }
.feature .viz-network g[fill] { fill: rgba(0,0,0,0.7) !important; }
.feature .viz-network circle[stroke] { stroke: rgba(0,0,0,0.2) !important; }

/* ====== Subpage wrapper ====== */
.subpage { padding-top: clamp(120px, 14vw, 180px); }
.subpage > .section:first-child { padding-top: clamp(24px, 4vw, 48px); }

/* ====== About section ====== */
.about { background: var(--bg); }

/* Team */
.team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0 auto 64px;
}
.team__card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 22px;
  overflow: hidden;
  transition: border-color 220ms ease, transform 320ms cubic-bezier(.2,.7,.2,1);
}
.team__card:hover {
  border-color: var(--card-border-strong);
  transform: translateY(-2px);
}
.team__photo-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.team__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.team__info {
  padding: 24px 26px 28px;
}
.team__name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.team__name {
  font-size: 17px;
  font-weight: 600;
  color: var(--fg);
}
.team__linkedin {
  color: #0a66c2;
  display: flex;
  align-items: center;
  transition: opacity 180ms ease;
  flex-shrink: 0;
}
.team__linkedin:hover { opacity: 0.72; }
.team__role {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.team__bio {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted-strong);
  text-wrap: pretty;
  margin: 0;
}
.section-head--inner {
  margin-top: 48px;
  margin-bottom: 24px;
}
.section-head--inner .section-head__tag {
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .team__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 580px) {
  .team__grid { grid-template-columns: 1fr; gap: 20px; }
}

.about__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1080px;
  margin: 0 auto;
}
.about__card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 22px;
  padding: 32px 28px;
  transition: border-color 220ms ease, transform 320ms cubic-bezier(.2,.7,.2,1);
}
.about__card:hover {
  border-color: var(--card-border-strong);
  transform: translateY(-2px);
}
.about__eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
}
.about__eyebrow::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #000;
  border-radius: 999px;
  margin-right: 10px;
}
.about__body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted-strong);
  text-wrap: pretty;
}
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; gap: 16px; }
  .about__card { padding: 26px 22px; }
}

/* ====== Contact section ====== */
.contact { background: #fff; position: relative; overflow: hidden; }
.contact::before {
  content: "";
  position: absolute;
  top: -180px;
  left: -120px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(0,0,0,0.05), rgba(0,0,0,0) 65%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}
.contact::after {
  content: "";
  position: absolute;
  bottom: -200px;
  right: -140px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(0,0,0,0.04), rgba(0,0,0,0) 65%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}
.contact > .wrap { position: relative; z-index: 1; }
.contact__card {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 24px;
  padding: clamp(32px, 4.4vw, 52px);
  box-shadow: 0 30px 80px -40px rgba(0,0,0,0.18), 0 2px 6px -2px rgba(0,0,0,0.04);
  position: relative;
}
.contact__card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(0,0,0,0.015), rgba(0,0,0,0));
  pointer-events: none;
}
.contact__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 24px;
  position: relative;
}
.contact__field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
.contact__field--full { grid-column: 1 / -1; }
.contact__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.55);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.contact__label::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #000;
  display: inline-block;
}
.contact__input {
  width: 100%;
  font-family: var(--sans);
  font-size: 15.5px;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.16);
  border-radius: 0;
  padding: 12px 2px;
  outline: none;
  transition: border-color 220ms ease, box-shadow 220ms ease, background 220ms ease, transform 220ms ease;
}
.contact__input::placeholder { color: rgba(0,0,0,0.32); }
.contact__input:hover { border-bottom-color: rgba(0,0,0,0.32); }
.contact__input:focus {
  border-bottom-color: #000;
  box-shadow: 0 1px 0 0 #000;
}
.contact__input--area {
  resize: vertical;
  min-height: 140px;
  line-height: 1.55;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 14px;
  padding: 14px 16px;
  background: rgba(0,0,0,0.015);
}
.contact__input--area:hover { border-color: rgba(0,0,0,0.22); }
.contact__input--area:focus {
  border-color: #000;
  box-shadow: 0 0 0 4px rgba(0,0,0,0.06);
  background: #fff;
}
.contact__actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.contact__actions::before {
  content: "Respondemos en menos de 24 horas hábiles.";
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(0,0,0,0.5);
  margin-right: auto;
}
@media (max-width: 720px) {
  .contact__form { grid-template-columns: 1fr; gap: 18px; }
  .contact__actions { justify-content: stretch; flex-direction: column; align-items: stretch; }
  .contact__actions::before { margin-right: 0; text-align: center; }
  .contact__actions .btn { width: 100%; justify-content: center; }
}

/* ====== DASHBOARD PREVIEW PAGE ====== */
.dp-page {
  background: #fff;
  padding: 168px 0 72px;
}

.dp-page__hero {
  text-align: center;
  margin-bottom: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.dp-page__title {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 500;
  color: #111;
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin: 0;
}

.dp-page__lede {
  font-size: 17px;
  color: #555;
  line-height: 1.6;
  max-width: 600px;
  margin: 0;
}

/* Features horizontales */
.dp-features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 28px;
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 0 24px;
}

.dp-features__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: #333;
}

.dp-features__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #111;
  flex-shrink: 0;
}

/* Shell: sidebar + contenido */
.dp-shell {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Sidebar vertical */
.dp-sidebar {
  width: 154px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-self: stretch;
}

.dp-sidebar__main {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dp-sidebar__foot {
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,0.08);
  margin-top: auto;
}

/* Chips nav */
.dp-nav__chip {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.11);
  border-radius: 11px;
  font-size: 13.5px;
  font-weight: 500;
  color: #444;
  cursor: default;
  user-select: none;
  transition: background .15s, box-shadow .15s, color .15s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  white-space: nowrap;
}
.dp-nav__chip:hover {
  background: #f4f4f5;
  box-shadow: 0 3px 10px rgba(0,0,0,0.09);
  color: #111;
}
.dp-nav__chip.is-active {
  background: #111;
  color: #fff;
  border-color: #111;
  box-shadow: 0 3px 12px rgba(0,0,0,0.18);
}

/* Área de contenido */
.dp-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Header interno */
.dp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.dp-head__title { font-size: 22px; font-weight: 800; color: #111; margin: 0; }
.dp-head__sub   { font-size: 12px; color: #888; margin: 2px 0 0; }
.dp-head__right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dp-head__updated { font-size: 12px; color: #aaa; white-space: nowrap; }

.dp-filters { display: flex; gap: 8px; }
.dp-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 99px;
  font-size: 13px;
  font-weight: 500;
  color: #333;
  background: #fff;
  cursor: default;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.dp-iconbtn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.10);
  background: #fff;
  color: #555;
  cursor: default;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

@media (max-width: 900px) {
  .dp-shell { flex-direction: column; }
  .dp-sidebar { width: 100%; flex-direction: row; }
  .dp-sidebar__main { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .dp-sidebar__foot { padding-top: 0; border-top: none; margin-top: 0; }
}
@media (max-width: 760px) {
  .dp-page { padding: 108px 0 48px; }
  .dp-head { flex-direction: column; align-items: flex-start; }
  .dp-head__right { flex-wrap: wrap; }
}

/* ====== Mobile hero polish ====== */
@media (max-width: 760px) {
  .hero { padding-top: 96px; }
  .hero .wrap { padding-left: 12px; padding-right: 12px; }
  .hero__headline .gradient-text { font-size: clamp(22px, 6.2vw, 32px); }
  .hero__sub { font-size: 15px; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
}

/* ====== Mobile: Nav siempre blanco ====== */
@media (max-width: 980px) {
  .nav {
    background: #fff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 1px solid var(--rule);
  }
}

/* ====== Mobile: Bandeja en vivo (Dashboard) ====== */
@media (max-width: 760px) {
  .dash-wrap { margin-top: 48px; padding: 0 14px; }
  .dash { border-radius: 14px; box-shadow: 0 18px 36px -20px rgba(0,0,0,0.22); }

  .dash__bar { padding: 9px 12px; gap: 8px; }
  .dash__bar .left { font-size: 9.5px; gap: 8px; letter-spacing: 0.08em; }
  .dash__bar .left img { height: 16px; }
  .dash__search { display: none !important; }
  .dash__bar .right span:not(.av) { display: none !important; }
  .dash__bar .right .av { width: 20px; height: 20px; }

  .dash__body {
    display: block !important;
    min-height: 0;
    grid-template-columns: 1fr !important;
  }
  .dash__rail,
  .dash__side { display: none !important; }
  .dash__main { padding: 14px 12px 16px; text-align: center; }
  .dash__title { font-size: 16px; margin-top: 2px; }
  .dash__tabs {
    margin: 10px auto 0;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    display: flex;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
  }
  .dash__tabs::-webkit-scrollbar { display: none; }
  .dash__tabs button { padding: 6px 10px; font-size: 11px; white-space: nowrap; }

  .dash__card { margin-top: 12px; padding: 12px; text-align: left; }
  .dash__card .head { font-size: 11.5px; }
  .dash__card .head a { font-size: 10.5px; }
  .dash__chart { height: 110px; gap: 6px; margin-top: 12px; }
  .dash__chart .yaxis { display: none; }
  .dash__chart .bar { border-radius: 6px; }
  .dash__chart .bar.active::after { font-size: 9px; padding: 2px 6px; top: -20px; }
}

/* ====== Mobile: Metrics (1 cliente operativo · 3 meses) ====== */
@media (max-width: 760px) {
  .metrics {
    border-radius: 12px;
    margin-left: 12px;
    margin-right: 12px;
  }
  .metric {
    padding: 16px 10px !important;
    align-items: center;
    text-align: center;
    gap: 6px;
  }
  .metric__num {
    font-size: 26px !important;
    line-height: 1 !important;
    justify-content: center;
    gap: 2px;
  }
  .metric__num .unit { font-size: 11px !important; }
  .metric__label {
    font-size: 9px !important;
    letter-spacing: 0.1em;
    line-height: 1.3;
  }
}

@media (max-width: 380px) {
  .metric { padding: 14px 8px !important; }
  .metric__num { font-size: 22px !important; }
  .metric__label { font-size: 8.5px !important; }
}

/* ====== Precio (calculator) ====== */
.precio__card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: clamp(28px, 4vw, 56px);
  max-width: 720px;
  margin: 0 auto;
  box-shadow: 0 18px 40px -28px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
}
.precio__sliderHead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
}
.precio__avg {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 18px;
}
.precio__label {
  font-family: var(--mono);
  font-size: 18px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-strong);
  font-weight: 500;
}
.precio__leads {
  font-family: var(--mono);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #000;
  font-variant-numeric: tabular-nums;
}
.precio__range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 28px;
  background: transparent;
  outline: none;
  cursor: pointer;
  margin: 0;
  padding: 0;
}
.precio__range::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(to right, #000 0%, #000 var(--p, 0%), rgba(0, 0, 0, 0.10) var(--p, 0%), rgba(0, 0, 0, 0.10) 100%);
}
.precio__range::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(to right, #000 0%, #000 var(--p, 0%), rgba(0, 0, 0, 0.10) var(--p, 0%), rgba(0, 0, 0, 0.10) 100%);
}
.precio__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #fff;
  border: 2px solid #000;
  margin-top: -8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  transition: transform 140ms ease, box-shadow 140ms ease;
  cursor: grab;
}
.precio__range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #fff;
  border: 2px solid #000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  transition: transform 140ms ease, box-shadow 140ms ease;
  cursor: grab;
}
.precio__range:active::-webkit-slider-thumb {
  transform: scale(1.08);
  cursor: grabbing;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}
.precio__range:active::-moz-range-thumb {
  transform: scale(1.08);
  cursor: grabbing;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}
.precio__range:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.12);
}
.precio__range:focus-visible::-moz-range-thumb {
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.12);
}
.precio__ticks {
  position: relative;
  height: 28px;
  margin-top: 14px;
}
.precio__tick {
  position: absolute;
  top: 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted-soft);
  padding: 6px 6px;
  border-radius: 6px;
  white-space: nowrap;
  transition: color 160ms ease, background 160ms ease;
}
.precio__tick:hover { color: #000; }
.precio__tick.active {
  color: #000;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.05);
}
.precio__price {
  margin-top: 32px;
  background: #000;
  color: #fff;
  border-radius: 18px;
  padding: clamp(22px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.precio__price::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 0%, rgba(255, 255, 255, 0.08), transparent 60%);
  pointer-events: none;
}
.precio__price__eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  position: relative;
}
.precio__price__amount {
  font-size: clamp(36px, 5.5vw, 56px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  position: relative;
}
.precio__price__unit {
  font-size: 0.4em;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
  letter-spacing: 0;
}
.precio__price__custom {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.15;
  position: relative;
  color: #fff;
}
.precio__price--custom .precio__price__eyebrow {
  color: rgba(255, 255, 255, 0.5);
}
.precio__max {
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: 14px;
}
.precio__note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  text-align: center;
  max-width: 56ch;
  margin: 18px auto 0;
}
.precio__cta {
  align-self: center;
  margin-top: 24px;
}

@media (max-width: 640px) {
  .precio__sliderHead {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .precio__tick { font-size: 9px; padding: 6px 3px; }
}

/* ====== Proyectos page — enhanced ====== */
.section--how {
  position: relative;
  overflow: hidden;
  background: #fff;
}
.how__bg { display: none; }
.section--how .wrap { position: relative; z-index: 1; }
.section--logos { background: #fff; }
.subpage { background: #fff; }

.steps--timeline {
  position: relative;
}
.steps--timeline .steps__line {
  position: absolute;
  left: 0;
  right: 0;
  top: 36px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.12) 12%, rgba(0,0,0,0.12) 88%, transparent);
  z-index: 0;
}
@media (max-width: 900px) {
  .steps--timeline .steps__line { display: none; }
}
.step--card {
  position: relative;
  transition: transform 360ms cubic-bezier(.2,.7,.2,1), box-shadow 360ms ease, border-color 360ms ease;
  will-change: transform;
  z-index: 1;
}
.step--card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0));
  opacity: 0;
  transition: opacity 360ms ease;
  pointer-events: none;
}
.step--card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px -28px rgba(0,0,0,0.25);
  border-color: rgba(0,0,0,0.18);
}
.step--card:hover::before { opacity: 1; }
.step__dot {
  position: absolute;
  top: -6px;
  left: 22px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #000;
  box-shadow: 0 0 0 4px #fff, 0 0 0 5px rgba(0,0,0,0.10);
  z-index: 2;
}
@media (max-width: 900px) {
  .step__dot { display: none; }
}

/* ====== Proyectos clientes ====== */
.proyectos { background: var(--bg); }
.proyectos .section-head__title {
  line-height: 1.15;
}
.proyectos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 360px));
  gap: 28px;
  justify-content: center;
  max-width: 860px;
  margin: 0 auto;
}
.proyectos__card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 22px;
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  transition: border-color 220ms ease, transform 320ms cubic-bezier(.2,.7,.2,1);
}
.proyectos__card:hover {
  border-color: var(--card-border-strong);
  transform: translateY(-3px);
}
.proyectos__logo-wrap {
  width: 320px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.proyectos__logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.proyectos__nombre {
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
  text-align: center;
}
.proyectos__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.proyectos__btn--web,
.proyectos__btn--demo {
  background: #7d191a;
  color: #fff;
  border: 1px solid #7d191a;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: background 180ms ease, opacity 180ms ease;
}
.proyectos__btn--web:hover,
.proyectos__btn--demo:hover { background: #621315; border-color: #621315; }
.proyectos__btn--web .arrow,
.proyectos__btn--demo .arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(255,255,255,0.2);
  font-size: 11px;
}
@media (max-width: 600px) {
  .proyectos__actions { flex-direction: column; width: 100%; }
  .proyectos__btn--web, .proyectos__btn--demo { justify-content: center; width: 100%; }
}

@keyframes proyectos-float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}
@keyframes proyectos-shine {
  0% { left: -80%; }
  100% { left: 130%; }
}
@keyframes proyectos-pulse-border {
  0%, 100% { box-shadow: 0 0 0 0 rgba(125, 25, 26, 0); }
  50% { box-shadow: 0 0 0 6px rgba(125, 25, 26, 0.10); }
}

.proyectos__logo-wrap {
  animation: proyectos-float 4s ease-in-out infinite;
}
.proyectos__card {
  animation: proyectos-pulse-border 3.5s ease-in-out infinite;
}
.proyectos__card:hover {
  animation: none;
  border-color: #7d191a;
  transform: translateY(-6px);
  box-shadow: 0 28px 60px -24px rgba(125, 25, 26, 0.22);
}
.proyectos__nombre {
  transition: color 220ms ease;
}
.proyectos__card:hover .proyectos__nombre {
  color: #7d191a;
}

/* ====== Logos carousel ====== */
.section--logos {
  padding-top: 40px;
  padding-bottom: 80px;
  overflow: hidden;
}
.section-head--center { text-align: center; align-items: center; }
.section-head--center .section-head__tag { margin-left: auto; margin-right: auto; }
.logos__viewport {
  margin-top: 32px;
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logos__track {
  display: flex;
  gap: 64px;
  align-items: center;
  width: max-content;
  animation: logos-scroll 32s linear infinite;
}
.logos__viewport:hover .logos__track { animation-play-state: paused; }
.logos__item {
  flex: 0 0 auto;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  filter: grayscale(20%);
  opacity: 0.92;
  transition: filter 320ms ease, opacity 320ms ease, transform 320ms ease;
}
.logos__item:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-2px);
}
.logos__item img {
  max-height: 100%;
  max-width: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
@keyframes logos-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .logos__track { animation: none; }
}

/* ====== Dashboard login ====== */
.dash-login { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); }
.dash-login__top { display: flex; align-items: center; justify-content: space-between; padding: 18px var(--gutter); }
.dash-login__top .nav__logo img { height: 112px; }
.dash-login__back { font-size: 14px; color: var(--muted); transition: color 180ms ease; }
.dash-login__back:hover { color: #000; }
.dash-login__main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px var(--gutter) 80px; }
.dash-login__card {
  width: 100%;
  max-width: 420px;
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: clamp(28px, 4vw, 40px);
  background: #fff;
}
.dash-login__title { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
.dash-login__sub { color: var(--muted); font-size: 14px; margin-top: 8px; }
.dash-login__form { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.dash-login__field { display: flex; flex-direction: column; gap: 8px; }
.dash-login__label { font-size: 13px; color: var(--muted-strong); }
.dash-login__input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--rule-strong);
  border-radius: 12px;
  background: #fff;
  font-family: var(--sans);
  font-size: 14px;
  color: #000;
  transition: border-color 180ms ease;
}
.dash-login__input::placeholder { color: rgba(0,0,0,0.32); }
.dash-login__input:focus { outline: none; border-color: #000; }
.dash-login__error { font-size: 12px; color: #000; opacity: 0.65; }
.dash-login__btn { width: 100%; justify-content: center; margin-top: 4px; }
.dash-login__notice { margin-top: 16px; text-align: center; font-size: 13px; color: var(--muted-strong); }
.dash-login__help { margin-top: 20px; text-align: center; font-size: 12px; color: var(--muted-soft); }
.dash-login__help a { color: #000; text-decoration: underline; text-underline-offset: 2px; }

/* ====== Dashboard home (panel protegido) ====== */
.dash-login__error--form { display: block; text-align: center; margin-top: 12px; }
.dash-home__user { display: flex; align-items: center; gap: 14px; }
.dash-home__hello { font-size: 14px; color: var(--muted); }
.dash-home__panel {
  width: 100%;
  max-width: 560px;
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: clamp(28px, 4vw, 44px);
  background: #fff;
  text-align: center;
}
