/* Fuentes incluidas en la web: sin Google Fonts ni otros servidores de terceros */
@font-face { font-family: "DM Sans"; src: url("fuentes/dm-sans-latin.woff2") format("woff2"); font-weight: 100 1000; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("fuentes/caveat-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

/* AIVI, boceto v7. Interfaz al estilo de la referencia (filas en píldora, etiquetas con borde),
   solo DM Sans y la letra a mano. Colores: verde, blanco, negro y toques de violeta.
   Antes, v6. Sin titulares: cada bloque es un objeto que se explica solo
   (una nota, una aplicación, una libreta, un organigrama, un calendario, un correo).
   Forma: papel 3px, ventanas 12px, todo lo que se pulsa en píldora.
   Color por bandas de marca en lugar de manchas de fondo. */
:root {
  --bg: #FBFCFB;
  --ink: #0A0A0A;
  --muted: #56615C;
  --line: rgba(17,22,20,.1);
  --brand: #2F6B5C;
  --brand-deep: #23544A;
  --brand-soft: #E3EEE9;
  --sage: #A9C7B8;
  --sage-soft: #E6EFEA;
  --violet: #2F6B5C;
  --violet-soft: #E3EEE9;
  --violet-deep: #23544A;
  --black: #0A0A0A;
  --night: #0F1A16;
  --paper: #FDFCF8; --paper-ink: #24302B; --paper-rule: #D5E1EC; --paper-muted: #6B746F; --paper-margin: #E8B9B0;
  --win-shadow: 0 0 0 1px rgba(17,22,20,.08), 0 2px 4px rgba(17,22,20,.06), 0 24px 60px -20px rgba(10,30,24,.45);
  --paper-shadow: 0 1px 1px rgba(17,22,20,.08), 0 14px 30px -14px rgba(10,30,24,.45);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.32, 0.72, 0, 1);
  --f-sans: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { position: relative; margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
a:focus-visible, button:focus-visible, textarea:focus-visible, input:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
h1, h2, h3, p, figure { margin: 0; }
.tag { display: inline-flex; align-items: center; font-size: 10.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; border-radius: 999px; padding: 3px 9px; box-shadow: inset 0 0 0 1px rgba(10,10,10,.18); color: var(--muted); white-space: nowrap; }
.tag.v { background: var(--violet-soft); color: var(--violet-deep); box-shadow: none; }
.tag.g { background: var(--brand-soft); color: var(--brand-deep); box-shadow: none; }
svg.i { width: 1em; height: 1em; display: block; fill: currentColor; flex: none; }
.band { position: relative; isolation: isolate; overflow: hidden; }
.band-in { padding-block: clamp(72px, 10vw, 140px); }
.rv { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }

/* Ventana de aplicación (la usan la herramienta y el calendario) */
/* Ideas de la referencia "Dimension", con nuestros colores: barra flotante oscura, bordes finos en vez de sombras duras,
   y bandeja de cristal esmerilado alrededor de las ventanas cuando están sobre negro */
:root { --graphite: #161616; --bone: #EDEDED; --ash: #C2C2C2; --hair-d: rgba(255,255,255,.14); }
.scene .win, .close .win { box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 0 0 10px rgba(212,212,212,.08), 0 0 0 11px rgba(255,255,255,.07), 0 40px 80px -30px rgba(0,0,0,.8); }
.ghost { display: inline-flex; align-items: center; gap: 7px; font: 500 14px/1 var(--f-sans); letter-spacing: .02em; color: rgba(255,255,255,.85); text-decoration: none; padding: 9px 15px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--hair-d); background: transparent; border: 0; cursor: pointer; transition: background .2s ease, color .2s ease; }
.ghost:hover { background: rgba(255,255,255,.08); color: #fff; }
.win { position: relative; background: #fff; border-radius: 24px; box-shadow: var(--win-shadow); overflow: hidden; min-width: 0; }
.win-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 38px; padding: 0 14px; background: #F6F7F6; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
/* barra propia: título a la izquierda y tres guiones en píldora a la derecha, nada de semáforo */
.win-bar { grid-template-columns: 1fr auto; }
.win-bar .lights { order: 2; display: flex; gap: 5px; }
.lights i { width: 14px; height: 5px; border-radius: 999px; display: block; background: rgba(10,10,10,.14); }
.lights i:first-child { background: var(--brand); }
.win-bar .win-title { order: 1; justify-self: start; }
.win-bar > span:empty:not(.lights) { display: none; }
.win-title { font-weight: 500; color: #3A423E; }
/* Línea cromada en el borde de las bandas oscuras, con un brillo que recorre */
.chrome-edge::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, #8E8E8E 12%, #FFFFFF 26%, #B9A8FF 40%, #9FD4BF 54%, #FFFFFF 68%, #8E8E8E 84%, transparent 100%);
  background-size: 200% 100%; animation: sheen 10s linear infinite; }
@keyframes sheen { to { background-position: -200% 0; } }
/* Cinta cromada: haz de líneas finas que se retuerce despacio */
.ribbon { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; overflow: visible; }
.ribbon path { fill: none; stroke-linecap: round; }
/* Textura: grano de papel en todas las bandas y en los objetos de papel */
:root { --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: var(--grain); background-size: 180px; opacity: var(--grain-o, .07); mix-blend-mode: multiply; }
.scene::after, .close::after { mix-blend-mode: screen; opacity: .09; }
/* Paso entre secciones: no hay borde. El fondo de toda la página cambia de color despacio según la sección que más se ve,
   así una se funde con la siguiente sin degradados. Sin JS, cada banda conserva su color liso. */
html.morph body { transition: background-color 1.1s cubic-bezier(.4,0,.2,1); }
html.morph .band { background-color: transparent !important; }
html.morph .band::before { transition: opacity 1.1s ease; }
html.morph .band:not(.lit)::before { opacity: 0; }
/* Movimiento ligado al scroll: --e va de 1 (entrando) a 0 (en su sitio), --l de 0 a 1 al salir por arriba */
[data-scrub] { --e: 1; --l: 0; }
.prop { position: absolute; pointer-events: none; z-index: 3; filter: drop-shadow(0 14px 10px rgba(0,0,0,.32)); }
.prop svg { display: block; width: 100%; height: auto; }
/* Cinta de texto hueco que pasa despacio detrás del correo */
.marquee { position: absolute; left: 0; right: 0; top: clamp(30px, 5vw, 60px); z-index: -1; pointer-events: none; overflow: hidden; white-space: nowrap; }
.marquee div { display: inline-flex; animation: marq 48s linear infinite; }
.marquee span { font-size: clamp(84px, 15vw, 230px); font-weight: 500; letter-spacing: -0.05em; line-height: 1; color: transparent; -webkit-text-stroke: 1px #3A3D3B; padding-right: .4em; }
@keyframes marq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { transform: none; transition: opacity .4s ease; }
}
/* Estética sobria: un solo acento (verde), esquinas contenidas, bordes finos */
.win { border-radius: 12px; }
.win-bar { background: #F7F7F7; }
.lights i { width: 10px; height: 4px; background: rgba(10,10,10,.12); }
.lights i:first-child { background: rgba(10,10,10,.28); }
.ghost { border-radius: 8px; }
.scene .win, .close .win { box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 30px 70px -30px rgba(0,0,0,.8); }
.band::after { opacity: .045; }



/* barra flotante oscura, separada del borde */
.navbar { position: fixed; top: 16px; left: 50%; translate: -50% var(--ny, 0px); width: min(1160px, calc(100% - 40px)); z-index: 50; margin: 0; display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 20px; border-radius: 19px;
  background: rgba(22,22,22,.92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: inset 0 0 0 1px var(--hair-d), 0 3px 4.5px rgba(255,255,255,.02), 0 10px 8px rgba(0,0,0,.04), 0 4px 3px rgba(0,0,0,.1); }
.navbar .home { margin-right: auto; display: block; }
.navbar .links { display: flex; gap: 6px; }
.navbar .ghost, .navbar .pill { white-space: nowrap; }
.navbar .acc-link svg { font-size: 16px; }
.navbar .logo { height: 20px; width: auto; color: #fff; display: block; }
.pill { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: 15px; font-weight: 500; color: #fff; text-decoration: none; white-space: nowrap; cursor: pointer;
  padding: 10px 18px; border-radius: 999px; border: 0; background: var(--black); transition: background .25s ease, color .25s ease, transform .35s var(--ease-spring); }
.pill:hover { background: var(--brand); }
.navbar .pill { background: #fff; color: var(--graphite); }
.navbar .pill:hover { background: var(--brand); color: #fff; }
.pill:active { transform: scale(.97); }
.hero { background: #fff; }
.hero .wrap { padding-top: 96px; }
.hero-in { position: relative; min-height: min(calc(100svh - 96px), 720px); display: grid; align-items: center; padding-bottom: clamp(56px, 7vw, 110px); }
.hero h1 { position: relative; z-index: 1; font-size: clamp(46px, 8vw, 124px); line-height: 1.2; letter-spacing: -0.035em; font-weight: 500; max-width: 13ch; min-height: 4.8em; }
.hero h1 .lead { display: block; color: var(--black); font-weight: 500; line-height: 1.05; margin-bottom: .1em; }
.hero h1 .typed { color: var(--brand); font-weight: 300; }
.caret { display: inline-block; width: .045em; height: .8em; margin-left: .04em; vertical-align: -0.06em; background: var(--brand); border-radius: 2px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* La parte que cambia va dentro de una píldora verde que se estira con lo que se escribe */
.hero h1 .tw { display: inline; background: var(--brand); color: #fff; border-radius: .1em; padding: 0 .16em .04em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero h1 .tw .typed { color: #fff; font-weight: 400; }
.hero h1 .tw .caret { background: rgba(255,255,255,.85); }
/* al bajar */
.hero[data-scrub] { --e: 0; }
/* sin recuadro: la parte que cambia va en verde, sin fondo */
.hero h1 .tw { background: none; color: var(--brand); padding: 0; border-radius: 0; }
.hero h1 .tw .typed { color: var(--brand); font-weight: 400; }
.hero h1 .tw .caret { background: var(--brand); }
.hero h1 { translate: 0 calc(var(--l) * -140px); opacity: calc(1 - var(--l) * 1.3); }
@media (max-width: 760px) {
  .navbar { gap: 5px; padding: 5px 5px 5px 14px; }
  .navbar .links .ghost { padding: 8px 10px; font-size: 12.5px; letter-spacing: 0; }
  /* en móvil el área de cliente se queda solo con el candado */
  .navbar .acc-link span { display: none; }
  .navbar .acc-link { padding: 8px 9px; }
  .navbar { gap: 4px; padding-left: 12px; width: calc(100% - 24px); }
  .navbar .links { gap: 4px; }
  .navbar .links .ghost { padding: 8px 8px; font-size: 12px; }
  .navbar .acc-link { padding: 8px 8px; }
  .navbar .pill { padding: 8px 10px; font-size: 12px; }
  .navbar .logo { height: 16px; }
}
@media (max-width: 380px) {
  /* pantallas muy estrechas: del logo queda solo el símbolo */
  .navbar .home { width: 20px; overflow: hidden; flex: none; }
  .navbar .links .ghost, .navbar .pill { font-size: 11.5px; padding-inline: 7px; }
}
@media (max-width: 340px) {
  .navbar { padding-left: 10px; gap: 3px; } .navbar .links { gap: 3px; }
  .navbar .links .ghost, .navbar .pill { font-size: 11px; padding-inline: 6px; letter-spacing: -0.01em; }
  .navbar .pill { padding: 9px 12px; font-size: 12.5px; }
  .navbar .logo { height: 18px; }
  .hero .wrap { padding-top: 88px; }
  .hero h1 { min-height: 5.6em; font-size: clamp(40px, 11.5vw, 56px); }
  .hero-in { min-height: 0; padding-bottom: 72px; }
}
.navbar { border-radius: 12px; }
.pill, .navbar .pill { border-radius: 8px; }


.scene { background: var(--black); color: #fff; }
.stage { position: relative; }
.desk { display: grid; grid-template-columns: minmax(0, .5fr) minmax(0, 1.75fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.note-col { position: relative; display: grid; gap: 18px; justify-items: start; }
/* mesa: trama de puntos tipo alfombrilla de corte y entrada con scroll */
.scene::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: radial-gradient(rgba(255,255,255,.075) 1px, transparent 1.4px); background-size: 28px 28px; }
.desk { perspective: 1600px; }
.note-col[data-scrub] { translate: calc(var(--e) * -90px) calc(var(--e) * 140px); rotate: calc(var(--e) * -14deg); opacity: calc(1 - var(--e) * .9); }
.tool[data-scrub] { transform-origin: 50% 100%; rotate: x calc(var(--e) * 26deg); scale: calc(1 - var(--e) * .1); translate: 0 calc(var(--e) * 90px); }
.note { background-color: var(--paper); }
.note::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: var(--grain); background-size: 180px; opacity: .09; mix-blend-mode: multiply; border-radius: inherit; }
.clip { position: absolute; top: -26px; right: 30px; width: 24px; z-index: 4; filter: drop-shadow(0 3px 2px rgba(0,0,0,.35)); transform: rotate(6deg); }
.clip svg { display: block; width: 100%; height: auto; }
.note { position: relative; background: var(--paper); color: var(--paper-ink); border-radius: 3px; padding: 28px 26px 22px 44px;
  background-image: linear-gradient(90deg, transparent 30px, var(--paper-margin) 30px, var(--paper-margin) 31px, transparent 31px), repeating-linear-gradient(180deg, transparent 0 37px, var(--paper-rule) 37px 38px);
  background-position: 0 0, 0 16px; box-shadow: var(--paper-shadow); transform: rotate(-2.4deg);
  font-family: var(--f-hand); font-size: clamp(25px, 2.3vw, 31px); line-height: 38px; font-weight: 500; }
.note::before { content: ""; position: absolute; top: -13px; left: 50%; width: 96px; height: 27px; transform: translateX(-50%) rotate(2deg); background: rgba(235,235,235,.55); border-radius: 2px; }
.note .who { display: block; margin-top: 8px; font-size: .74em; color: var(--paper-muted); }
.mark { background-image: linear-gradient(transparent 56%, rgba(123,92,255,.32) 56%, rgba(123,92,255,.32) 92%, transparent 92%); background-repeat: no-repeat; background-size: calc(var(--m, 0) * 100%) 100%; transition: opacity .4s ease; }
.mark.sent { opacity: .38; }
.again { margin-left: 30px; border-radius: 999px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; transition: transform .3s var(--ease-spring), background .2s; }
.again svg { font-size: 15px; }
.again:hover { background: rgba(255,255,255,.08); }
.again:active { transform: scale(.96); }
.arrow { position: absolute; z-index: 2; pointer-events: none; overflow: visible; }
.arrow path { fill: none; stroke: rgba(255,255,255,.85); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--ar, 0)); }

/* La aplicación: un programa de gestión completo, con su propia paleta */
.tool { --ind: #5B5BD6; --ind-soft: #EEEEFC; --amb: #E08A00; --amb-soft: #FFF3DC; --grn: #1F9D5A; --grn-soft: #E3F6EA; --cor: #D9483B; --cor-soft: #FDE9E6; --tea: #0E9F94; --sky: #2D8CEB;
  opacity: var(--app-o, .7); transition: opacity .4s ease; color: var(--ink); }
.tool-body { display: grid; grid-template-columns: 176px minmax(0, 1fr); }
.side { background: #111318; color: #C9CCD3; padding: 16px 12px; display: grid; grid-template-rows: auto 1fr auto; gap: 18px; }
.org-id { display: flex; align-items: center; gap: 10px; padding: 2px 6px; }
.org-id .mono { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, #6E6AF0, #12B5A6); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 600; }
.org-id b { font-size: 13px; font-weight: 600; color: #fff; display: block; line-height: 1.2; }
.org-id small { font-size: 11px; color: #676C75; }
.menu { display: grid; gap: 2px; align-content: start; }
.menu i { font-style: normal; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #6B707B; padding: 10px 10px 4px; }
.menu span { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 9px; font-size: 13px; }
.menu span svg { font-size: 16px; color: #676C75; }
.menu span.on { background: rgba(255,255,255,.08); color: #fff; font-weight: 500; }
.menu span.on svg { color: #FFB547; }
.menu .cnt { margin-left: auto; font-size: 11px; font-weight: 600; color: #111318; background: #FFB547; border-radius: 999px; padding: 0 7px; line-height: 18px; }
.made { font-size: 11px; color: #676C75; padding: 10px; display: flex; gap: 7px; align-items: center; border-radius: 10px; background: rgba(255,255,255,.04); }
.made i { width: 7px; height: 7px; border-radius: 50%; background: #3DDC97; display: block; box-shadow: 0 0 0 3px rgba(61,220,151,.18); }
.main { background: #F5F6F8; padding: 14px 18px 18px; display: grid; gap: 14px; min-width: 0; align-content: start; }
.m-top { display: flex; align-items: center; gap: 10px; }
.search { flex: 1 1 auto; max-width: 280px; display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: #676C75; padding: 7px 12px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px rgba(10,10,10,.08); }
.m-top .r { margin-left: auto; display: flex; align-items: center; gap: 10px; color: #6B707B; font-size: 18px; }
.newb { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; color: #fff; background: var(--ind); border-radius: 999px; padding: 7px 12px 7px 10px; box-shadow: 0 4px 12px -4px rgba(91,91,214,.6); }
.newb svg { font-size: 14px; }
.me { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #FFB547, #FF7A59); }
.tb { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.tb-l { display: grid; gap: 4px; justify-items: start; }
.slot { position: relative; display: inline-block; }
.slot .ph { position: absolute; inset: 12% 0; border-radius: 5px; background: #E4E6EA; transition: opacity .35s ease; }
.slot .val { opacity: 0; display: inline-block; transition: opacity .35s ease; }
.slot.on .ph { opacity: 0; }
.slot.on .val { opacity: 1; animation: land .7s var(--ease-spring); }
@keyframes land { 0% { transform: scale(1.07); } 100% { transform: none; } }
.t-title { font-size: clamp(19px, 1.8vw, 23px); font-weight: 600; letter-spacing: -0.025em; }
.slot .val.period { display: inline-flex; }
.period { font-size: 12px; color: #6B707B; align-items: center; gap: 6px; }
.period svg { font-size: 14px; }
.segs { display: flex; gap: 4px; background: #E9EBEF; border-radius: 999px; padding: 3px; }
.seg { font-size: 12px; padding: 4px 11px; border-radius: 999px; color: #5A5F69; }
.seg b { font-weight: 600; margin-left: 4px; }
.seg.on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(10,10,10,.12); }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, .8fr); gap: 10px; }
.kpi { background: #fff; border-radius: 16px; padding: 12px 14px; box-shadow: 0 0 0 1px rgba(10,10,10,.05), 0 1px 2px rgba(10,10,10,.04); display: grid; gap: 6px; min-width: 0; position: relative; overflow: hidden; }
.kpi .kh { display: flex; align-items: center; gap: 8px; }
.ico { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 15px; flex: none; }
.ico.amb { background: var(--amb-soft); color: var(--amb); } .ico.grn { background: var(--grn-soft); color: var(--grn); } .ico.tea { background: #DDF5F2; color: var(--tea); }
.k-label { font-size: 12px; color: #6B707B; }
.k-val { font-variant-numeric: tabular-nums; white-space: nowrap; font-size: clamp(18px, 1.6vw, 22px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; }
.k-sub { font-size: 11px; color: #676C75; display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; }
.k-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kh { min-width: 0; }
.trend { font-size: 10.5px; font-weight: 600; border-radius: 999px; padding: 1px 7px; }
.trend.amb { color: #A15C00; background: var(--amb-soft); } .trend.grn { color: #157A44; background: var(--grn-soft); }
.spark { position: absolute; right: 10px; bottom: 10px; width: 64px; height: 26px; }
.spark path { fill: none; stroke: var(--grn); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--sp, 0)); }
.bar { height: 6px; border-radius: 6px; background: #E9EBEF; overflow: hidden; }
.bar i { display: block; height: 100%; width: 100%; border-radius: 6px; background: linear-gradient(90deg, #12B5A6, #2D8CEB); transform-origin: left; transform: scaleX(var(--pr, 0)); }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 10px; align-items: start; }
.card { background: #fff; border-radius: 16px; box-shadow: 0 0 0 1px rgba(10,10,10,.05), 0 1px 2px rgba(10,10,10,.04); padding: 10px; min-width: 0; }
.list { font-size: 12.5px; }
.lr { display: grid; grid-template-columns: minmax(0, 1.6fr) .8fr .85fr 44px .95fr .95fr; gap: 8px; align-items: center; padding: 7px 8px 7px 8px; }
.lh { font-size: 10.5px; color: #676C75; text-transform: uppercase; letter-spacing: .08em; font-weight: 500; padding: 4px 8px 6px; }
.lb { display: grid; gap: 4px; }
.lb .lr { border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px rgba(10,10,10,.08); opacity: var(--r, 0); transform: translateY(calc((1 - var(--r, 0)) * 8px)); }
.lb .lr:hover { background: #FAFAFB; }
.lr .num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 500; }
.lr .code { font-size: 11.5px; color: #6B707B; font-variant-numeric: tabular-nums; }
.sup { display: flex; align-items: center; gap: 8px; min-width: 0; }
.sup em { width: 24px; height: 24px; border-radius: 50%; flex: none; display: grid; place-items: center; font-style: normal; font-size: 9.5px; font-weight: 700; color: #fff; }
.sup span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.okc { color: var(--grn); font-size: 17px; opacity: var(--ok, 0); transform: scale(calc(.6 + .4 * var(--ok, 0))); }
.chipst { font-size: 10.5px; font-weight: 600; border-radius: 999px; padding: 3px 9px; justify-self: start; white-space: nowrap; }
.chipst.paid { color: #157A44; background: var(--grn-soft); }
.chipst.due { color: #A15C00; background: var(--amb-soft); }
.chipst.today { color: #B23A2F; background: var(--cor-soft); }
.kchart h4 { margin: 2px 4px 2px; font-size: 12px; font-weight: 600; }
.kchart p { margin: 0 4px 10px; font-size: 11px; color: #676C75; }
.bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; align-items: end; height: 64px; }
.bars span { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; font-size: 10px; color: #676C75; height: 100%; }
.bars b { display: block; width: 100%; border-radius: 8px 8px 4px 4px; height: calc(var(--h) * .44px); transform-origin: bottom; transform: scaleY(var(--bh, 0)); background: linear-gradient(180deg, #8E8BF5, #5B5BD6); }
.bars span:nth-child(2) b { background: linear-gradient(180deg, #4FD1C5, #0E9F94); }
.bars span:nth-child(4) b { background: linear-gradient(180deg, #FFC97A, #F08C00); }
.legend { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 4px 2px; font-size: 10.5px; color: #6B707B; }
.legend i { width: 8px; height: 8px; border-radius: 3px; display: inline-block; margin-right: 4px; vertical-align: -1px; }
.toast { position: absolute; left: 50%; bottom: 14px; z-index: 3; display: flex; align-items: center; gap: 9px; white-space: nowrap;
  background: #111318; color: #fff; font-size: 13px; padding: 9px 14px 9px 11px; border-radius: 999px; box-shadow: 0 14px 30px -10px rgba(17,22,20,.5);
  opacity: 0; transform: translate(-50%, 12px) scale(.96); transition: opacity .45s var(--ease-spring), transform .6s var(--ease-spring); }
.toast svg { font-size: 17px; color: #3DDC97; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.chip { position: absolute; left: 0; top: 0; z-index: 5; pointer-events: none; white-space: nowrap;
  font: 600 25px/1 var(--f-hand); color: #fff; background: var(--violet); border-radius: 3px; padding: 4px 9px 5px;
  box-shadow: 0 12px 24px -8px rgba(123,92,255,.6); opacity: 0; will-change: transform, opacity; }

@media (max-width: 1100px) { .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } .kchart { display: none; } }
@media (max-width: 980px) {
  .desk { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .note-col { max-width: 520px; }
  /* en tablet y móvil el menú se queda, pero como barra de iconos */
  .tool-body { grid-template-columns: 60px minmax(0, 1fr); }
  .side { padding: 12px 8px; gap: 12px; justify-items: center; }
  .org-id { padding: 0; } .org-id > div { display: none; }
  .menu { justify-items: center; gap: 4px; }
  .menu i { font-size: 0; padding: 0; width: 18px; height: 1px; background: rgba(255,255,255,.1); margin: 6px 0; }
  .menu i:first-child { display: none; }
  .menu span { position: relative; font-size: 0; gap: 0; width: 40px; height: 38px; padding: 0; justify-content: center; border-radius: 11px; }
  .menu span svg { font-size: 19px; }
  .menu .cnt { position: absolute; top: 4px; right: 3px; margin: 0; font-size: 9.5px; line-height: 15px; padding: 0 5px; box-shadow: 0 0 0 2px #111318; }
  .made { font-size: 0; padding: 10px; gap: 0; }
  .arrow { display: none; }
}
@media (max-width: 760px) {
  .note { padding: 22px 18px 16px 34px; font-size: 22px; line-height: 30px; transform: rotate(-1.6deg);
    background-image: linear-gradient(90deg, transparent 22px, var(--paper-margin) 22px, var(--paper-margin) 23px, transparent 23px), repeating-linear-gradient(180deg, transparent 0 29px, var(--paper-rule) 29px 30px);
    background-position: 0 0, 0 12px; }
  .chip { font-size: 20px; }
  .main { padding: 12px; gap: 12px; }
  .search, .newb span, .segs .hide-s { display: none; }
  .kpis { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .kpi.k1 { grid-column: 1 / -1; }
  .spark { display: none; }
  .lr { grid-template-columns: minmax(0, 1fr) 70px 80px; gap: 6px; padding: 7px 10px 7px 7px; }
  .lr .c-fac, .lr .c-ok, .lr .c-st { display: none; }
  .lh { padding-left: 10px; }
  .toast { font-size: 12px; bottom: 10px; }
  .win-bar { height: 32px; }
  .tool-body { grid-template-columns: 50px minmax(0, 1fr); }
  .side { padding: 10px 5px; }
  .menu span { width: 38px; height: 34px; }
  .menu span svg { font-size: 17px; }
  .menu span:nth-of-type(n+7) { display: none; }
  .lr { grid-template-columns: minmax(0, 1fr) 62px 72px; }
}
/* versión sobria: la nota pasa a ser una cita, la app en blanco, negro y verde */
.scene::before { display: none; }
.note { background: #161616; background-image: none; color: #EDEDED; border-radius: 12px; padding: 28px 28px 24px; transform: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
  font-family: var(--f-sans); font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; font-weight: 400; letter-spacing: -0.01em; }
.note::before { content: "“"; position: static; display: block; width: auto; height: auto; transform: none; background: none; font-size: 54px; line-height: .6; color: var(--brand); margin-bottom: 10px; font-weight: 500; }
.note::after { display: none; }
.note .who { margin-top: 18px; font-size: 13px; color: #8A8F8C; letter-spacing: .01em; }
.mark { background-image: linear-gradient(transparent 88%, #3F8B77 88%); background-size: calc(var(--m, 0) * 100%) 100%; }
.note-col[data-scrub] { translate: 0 calc(var(--e) * 60px); rotate: none; opacity: calc(1 - var(--e) * .9); }
.arrow { display: none; }
.chip { font: 500 13px/1 var(--f-sans); color: var(--ink); background: #fff; border-radius: 6px; padding: 7px 10px; box-shadow: 0 8px 20px -8px rgba(0,0,0,.5); }
.tool { --ind: #0A0A0A; --amb: #0A0A0A; --amb-soft: #EFF0EF; --grn: #2F6B5C; --grn-soft: #E3EEE9; --cor: #0A0A0A; --cor-soft: #EFF0EF; --tea: #2F6B5C; --sky: #2F6B5C; }
.org-id .mono { background: var(--brand); border-radius: 6px; }
.menu span { border-radius: 6px; }
.menu span.on svg { color: #fff; }
.menu .cnt { background: var(--brand); color: #fff; }
.made i { background: #5FAF97; box-shadow: none; }
.search { border-radius: 8px; }
.newb { background: var(--ink); border-radius: 8px; box-shadow: none; }
.me { background: #D9DCDA; }
.segs { border-radius: 8px; } .seg { border-radius: 6px; }
.kpi { border-radius: 10px; }
.ico, .ico.amb, .ico.grn, .ico.tea { background: #F1F2F1; color: #3A403D; border-radius: 6px; }
.trend, .trend.amb, .trend.grn { border-radius: 4px; color: #3A403D; background: #F1F2F1; }
.trend.grn { color: var(--brand-deep); background: var(--brand-soft); }
.bar i { background: var(--brand); }
.card { border-radius: 10px; }
.lb .lr { border-radius: 6px; box-shadow: none; border-bottom: 1px solid rgba(10,10,10,.06); background: transparent; }
.lb { gap: 0; }
.sup em { background: #EEF0EF; color: #3A403D; font-weight: 600; }
.chipst { border-radius: 4px; }
.chipst.due { color: #3A403D; background: #F1F2F1; }
.chipst.today { color: #fff; background: var(--ink); }
.bars b, .bars span:nth-child(2) b, .bars span:nth-child(4) b { background: #D5D9D7; border-radius: 3px; }
.bars span:nth-child(4) b { background: var(--brand); }
.toast { border-radius: 8px; background: var(--ink); }
.toast svg { color: #7CC4AE; }
/* más color en la aplicación: tonos lisos por tipo de dato, sin degradados ni brillos */
.tool { --amb: #C77700; --amb-soft: #FFF1D6; --cor: #C8453A; --cor-soft: #FCE7E4; --tea: #1F8A80; --sky: #2F6FD0; --sky-soft: #E6EEFB; }
.menu span.on svg { color: #F2B544; }
.menu .cnt { background: #F2B544; color: #111318; }
.newb { background: var(--brand); }
.me { background: #F2B544; }
.ico.amb { background: var(--amb-soft); color: var(--amb); }
.ico.grn { background: var(--brand-soft); color: var(--brand); }
.ico.tea { background: var(--sky-soft); color: var(--sky); }
.trend.amb { color: #8F5600; background: var(--amb-soft); }
.bar i { background: var(--sky); }
.chipst.due { color: #8F5600; background: var(--amb-soft); }
.chipst.today { color: #A8352B; background: var(--cor-soft); }
.lb .lr:nth-child(1) .sup em { background: #E3EEE9; color: #23544A; }
.lb .lr:nth-child(2) .sup em { background: #FCE7E4; color: #A8352B; }
.lb .lr:nth-child(3) .sup em { background: #FFF1D6; color: #8F5600; }
.lb .lr:nth-child(4) .sup em { background: #E6EEFB; color: #2856A8; }
.lb .lr:nth-child(5) .sup em { background: #EDE9F7; color: #5A4A8C; }
.bars span:nth-child(1) b { background: #A9C7B8; }
.bars span:nth-child(2) b { background: var(--sky); }
.bars span:nth-child(3) b { background: #F2B544; }
.bars span:nth-child(4) b { background: var(--brand); }


/* Requisitos: solo letra. Cuatro se tachan y el último se queda resaltado en una píldora violeta */
.need { background: #fff; --grain-o: .07; }
.need-in { display: grid; justify-items: start; }
.need-in[data-scrub] .rl { translate: 0 calc(var(--e) * 80px); opacity: calc(1 - var(--e) * .8); }
.rl { width: min(100%, 860px); margin: 0 auto; }
.rl > p { font-size: clamp(20px, 2vw, 26px); font-weight: 500; letter-spacing: -0.02em; color: var(--muted); margin-bottom: clamp(16px, 2vw, 26px); }
.rl ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .08em; font-size: clamp(36px, 5.6vw, 76px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.12; }
.rl li { position: relative; width: max-content; max-width: 100%; transition: color .5s ease; transition-delay: var(--dl, 0s); }
.rl li.x::after { content: ""; position: absolute; left: -.04em; right: -.04em; top: 55%; height: .06em; border-radius: 1em; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); transition-delay: var(--dl, 0s); }
.rl.on li.x { color: #B5BAB7; }
.rl.on li.x::after { transform: none; }
.rl li.keep span { border-radius: .1em; padding: .02em .18em .08em; margin-left: -.18em; transition: background .5s ease, color .5s ease; transition-delay: var(--dl, 0s); }
.rl.on li.keep span { background: var(--violet); color: #fff; }
@media (max-width: 760px) { .rl li { width: auto; } }


.week { background: #F2F2F1; --grain-o: .1; }
.week::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: radial-gradient(rgba(10,10,10,.07) 1px, transparent 1.4px); background-size: 28px 28px; }
.cal-wrap { position: relative; max-width: 1060px; margin: 0 auto; perspective: 1800px; }
.cal-wrap[data-scrub] .cal { transform-origin: 50% 0; rotate: x calc(var(--e) * -24deg); scale: calc(1 - var(--e) * .08); translate: 0 calc(var(--e) * 120px); }
/* pósit pegado en la esquina del calendario */
.postit { position: absolute; right: -26px; top: -34px; z-index: 6; width: 170px; padding: 20px 16px 22px; background: #E9E3FF; color: var(--violet-deep);
  font: 700 25px/1.05 var(--f-hand); border-radius: 2px 2px 14px 2px; box-shadow: 0 16px 20px -10px rgba(30,20,80,.35), 0 1px 2px rgba(0,0,0,.08);
  rotate: calc(5deg + var(--e) * 30deg); translate: calc(var(--e) * 120px) calc(var(--e) * -80px); opacity: calc(1 - var(--e) * 1.2); }
.postit::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 26px; background: rgba(123,92,255,.12); }
.postit::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: var(--grain); background-size: 180px; opacity: .1; mix-blend-mode: multiply; }
.cal { max-width: 1060px; margin: 0 auto; border-radius: 24px; }
.cal-tb { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.cal-tb .l { display: flex; align-items: center; gap: 12px; }
.cal-tb .nav { display: flex; gap: 2px; color: var(--muted); font-size: 16px; }
.cal-tb .nav span { width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center; }
.cal-tb b { font-size: 16px; font-weight: 600; letter-spacing: -0.02em; }
.cal-tb .today { font-size: 12.5px; padding: 5px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); }
.views { display: flex; background: #F0F2F1; border-radius: 999px; padding: 3px; font-size: 12.5px; }
.views span { padding: 4px 12px; border-radius: 999px; color: var(--muted); }
.views span.on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(17,22,20,.12); font-weight: 500; }
.dow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-bottom: 1px solid var(--line); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 500; }
.dow span { padding: 9px 12px; }
.month { display: grid; }
.wk { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); height: 112px; border-bottom: 1px solid var(--line); }
.wk:last-child { border-bottom: 0; }
.wk > i { font-style: normal; font-size: 12.5px; font-weight: 500; padding: 8px 10px; border-right: 1px solid var(--line); color: var(--ink); }
.wk > i:nth-child(5) { border-right: 0; }
.wk > i b { font-weight: 500; width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; transition: background .35s ease, color .35s ease; }
.wk > i.now b { background: var(--black); color: #fff; }
.wk.free > i { background: #FAFAFA; }
.wk.tall { height: 150px; }
.wk.free .ev { top: 16px; }
.ev.big { height: 112px; padding: 14px 18px; gap: 4px; }
.ev.big b { font-size: 17px; }
.ev.big p { white-space: normal; max-width: 60ch; font-size: 13px; }
.ev { position: absolute; left: calc(20% * var(--c) + 6px); width: calc(20% * var(--w, 1) - 12px); top: 40px; height: 62px;
  background: #fff; box-shadow: inset 0 0 0 1px rgba(10,10,10,.12); border-radius: 14px; padding: 8px 11px; display: grid; align-content: start; gap: 1px; overflow: hidden;
  opacity: 0; transform: translateY(6px) scale(.98); transform-origin: left center; transition: opacity .45s ease, transform .6s var(--ease-spring); }
.ev.on { opacity: 1; transform: none; }
.ev time { font-size: 11px; font-weight: 500; color: var(--brand); display: inline-flex; gap: 5px; align-items: center; }
.ev b { font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev p { font-size: 12px; color: var(--muted); line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev.g { background: var(--brand); box-shadow: none; } .ev.g time { color: #BFE0D2; } .ev.g b { color: #fff; } .ev.g p { color: rgba(255,255,255,.8); }
.ev.g.cont { border-top-left-radius: 4px; border-bottom-left-radius: 4px; }
/* la barra verde sigue más allá del mes: sin fecha de fin */
.ev.g.open { width: calc(100% - 6px); border-top-right-radius: 0; border-bottom-right-radius: 0; }
.ev.v { background: var(--violet-soft); box-shadow: none; } .ev.v time { color: var(--violet-deep); } .ev.v b { color: #2A1F66; } .ev.v p { color: #4B3E80; }
@media (max-width: 760px) {
  /* en móvil sigue siendo un mes, más compacto */
  .views, .cal-tb .today { display: none; }
  .postit { width: 128px; font-size: 20px; right: -6px; top: -46px; padding: 16px 12px 16px; }
  .cal-tb { padding: 10px 12px; } .cal-tb b { font-size: 14.5px; }
  .dow span { padding: 8px 6px; font-size: 10px; letter-spacing: .04em; }
  .wk { height: 150px; }
  .wk > i { padding: 6px 4px; font-size: 11.5px; }
  .wk > i b { width: 22px; height: 22px; }
  .ev { top: 34px; height: auto; bottom: 8px; padding: 7px 8px; border-radius: 11px; }
  .wk.free .ev { bottom: auto; }
  .ev[data-o="0"] { --w: 2; }
  .ev[data-o="1"] { --c: 3; --w: 2; }
  .ev[data-o="3"] { --w: 4; }
  .ev b, .ev p { white-space: normal; }
  .ev b { font-size: 12.5px; }
  .ev p { font-size: 11px; margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
  .wk.tall { height: 168px; }
  .wk.free .ev { top: 12px; }
  .ev.big { height: 144px; padding: 12px 14px; }
  .ev.big b { font-size: 15px; }
  .ev.big p { font-size: 12px; -webkit-line-clamp: 4; }
  .wk.free:last-child { height: 112px; }
  .wk.free:last-child .ev { height: 86px; }
  .wk.free:last-child .ev p { -webkit-line-clamp: 2; }
}
.cal { border-radius: 12px; }
.ev { border-radius: 8px; }
.ev.v { background: #F1F2F1; } .ev.v time { color: #3A403D; } .ev.v b { color: var(--ink); } .ev.v p { color: var(--muted); }
.views, .views span, .cal-tb .today, .cal-tb .nav span { border-radius: 6px; }
.week::before { display: none; }


/* Apartado AIVI Marketing: otra "página" dentro del boceto. Se abre desde la barra y comparte barra, fondo y cierre */
.mk-page { display: none; }
html.on-mk .band:not(.mk-page):not(.close) { display: none; }
html.on-mk .mk-page { display: block; }
html.on-mk .navbar .ghost.mk-link { background: rgba(255,255,255,.12); color: #fff; }
.mk-hero { background: #fff; }
.mk-hero .wrap { padding-top: 140px; }
.mk-hero .mk-in { min-height: min(calc(100svh - 140px), 620px); display: grid; align-content: center; padding-bottom: clamp(56px, 7vw, 100px); }
.mk-hero h1 { font-size: clamp(34px, 5.4vw, 76px); line-height: 1.08; letter-spacing: -0.035em; font-weight: 500; max-width: 18ch; }
.mk-hero h1 em { font-style: normal; color: var(--brand); }
.mk-webs { background: var(--black); color: #fff; }
.mk-sec > h2 { font-size: 14px; font-weight: 500; letter-spacing: .01em; color: #8A8F8C; margin-bottom: 18px; }
.mk-lead { font-size: clamp(22px, 2.4vw, 32px); line-height: 1.25; letter-spacing: -0.025em; max-width: 30ch; margin-bottom: clamp(32px, 4vw, 56px); }
.mk-webs .mk-lead { color: #EDEDED; }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.tier { position: relative; border-radius: 12px; padding: 24px 22px 26px; background: #161616; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); display: grid; align-content: start; gap: 12px; }
.tier .lvl { display: flex; gap: 4px; }
.tier .lvl i { width: 22px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.14); }
.tier .lvl i.on { background: #7CC4AE; }
.tier h3 { font-size: 21px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
.tier p { font-size: 15px; line-height: 1.55; color: #B9BDBB; }
.tier.top { background: var(--brand); box-shadow: none; }
.tier.top .lvl i { background: rgba(255,255,255,.25); } .tier.top .lvl i.on { background: #fff; }
.tier.top p { color: rgba(255,255,255,.85); }
.mk-after { margin-top: 26px; display: flex; gap: 12px; align-items: center; font-size: 16px; color: #D5D8D6; }
.mk-after svg { font-size: 22px; color: #7CC4AE; }
.mk-more { background: #F2F2F1; }
.svc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.sv { background: #fff; border-radius: 12px; padding: 24px 24px 26px; box-shadow: 0 0 0 1px rgba(10,10,10,.06); display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 16px; align-items: start; }
.sv .ic { grid-row: span 2; width: 44px; height: 44px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 22px; }
.sv h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; }
.sv p { font-size: 15px; line-height: 1.55; color: var(--muted); }
.mk-page .rv { transition-delay: var(--d, 0s); }
@media (max-width: 900px) { .tiers, .svc { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .mk-hero .wrap { padding-top: 110px; } .mk-hero .mk-in { min-height: 0; } }
/* todo el apartado sobre negro */
.mk-hero, .mk-more { background: var(--black); color: #fff; }
.mk-hero h1 em { color: #7CC4AE; }
.sv { background: #161616; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.sv .ic { background: rgba(124,196,174,.12); color: #7CC4AE; }
.sv p { color: #B9BDBB; }
html.on-mk .close { background: var(--black); }


.close { background: #17392F; color: #fff; }
.close .foot { color: rgba(255,255,255,.7); }
.close[data-scrub] .mail-win { scale: calc(1 - var(--e) * .14); translate: 0 calc(var(--e) * 140px); rotate: calc(var(--e) * -3deg); }
.close[data-scrub] .marquee { translate: calc(var(--e) * 35%) 0; }
.close[data-scrub] .marquee.m2 { translate: calc(var(--e) * -35%) 0; }
.marquee.m2 { top: auto; bottom: clamp(70px, 9vw, 120px); }
.marquee.m2 div { animation-direction: reverse; animation-duration: 60s; }
.marquee.m2 span { font-size: clamp(56px, 8vw, 120px); -webkit-text-stroke: 0; color: #161817; }
.mail-win { max-width: 760px; margin: 0 auto; color: var(--ink); border-radius: 24px; }
.mf { display: flex; align-items: center; gap: 12px; padding: 0 20px; min-height: 46px; border-bottom: 1px solid var(--line); font-size: 14px; }
.mf > span:first-child { color: var(--muted); width: 54px; flex: none; }
.mf .to { display: inline-flex; align-items: center; gap: 8px; background: #fff; box-shadow: inset 0 0 0 1px rgba(10,10,10,.14); color: var(--ink); border-radius: 999px; padding: 3px 10px 3px 4px; font-weight: 500; font-size: 13px; }
.mf .to i { width: 20px; height: 20px; border-radius: 50%; background: var(--black); color: #fff; font-style: normal; font-size: 9px; display: grid; place-items: center; font-weight: 600; }
.mf input { flex: 1 1 0; min-width: 0; font: inherit; color: var(--ink); border: 0; background: transparent; padding: 12px 0; }
.mf input:focus { outline: none; }
.mf .sep { width: 1px; align-self: stretch; background: var(--line); margin-block: 10px; }
.body { padding: 20px 20px 8px; }
.body textarea { width: 100%; min-height: 190px; resize: vertical; border: 0; background: transparent; font: inherit; color: var(--ink);
  font-size: clamp(26px, 3vw, 36px); line-height: 1.2; letter-spacing: -0.035em; padding: 0; }
.body textarea:focus { outline: none; }
.body textarea::placeholder { color: #A9ADAB; }
.prefer { padding: 4px 20px 18px; display: grid; gap: 10px; }
.prefer > span { font-size: 13px; color: var(--muted); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { font: inherit; font-size: 14px; font-weight: 500; color: var(--ink); background: #fff; border: 0; border-radius: 999px; padding: 9px 16px; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(17,22,20,.16);
  transition: background .2s ease, color .2s ease, transform .3s var(--ease-spring); }
.opt:active { transform: scale(.97); }
.opt[aria-pressed="true"] { background: var(--violet); color: #fff; box-shadow: none; }
.what { font-size: 13.5px; color: var(--muted); min-height: 1.5em; }
.mfoot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px 12px 20px; border-top: 1px solid var(--line); background: #FAFBFA; }
.mfoot small { font-size: 12px; color: var(--muted); }
.send { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: 15px; font-weight: 500; color: #fff; background: var(--black); border: 0; border-radius: 999px; padding: 10px 18px; cursor: pointer;
  transition: background .2s ease, transform .3s var(--ease-spring); }
.send svg { font-size: 17px; transition: transform .45s var(--ease-spring); }
.send:hover { background: var(--brand); }
.send:hover svg { transform: translate(2px, -2px); }
.send:active { transform: scale(.97); }
.sent-view { padding: 48px 24px 52px; text-align: center; display: grid; gap: 12px; justify-items: center; }
.sent-view svg { font-size: 40px; color: var(--brand); }
.sent-view p { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -0.03em; }
.sent-view q { color: var(--muted); max-width: 46ch; }
.foot { padding-block: 26px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; color: rgba(255,255,255,.6); font-size: 13px; }
.foot .logo { height: 20px; color: #fff; display: block; }
@media (max-width: 760px) {
  .mf.from { flex-wrap: wrap; padding-block: 4px; }
  .mf.from .sep { display: none; }
  .mf.from input { flex-basis: calc(100% - 66px); }
  .mf.from input + .sep + input { margin-left: 66px; border-top: 1px solid var(--line); }
  .mfoot { flex-direction: column-reverse; align-items: stretch; }
  .send { justify-content: center; }
}
.mail-win { border-radius: 12px; }
.opt { border-radius: 8px; }
.opt[aria-pressed="true"] { background: var(--ink); }


/* fondo de toda la web: bolitas que giran en un tornado tumbado y cruzan cada sección de lado a lado */
.vortex { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; display: block; }

.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.send[disabled] { opacity: .6; cursor: wait; }

.foot .legal { display: flex; gap: 16px; flex-wrap: wrap; }
.foot .legal a { color: inherit; }

/* Antes estilos en línea */
.s1 { --h:55 }
.s2 { --h:80 }
.s3 { --h:38 }
.s4 { --h:95 }
.s5 { --dl:.1s }
.s6 { --dl:.55s }
.s7 { --dl:1s }
.s8 { --dl:1.45s }
.s9 { --dl:2s }
.s10 { --c:0 }
.s11 { --c:3 }
.s12 { --c:0;--w:5 }
.s13 { --c:0;--w:3 }
.s14 { --d:.05s }
.s15 { --d:.15s }
.s16 { --d:.25s }
.s17 { --d:.08s }
.s18 { --d:.16s }
.s19 { --d:.24s }

.form-legal { margin: 0; padding: 0 20px 14px; font-size: 12px; line-height: 1.5; color: var(--muted); background: #FAFBFA; }
.form-legal a { color: inherit; }
