/* BINAH, web pública v3. Colores y letra del manual de marca (binah-manual-marca.pdf, p. 6 y 7):
   Navy #0B1120, Índigo #4F46E5, Violeta IA #8B5CF6, Cian #06B6D4 / #22D3EE, Claro #F4F6FB, Space Grotesk.
   El degradado de 135° violeta→cian va en acentos; los botones llevan índigo→azul→cian oscuro para que el
   texto blanco se lea (4,5:1 o más en todo el barrido). */
:root {
  --navy: #0B1120; --navy-2: #0f1730; --navy-3: #16203f;
  --ink: #0B1120; --text: #334155; --muted: #5b6578; --line: #e2e8f0;
  --light: #F4F6FB; --white: #fff;
  --indigo: #4F46E5; --indigo-d: #4338CA; --violet: #8B5CF6; --cyan: #06B6D4; --cyan-l: #22D3EE; --ok: #34D399;
  --grad: linear-gradient(135deg, #8B5CF6 0%, #4F46E5 48%, #06B6D4 100%);
  --grad-btn: linear-gradient(135deg, #4F46E5 0%, #2563EB 55%, #0E7490 100%);
  --grad-text-dark: linear-gradient(100deg, #a78bfa 0%, #818cf8 35%, #22d3ee 70%, #a78bfa 100%);
  --grad-text-light: linear-gradient(100deg, #6d28d9 0%, #4f46e5 35%, #0e7490 70%, #6d28d9 100%);
  --r-sm: 10px; --r: 16px; --r-lg: 24px;
  --shadow: 0 1px 2px rgba(11, 17, 32, .06), 0 14px 34px -14px rgba(11, 17, 32, .22);
  --shadow-lg: 0 34px 80px -32px rgba(11, 17, 32, .55);
  --font: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; font: 400 17px/1.6 var(--font); color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font); color: var(--ink); margin: 0; letter-spacing: -.025em; line-height: 1.08; font-weight: 600; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 12px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { left: 16px; }
:focus-visible { outline: 3px solid var(--cyan-l); outline-offset: 3px; border-radius: 8px; }
.i { width: 20px; height: 20px; flex: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 600 16px/1 var(--font); border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, border-color .2s, background-position .5s var(--ease); }
.btn .i { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .i { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn--grad { background: var(--grad-btn); background-size: 180% 100%; color: #fff; box-shadow: 0 12px 30px -12px rgba(79, 70, 229, .8); }
.btn--grad:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 18px 38px -12px rgba(6, 182, 212, .65); }
.btn--ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .22); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .45); transform: translateY(-2px); }
.btn--line { background: #fff; color: var(--ink); border-color: #cbd5e1; }
.btn--line:hover { border-color: var(--indigo); color: var(--indigo-d); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn--block { width: 100%; }

/* ---------- pills, gradient words ---------- */
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 14px; border-radius: 999px; font: 500 14px/1.2 var(--font);
  background: rgba(79, 70, 229, .08); color: var(--indigo-d); border: 1px solid rgba(79, 70, 229, .2); }
.dark .pill { background: rgba(255, 255, 255, .06); color: #c7d2fe; border-color: rgba(255, 255, 255, .16); }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); } 70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.grad { background-image: var(--grad-text-light); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; animation: shine 9s ease-in-out infinite alternate; }
.dark .grad { background-image: var(--grad-text-dark); }
@keyframes shine { from { background-position: 0 0; } to { background-position: 100% 0; } }

/* ---------- sections ---------- */
.sec { padding: 120px 0; position: relative; }
.sec--light { background: var(--light); }
.sec--tight { padding: 56px 0; }
.dark { background: var(--navy); color: #cbd5e1; }
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }
.head { max-width: 780px; margin: 0 auto 60px; text-align: center; display: grid; gap: 18px; justify-items: center; }
.head--left { margin-left: 0; text-align: left; justify-items: start; }
.h2 { font-size: clamp(32px, 4.3vw, 54px); }
.lead { font-size: clamp(17px, 1.35vw, 20px); color: var(--muted); line-height: 1.55; }
.dark .lead { color: #a3adc2; }
.glow-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.glow-bg::before, .glow-bg::after { content: ""; position: absolute; width: 640px; height: 640px; border-radius: 50%; filter: blur(80px); opacity: .5; }
.glow-bg::before { background: #4F46E5; top: -220px; left: -160px; }
.glow-bg::after { background: #06B6D4; bottom: -260px; right: -180px; opacity: .35; }
.sec > .wrap { position: relative; z-index: 1; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 60; background: rgba(11, 17, 32, .78); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .08); transition: background-color .3s; }
.nav.is-scrolled { background: rgba(11, 17, 32, .94); }
.nav__bar { height: 76px; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; font: 600 23px/1 var(--font); letter-spacing: -.02em; }
.logo img { width: 32px; height: 32px; }
.nav__links { display: flex; gap: 26px; margin-left: 10px; }
.nav__links a { position: relative; color: #cbd5e1; font: 500 15px/1 var(--font); padding: 10px 0; transition: color .2s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.nav__toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .2); background: transparent; color: #fff; cursor: pointer; place-items: center; }
.nav__toggle .i { width: 22px; height: 22px; }
.nav__panel { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--navy); border-bottom: 1px solid rgba(255, 255, 255, .1); padding: 12px 24px 24px; }
.nav__panel a:not(.btn) { display: block; padding: 15px 2px; color: #e2e8f0; font-weight: 500; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.nav__panel .btn { margin-top: 18px; }
@media (max-width: 1040px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-grid; }
  .nav.is-open .nav__panel { display: block; }
}
@media (max-width: 620px) { .nav__cta .btn { display: none; } .nav__toggle { margin-left: auto; } .nav__cta { margin-left: auto; } }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: #cbd5e1; padding: 92px 0 0; }
.hero__glow { position: absolute; inset: -10% -10% auto; height: 1000px; z-index: -2; pointer-events: none;
  background: radial-gradient(620px 420px at 80% 8%, rgba(139, 92, 246, .38), transparent 70%),
              radial-gradient(560px 420px at 14% 26%, rgba(6, 182, 212, .26), transparent 70%),
              radial-gradient(900px 560px at 50% 105%, rgba(79, 70, 229, .45), transparent 70%);
  animation: drift 16s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate3d(0, -36px, 0) scale(1.06); } }
.hero__grid { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 25%, transparent 75%); mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 25%, transparent 75%); }
.hero__inner { text-align: center; display: grid; justify-items: center; gap: 26px; }
.hero h1 { font-size: clamp(40px, 6.4vw, 84px); max-width: 17ch; line-height: 1.02; letter-spacing: -.04em; }
.hero .lead { max-width: 660px; color: #a3adc2; }
.hero__btns { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; color: #cbd5e1; font: 500 15px/1.3 var(--font); }
.facts li { display: flex; gap: 8px; align-items: center; }
.facts .i { color: var(--cyan-l); width: 18px; height: 18px; }
.show { position: relative; width: min(100% - 48px, 1120px); margin: 72px auto 0; }
.show__frame { position: relative; border-radius: 20px 20px 0 0; background: #111a30; border: 1px solid rgba(255, 255, 255, .14); border-bottom: 0; padding: 0 12px;
  box-shadow: 0 -30px 120px -30px rgba(99, 102, 241, .7); }
.show__bar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 6px; }
.show__bar span { width: 11px; height: 11px; border-radius: 50%; background: #334155; }
.show__bar em { margin-left: 14px; font: 500 13px/1 var(--font); font-style: normal; color: #7c879d; }
.show__frame > img { border-radius: 10px 10px 0 0; width: 100%; }
.float { position: absolute; z-index: 2; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); animation: float 7s ease-in-out infinite; }
.float--a { left: -56px; bottom: 56px; width: 34%; border-radius: 16px; }
.float--b { right: -44px; top: 36px; width: 17%; border-radius: 28px; border: 7px solid #05080f; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-14px); } }
@media (max-width: 1260px) { .float--a { left: -12px; } .float--b { right: -8px; } }
@media (max-width: 720px) { .float--a { width: 46%; bottom: 18px; left: -6px; } .float--b { width: 27%; top: -28px; right: -6px; border-width: 5px; } .show { margin-top: 56px; } }

/* ---------- strip: payment methods marquee + customers ---------- */
.strip { background: #fff; border-bottom: 1px solid var(--line); padding: 30px 0; }
.strip__row { display: flex; align-items: center; gap: 28px; }
.strip__label { flex: none; font: 600 14px/1.3 var(--font); color: var(--ink); }
.marquee { position: relative; overflow: hidden; flex: 1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 14px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--light); border: 1px solid var(--line); font: 500 15px/1 var(--font); color: var(--ink); white-space: nowrap; }
.marquee__track .i { width: 16px; height: 16px; color: var(--indigo); }
@keyframes marquee { to { transform: translateX(-50%); } }
.strip__clients { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; font: 500 15px/1.4 var(--font); color: var(--muted); }
.strip__clients b { color: var(--ink); font-weight: 600; }
@media (max-width: 720px) { .strip__row { flex-direction: column; align-items: flex-start; gap: 14px; } .marquee { width: 100%; } }

/* ---------- pain vs solution ---------- */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vs__card { border-radius: var(--r-lg); padding: 38px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.vs__card h3 { font-size: 24px; display: flex; align-items: center; gap: 12px; }
.vs__card--good { background: var(--navy); color: #cbd5e1; border: 1px solid transparent;
  background-image: linear-gradient(var(--navy), var(--navy)), var(--grad); background-origin: border-box; background-clip: padding-box, border-box;
  box-shadow: 0 34px 70px -34px rgba(79, 70, 229, .7); }
.vs__card--good h3 { color: #fff; }
.vs__list { margin-top: 26px; display: grid; gap: 18px; }
.vs__list li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; line-height: 1.5; }
.ico { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; }
.ico .i { width: 16px; height: 16px; stroke-width: 2.6; }
.ico--x { background: #fee2e2; color: #dc2626; }
.ico--ok { background: rgba(34, 211, 238, .16); color: var(--cyan-l); }
.ico--okl { background: #e0f2fe; color: #0369a1; }
@media (max-width: 880px) { .vs { grid-template-columns: 1fr; } .vs__card { padding: 28px; } }

/* ---------- modules ---------- */
.mods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.mod { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: grid; gap: 12px; align-content: start;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.mod:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #c7d2fe; }
.mod h3 { font-size: 19px; letter-spacing: -.012em; margin-top: 6px; }
.mod p { font-size: 15.5px; color: var(--muted); line-height: 1.5; }
.tile { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--grad); box-shadow: 0 10px 22px -10px rgba(79, 70, 229, .75); transition: transform .3s var(--ease); }
.mod:hover .tile { transform: rotate(-6deg) scale(1.06); }
.tile .i { width: 24px; height: 24px; }
.tile--b { background: linear-gradient(135deg, #2563EB, #06B6D4); }
.tile--c { background: linear-gradient(135deg, #0E7490, #34D399); }
.tile--d { background: linear-gradient(135deg, #8B5CF6, #4F46E5); }
.tag { position: absolute; top: 24px; right: 22px; font: 500 12px/1 var(--font); padding: 7px 10px; border-radius: 999px; background: var(--light); color: var(--indigo-d); border: 1px solid #e0e7ff; }
.tag--r { color: #0e7490; border-color: #cffafe; background: #ecfeff; }
@media (max-width: 1100px) { .mods { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) { .mods { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .mods { gap: 12px; } .mod { padding: 18px 16px; gap: 8px; } .mod h3 { font-size: 16.5px; } .mod p { font-size: 14.5px; } .tag { position: static; justify-self: start; order: -1; } .tile { width: 42px; height: 42px; } }

/* ---------- product tour (tabs) ---------- */
.tour { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 28px; align-items: start; }
.tour__tabs { display: grid; gap: 8px; }
.tour__tab { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 12px 14px; border-radius: 14px; border: 1px solid transparent;
  background: transparent; color: #cbd5e1; font: 500 16px/1.25 var(--font); cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.tour__tab .tile { width: 38px; height: 38px; border-radius: 11px; box-shadow: none; }
.tour__tab .tile .i { width: 19px; height: 19px; }
.tour__tab:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.tour__tab[aria-selected="true"] { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #fff; }
.tour__panel { background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .13); border-radius: var(--r-lg); padding: 30px; }
.tour__panel[hidden] { display: none; }
.tour__panel h3 { font-size: clamp(22px, 2.2vw, 28px); }
.tour__panel p { margin-top: 10px; color: #a3adc2; max-width: 62ch; }
.tour__shot { margin-top: 24px; border-radius: 14px; overflow: hidden; background: #fff; aspect-ratio: 16 / 10; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.tour__shot img { width: 100%; height: 100%; object-fit: cover; object-position: 0 0; }
.tour__shot--contain img { object-fit: contain; object-position: 50% 0; }
.tour__panel.is-in { animation: fadeUp .45s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 960px) {
  .tour { grid-template-columns: minmax(0, 1fr); }
  .tour__tabs { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 6px; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .tour__tabs::-webkit-scrollbar { display: none; }
  .tour__tab { width: auto; flex: none; padding: 10px 14px; }
  .tour__panel { padding: 20px; }
}

/* ---------- feature splits ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 72px; align-items: center; }
.split + .split { margin-top: 140px; }
.split--rev .split__media { order: -1; }
.split__text { display: grid; gap: 20px; justify-items: start; }
.split h2 { font-size: clamp(30px, 3.5vw, 46px); }
.split .lead { color: var(--muted); }
.dark .split .lead, .dark .lead { color: #a3adc2; }
.checks { display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; line-height: 1.5; color: var(--text); }
.dark .checks li { color: #cbd5e1; }
.media { position: relative; border-radius: var(--r-lg); padding: 30px; background: linear-gradient(135deg, #eef2ff 0%, #e0f2fe 55%, #ecfeff 100%); border: 1px solid #e0e7ff; }
.media img { border-radius: 14px; box-shadow: var(--shadow-lg); width: 100%; }
.badge-float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 16px; padding: 12px 16px 12px 12px; box-shadow: var(--shadow);
  font: 600 15px/1.25 var(--font); color: var(--ink); animation: float 7s ease-in-out infinite; }
.badge-float small { display: block; font: 400 13px/1.3 var(--font); color: var(--muted); }
.badge-float .tile { width: 40px; height: 40px; border-radius: 12px; }
.badge-float .tile .i { width: 20px; height: 20px; }
.badge-float--bl { left: -22px; bottom: 36px; }
.badge-float--tr { right: -22px; top: 30px; animation-delay: -3.5s; }
@media (max-width: 960px) {
  .split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .split--rev .split__media { order: 0; }
  .split + .split { margin-top: 96px; }
  .badge-float--bl { left: 10px; bottom: -18px; } .badge-float--tr { right: 10px; top: -18px; }
  .media { padding: 18px; }
}

/* the offline notice (BINAH's own words, from its offline queue) */
.offline { display: grid; gap: 14px; padding: 8px 0; }
.offline__status { justify-self: start; display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 999px; background: #fff7ed; color: #9a3412; border: 1px solid #fed7aa; font: 600 13px/1 var(--font); }
.offline__status .i { width: 15px; height: 15px; }
.note { display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center; background: #fff; border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow); }
.note .tile { width: 40px; height: 40px; border-radius: 12px; }
.note .tile .i { width: 20px; height: 20px; }
.note b { display: block; color: var(--ink); font-weight: 600; font-size: 16px; }
.note span { font-size: 14.5px; color: var(--muted); }
.note time { font: 500 13px/1 var(--font); color: var(--muted); }
.note--warn { border: 1.5px solid #fb923c; background: #fffbf5; }

/* ---------- restaurant: devices ---------- */
.devices { position: relative; aspect-ratio: 16 / 12; }
.laptop { position: absolute; left: 0; top: 4%; width: 78%; }
.laptop__screen { border: 10px solid #1e293b; border-bottom-width: 16px; border-radius: 18px 18px 4px 4px; background: #fff; aspect-ratio: 16 / 10; overflow: hidden; }
.laptop__screen img { width: 100%; }
.laptop__base { height: 14px; margin: 0 -4%; background: linear-gradient(#475569, #1e293b); border-radius: 2px 2px 16px 16px; }
.tablet { position: absolute; right: 13%; bottom: 0; width: 30%; aspect-ratio: 3 / 4; border: 9px solid #1e293b; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); animation: float 8s ease-in-out infinite; }
.tablet img, .phone img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.phone { position: absolute; right: 0; top: 0; width: 20%; aspect-ratio: 9 / 19; border: 7px solid #1e293b; border-radius: 30px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); animation: float 8s ease-in-out infinite; animation-delay: -4s; }

/* ---------- roles ---------- */
.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.role { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.role:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.role__img { aspect-ratio: 16 / 11; overflow: hidden; background: #eef2ff; }
.role__img img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 0 0); transition: transform .6s var(--ease); }
.role:hover .role__img img { transform: scale(1.04); }
.role__body { padding: 22px 24px 26px; display: grid; gap: 8px; }
.role__who { justify-self: start; font: 500 13px/1 var(--font); padding: 7px 11px; border-radius: 999px; background: var(--light); color: var(--indigo-d); }
.role h3 { font-size: 20px; }
.role p { font-size: 15.5px; color: var(--muted); line-height: 1.5; }
@media (max-width: 960px) { .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .roles { grid-template-columns: minmax(0, 1fr); } }

/* ---------- videos ---------- */
.vids { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.vid { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.vid video { width: 100%; aspect-ratio: 16 / 9; background: #05080f; object-fit: contain; }
.vid__body { padding: 20px 22px 24px; display: grid; gap: 6px; }
.vid h3 { font-size: 19px; }
.vid p { font-size: 15px; color: var(--muted); }
@media (max-width: 960px) { .vids { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-inline: auto; } }

/* ---------- clients ---------- */
.clients { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.client { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: grid; grid-template-rows: auto 1fr; box-shadow: var(--shadow); }
.client__body { padding: 30px 30px 24px; display: grid; gap: 12px; }
.client__name { font: 600 22px/1.2 var(--font); color: var(--ink); letter-spacing: -.015em; }
.client__kind { font-size: 15px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chips li { font: 500 13.5px/1 var(--font); padding: 8px 12px; border-radius: 999px; background: var(--light); color: var(--ink); border: 1px solid var(--line); }
.client__img { background: #eef2ff; padding: 22px 22px 0; display: flex; align-items: flex-end; }
.client__img img { border-radius: 12px 12px 0 0; box-shadow: var(--shadow); width: 100%; }
@media (max-width: 880px) { .clients { grid-template-columns: minmax(0, 1fr); } }

/* ---------- pricing ---------- */
.pricing { background: radial-gradient(800px 500px at 10% 0%, rgba(139, 92, 246, .12), transparent 70%), radial-gradient(800px 500px at 100% 100%, rgba(6, 182, 212, .14), transparent 70%), var(--light); }
.seg { display: inline-flex; padding: 5px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); margin: 0 auto 44px; }
.seg__btn { min-height: 44px; padding: 0 22px; border-radius: 999px; border: 0; background: transparent; font: 600 15px/1 var(--font); color: var(--muted); cursor: pointer; transition: background-color .25s, color .25s; }
.seg__btn[aria-selected="true"] { background: var(--navy); color: #fff; }
.seg-wrap { text-align: center; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.plans[hidden] { display: none; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px 30px; display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.plan:hover { transform: translateY(-4px); }
.plan__top { display: flex; align-items: center; gap: 14px; }
.plan h3 { font-size: 24px; }
.plan__for { font-size: 15.5px; color: var(--muted); }
.plan__price { font: 600 30px/1.1 var(--font); color: var(--ink); letter-spacing: -.02em; }
.plan__price small { display: block; margin-top: 6px; font: 400 14px/1.3 var(--font); color: var(--muted); letter-spacing: 0; }
.plan .checks { margin-top: 2px; flex: 1; }
.plan .checks li { font-size: 15.5px; }
.plan--featured { background: var(--navy); color: #cbd5e1; border: 1px solid transparent;
  background-image: linear-gradient(var(--navy), var(--navy)), var(--grad); background-origin: border-box; background-clip: padding-box, border-box;
  box-shadow: 0 40px 80px -36px rgba(79, 70, 229, .8); transform: translateY(-10px); }
.plan--featured:hover { transform: translateY(-14px); }
.plan--featured h3, .plan--featured .plan__price { color: #fff; }
.plan--featured .plan__for, .plan--featured .plan__price small { color: #a3adc2; }
.plan--featured .checks li { color: #e2e8f0; }
.plan__badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 8px 16px; border-radius: 999px; background: var(--grad-btn); color: #fff; font: 600 13px/1 var(--font); box-shadow: 0 10px 24px -10px rgba(79, 70, 229, .9); }
.plan--extras { background: linear-gradient(180deg, #fff, #f8fafc); }
@media (max-width: 1000px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; } .plan--featured { transform: none; } .plan--featured:hover { transform: translateY(-4px); } }

/* ---------- faq ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: #c7d2fe; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 22px 24px; font: 600 18px/1.35 var(--font); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .tile { width: 36px; height: 36px; border-radius: 10px; box-shadow: none; flex: none; }
.faq summary .tile .i { width: 18px; height: 18px; }
.faq summary .plus { margin-left: auto; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--light); color: var(--indigo-d); transition: transform .3s var(--ease); }
.faq summary .plus .i { width: 16px; height: 16px; }
.faq details[open] .plus { transform: rotate(45deg); }
.faq details p { padding: 0 24px 24px 76px; color: var(--text); font-size: 16.5px; }
@media (max-width: 600px) { .faq summary { padding: 18px; font-size: 16.5px; } .faq details p { padding: 0 18px 20px 18px; } .faq summary .tile { display: none; } }

/* ---------- demo ---------- */
.demo { position: relative; overflow: hidden; }
.demo__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.demo__text { display: grid; gap: 22px; justify-items: start; }
.form { background: #fff; border-radius: var(--r-lg); padding: 34px; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .8); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form h3 { grid-column: 1 / -1; font-size: 22px; color: var(--ink); }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font: 600 14px/1.2 var(--font); color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1px solid #cbd5e1; background: #fff; font: 400 16px/1.4 var(--font); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(79, 70, 229, .15); }
.form .btn { grid-column: 1 / -1; margin-top: 6px; }
.form__note { grid-column: 1 / -1; font-size: 14px; color: var(--muted); text-align: center; }
@media (max-width: 960px) { .demo__grid { grid-template-columns: minmax(0, 1fr); gap: 44px; } }
@media (max-width: 520px) { .form { grid-template-columns: minmax(0, 1fr); padding: 24px; } }

/* ---------- footer ---------- */
.foot { background: #060a15; color: #94a3b8; padding: 80px 0 34px; }
.foot__grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.foot__brand p { margin-top: 16px; max-width: 32ch; font-size: 15.5px; }
.foot__brand .motto { margin-top: 18px; font: 600 18px/1.3 var(--font); }
.foot h4 { color: #fff; font-size: 15px; letter-spacing: 0; margin-bottom: 14px; }
.foot li + li { margin-top: 10px; }
.foot a:hover { color: #fff; }
.foot__legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14px; }
.foot__legal a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } }

/* ---------- reveal on scroll (only with script; everything shows without it and under reduced motion) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (max-width: 600px) { .sec { padding: 84px 0; } .head { margin-bottom: 40px; } body { font-size: 16.5px; } }
/* «reducir movimiento» se respeta, salvo que el visitante pulse «Ver con animaciones» (html.mov) */
@media (prefers-reduced-motion: reduce) {
  html:not(.mov) *, html:not(.mov) *::before, html:not(.mov) *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  html.js:not(.mov) [data-reveal] { opacity: 1; transform: none; }
}
.movbtn { position: fixed; left: 16px; bottom: 16px; z-index: 60; display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 20px 0 15px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); background: var(--grad-btn); color: #fff; font: 600 14.5px/1 var(--font); cursor: pointer; box-shadow: 0 18px 40px -14px rgba(11, 17, 32, .7); }
.movbtn .i { width: 17px; height: 17px; }
.movbtn--off { background: #0B1120; height: 40px; font-size: 13px; opacity: .82; }
.movbtn--off:hover { opacity: 1; }

/* ================= v4: demos en vivo, carrusel de opciones, opiniones ================= */
/* hero: la ventana es una demo viva (assets/web/demo.js), no una captura */
.show__frame > .scn { border-radius: 10px 10px 0 0; }
.fcard { display: flex; align-items: center; gap: 14px; width: auto; padding: 14px 22px 14px 14px; border-radius: 18px; color: var(--ink); }
.fcard .tile { width: 44px; height: 44px; border-radius: 13px; }
.fcard b { display: block; font: 600 16px/1.25 var(--font); }
.fcard small { display: block; font: 400 13.5px/1.3 var(--font); color: var(--muted); white-space: nowrap; }
.fcard em { font: 700 18px/1 var(--font); font-style: normal; color: #0A7D4F; margin-left: 8px; white-space: nowrap; }
.float--b { width: 20%; top: 86px; right: clamp(-126px, calc((1120px - 100vw) / 2 + 18px), -8px); background: #F3F5FA; }
/* en el teléfono la ventana es pequeña: las piezas flotantes la taparían */
@media (max-width: 720px) { .float--a, .float--b { display: none; } }

/* carrusel: lo que trae cada módulo */
.strip { padding: 52px 0 40px; overflow: hidden; }
.strip__head { text-align: center; margin-bottom: 28px; }
h2.strip__label { font: 600 clamp(22px, 2.6vw, 32px)/1.15 var(--font); letter-spacing: -.025em; }
.feats { display: grid; gap: 14px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.feats__row { overflow: hidden; padding: 4px 0; }
.feats__track { display: flex; gap: 12px; padding-right: 12px; width: max-content; animation: marquee var(--t, 100s) linear infinite; }
.feats__track--rev { animation-direction: reverse; }
.feats:hover .feats__track { animation-play-state: paused; }
.feat { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px 0 6px; border-radius: 999px; background: var(--light); border: 1px solid var(--line); font: 500 15px/1 var(--font); color: var(--ink); white-space: nowrap; transition: transform .25s var(--ease), border-color .2s, box-shadow .25s var(--ease), background-color .2s; }
.feat:hover { transform: translateY(-3px); background: #fff; border-color: #c7d2fe; box-shadow: var(--shadow); }
.feat b { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px 0 10px; border-radius: 999px; font: 600 13px/1 var(--font); color: #fff; background: var(--grad-btn); }
.feat b .i { width: 15px; height: 15px; }
.feat--b b { background: linear-gradient(135deg, #2563EB, #0891B2); }
.feat--c b { background: linear-gradient(135deg, #0E7490, #047857); }
.feat--d b { background: linear-gradient(135deg, #7C3AED, #4F46E5); }
.logos { margin-top: 38px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 34px; }
.logos p { font: 600 13px/1.3 var(--font); color: var(--muted); text-transform: uppercase; letter-spacing: .09em; }
.logos ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; }
.logos a { display: inline-flex; align-items: center; gap: 10px; font: 600 16px/1.2 var(--font); color: var(--ink); opacity: .82; transition: opacity .2s, transform .25s var(--ease); }
.logos a:hover { opacity: 1; transform: translateY(-2px); }
.sil { display: inline-block; flex: none; width: 40px; height: 40px; background: var(--ink); -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
.sil--casa { -webkit-mask-image: url(../clientes/casa-limpia.png); mask-image: url(../clientes/casa-limpia.png); }
.sil--safed { -webkit-mask-image: url(../clientes/grupo-safed.png); mask-image: url(../clientes/grupo-safed.png); }
.sil--hadera { -webkit-mask-image: url(../clientes/grupo-hadera.png); mask-image: url(../clientes/grupo-hadera.png); }
.sil--hbsd { background: none; display: inline-grid; place-items: center; color: var(--ink); }
.sil--hbsd .i { width: 86%; height: 86%; stroke-width: 1.7; }
@media (max-width: 720px) { .strip { padding: 40px 0 32px; } .feat { height: 42px; font-size: 14px; } .feat b { height: 30px; font-size: 12px; } .logos ul { gap: 12px 20px; } .logos a { font-size: 14.5px; } .sil { width: 32px; height: 32px; } }

/* recorrido en vivo */
.tour__shot--phone { display: grid; place-items: center; background: linear-gradient(135deg, #1e1b4b 0%, #312e81 45%, #0e7490 100%); }
.tour__shot--phone { position: relative; }
.pframe { width: 34%; border: 7px solid #05080f; border-radius: 30px; overflow: hidden; background: #F3F5FA; box-shadow: var(--shadow-lg); }
.badge-float--wl { left: 4%; top: 22%; color: var(--ink); }
.badge-float--wr { right: 4%; bottom: 20%; color: var(--ink); animation-delay: -3.5s; }
@media (max-width: 1180px) { .badge-float--wl, .badge-float--wr { display: none; } }
.tour__note { margin-top: 14px; font-size: 14px; color: #8b96ad; text-align: center; }
@media (max-width: 960px) { .tour__shot--phone { aspect-ratio: auto; padding: 22px 0; } .pframe { width: min(64%, 260px); } }
.media .scn { border-radius: 14px; box-shadow: var(--shadow-lg); }

/* equipos con la demo dentro */
.devices { aspect-ratio: 16 / 12.6; }
.laptop { left: 0; top: 0; width: 82%; }
.laptop__screen { aspect-ratio: auto; }
.tablet { left: -3%; right: auto; bottom: 0; width: 44%; aspect-ratio: auto; border-width: 8px; border-radius: 18px; background: #F3F5FA; }
.phone { right: 0; top: auto; bottom: 2%; width: 21%; aspect-ratio: auto; background: #F3F5FA; }
@media (max-width: 600px) { .devices { aspect-ratio: 16 / 13.4; } .laptop { width: 90%; } .laptop__screen { border-width: 7px 7px 11px; border-radius: 13px 13px 3px 3px; } .tablet { display: none; } .phone { width: 28%; bottom: 0; border-width: 5px; border-radius: 22px; } }

/* equipo: fichas con icono */
.role--ico { padding: 28px; display: grid; gap: 10px; align-content: start; }
.role--ico .tile { margin-bottom: 8px; }
.role--ico:hover .tile { transform: rotate(-6deg) scale(1.06); }

/* clientes: fichas con su experiencia y carrusel de personas */
.aviso-muestra, .muestra { font: 600 12.5px/1.2 var(--font); border-radius: 999px; background: #FEF3C7; color: #92400E; border: 1px solid #FCD34D; }
.aviso-muestra { padding: 9px 16px; }
.muestra { justify-self: start; padding: 6px 10px; font-size: 11.5px; }
.tcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.tcard { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 30px 26px; display: grid; gap: 18px; align-content: start; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .2s; }
.tcard::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--grad); }
.tcard:hover { transform: translateY(-5px); border-color: #c7d2fe; box-shadow: 0 1px 2px rgba(11, 17, 32, .06), 0 24px 46px -18px rgba(79, 70, 229, .35); }
.tcard__top { display: flex; align-items: center; gap: 16px; }
.tcard__logo { flex: none; width: 70px; height: 70px; border-radius: 20px; display: grid; place-items: center; background: var(--grad); box-shadow: 0 12px 26px -12px rgba(79, 70, 229, .8); transition: transform .3s var(--ease); }
.tcard:hover .tcard__logo { transform: rotate(-5deg) scale(1.05); }
.tcard__logo .sil { width: 48px; height: 48px; background-color: #fff; }
.tcard__logo .sil--hbsd { background: none; color: #fff; }
.tcard h3 { font-size: 21px; }
.tcard__kind { font-size: 14.5px; color: var(--muted); margin-top: 4px; }
.tcard blockquote { margin: 0; display: grid; gap: 10px; }
.tcard blockquote .i { width: 28px; height: 28px; color: var(--violet); }
.tcard blockquote p { font: 500 18.5px/1.5 var(--font); color: var(--ink); letter-spacing: -.01em; }
.people { margin-top: 72px; }
.people__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.people__head h3 { font-size: clamp(22px, 2.6vw, 32px); }
.people__nav { display: flex; gap: 10px; flex: none; }
.people__nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid #cbd5e1; background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: transform .25s var(--ease), border-color .2s, color .2s, box-shadow .25s var(--ease); }
.people__nav button:hover { border-color: var(--indigo); color: var(--indigo-d); transform: translateY(-2px); box-shadow: var(--shadow); }
.i--flip { transform: scaleX(-1); }
.people__track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 6px 4px 22px; margin: 0 -4px; }
.people__track::-webkit-scrollbar { display: none; }
.person { flex: 0 0 min(370px, 86%); scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; display: grid; gap: 16px; align-content: start; box-shadow: var(--shadow); transition: transform .3s var(--ease), border-color .2s; }
.person:hover { transform: translateY(-4px); border-color: #c7d2fe; }
.person__top { display: flex; align-items: center; gap: 14px; }
.avatar { flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--grad); box-shadow: 0 10px 22px -12px rgba(79, 70, 229, .8); }
.avatar .i { width: 26px; height: 26px; }
.person b { display: block; font: 600 17px/1.25 var(--font); color: var(--ink); }
.person small { font-size: 14px; color: var(--muted); }
.person p { font-size: 17px; line-height: 1.5; color: var(--ink); }
@media (max-width: 880px) { .tcards { grid-template-columns: minmax(0, 1fr); } .tcard { padding: 28px 22px 22px; } .tcard blockquote p { font-size: 17px; } .people { margin-top: 56px; } }
@media (prefers-reduced-motion: reduce) { html:not(.mov) .feats__row { overflow-x: auto; } }
