/* =========================================
   byMovers · Sitio multipágina
   Paleta corporativa byLogic · tema claro
   ========================================= */

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

:root {
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --transition: 220ms cubic-bezier(.2,.7,.2,1);

  /* ---- Paleta corporativa byLogic ---- */
  --brand-orange: #F9B233;
  --brand-green:  #3AA935;
  --brand-blue:   #009EE3;
  --brand-navy:   #00355F;
  --brand-black:  #000000;

  --grad:      linear-gradient(135deg, #009EE3 0%, #3AA935 100%);
  --grad-warm: linear-gradient(135deg, #009EE3 0%, #3AA935 55%, #F9B233 100%);
  --grad-soft: linear-gradient(135deg, rgba(0,158,227,.12), rgba(58,169,53,.12));

  /* ---- Superficie (tema claro único) ---- */
  --bg: #f4f7fb;
  --bg-soft: #ffffff;
  --surface:   rgba(0,53,95,.035);
  --surface-2: rgba(0,53,95,.06);
  --border:        rgba(0,53,95,.10);
  --border-strong: rgba(0,53,95,.18);
  --text: #16242f;
  --heading: #00355F;
  --muted: #5a6b7b;
  --shadow: 0 22px 60px rgba(0,53,95,.12);
  color-scheme: light;
}

html, body { margin: 0; padding: 0; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: min(1180px, 92vw);
  margin-inline: auto;
}

/* ---- Aurora background ---- */
.aurora {
  position: fixed; inset: 0; z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .22;
  animation: float 18s ease-in-out infinite;
}
.blob-1 { width: 520px; height: 520px; background: var(--brand-blue); top: -150px; left: -120px; }
.blob-2 { width: 600px; height: 600px; background: var(--brand-orange); top: 30%; right: -200px; animation-delay: -6s; }
.blob-3 { width: 450px; height: 450px; background: var(--brand-green); bottom: -150px; left: 30%; animation-delay: -12s; }
@keyframes float {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(40px,-30px) scale(1.08); }
}
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--border) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  opacity: .5;
}

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px) saturate(160%);
  background: color-mix(in srgb, var(--bg) 75%, transparent);
  border-bottom: 1px solid var(--border);
}
.header-bar {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 16px;
}
.brand { display: flex; align-items: center; flex: none; }
.brand-logo { height: 34px; width: auto; flex: none; }

.primary-nav { display: flex; gap: 2px; align-items: center; }
.nav-link {
  padding: 8px 11px; border-radius: 999px;
  font-size: 0.9rem; font-weight: 500; white-space: nowrap;
  color: var(--muted);
  transition: var(--transition);
}
.nav-link:hover { color: var(--heading); background: var(--surface); }
.nav-link.active {
  color: var(--heading);
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--border-strong);
}

.header-actions { display: flex; gap: 10px; align-items: center; flex: none; }

.icon-btn {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  transition: var(--transition);
}
.icon-btn:hover { background: var(--surface-2); transform: translateY(-1px); }
.icon-btn svg { width: 18px; height: 18px; }
.menu-btn { display: none; }

