/* Fabrik Digital · web
   Colores: paleta de herramientas (marca/paleta-herramientas.css). Tipos: Montserrat (titulares), DM Sans (texto), JetBrains Mono (detalles técnicos).
   Estructura: portada oscura con red animada; secciones claras con encabezado centrado; bandas oscuras para método y fundadores. */
:root {
  --fd-grafito: #23263A; --fd-violeta: #6A4BEE; --fd-violeta-marca: #7B5CFA; --fd-verde: #3DDC97;
  --fd-lavanda: #EEEAFE; --fd-lila: #B9A8FF; --fd-menta: #DDF7EA; --fd-niebla: #F5F4FA;
  --night: #0E0F17; --night-2: #171928; --night-line: rgba(185, 168, 255, .16); --night-text: #C9CADB;
  --bg: #FFFFFF; --bg-alt: var(--fd-niebla); --surface: #FFFFFF; --ink: #15172A; --muted: #5B5E70; --line: #E3E1EE;
  --accent: var(--fd-violeta); --accent-ink: #FFFFFF; --accent-soft: var(--fd-lavanda);
  --ok: #1E8A5E;
  --f-display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --f-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --radius: 16px;
  --shadow: 0 18px 40px -26px rgba(21, 23, 42, .45);
}
@media (prefers-color-scheme: dark) {
  :root {
    --fd-violeta: #A28CFF; --fd-lavanda: #2A2550; --fd-lila: #6F5FC0; --fd-menta: #1C3A2E; --fd-niebla: #161721;
    --bg: #111219; --bg-alt: #161721; --surface: #1D1F2C; --ink: #ECECF4; --muted: #A4A6BA; --line: #2B2E3E;
    --accent-ink: #15172A; --ok: #5FD19B;
    --shadow: 0 18px 40px -26px rgba(0, 0, 0, .8);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 17px; line-height: 1.6; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.12; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(36px, 5.6vw, 64px); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(28px, 3.8vw, 44px); font-weight: 800; letter-spacing: -.02em; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--fd-lila); outline-offset: 3px; border-radius: 6px; }
.container { max-width: 1160px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }

