@font-face {
  font-family: "Sora";
  src: url("../fonts/Sora-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sora";
  src: url("../fonts/Sora-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sora";
  src: url("../fonts/Sora-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sora";
  src: url("../fonts/Sora-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #111111;
  --muted: #6b6b6b;
  --faint: #8e8e8e;
  --line: #e6e6e6;
  --bg: #f2f2f2;
  --white: #ffffff;
  --accent: #f25c1f;
  --accent-soft: rgba(242, 92, 31, 0.18);
  /* Botones: color primario de la marca; hover apenas más profundo */
  --accent-strong: var(--accent);
  --accent-hover: #e0511a;
  --accent-ring: rgba(242, 92, 31, 0.35);
  --shadow: 0 24px 60px rgba(17, 17, 17, 0.08);
  --header: 76px;
}

.theme-datos {
  --accent: #1470f7;
  --accent-soft: rgba(20, 112, 247, 0.16);
  --accent-strong: var(--accent);
  --accent-hover: #0f65e6;
  --accent-ring: rgba(20, 112, 247, 0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, p { margin: 0; }

.wrap {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(242, 242, 242, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.site-header.is-scrolled { box-shadow: 0 10px 28px rgba(17, 17, 17, 0.06); }

.header-inner {
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 18px;
}

.logo img { height: 34px; width: auto; }

.switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 12px;
}

.switch a {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  color: #4a4a4a;
  white-space: nowrap;
}

.switch a[aria-current="page"] {
  background: var(--accent-strong);
  color: #fff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.nav-links a { white-space: nowrap; }

/* Solo los enlaces de texto: el botón conserva sus propios colores */
.nav-links a:not(.btn) {
  font-size: 13.5px;
  font-weight: 500;
  color: #3d3d3d;
  transition: color 0.15s ease;
}

.nav-links a:not(.btn):hover { color: var(--ink); }

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  background: #fff;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: #111;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.btn:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--accent-ring); }

.btn-accent {
  background: var(--accent-strong);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 6px 16px -6px var(--accent-ring);
}
.btn-accent:hover {
  background: var(--accent-hover);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 10px 22px -8px var(--accent-ring);
  transform: translateY(-1px);
}
.btn-accent:active { transform: translateY(0); background: var(--accent-hover); }
.btn-accent:focus-visible { box-shadow: 0 0 0 4px var(--accent-ring); }
.btn-ghost { background: #fff; color: var(--ink); border-color: #e6e6e6; }
.btn-dark { background: #141414; color: #fff; }
.btn-line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }

.hero { padding: 78px 0 28px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 36px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9a9a9a;
}

h1 {
  font-size: clamp(42px, 4.6vw, 62px);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: -0.045em;
}

h1 .accent { color: var(--accent); }

.lead {
  max-width: 460px;
  margin-top: 22px;
  color: #4a4a4a;
  font-size: 15.5px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.micro {
  margin-top: 16px;
  max-width: 420px;
  color: var(--faint);
  font-size: 12.5px;
}

.hero-visual {
  position: relative;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft), transparent 68%);
}

.scroll-cue {
  width: 28px;
  height: 28px;
  margin: 28px auto 8px;
  border: 1px solid #ddd;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.scroll-cue span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c8c8c8;
}

.section { padding: 92px 0; }

.section, .cta-wrap { scroll-margin-top: 88px; }

.section-head {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 20px;
  align-items: start;
  margin-bottom: 28px;
}

.section-head h2,
.split h2,
.steps-intro h2,
.cta h2 {
  font-size: clamp(32px, 3.5vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.section-head h2 { max-width: 16ch; }

.rows { list-style: none; margin: 8px 0 0; padding: 0; }

.rows li {
  display: grid;
  grid-template-columns: 48px minmax(220px, 1fr) minmax(220px, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.rows li:last-child { border-bottom: 1px solid var(--line); }

.num { color: var(--accent); font-size: 13px; font-weight: 600; }

.rows strong { font-size: 16px; font-weight: 600; letter-spacing: -0.02em; }

.rows p, .note { color: var(--muted); font-size: 14.5px; }

.note { margin-top: 22px; max-width: 680px; font-size: 13.5px; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1fr);
  gap: 48px;
  align-items: center;
}

.split p { margin-top: 16px; color: #4c4c4c; font-size: 15.5px; max-width: 440px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 22px 0 0; padding: 0; list-style: none; }

.chips li { font-size: 13px; font-weight: 600; }

.chips li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-1px);
}

.panel {
  background: #f6f6f6;
  border: 1px solid #ececec;
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.panel-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 12px;
  color: #8a8a8a;
}

.panel-top strong { color: #555; font-weight: 600; }

.live { color: var(--accent); font-weight: 600; }

.tabs { display: flex; gap: 8px; margin-bottom: 14px; }

.tabs span {
  height: 30px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #ececec;
  font-size: 12px;
  font-weight: 600;
  color: #666;
}

.tabs .on { background: var(--accent-strong); border-color: var(--accent-strong); color: #fff; }

.ask, .answer {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
}

.answer { margin-top: 12px; border-radius: 14px; }

.who {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.answer p + p { margin-top: 8px; color: #444; font-size: 14px; }

.panel-foot { margin-top: 12px; font-size: 12px; color: #8a8a8a; }

.steps-intro p { max-width: 520px; margin-top: 14px; color: #555; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.step-num {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.steps h3 { margin-bottom: 8px; font-size: 16px; letter-spacing: -0.02em; }

.steps p { color: var(--muted); font-size: 14px; }

.cta-wrap { padding: 8px 0 80px; }

.cta {
  background: var(--accent);
  color: #fff;
  border-radius: 22px;
  padding: 52px 48px;
}

.cta .eyebrow { color: rgba(255, 255, 255, 0.78); }

.cta h2 { max-width: 16ch; }

.cta p { max-width: 480px; margin-top: 14px; color: rgba(255, 255, 255, 0.92); }

.cta .hero-actions { margin-top: 26px; }

.site-footer { padding: 8px 0 36px; }

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-inner .logo img { height: 30px; }

.site-footer p, .site-footer a { color: #7a7a7a; font-size: 13px; }

.phone {
  position: relative;
  z-index: 1;
  width: 250px;
  height: 500px;
  background: #111;
  border-radius: 36px;
  padding: 10px;
  box-shadow: var(--shadow);
}

.phone-screen {
  height: 100%;
  background: #efeae2;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.wa-head {
  background: #075e54;
  color: #fff;
  padding: 18px 14px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wa-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #128c7e;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}

.wa-head strong { display: block; font-size: 13px; }
.wa-head span { display: block; font-size: 10px; opacity: 0.8; }

.wa-body { padding: 12px; display: flex; flex-direction: column; gap: 8px; }

.bubble {
  max-width: 88%;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 11.5px;
  line-height: 1.35;
}

.bubble.in { align-self: flex-start; background: #fff; border-top-left-radius: 3px; }
.bubble.out { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 3px; }

.bubble small { display: block; margin-top: 4px; text-align: right; color: #7d8b86; font-size: 9px; }

.float-card {
  position: absolute;
  z-index: 2;
  width: 170px;
  background: #fff;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0f0f0;
}

.float-card.left { left: 0; top: 86px; }
.float-card.right { right: 0; bottom: 92px; }

.float-card span {
  display: block;
  margin-bottom: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.float-card p { font-size: 13px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; }

.caption {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  text-align: center;
  color: #9a9a9a;
  font-size: 12px;
}

.dash {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
  background: #fff;
  border-radius: 18px;
  border: 1px solid #ececec;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.dash-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid #f1f1f1;
}

.dots { display: flex; gap: 5px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: #e4e4e4; display: block; }
.dots i:nth-child(1) { background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #28c840; }

.dash-bar strong { font-size: 13px; margin-left: 4px; }
.dash-bar em { margin-left: auto; font-style: normal; font-size: 11px; color: #888; font-weight: 600; }

.dash-body { padding: 18px; }
.dash-kicker { font-size: 12px; color: #888; }

.dash-metric { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 16px; }
.dash-metric b { font-size: 28px; letter-spacing: -0.04em; }
.dash-metric span { color: #128a3e; font-size: 13px; font-weight: 700; }

.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.metric-row div { background: #f6f7f9; border-radius: 10px; padding: 10px; }
.metric-row span { display: block; font-size: 11px; color: #888; }
.metric-row b { display: block; margin-top: 2px; font-size: 13px; }

.bars {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 120px;
  margin-top: 18px;
  padding-top: 8px;
  border-top: 1px solid #f2f2f2;
}

.bars div {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  height: 100%;
}

.bars i {
  display: block;
  width: 100%;
  max-width: 28px;
  border-radius: 6px 6px 2px 2px;
  background: #d7e6ff;
}

.theme-ventas .bars i { background: #ffd7c8; }
.bars .hot i { background: var(--accent); }
.bars em { font-style: normal; font-size: 10px; color: #999; }

.has-js .reveal {
  opacity: 0;
  transform: translateY(32px);
}

.has-js .reveal.from-left { transform: translateX(-36px); }
.has-js .reveal.from-right { transform: translateX(36px); }
.has-js .reveal.pop { transform: scale(0.94) translateY(16px); }

.has-js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.16, 0.84, 0.32, 1);
}

.has-js .phone,
.has-js .dash,
.has-js .float-card,
.has-js .glow {
  opacity: 0;
}

.has-js .phone.is-in {
  animation: rise 0.85s cubic-bezier(0.16, 0.84, 0.32, 1) forwards, floaty 4.8s ease-in-out 0.85s infinite;
}

.has-js .dash.is-in {
  animation: rise 0.9s cubic-bezier(0.16, 0.84, 0.32, 1) forwards, floaty 5.4s ease-in-out 0.9s infinite;
}

.has-js .float-card.is-in {
  animation: popIn 0.6s cubic-bezier(0.16, 0.84, 0.32, 1) forwards, floaty 5s ease-in-out 0.6s infinite;
}

.has-js .float-card.right.is-in {
  animation-delay: 0.15s, 0.75s;
}

.has-js .glow.is-in {
  animation: glowIn 1s ease forwards, glowPulse 5.5s ease-in-out 1s infinite;
}

.has-js .bubble {
  opacity: 0;
  transform: translateY(12px);
}

.has-js .phone.is-in .bubble {
  animation: bubbleIn 0.45s ease forwards;
}

.has-js .phone.is-in .bubble:nth-child(1) { animation-delay: 0.45s; }
.has-js .phone.is-in .bubble:nth-child(2) { animation-delay: 0.7s; }
.has-js .phone.is-in .bubble:nth-child(3) { animation-delay: 0.95s; }
.has-js .phone.is-in .bubble:nth-child(4) { animation-delay: 1.2s; }

.has-js .bars i {
  transform: scaleY(0);
  transform-origin: bottom;
}

.has-js .dash.is-in .bars i {
  transform: scaleY(1);
  transition: transform 0.7s cubic-bezier(0.16, 0.84, 0.32, 1);
}

.has-js .dash.is-in .bars div:nth-child(1) i { transition-delay: 0.15s; }
.has-js .dash.is-in .bars div:nth-child(2) i { transition-delay: 0.25s; }
.has-js .dash.is-in .bars div:nth-child(3) i { transition-delay: 0.35s; }
.has-js .dash.is-in .bars div:nth-child(4) i { transition-delay: 0.45s; }
.has-js .dash.is-in .bars div:nth-child(5) i { transition-delay: 0.55s; }
.has-js .dash.is-in .bars div:nth-child(6) i { transition-delay: 0.65s; }

.has-js .metric-row div,
.has-js .tabs span,
.has-js .chips li {
  opacity: 0;
  transform: translateY(8px);
}

.has-js .dash.is-in .metric-row div,
.has-js .panel.is-in .tabs span,
.has-js .reveal.is-in .chips li {
  opacity: 1;
  transform: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.has-js .dash.is-in .metric-row div:nth-child(2) { transition-delay: 0.1s; }
.has-js .dash.is-in .metric-row div:nth-child(3) { transition-delay: 0.2s; }
.has-js .panel.is-in .tabs span:nth-child(2) { transition-delay: 0.08s; }
.has-js .panel.is-in .tabs span:nth-child(3) { transition-delay: 0.16s; }

.steps article,
.panel,
.rows li {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.steps article:hover,
.panel:hover {
  transform: translateY(-4px);
}

.scroll-cue { animation: cue 1.6s ease-in-out infinite; }

@keyframes rise {
  from { opacity: 0; transform: translateY(46px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

@keyframes popIn {
  from { opacity: 0; transform: translateY(18px) scale(0.9); }
  to { opacity: 1; transform: none; }
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@keyframes glowIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes glowPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

@keyframes cue {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

@media (prefers-reduced-motion: reduce) {
  .has-js .reveal,
  .has-js .phone,
  .has-js .dash,
  .has-js .float-card,
  .has-js .glow,
  .has-js .bubble,
  .has-js .bars i,
  .has-js .metric-row div,
  .has-js .tabs span,
  .has-js .chips li {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .scroll-cue { animation: none; }
}

@media (max-width: 980px) {
  .menu-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 40;
    margin: 0;
    padding: 8px 24px 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    background: #f2f2f2;
    border-bottom: 1px solid #e8e8e8;
    box-shadow: 0 16px 30px rgba(17, 17, 17, 0.06);
  }

  .site-header.is-open .nav-links { display: flex; }

  .nav-links .btn { width: 100%; }

  .header-inner { flex-wrap: wrap; padding: 12px 0; }

  .switch { order: 3; width: 100%; }
  .switch a { flex: 1; justify-content: center; font-size: 12.5px; padding: 0 8px; }

  .hero { padding-top: 40px; }
  .hero-grid, .split, .section-head, .steps { grid-template-columns: 1fr; }
  .section-head h2, .cta h2 { max-width: none; }

  .hero-visual {
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px 0 28px;
  }

  .float-card.left, .float-card.right { position: static; width: auto; animation: none; }

  .rows li { grid-template-columns: 36px 1fr; }
  .rows p { grid-column: 2; }

  .cta { padding: 32px 22px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .wrap { width: min(1120px, calc(100% - 28px)); }
  h1 { font-size: 38px; }
  .phone { width: 230px; height: 460px; }
}