/* ---- Selector de idioma (desplegable) ---- */
.lang-dd { position: relative; }
.lang-current {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 10px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--heading); font-weight: 700; font-size: .8rem; letter-spacing: .03em;
  cursor: pointer; transition: var(--transition);
}
.lang-current:hover { background: var(--surface-2); }
.lang-current::after {
  content: ''; width: 6px; height: 6px; margin-left: 1px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform var(--transition);
}
.lang-dd.open .lang-current::after { transform: rotate(-135deg) translateY(1px); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 160px; padding: 6px;
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: 12px; box-shadow: var(--shadow);
  display: none; flex-direction: column; gap: 2px; z-index: 60;
}
.lang-dd.open .lang-menu { display: flex; }
.lang-menu a {
  padding: 9px 12px; border-radius: 8px; font-size: .9rem; color: var(--text);
  white-space: nowrap;
}
.lang-menu a:hover { background: var(--surface); }
.lang-menu a.active { color: var(--heading); font-weight: 700; background: var(--surface-2); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600; font-size: 0.95rem;
  border: 1px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-sm { padding: 9px 16px; font-size: 0.88rem; }
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(0,158,227,.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(58,169,53,.6); }
.btn-ghost {
  background: var(--surface); color: var(--heading);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { background: var(--surface-2); }
.btn-wasap { background: #25D366; color: #fff; box-shadow: 0 10px 30px -10px rgba(37,211,102,.6); }
.btn-wasap:hover { transform: translateY(-2px); }

/* ---- Typography ---- */
.display {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 22px;
}
.display.sm { font-size: clamp(2rem, 4vw, 3.2rem); }
.gradient-text {
  background: var(--grad-warm);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 56ch;
  margin: 0 0 28px;
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase;
  color: transparent;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  margin-bottom: 14px;
}
h2, h3, h4, h5 { color: var(--heading); }

/* ---- Pill ---- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  font-size: 0.82rem; font-weight: 500;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--muted);
  margin-bottom: 24px;
}
.pill-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-green);
  box-shadow: 0 0 0 4px rgba(58,169,53,.18);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(58,169,53,.18); }
  50% { box-shadow: 0 0 0 8px rgba(58,169,53,0); }
}

/* ---- Page wrap ---- */
.view { padding: 64px 0 110px; }
.view-in { animation: viewIn 480ms cubic-bezier(.2,.7,.2,1) both; }
@keyframes viewIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* ---- Breadcrumb ---- */
.breadcrumb {
  font-size: 0.82rem; color: var(--muted);
  padding: 26px 0 0;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand-blue); }
.breadcrumb span { color: var(--heading); font-weight: 600; }

/* ---- Hero ---- */
.hero {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px;
  align-items: center;
  padding-top: 40px;
}
.hero-text .cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 50px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  border-top: 1px solid var(--border);
  padding-top: 26px;
}
.hero-stats > div { display: flex; flex-direction: column; }
.hero-stats strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem; font-weight: 700; color: var(--heading);
}
.hero-stats span { color: var(--muted); font-size: 0.85rem; }

/* Hero visual (suite image) */
.hero-visual { position: relative; }
.hero-visual img {
  display: block; width: 100%; height: auto; border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  animation: floatY 7s ease-in-out infinite;
}
@keyframes floatY {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---- Section head ---- */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 70px auto 44px;
}
.section-head h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.02em;
  margin: 0;
}
.section-sub {
  color: var(--muted);
  margin: 14px auto 0;
  max-width: 60ch;
  font-size: 1.02rem;
}

/* ---- Bloques home ---- */
.grid-4-blocks { margin-top: 30px; }
.block-card {
  padding: 32px 28px;
  border-radius: var(--radius);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  display: flex; flex-direction: column;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.block-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform 400ms cubic-bezier(.2,.7,.2,1);
}
.block-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.block-card:hover::before { transform: scaleX(1); }
.block-eyebrow {
  font-size: 0.72rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted);
}
.block-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.35rem; margin: 8px 0 12px; }
.block-card p { color: var(--muted); margin: 0 0 18px; flex: 1; }
.block-link {
  color: transparent; background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  font-weight: 600; font-size: 0.9rem;
}

/* ---- 3 columnas trío ---- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trio-card {
  padding: 36px 30px;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.trio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.trio-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem; margin: 0 0 12px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.trio-card p { color: var(--muted); margin: 0 0 20px; }
.trio-card .qs-price { font-family: 'Space Grotesk', sans-serif; font-size: 1.7rem; font-weight: 700; color: var(--heading); margin: 0 0 10px; }
.trio-card .qs-price small { font-size: .8rem; font-weight: 500; color: var(--muted); }

/* ---- Ready banner ---- */
.ready-banner {
  margin-top: 24px; padding: 28px 32px;
  border-radius: var(--radius);
  background: linear-gradient(var(--bg-soft), var(--bg-soft)) padding-box, var(--grad) border-box;
  border: 1px solid transparent;
  display: flex; align-items: center; gap: 28px;
  box-shadow: var(--shadow);
}
.ready-banner > div { min-width: 140px; }
.ready-banner .step {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: .12em; text-transform: uppercase; font-size: .9rem;
}
.ready-banner h3 { margin: 4px 0 0; font-family: 'Space Grotesk', sans-serif; font-size: 1.6rem; }
.ready-banner p { color: var(--muted); margin: 0; }