.eyebrow { font-family: var(--f-mono); font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--fd-verde); box-shadow: 0 0 0 0 rgba(61, 220, 151, .6); margin-right: 10px; vertical-align: middle; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 600; font-size: 16px; padding: 13px 24px; border-radius: 12px; border: 2px solid var(--accent); cursor: pointer; font-family: var(--f-body); transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-small { padding: 8px 16px; font-size: 14.5px; border-radius: 10px; }
.btn-glow { background: #7B5CFA; border-color: #7B5CFA; color: #FFFFFF; box-shadow: 0 0 0 0 rgba(123, 92, 250, .0), 0 10px 30px -10px rgba(123, 92, 250, .7); }
.btn-glow:hover { box-shadow: 0 0 0 6px rgba(123, 92, 250, .18), 0 14px 34px -10px rgba(123, 92, 250, .8); }
.btn-line { background: rgba(255, 255, 255, .04); color: #FFFFFF; border-color: rgba(255, 255, 255, .22); }
.btn-line:hover { border-color: var(--fd-verde); }
.link { color: var(--accent); font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; }

/* Cabecera: transparente sobre la portada, sólida al bajar */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 20; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo { display: block; position: relative; }
.logo img { display: block; width: 150px; height: auto; transition: opacity .3s; }
.logo .logo-color { position: absolute; inset: 0; opacity: 0; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav a:not(.btn) { text-decoration: none; color: rgba(255, 255, 255, .78); font-weight: 500; transition: color .2s; }
.nav a:not(.btn):hover { color: #FFFFFF; }
.site-header.scrolled { background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(12px); border-bottom-color: var(--line); }
.site-header.scrolled .nav a:not(.btn) { color: var(--muted); }
.site-header.scrolled .nav a:not(.btn):hover { color: var(--ink); }
.site-header.scrolled .menu-btn { color: var(--ink); border-color: var(--line); }
@media (prefers-color-scheme: light) {
  .site-header.scrolled .logo-color { opacity: 1; }
  .site-header.scrolled .logo-neg { opacity: 0; }
}
.menu-btn { display: none; background: none; border: 1px solid rgba(255, 255, 255, .3); color: #FFFFFF; border-radius: 10px; padding: 7px 14px; font-size: 14px; cursor: pointer; }
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--night-2); border-bottom: 1px solid var(--night-line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 18px; }
  .nav.open { display: flex; }
  .nav a:not(.btn), .site-header.scrolled .nav a:not(.btn) { padding: 13px 0; border-bottom: 1px solid var(--night-line); color: #FFFFFF; }
  .nav .btn { margin-top: 14px; }
}

/* Portada */
.hero { position: relative; background: var(--night); color: #FFFFFF; overflow: hidden; min-height: min(100svh, 860px); display: grid; align-items: center; padding-block: 120px 96px; isolation: isolate; }
.hero-net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(600px 400px at 78% 40%, rgba(123, 92, 250, .28), transparent 70%), radial-gradient(500px 360px at 15% 85%, rgba(61, 220, 151, .12), transparent 70%), linear-gradient(180deg, transparent 70%, var(--night) 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; align-items: center; }
.hero-copy { display: grid; gap: 26px; }
.kicker { font-family: var(--f-mono); font-size: 13.5px; color: var(--fd-verde); letter-spacing: .04em; }
.rotator { white-space: nowrap; background: linear-gradient(90deg, #B9A8FF, #7B5CFA 45%, #3DDC97); -webkit-background-clip: text; background-clip: text; color: transparent; }
.caret { display: inline-block; width: .08em; height: .9em; margin-left: .04em; background: #3DDC97; vertical-align: -0.08em; }
.lead { font-size: clamp(18px, 1.7vw, 21px); color: var(--night-text); max-width: 46ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual { position: relative; display: grid; justify-items: center; gap: 0; }
.hero-symbol { width: min(100%, 340px); height: auto; filter: drop-shadow(0 0 40px rgba(123, 92, 250, .35)); }
.feed { width: min(100%, 360px); margin-top: -18px; background: rgba(23, 25, 40, .72); backdrop-filter: blur(10px); border: 1px solid var(--night-line); border-radius: 18px; padding: 16px 16px 8px; }
.feed-title { font-family: var(--f-mono); font-size: 12px; color: #9C9EB3; margin-bottom: 10px; }
.feed ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; height: 252px; overflow: hidden; align-content: start; }
.feed li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 12px; align-items: center; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .06); border-radius: 12px; padding: 10px 12px; font-size: 14px; line-height: 1.3; }
.feed li .dot { width: 10px; height: 10px; border-radius: 50%; background: #3DDC97; }
.feed li .dot.v { background: #7B5CFA; }
.feed li b { display: block; font-weight: 600; color: #FFFFFF; }
.feed li small { color: #9C9EB3; font-size: 12.5px; }
.feed li time { font-family: var(--f-mono); font-size: 11px; color: #7E8098; }

.scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .3); border-radius: 14px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #FFFFFF; }

@media (max-width: 900px) {
  .hero { min-height: 0; padding-block: 112px 88px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .hero-symbol { width: min(70%, 260px); }
  .scroll-hint { display: none; }
}

/* Secciones */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section.alt { background: var(--bg-alt); }
.section.dark { background: var(--night); color: #FFFFFF; }
.section.dark .section-head p:not(.eyebrow) { color: var(--night-text); }
.section.dark .eyebrow { color: var(--fd-verde); }
.section-head { display: grid; gap: 12px; max-width: 720px; margin: 0 auto 48px; text-align: center; justify-items: center; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 18px; }

/* Tarjetas que giran */
.flips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; perspective: 1200px; }
@media (max-width: 860px) { .flips { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .flips { grid-template-columns: minmax(0, 1fr); } }
.flip { position: relative; height: 128px; border: 0; padding: 0; background: none; cursor: pointer; transform-style: preserve-3d; transition: transform .6s cubic-bezier(.2, .8, .2, 1); text-align: center; }
.flip .front, .flip .back { position: absolute; inset: 0; display: grid; place-content: center; padding: 18px 22px; border-radius: var(--radius); backface-visibility: hidden; -webkit-backface-visibility: hidden; font-weight: 600; font-size: 17px; line-height: 1.35; }
.flip .front { background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.flip .front::after { content: "↻"; position: absolute; right: 14px; bottom: 10px; font-size: 14px; color: var(--muted); }
.flip .back { background: linear-gradient(135deg, var(--fd-grafito), #3A2F8F); color: #FFFFFF; transform: rotateY(180deg); font-family: var(--f-display); font-size: 19px; }
.flip .back small { display: block; font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; color: var(--fd-verde); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.flip:hover .front { border-color: var(--fd-lila); }
.flip.flipped, .js .flip.in.flipped { transform: rotateY(180deg); }

/* Paso a paso */
.stepper { max-width: 860px; margin: 0 auto; display: grid; gap: 28px; position: relative; }
.step-line { position: absolute; left: 10%; right: 10%; top: 22px; height: 2px; background: var(--night-line); }
.step-line span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #7B5CFA, #3DDC97); transition: width .6s ease; }
.step-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; position: relative; }
.step-tabs button { background: none; border: 0; cursor: pointer; display: grid; justify-items: center; gap: 10px; color: #9C9EB3; font-weight: 600; font-size: 15px; padding: 0; }
.step-tabs i { font-style: normal; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-mono); font-size: 15px; background: var(--night-2); border: 2px solid var(--night-line); color: #C9CADB; transition: all .3s; }
.step-tabs button.done i { border-color: #7B5CFA; color: #FFFFFF; }
.step-tabs button[aria-selected="true"] { color: #FFFFFF; }
.step-tabs button[aria-selected="true"] i { background: #7B5CFA; border-color: #7B5CFA; color: #FFFFFF; box-shadow: 0 0 0 6px rgba(123, 92, 250, .2); }
.step-panel { text-align: center; min-height: 104px; display: grid; gap: 8px; align-content: start; }
.step-big { font-family: var(--f-display); font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; }
.step-small { color: var(--night-text); }
@media (max-width: 560px) { .step-tabs button { font-size: 12px; } .step-tabs i { width: 38px; height: 38px; } .step-line { top: 18px; } }

/* Herramientas desplegables */
.tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
@media (max-width: 960px) { .tools { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .tools { grid-template-columns: minmax(0, 1fr); } }
.tool { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .2s, box-shadow .2s; }
.tool:hover, .tool[open] { border-color: var(--fd-lila); box-shadow: var(--shadow); }
.tool summary { list-style: none; cursor: pointer; padding: 22px 56px 22px 22px; display: grid; gap: 6px; position: relative; }
.tool summary::-webkit-details-marker { display: none; }
.tool summary b { font-family: var(--f-display); font-size: 19px; }
.tagline { color: var(--muted); font-size: 15.5px; }
.plus { position: absolute; right: 20px; top: 24px; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft); }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; margin: -1px 0 0 -5.5px; background: var(--accent); transition: transform .3s; }
.plus::after { transform: rotate(90deg); }
.tool[open] .plus::after { transform: rotate(0deg); }
.tool-body { padding: 0 22px 22px; display: grid; gap: 10px; }
.tool-body p { color: var(--muted); font-size: 15.5px; }
.plan-tag { justify-self: start; font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; padding: 3px 10px; border-radius: 999px; background: var(--fd-menta); color: var(--ok); }
.plan-tag.pro { background: var(--accent-soft); color: var(--accent); }
.plan-tag.full { background: var(--fd-grafito); color: #FFFFFF; }

/* Planes */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
@media (max-width: 900px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 460px; margin: 0 auto; } }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 30px 26px; display: grid; gap: 14px; grid-template-rows: auto auto auto auto 1fr auto; text-align: center; justify-items: center; }
.plan.featured { border: 2px solid var(--accent); box-shadow: 0 24px 50px -28px rgba(106, 75, 238, .6); }
.badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--accent); color: var(--accent-ink); font-size: 12.5px; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.price { font-size: 16px; color: var(--muted); }
.price b { font-family: var(--f-display); font-size: 54px; font-weight: 800; color: var(--ink); letter-spacing: -.03em; margin-right: 4px; }
.plan-desc { color: var(--muted); font-size: 16px; }
.price .from { font-size: 15px; margin-right: 2px; }
.plan-web { justify-self: stretch; display: flex; align-items: center; gap: 12px; text-align: left; padding: 12px 14px; border-radius: 14px; background: var(--fd-lavanda); border: 1px solid var(--fd-lila); }
.plan-web b { display: block; font-size: 15.5px; color: var(--ink); }
.plan-web small { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.web-ico { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M3.5 12h17M12 3.5c2.4 2.6 2.4 14.4 0 17M12 3.5c-2.4 2.6-2.4 14.4 0 17'/%3E%3C/svg%3E") center / 22px no-repeat; }
.plan.featured .plan-web { background: #6A4BEE; border-color: #6A4BEE; }
.plan.featured .plan-web b, .plan.featured .plan-web small { color: #FFFFFF; }
.plan.featured .plan-web small { opacity: .85; }
.plan.featured .web-ico { background-color: rgba(255, 255, 255, .18); }
.plan ul.perks { list-style: none; margin: 4px 0 6px; padding: 0; display: grid; gap: 10px; font-size: 15px; text-align: left; justify-self: stretch; align-content: start; }
.perks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; line-height: 1.4; }
.perks li::before { content: ""; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: var(--fd-menta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231E8A5E' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.5'/%3E%3C/svg%3E") center / 20px no-repeat; }
.perks li.perks-from { display: block; font-weight: 600; color: var(--accent); font-size: 14px; }
.perks li.perks-from::before { display: none; }
.plan .btn { width: 100%; }
.terms { max-width: 520px; margin: 32px auto 0; text-align: center; color: var(--muted); font-size: 15px; }
.terms summary { cursor: pointer; font-weight: 600; color: var(--accent); list-style: none; }
.terms summary::-webkit-details-marker { display: none; }
.terms summary::after { content: " +"; }
.terms[open] summary::after { content: " −"; }
.terms ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 4px; }

/* Demos */
.demos { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; max-width: 1120px; margin: 0 auto; }
.demos > .demo { flex: 0 1 calc((100% - 40px) / 3); min-width: 0; }
.demos > .demo.extra { display: none; }
.demos.open > .demo.extra { display: grid; }
.demo-desc { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.tools-label { text-align: center; font-family: var(--f-mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 16px; }
.tools-more { display: flex; justify-content: center; margin-top: 26px; }
.calc-link.center { text-align: center; margin-top: 16px; }
@media (max-width: 980px) { .demos { max-width: 520px; } .demos > .demo { flex-basis: 100%; } }
.demo .plan-tag { justify-self: center; }
.demo-visual.flow { align-items: center; gap: 6px; }
.step-chip { border: 1.5px solid var(--line); background: var(--surface); border-radius: 8px; padding: 5px 9px; font-size: 13.5px; }
.step-chip.ok { background: var(--fd-menta); border-color: var(--fd-menta); color: var(--ok); font-weight: 600; }
.demo-visual.flow .arrow { color: var(--fd-verde, #3DDC97); font-weight: 700; }
.demo-visual.flow .bubble { flex-basis: 100%; max-width: 85%; margin-top: 8px; }
.demo-visual.mini-web { flex-direction: column; flex-wrap: nowrap; gap: 0; padding: 14px; }
.mw-bar { display: flex; align-items: center; gap: 4px; background: var(--surface); border-radius: 8px 8px 0 0; padding: 6px 8px; border: 1px solid var(--line); border-bottom: 0; font-size: 11px; color: var(--muted); }
.mw-bar i { width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
.mw-bar span { margin-left: 6px; }
.mw-hero { display: grid; gap: 3px; background: linear-gradient(160deg, #EAF1FE, var(--surface) 70%); border: 1px solid var(--line); border-radius: 0 0 8px 8px; padding: 12px; }
.mw-hero b { font-family: var(--f-display); font-size: 16px; }
.mw-hero span { font-size: 12.5px; color: var(--muted); }
.mw-hero em { font-style: normal; justify-self: start; margin-top: 4px; background: #2F6FED; color: #FFFFFF; border-radius: 999px; padding: 3px 12px; font-size: 12px; font-weight: 600; }
.mw-swatches { display: flex; gap: 6px; margin-top: 10px; justify-content: center; }
.mw-swatches i { width: 16px; height: 16px; border-radius: 50%; }
.demo-visual.calc-mini { flex-direction: column; flex-wrap: nowrap; justify-content: center; gap: 6px; background: var(--fd-grafito, #23263A); color: #FFFFFF; }
.cm-kicker { font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: #B9BBD0; }
.cm-big { font-family: var(--f-display); font-size: 40px; font-weight: 800; line-height: 1; }
.cm-big small { font-size: 15px; color: #B9BBD0; font-weight: 700; }
.cm-bar { height: 7px; border-radius: 999px; background: rgba(255,255,255,.12); overflow: hidden; }
.cm-bar i { display: block; height: 100%; border-radius: 999px; background: #8F7BFF; }
.cm-bar.top i { background: #3DDC97; }
.calc-link { margin-top: 6px; font-size: 15px; }
.calc-link a { color: var(--accent); font-weight: 600; }
.demo-visual.doc-mini { align-content: center; }
.stars-mini { color: #F2A900; letter-spacing: 2px; }
.demo-visual.steps-mini { align-content: center; gap: 6px; }
.sm-step { font-size: 12.5px; border-radius: 999px; padding: 4px 10px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.sm-step.ok { background: var(--fd-menta); border-color: var(--fd-menta); color: var(--ok); font-weight: 600; }
.sm-step.now { border-color: var(--accent); color: var(--accent); font-weight: 600; }
.sm-sign { flex-basis: 100%; margin-top: 8px; background: var(--surface); border-radius: 8px; border: 1px solid var(--line); padding: 10px 14px; font-family: "Segoe Script", "Brush Script MT", cursive; font-size: 22px; color: var(--ink); text-align: center; }
.demo-visual.stock-mini { flex-direction: column; flex-wrap: nowrap; gap: 8px; justify-content: center; }
.sk { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 10px; align-items: center; font-size: 12.5px; color: var(--muted); }
.sk i { height: 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; display: block; }
.sk b { display: block; height: 100%; background: var(--ok); border-radius: 999px; }
.sk b.low { background: #C98A12; }
.sk-alert { font-size: 12.5px; background: var(--surface); border-left: 3px solid #C98A12; border-radius: 6px; padding: 6px 10px; color: var(--ink); }
.demo-visual.shift-mini { display: grid; grid-template-columns: 52px repeat(5, minmax(0, 1fr)); gap: 5px; align-content: center; font-size: 11.5px; }
.shift-mini .d { text-align: center; color: var(--muted); font-weight: 600; }
.shift-mini .n { color: var(--muted); align-self: center; }
.shift-mini i { height: 20px; border-radius: 5px; border: 1px dashed var(--line); background: var(--surface); }
.shift-mini i.m { background: #FFF1D6; border: 0; }
.shift-mini i.t { background: #E4EEFF; border: 0; }
.dm-sheet { background: var(--surface); border-radius: 6px; padding: 12px 14px; width: 100%; max-width: 260px; display: grid; gap: 5px; box-shadow: 0 8px 18px -12px rgba(21, 23, 42, .35); border-top: 3px solid #E0632B; }
.dm-sheet b { font-family: var(--f-display); font-size: 14px; }
.dm-row { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.dm-row span:last-child { background: #FDEEE6; color: #8A3A12; border-radius: 3px; padding: 0 4px; }
.dm-row.total { border: 0; color: var(--ink); font-weight: 700; }
.demo-visual.kpi-mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-content: start; }
.km { background: var(--surface); border-radius: 8px; padding: 6px 8px; display: grid; }
.km small { font-size: 11px; color: var(--muted); }
.km b { font-family: var(--f-display); font-size: 17px; }
.km.ok b { color: var(--ok); }
.km.warn b { color: #9A6A12; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .km.warn b { color: #E8B860; } }
:root[data-theme="dark"] .km.warn b { color: #E8B860; }
.km-bars { grid-column: 1 / -1; display: flex; align-items: flex-end; gap: 10px; height: 64px; padding: 0 8px; }
.km-bars i { flex: 1; border-radius: 4px 4px 0 0; background: var(--fd-lila); opacity: .6; }
.km-bars i.on { background: var(--accent); opacity: 1; }
.demo { display: grid; gap: 10px; text-decoration: none; border: 1px solid var(--line); border-radius: 20px; padding: 22px; background: var(--surface); transition: border-color .2s, transform .2s, box-shadow .2s; text-align: center; }
.demo:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow); }
.demo-visual { border-radius: 14px; background: var(--bg-alt); padding: 20px; height: 168px; overflow: hidden; margin-bottom: 6px; display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; justify-content: center; text-align: left; }
.slot { border: 1.5px solid var(--line); background: var(--surface); border-radius: 8px; padding: 6px 12px; font-size: 14px; font-variant-numeric: tabular-nums; }
.slot.taken { text-decoration: line-through; color: var(--muted); }
.slot.pick { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.bubble { background: var(--surface); border-radius: 10px; padding: 8px 12px; font-size: 14px; max-width: 85%; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.bubble.me { background: var(--fd-menta); margin-left: auto; }
.demo-visual.chat { flex-direction: column; flex-wrap: nowrap; justify-content: flex-start; }
.demo-visual.agenda .bubble { flex-basis: 100%; max-width: 80%; margin-top: 8px; }

/* Fundadores */
.founders { position: relative; overflow: hidden; }
.founders::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 300px at 50% 0%, rgba(123, 92, 250, .3), transparent 70%); pointer-events: none; }
.founders-inner { position: relative; display: grid; gap: 16px; justify-items: center; text-align: center; }
.founders-inner p:not(.eyebrow) { color: var(--night-text); font-size: 18px; }
.seats { display: flex; gap: 12px; margin: 6px 0 10px; }
.seats i { width: 18px; height: 18px; border-radius: 50%; background: var(--fd-verde); box-shadow: 0 0 16px rgba(61, 220, 151, .6); }

/* Contacto */
.contact-form { max-width: 640px; margin: 0 auto; display: grid; gap: 14px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.contact-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .contact-form .row2 { grid-template-columns: 1fr; } }
.contact-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.contact-form input, .contact-form textarea { font: inherit; font-size: 16px; font-weight: 400; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 13px; width: 100%; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent); outline: none; }
.contact-form .btn { justify-self: center; min-width: 200px; }
.form-status { font-size: 14px; color: var(--muted); min-height: 1.4em; text-align: center; }
.contact-line { text-align: center; font-size: 15px; color: var(--muted); }
.select { user-select: all; color: var(--ink); font-weight: 600; }

.site-footer { background: var(--night); color: #C9CADB; padding-block: 40px; border-top: 1px solid var(--night-line); }
.footer-row { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; font-size: 14.5px; }
.footer-row img { width: 140px; }
.copy { color: #8E90A6; }

/* Animaciones */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
  .js [data-reveal].in { opacity: 1; transform: none; }
  .js .flips [data-reveal]:nth-child(2), .js .tools [data-reveal]:nth-child(2), .js .plans [data-reveal]:nth-child(2) { transition-delay: .08s; }
  .js .flips [data-reveal]:nth-child(3), .js .tools [data-reveal]:nth-child(3), .js .plans [data-reveal]:nth-child(3) { transition-delay: .16s; }
  .js .flips [data-reveal]:nth-child(5), .js .tools [data-reveal]:nth-child(5) { transition-delay: .08s; }
  .js .flips [data-reveal]:nth-child(6), .js .tools [data-reveal]:nth-child(6) { transition-delay: .16s; }
  .js .flip.in { transition: opacity .7s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }

  .hero-copy > * { animation: rise .9s cubic-bezier(.2, .8, .2, 1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .1s; } .hero-copy > :nth-child(3) { animation-delay: .25s; }
  .hero-copy > :nth-child(4) { animation-delay: .4s; } .hero-copy > :nth-child(5) { animation-delay: .55s; }
  @keyframes rise { from { opacity: 0; transform: translateY(24px); } }

  .hero-symbol .draw { stroke-dasharray: 101; stroke-dashoffset: 101; animation: draw 1.4s cubic-bezier(.6, 0, .2, 1) forwards; }
  .hero-symbol .d1 { animation-delay: .3s; } .hero-symbol .d2 { animation-delay: .6s; } .hero-symbol .d3 { animation-delay: .9s; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  .hero-symbol .nodes { opacity: 0; animation: fade .6s 1.6s forwards; }
  .hero-symbol .link-dot { transform-box: fill-box; transform-origin: center; animation: fade .3s 1.9s both, pulse 2.4s 2.2s ease-in-out infinite; }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
  @keyframes pulse { 50% { transform: scale(1.7); } }
  .feed { animation: rise 1s .8s cubic-bezier(.2, .8, .2, 1) both; }
  .feed li { animation: slide .5s cubic-bezier(.2, .8, .2, 1) both; }
  @keyframes slide { from { opacity: 0; transform: translateY(-14px) scale(.98); } }
  .live-dot { animation: ping 2s infinite; }
  @keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(61, 220, 151, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0); } }
  .caret { animation: blink 1s steps(1) infinite; }
  @keyframes blink { 50% { opacity: 0; } }
  .scroll-hint span { animation: wheel 1.8s ease-in-out infinite; }
  @keyframes wheel { 0% { opacity: 1; transform: none; } 80% { opacity: 0; transform: translateY(12px); } 100% { opacity: 0; } }
  .seats i { animation: glow 2.4s ease-in-out infinite; }
  .seats i:nth-child(2) { animation-delay: .2s; } .seats i:nth-child(3) { animation-delay: .4s; } .seats i:nth-child(4) { animation-delay: .6s; } .seats i:nth-child(5) { animation-delay: .8s; }
  @keyframes glow { 50% { transform: scale(1.25); box-shadow: 0 0 26px rgba(61, 220, 151, .9); } }
}
@media (prefers-reduced-motion: reduce) {
  .flip { transition: none; }
}