/* ---- Quote block ---- */
.quote-block {
  text-align: center; max-width: 820px; margin: 40px auto;
  padding: 50px 30px; border-radius: var(--radius-lg);
  background: var(--grad-soft);
  border: 1px solid var(--border-strong);
}
.quote-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.02em; margin: 10px 0 20px;
}
.quote-block p { color: var(--text); margin: 0 0 14px; }
.quote-block strong {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---- CTA banner ---- */
.cta-banner {
  margin-top: 30px; padding: 40px 44px;
  border-radius: var(--radius-lg);
  background: var(--brand-navy);
  display: flex; align-items: center; gap: 30px; justify-content: space-between;
}
.cta-banner .eyebrow { background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; }
.cta-banner h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  margin: 8px 0 10px; letter-spacing: -0.01em; color: #fff;
}
.cta-banner p { margin: 0; color: rgba(255,255,255,.78); }
.cta-banner p a { color: #fff; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.4); }

@media (max-width: 720px) {
  .ready-banner, .cta-banner { flex-direction: column; align-items: flex-start; padding: 28px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4-blocks { grid-template-columns: 1fr !important; }
}

/* ---- Grid 4 features ---- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.feature:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.feature-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--grad-soft); color: var(--brand-blue);
  margin-bottom: 18px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 { margin: 0 0 8px; font-size: 1.15rem; }
.feature p { margin: 0; color: var(--muted); font-size: 0.93rem; }

/* ---- Timeline ---- */
.timeline {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.timeline li {
  position: relative; padding: 32px 28px;
  border-radius: var(--radius);
  background: var(--bg-soft); border: 1px solid var(--border);
}
.timeline .step {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.95rem; font-weight: 700;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: .15em;
}
.timeline h3 { margin: 12px 0 8px; font-size: 1.2rem; }
.timeline p { margin: 0; color: var(--muted); }

/* ---- Page hero (subpáginas) ---- */
.page-hero { max-width: 820px; padding: 18px 0 50px; }
.page-hero .lead { font-size: 1.18rem; }

/* ---- Split ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.split h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.6rem; margin: 0 0 18px; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  padding: 12px 0 12px 32px;
  border-bottom: 1px solid var(--border);
  position: relative; color: var(--text);
}
.check-list li::before {
  content: '';
  position: absolute; left: 0; top: 16px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--grad);
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/contain no-repeat;
}

/* ---- Módulos incluidos (con iconos) ---- */
.module-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: 30px;
}
.module-card {
  padding: 24px 20px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.module-card::after {
  content: ''; position: absolute; inset: 0;
  background: var(--grad-soft); opacity: 0;
  transition: var(--transition); z-index: 0;
}
.module-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.module-card:hover::after { opacity: 1; }
.module-card .m-icon {
  position: relative; z-index: 1;
  width: 54px; height: 54px; margin: 0 auto 14px;
  border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(0,158,227,.7);
}
.module-card:nth-child(4n+2) .m-icon { background: linear-gradient(135deg,#3AA935,#009EE3); }
.module-card:nth-child(4n+3) .m-icon { background: linear-gradient(135deg,#F9B233,#3AA935); }
.module-card:nth-child(4n)   .m-icon { background: linear-gradient(135deg,#00355F,#009EE3); }
.module-card .m-icon svg { width: 26px; height: 26px; }
.module-card span { position: relative; z-index: 1; display: block; font-weight: 600; color: var(--heading); font-size: .98rem; }
.module-card small { position: relative; z-index: 1; display: block; color: var(--muted); font-size: .8rem; margin-top: 4px; }

/* ---- Apps grid (con mockups) ---- */
.grid-apps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.app-card {
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  transition: var(--transition);
  overflow: hidden; display: flex; flex-direction: column;
}
.app-card:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.app-shot { background: #eef3f8; border-bottom: 1px solid var(--border); }
.app-shot img { width: 100%; display: block; }
.app-body { padding: 26px 28px 30px; }
.app-card header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.app-card h3 { margin: 0; font-family: 'Space Grotesk', sans-serif; font-size: 1.3rem; }
.app-card .badge {
  font-size: 0.7rem; font-weight: 600;
  padding: 4px 10px; border-radius: 999px;
  background: var(--grad-soft); color: var(--brand-navy);
  border: 1px solid var(--border);
}
.app-card .kicker {
  color: transparent; background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  font-weight: 600; margin: 4px 0 12px;
}
.app-card p:not(.kicker) { margin: 0; color: var(--muted); }

/* ---- Services ---- */
.grid-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  padding: 32px 28px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--bg-soft);
  position: relative; transition: var(--transition);
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-num {
  font-family: 'Space Grotesk', sans-serif; font-size: 2rem; font-weight: 700;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.service h3 { margin: 8px 0 10px; font-size: 1.2rem; }
.service p { margin: 0; color: var(--muted); }
.service .svc-price { margin-top: 12px; font-weight: 700; color: var(--brand-navy); font-size: .92rem; }

/* ---- Integraciones / API ---- */
.api-hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center;
  margin-top: 10px;
}
.code-card {
  border-radius: var(--radius-lg);
  background: #06243b;
  border: 1px solid #0c3a5e;
  box-shadow: var(--shadow);
  overflow: hidden;
  font-family: 'Space Grotesk', ui-monospace, SFMono-Regular, Menlo, monospace;
}
.code-card .code-head {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px; background: #08304d; border-bottom: 1px solid #0c3a5e;
}
.code-card .code-head .dot { width: 10px; height: 10px; border-radius: 50%; }
.code-card .code-head .lbl { margin-left: 10px; color: #7fa8c4; font-size: .8rem; }
.code-card pre {
  margin: 0; padding: 20px 22px; overflow-x: auto;
  color: #cfe3f1; font-size: .82rem; line-height: 1.7;
}
.code-card .tok-m { color: #F9B233; }
.code-card .tok-u { color: #5ec6f2; }
.code-card .tok-s { color: #7fe0a0; }
.code-card .tok-k { color: #ff8a8a; }
.code-card .tok-c { color: #5d7d93; }

.integration-logos {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 30px;
}
.int-chip {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 20px; border-radius: var(--radius);
  background: var(--bg-soft); border: 1px solid var(--border);
  transition: var(--transition);
}
.int-chip:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.int-chip .ic {
  width: 42px; height: 42px; flex: none; border-radius: 11px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--grad-soft); color: var(--brand-blue);
}
.int-chip .ic svg { width: 22px; height: 22px; }
.int-chip .ic b { font-family: 'Space Grotesk', sans-serif; font-size: .92rem; font-weight: 700; letter-spacing: -.02em; color: var(--brand-navy); }
.int-chip .ic.ic-logo { background: #fff; border: 1px solid var(--border); }
.int-chip .ic.ic-logo img { width: 28px; height: 28px; object-fit: contain; }
/* Tarjeta con el logotipo del proveedor a buen tamaño + subtítulo */
.int-chip.int-logo { flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px; min-height: 92px; }
.int-chip.int-logo img { height: 30px; max-width: 100%; width: auto; object-fit: contain; object-position: left center; }
.int-chip.int-logo small { color: var(--muted); font-size: .82rem; }

/* ---- Partner destacado (muvly.ai) ---- */
.muvly-partner {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 36px; align-items: center;
  padding: 40px 44px; border-radius: var(--radius-lg);
  background: var(--grad-soft); border: 1px solid var(--border-strong);
}
.muvly-figure { text-align: center; }
.muvly-figure img { max-width: 260px; width: 100%; height: auto; margin: 0 auto 14px; }
.muvly-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 14px; border-radius: 999px; font-size: .76rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  background: rgba(249,178,51,.18); border: 1px solid rgba(249,178,51,.45); color: #9a6b07;
}
.muvly-partner h2 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 8px 0 12px; }
.muvly-partner p { color: var(--muted); margin: 0 0 18px; }
@media (max-width: 880px) { .muvly-partner { grid-template-columns: 1fr; gap: 24px; padding: 30px; text-align: center; } .muvly-partner .check-list { text-align: left; } }
.int-chip strong { display: block; color: var(--heading); font-size: .98rem; }
.int-chip small { color: var(--muted); font-size: .82rem; }

.api-features { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 30px; }

@media (max-width: 880px) {
  .api-hero { grid-template-columns: 1fr; }
}

/* ---- Pricing ---- */
.billing-toggle {
  display: inline-flex; padding: 4px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; margin-top: 18px;
}
.billing-toggle button {
  padding: 10px 18px; border: none; background: transparent;
  border-radius: 999px; color: var(--muted); font-weight: 500; font-size: 0.9rem;
  transition: var(--transition);
}
.billing-toggle button.active {
  background: var(--grad); color: #fff;
  box-shadow: 0 6px 18px -6px rgba(0,158,227,.6);
}

.promo-note {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px; padding: 8px 16px; border-radius: 999px;
  background: rgba(249,178,51,.16); border: 1px solid rgba(249,178,51,.4);
  color: #9a6b07; font-size: .86rem; font-weight: 600;
}

.grid-pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 80px; }
.plan {
  padding: 36px 30px; border-radius: var(--radius-lg);
  background: var(--bg-soft); border: 1px solid var(--border);
  display: flex; flex-direction: column; position: relative; transition: var(--transition);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.4rem; margin: 0 0 6px; letter-spacing: .04em; }
.plan-tag { color: var(--muted); font-size: 0.9rem; margin: 0 0 20px; min-height: 2.6em; }
.plan .price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.plan .price strong {
  font-family: 'Space Grotesk', sans-serif; font-size: 3rem; font-weight: 700;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.plan .price span { color: var(--muted); }
.plan .price-sub { color: var(--muted); font-size: .85rem; margin: 0 0 14px; min-height: 1.2em; }
.plan .price-promo { color: #9a6b07; font-size: .82rem; font-weight: 600; margin: 0 0 20px; min-height: 1.2em; }
.plan .check-list { flex: 1; margin-bottom: 24px; }
.plan-featured {
  border: 1px solid transparent;
  background: linear-gradient(var(--bg-soft), var(--bg-soft)) padding-box, var(--grad) border-box;
  box-shadow: 0 30px 60px -30px rgba(0,158,227,.5);
  transform: translateY(-8px);
}
.plan-featured:hover { transform: translateY(-12px); }
.ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--grad-warm); color: #fff;
  font-size: 0.72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
  box-shadow: 0 8px 20px -8px rgba(249,178,51,.7);
}

.addons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.addons > div {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px; background: var(--bg-soft);
  border: 1px solid var(--border); border-radius: 12px;
}
.addons strong { font-weight: 600; color: var(--heading); }
.addons span { color: var(--muted); font-size: 0.9rem; }
.footnote { text-align: center; color: var(--muted); margin-top: 30px; font-size: 0.9rem; }

/* ---- FAQ ---- */
.faq { max-width: 800px; margin: 0 auto; }
.faq details {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 6px 24px; margin-bottom: 12px;
  transition: var(--transition);
}
.faq details[open] { border-color: var(--border-strong); box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; color: var(--heading);
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; color: var(--muted); transition: transform var(--transition); }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--brand-blue); }
.faq p { margin: 0 0 18px; color: var(--muted); }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.contact-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  padding: 32px; border-radius: var(--radius-lg);
  background: var(--bg-soft); border: 1px solid var(--border-strong);
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; color: var(--muted); font-weight: 500; }
.field input, .field textarea {
  padding: 12px 14px; background: var(--bg);
  border: 1px solid var(--border); border-radius: 10px;
  color: var(--text); font: inherit; transition: var(--transition);
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: transparent;
  box-shadow: 0 0 0 2px rgba(0,158,227,.5);
}
.form-note {
  margin-top: 14px; padding: 10px 14px;
  background: rgba(58,169,53,.12); border: 1px solid rgba(58,169,53,.35);
  color: #2a7d27; border-radius: 10px; font-size: 0.9rem;
}
.form-note.error { background: rgba(220,53,69,.1); border-color: rgba(220,53,69,.35); color: #b02a37; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }
/* Honeypot: fuera de pantalla, invisible para humanos */
.hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-info { display: grid; gap: 14px; }
.info-card { padding: 22px 24px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); }
.info-card h4 { margin: 0 0 8px; font-size: 0.78rem; text-transform: uppercase; letter-spacing: .15em; color: var(--muted); }
.info-card a, .info-card p { margin: 0; font-size: 1.1rem; font-weight: 600; color: var(--heading); }
.info-card .sub { font-size: .82rem; font-weight: 500; color: var(--muted); margin-top: 4px; }
.info-card.highlight { background: var(--grad-soft); border-color: var(--border-strong); }
.info-card.highlight p { font-weight: 500; font-size: 0.95rem; }

/* ---- Legal pages ---- */
.legal-body { max-width: 760px; margin: 0 auto; }
.legal-body h3 {
  font-family: 'Space Grotesk', sans-serif; font-size: 1.2rem; margin: 36px 0 12px;
  color: var(--heading); padding-top: 12px; border-top: 1px solid var(--border);
}
.legal-body h3:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.legal-body h4 { font-family: 'Space Grotesk', sans-serif; font-size: 1rem; margin: 24px 0 10px; color: var(--heading); }
.legal-body p { color: var(--muted); margin: 0 0 12px; line-height: 1.65; }
.legal-body strong { color: var(--text); font-weight: 600; }
.legal-body ul { color: var(--muted); margin: 8px 0 18px; padding-left: 22px; line-height: 1.65; }
.legal-body li { margin-bottom: 8px; }
.legal-body a { color: var(--brand-blue); font-weight: 600; }

/* ---- Footer (navy) ---- */
.site-footer {
  background: var(--brand-navy); color: rgba(255,255,255,.82);
  padding: 60px 0 30px; margin-top: 70px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-grid h5 { margin: 0 0 14px; font-size: 0.78rem; text-transform: uppercase; letter-spacing: .15em; color: rgba(255,255,255,.55); }
.footer-grid a { display: block; padding: 6px 0; color: rgba(255,255,255,.82); font-size: 0.92rem; transition: var(--transition); }
.footer-grid a:hover { color: #fff; }
.footer-grid .muted { color: rgba(255,255,255,.6); }
.footer-social {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; border-top: 1px solid rgba(255,255,255,.12); flex-wrap: wrap; gap: 14px;
}
.footer-social .muted { font-size: 0.78rem; text-transform: uppercase; letter-spacing: .2em; color: rgba(255,255,255,.6); }
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%; color: rgba(255,255,255,.8); transition: var(--transition);
}
.social-row a:hover { color: #fff; background: var(--grad); border-color: transparent; transform: translateY(-2px); }
.social-row svg { width: 16px; height: 16px; }
.footer-bottom {
  display: flex; justify-content: space-between; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.6); font-size: 0.85rem;
}
.muted { color: var(--muted); }

/* ---- Reveal animations ---- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal-in { opacity: 1; transform: none; }
/* Fallback: si no hay JavaScript, mostrar todo el contenido */
@media (scripting: none) { .reveal { opacity: 1; transform: none; } }

/* ---- Tira de clientes / confianza ---- */
.trust-strip { text-align: center; margin-top: 50px; }
.trust-strip .trust-label {
  font-size: .76rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 22px;
}
.logo-row {
  display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: center; justify-content: center;
}
.logo-row .logo {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.15rem;
  letter-spacing: -.01em; color: var(--brand-navy); opacity: .55;
  display: inline-flex; align-items: center; gap: 8px;
  transition: var(--transition);
}
.logo-row .logo:hover { opacity: 1; }
.logo-row .logo::before {
  content: ''; width: 16px; height: 16px; border-radius: 4px; background: var(--grad);
  display: inline-block;
}
/* Logos en imagen (clientes) */
.logo-row .logo-img {
  height: 38px; width: auto; max-width: 150px; object-fit: contain;
  opacity: .7; transition: var(--transition);
}
.logo-row .logo-img:hover { opacity: 1; transform: translateY(-2px); }

/* ---- Banda de cifras ---- */
.stat-band {
  margin-top: 60px; padding: 44px; border-radius: var(--radius-lg);
  background: var(--brand-navy);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.stat-band .stat { text-align: center; color: #fff; }
.stat-band .stat strong {
  display: block; font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1;
  background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-band .stat span { display: block; margin-top: 8px; color: rgba(255,255,255,.78); font-size: .9rem; }

/* ---- Spotlight (byShare / Internacional) ---- */
.spotlight { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 30px; }
.spot-card {
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bg-soft); border: 1px solid var(--border);
  display: flex; flex-direction: column; transition: var(--transition);
}
.spot-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.spot-shot { background: #eef3f8; border-bottom: 1px solid var(--border); }
.spot-shot img { width: 100%; display: block; }
.spot-body { padding: 28px 30px 32px; }
.spot-body .block-eyebrow { color: var(--brand-blue); }
.spot-body h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; margin: 8px 0 12px; }
.spot-body p { color: var(--muted); margin: 0 0 18px; }

/* ---- Testimonios ---- */
/* Carrusel de testimonios (scroll-snap + flechas) */
.testi-carousel { position: relative; }
.testimonials {
  display: flex; gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 6px 4px; margin: 0 -4px;
  -ms-overflow-style: none; scrollbar-width: none;
}
.testimonials::-webkit-scrollbar { display: none; }
.testimonials .testimonial {
  flex: 0 0 calc((100% - 40px) / 3);   /* 3 por vista */
  scroll-snap-align: start;
}
.tc-controls { display: flex; justify-content: center; gap: 12px; margin-top: 26px; }
.tc-btn {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--bg-soft); border: 1px solid var(--border-strong);
  color: var(--heading); font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); cursor: pointer; transition: var(--transition);
}
.tc-btn:hover { background: var(--surface-2); transform: translateY(-2px); }
.testimonial {
  padding: 30px 28px; border-radius: var(--radius);
  background: var(--bg-soft); border: 1px solid var(--border);
  display: flex; flex-direction: column; transition: var(--transition);
}
.testimonial:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.testimonial .t-logo {
  display: flex; align-items: center; gap: 8px; margin-bottom: 14px;
  min-height: 36px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.02rem;
  color: var(--brand-navy);
}
.testimonial .t-logo img { height: 32px; width: auto; max-width: 150px; object-fit: contain; }
.testimonial .flag { margin-left: auto; font-size: 1rem; opacity: .9; }
.testimonial .stars { color: var(--brand-orange); font-size: 1rem; letter-spacing: 2px; margin-bottom: 12px; }
.testimonial blockquote { margin: 0 0 20px; color: var(--text); font-size: 1rem; line-height: 1.6; flex: 1; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; }
.testimonial .who-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: var(--grad); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
}
.testimonial .who strong { display: block; color: var(--heading); font-size: .95rem; }
.testimonial .who span { color: var(--muted); font-size: .82rem; }

/* ---- Banner de cookies ---- */
.cookie-banner {
  position: fixed; left: 50%; transform: translateX(-50%) translateY(140%);
  bottom: 18px; z-index: 90; width: min(680px, 92vw);
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 16px 20px; border-radius: var(--radius);
  background: var(--brand-navy); color: rgba(255,255,255,.9);
  box-shadow: 0 20px 50px rgba(0,53,95,.35);
  transition: transform .4s cubic-bezier(.2,.7,.2,1);
}
.cookie-banner.show { transform: translateX(-50%) translateY(0); }
.cookie-banner p { margin: 0; flex: 1; min-width: 220px; font-size: .88rem; }
.cookie-banner a { color: #fff; text-decoration: underline; }
.cookie-banner .cookie-actions { display: flex; gap: 10px; }

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .grid-4, .grid-services, .grid-pricing, .addons, .module-grid, .integration-logos, .api-features, .stat-band { grid-template-columns: repeat(2, 1fr); }
  .testimonials .testimonial { flex-basis: calc((100% - 20px) / 2); }   /* 2 por vista */
  .timeline { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero, .spotlight { grid-template-columns: 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; }
}
/* Nav colapsa a hamburguesa cuando deja de caber (≤960px) */
@media (max-width: 960px) {
  .primary-nav {
    position: fixed; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--bg-soft); border-bottom: 1px solid var(--border);
    padding: 16px; gap: 4px;
    transform: translateY(-130%); transition: transform var(--transition);
  }
  .primary-nav.open { transform: translateY(0); }
  .nav-link { padding: 12px 16px; border-radius: 12px; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 720px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .grid-4, .grid-apps, .grid-services, .grid-pricing, .addons, .module-grid, .integration-logos, .api-features { grid-template-columns: 1fr; }
  .testimonials .testimonial { flex-basis: 100%; }   /* 1 por vista */
  .stat-band { grid-template-columns: repeat(2, 1fr); padding: 30px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .plan-featured { transform: none; }
  .plan-featured:hover { transform: translateY(-4px); }
  .contact-form { grid-template-columns: 1fr; padding: 22px; }
}
@media (max-width: 480px) {
  .header-bar { gap: 10px; }
  .btn-primary.btn-sm { display: none; }
  .display { font-size: 2.2rem; }
}

/* ============================================================
   byLogic — añadidos específicos (web corporativa)
   ============================================================ */

/* Logo blanco del footer: el logo de marca es de texto oscuro;
   en el footer navy lo volvemos blanco con filtro. */
.site-footer .brand-logo { filter: brightness(0) invert(1); }

/* Footer con 5 columnas (byLogic · Productos · Contacto · Legal) */
.footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }

/* Equipo directivo / técnico */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 900px; margin: 0 auto; }
.team-card {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 24px; text-align: center;
  transition: var(--transition);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.team-avatar {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 14px;
  background: var(--grad); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.25rem;
}
.team-card h3 { margin: 0 0 4px; font-size: 1.1rem; }
.team-card .role { display: block; color: var(--brand-blue); font-weight: 600; font-size: .9rem; margin-bottom: 8px; }
.team-card p { margin: 0; color: var(--muted); font-size: .9rem; }

/* Fila de afiliaciones / partners (texto, sin logo) */
.badge-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 26px; }
.badge-chip {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: 999px; padding: 10px 20px; font-weight: 600; color: var(--heading);
}
.badge-chip .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--grad); flex: none; }

/* Tarjeta de proyecto destacada (proyectos.html) */
.project-card .block-eyebrow { color: var(--brand-blue); }
.project-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.project-meta span {
  font-size: .8rem; font-weight: 600; color: var(--brand-navy);
  background: var(--grad-soft); border: 1px solid var(--border); border-radius: 999px; padding: 5px 12px;
}

/* "Coming soon" / placeholder */
.coming-soon {
  border: 1px dashed var(--border-strong); border-radius: var(--radius-lg);
  padding: 40px; text-align: center; color: var(--muted); background: var(--bg-soft);
}
.coming-soon h3 { color: var(--heading); font-family: 'Space Grotesk', sans-serif; margin: 0 0 8px; }

/* Producto estrella: byMovers (flagship) */
.flagship {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 0;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.flagship-brand {
  background: var(--grad); color: #fff;
  padding: 48px 40px; display: flex; flex-direction: column; justify-content: center; gap: 10px;
}
.flagship-mark { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; }
.flagship-tag { opacity: .92; font-size: .98rem; }
.flagship-lead { margin: 6px 0 0; font-size: 1.02rem; line-height: 1.55; color: rgba(255,255,255,.92); }
.flagship-body { background: var(--bg-soft); padding: 40px; display: flex; flex-direction: column; gap: 22px; }
.flagship-body .check-list { margin: 0; }

@media (max-width: 1024px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) {
  .team-grid { grid-template-columns: 1fr; }
  .flagship { grid-template-columns: 1fr; }
  .flagship-brand { padding: 32px 26px; }
  .flagship-body { padding: 28px 26px; }
}

/* ---- Banda de financiación Kit Digital (logos oficiales obligatorios) ---- */
.funding-band {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 28px;
  margin-top: 28px;
}
.funding-band img { display: block; width: 100%; height: auto; max-width: 1100px; margin: 0 auto; }
@media (max-width: 640px) { .funding-band { padding: 14px; } }
