/* RutinOut — estilo formal: negro, burdeos y metalizado */
:root {
  /* 2026-11-08: tema "Noche" sobrio. Sin metales: los nombres viejos (plata, metal-*) ahora son colores lisos */
  --negro: #0D0E14;
  --carbon: #14161F;
  --grafito: #1A1C26;
  --grafito-2: #22252F;
  --linea: rgba(255, 255, 255, .1);
  --linea-fuerte: #3A3D4A;
  --texto: #F3F2F4;
  --suave: #A9AAB5;
  --tenue: #7D7F8C;
  --burgundy: #7A1F3D;
  --burgundy-vivo: #B23A5E;
  --burgundy-oscuro: #4A0F22;
  --oro: #D9587F;
  --amarillo: #F6E8A6;
  --plata: #F3F2F4;
  --metal-burdeos: #7A1F3D;
  --metal-oro: #FFFFFF;
  --metal-grafito: #14161F;
  --brillo: inset 0 0 0 transparent;
  --sombra: 0 20px 50px rgba(0, 0, 0, .45);
  --radio: 14px;
  --logo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cdefs%3E%3Cmask id='m'%3E%3Crect width='48' height='48' fill='white'/%3E%3Ccircle cx='24' cy='24' r='12.5' fill='none' stroke='black' stroke-width='4'/%3E%3Cpath d='M24 24V16.5M24 24l6 3.6' stroke='black' stroke-width='4' stroke-linecap='round'/%3E%3C/mask%3E%3C/defs%3E%3Crect width='48' height='48' rx='11' fill='black' mask='url(%23m)'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; background: var(--negro); }
body { margin: 0; background: var(--negro); color: var(--texto); font-family: 'Manrope', system-ui, sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--oro); }
a:hover { color: var(--amarillo); }
h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1.12; }
p { margin: 0; }
ul, ol { margin: 0; }
::selection { background: var(--burgundy-vivo); color: #fff; }
.contenedor { max-width: 1220px; margin: 0 auto; padding: 0 24px; }
.estrecho { max-width: 880px; }
.seccion { padding: 110px 0; position: relative; }
.seccion.carbon { background: var(--carbon); }
.seccion.borde { border-top: 1px solid var(--linea); }

/* Texto metalizado */
.metal { background: var(--plata); -webkit-background-clip: text; background-clip: text; color: transparent; }
.metal-burdeos { background: linear-gradient(135deg, #E0738F, #A8304F 45%, #F09AB0 60%, #8E2848); -webkit-background-clip: text; background-clip: text; color: transparent; }
.metal-oro { background: var(--metal-oro); -webkit-background-clip: text; background-clip: text; color: transparent; }
.etiqueta { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--oro); }
.etiqueta::before { content: ""; width: 28px; height: 2px; background: var(--metal-oro); border-radius: 2px; }
.titulo-seccion { font-size: clamp(32px, 4.4vw, 54px); letter-spacing: -.035em; line-height: 1.06; }
.encabezado-seccion { display: flex; flex-direction: column; gap: 16px; max-width: 760px; margin-bottom: 56px; }
.encabezado-seccion.centro { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
.suave { color: var(--suave); }
.grande { font-size: 19px; }

/* Logo */
.logo { display: inline-flex; align-items: center; font-weight: 800; letter-spacing: -.035em; line-height: 1; text-decoration: none; color: #fff; }
.logo .rutin, .logo .ut { background: var(--plata); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo svg { width: .78em; height: .78em; margin: 0 .03em; }

/* Botones */
.boton { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 800; font-size: 16px; padding: 16px 28px; border-radius: 999px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; letter-spacing: .01em; transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; }
.boton::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); transition: left .7s ease; pointer-events: none; }
.boton:hover::after { left: 130%; }
.boton:hover { transform: translateY(-2px); }
.boton-principal { background: var(--metal-burdeos); color: #fff; box-shadow: var(--brillo), 0 10px 30px rgba(168, 48, 79, .35); }
.boton-principal:hover { color: #fff; box-shadow: var(--brillo), 0 14px 40px rgba(168, 48, 79, .5); }
.boton-plata { background: var(--plata); color: #141113; box-shadow: var(--brillo), 0 10px 30px rgba(0, 0, 0, .4); }
.boton-plata:hover { color: #141113; }
.boton-oro { background: var(--metal-oro); color: #241A06; box-shadow: var(--brillo), 0 10px 30px rgba(201, 164, 74, .25); }
.boton-oro:hover { color: #241A06; }
.boton-borde { background: rgba(255, 255, 255, .03); color: var(--texto); border: 1px solid var(--linea-fuerte); padding: 15px 27px; backdrop-filter: blur(6px); }
.boton-borde:hover { color: #fff; border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .07); }
.boton svg { width: 20px; height: 20px; flex-shrink: 0; }
.acciones { display: flex; flex-wrap: wrap; gap: 12px; }
.flecha { text-decoration: none; font-weight: 800; display: inline-flex; gap: 8px; align-items: center; color: var(--oro); }
.flecha::after { content: "→"; transition: transform .2s ease; }
.flecha:hover::after, a:hover .flecha::after { transform: translateX(4px); }

/* Cabecera */
header { position: fixed; top: 0; left: 0; right: 0; z-index: 40; transition: border-color .3s ease; border-bottom: 1px solid transparent; }
/* El vidrio esmerilado va en una capa aparte: si backdrop-filter estuviera en el header,
   el menú del teléfono (position: fixed) quedaría encerrado dentro de la barra al bajar */
header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(10, 8, 9, .82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); opacity: 0; transition: opacity .3s ease; pointer-events: none; }
header.solido::before, body.menu-abierto header::before { opacity: 1; }
header.solido { border-bottom-color: var(--linea); }
body.menu-abierto { overflow: hidden; }
body.menu-abierto .ruti-lanzar, body.menu-abierto .ruti-wa, body.menu-abierto .ruti-globo { display: none; }
header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(216, 190, 110, .55), rgba(168, 48, 79, .6), transparent); opacity: 0; transition: opacity .3s; }
header.solido::after { opacity: 1; }
.barra { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; }
.barra .logo { font-size: 27px; }
.menu { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 700; }
.menu > a, .submenu > summary { color: #D9D1D4; text-decoration: none; padding: 10px 0; cursor: pointer; position: relative; }
.menu > a:not(.boton)::after, .submenu > summary::before { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--metal-oro); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.menu > a:not(.boton):hover::after, .submenu:hover > summary::before, .submenu[open] > summary::before { transform: scaleX(1); }
.menu > a:hover, .submenu > summary:hover { color: #fff; }
.menu .boton { padding: 12px 22px; font-size: 14.5px; }
.submenu { position: relative; }
.submenu > summary { list-style: none; display: flex; align-items: center; gap: 7px; }
.submenu > summary::-webkit-details-marker { display: none; }
.submenu > summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.submenu[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.submenu-panel { position: absolute; top: calc(100% + 16px); left: -24px; width: 560px; background: rgba(18, 16, 17, .97); border: 1px solid var(--linea-fuerte); border-radius: 22px; box-shadow: var(--sombra); padding: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; backdrop-filter: blur(16px); animation: aparece .2s ease; }
.submenu-panel a { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 16px; text-decoration: none; color: var(--texto); transition: background .2s; }
.submenu-panel a:hover { background: rgba(255, 255, 255, .05); }
.submenu-panel .mini-icono { flex-shrink: 0; width: 38px; height: 38px; border-radius: 12px; background: var(--metal-burdeos); display: flex; align-items: center; justify-content: center; box-shadow: var(--brillo); }
.submenu-panel .mini-icono svg { width: 19px; height: 19px; }
.submenu-panel strong { display: block; font-size: 14.5px; }
.submenu-panel span.d { display: block; font-size: 12.5px; color: var(--suave); font-weight: 500; line-height: 1.4; margin-top: 2px; }
.submenu-panel .todo { grid-column: 1 / -1; border-top: 1px solid var(--linea); border-radius: 0 0 14px 14px; margin-top: 4px; padding-top: 14px; justify-content: space-between; align-items: center; }
@keyframes aparece { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.menu-movil { display: none; }

@media (max-width: 960px) {
  .menu { display: none; }
  .menu-movil { display: block; }
  .menu-movil > summary { list-style: none; width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; cursor: pointer; border: 1px solid var(--linea-fuerte); background: rgba(255, 255, 255, .04); }
  .menu-movil > summary::-webkit-details-marker { display: none; }
  .menu-movil > summary svg { width: 22px; height: 22px; }
  .menu-movil-panel { position: fixed; top: 76px; left: 0; right: 0; bottom: 0; background: var(--negro); padding: 12px 24px 40px; overflow-y: auto; display: flex; flex-direction: column; border-top: 1px solid var(--linea); animation: aparece .2s ease; }
  .menu-movil-panel a { text-decoration: none; color: var(--texto); font-weight: 800; font-size: 19px; padding: 14px 0; border-bottom: 1px solid var(--linea); }
  .menu-movil-panel .grupo { font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--oro); padding: 22px 0 6px; }
  .menu-movil-panel a.sub { font-size: 16.5px; font-weight: 600; padding-left: 14px; color: #D9D1D4; }
  .menu-movil-panel .boton { margin-top: 24px; border: 0; }
}

/* Fotos de fondo con tono burdeos */
.foto { position: relative; isolation: isolate; overflow: hidden; }
.foto::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: var(--foto); background-size: cover; background-position: var(--foto-pos, center); filter: grayscale(1) contrast(1.15) brightness(.55); transform: scale(1.04); transition: transform 1.2s ease; }
.foto::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(10, 8, 9, .96) 0%, rgba(10, 8, 9, .82) 38%, rgba(122, 31, 61, .55) 100%); mix-blend-mode: normal; }
.foto.suave::after { background: linear-gradient(180deg, rgba(10, 8, 9, .55) 0%, rgba(10, 8, 9, .92) 75%, var(--negro) 100%), linear-gradient(90deg, rgba(122, 31, 61, .35), transparent 60%); }

/* Rejilla luminosa de fondo */
.malla::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%); }

/* Portada */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 130px 0 90px; }
.hero .contenedor { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; width: 100%; }
.hero-texto { display: flex; flex-direction: column; gap: 26px; }
.hero h1 { font-size: clamp(42px, 6.2vw, 82px); letter-spacing: -.045em; line-height: 1.0; }
.hero-texto > p { font-size: 20px; color: #CFC6C9; max-width: 600px; }
.rotador { display: inline-block; min-width: 4ch; }
.rotador span { display: inline-block; animation: entra .5s ease both; }
@keyframes entra { from { opacity: 0; transform: translateY(18px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.confianza { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 6px; }
.confianza span { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: #D6CDD0; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--linea); background: rgba(255, 255, 255, .03); }
.confianza span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--metal-oro); box-shadow: 0 0 10px rgba(216, 190, 110, .8); }
.bajar { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--linea-fuerte); border-radius: 14px; }
.bajar::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--oro); animation: rueda 1.8s ease-in-out infinite; }
@keyframes rueda { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Panel "en vivo" (estilo Centro de Coordinación) */
.panel-vivo { position: relative; border-radius: 26px; padding: 2px; background: linear-gradient(140deg, rgba(255, 255, 255, .45), rgba(255, 255, 255, .05) 30%, rgba(168, 48, 79, .6) 70%, rgba(216, 190, 110, .5)); box-shadow: var(--sombra); transform: perspective(1200px) rotateY(-6deg) rotateX(3deg); transition: transform .4s ease; }
.panel-vivo:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
.panel-vivo-interior { border-radius: 24px; background: linear-gradient(180deg, rgba(26, 22, 24, .97), rgba(12, 10, 11, .98)); overflow: hidden; }
.pv-cabeza { display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: var(--metal-grafito); border-bottom: 1px solid var(--linea); position: relative; }
.pv-cabeza::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--burgundy-vivo) 0 33%, #C9CED6 33% 66%, var(--oro) 66%); }
.pv-cabeza .puntos { display: flex; gap: 6px; }
.pv-cabeza .puntos i { width: 10px; height: 10px; border-radius: 50%; background: #3A3337; }
.pv-cabeza .puntos i:first-child { background: var(--burgundy-vivo); }
.pv-cabeza strong { font-size: 13.5px; letter-spacing: .02em; }
.en-vivo { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #9FE3B5; }
.en-vivo::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: pulso 1.8s infinite; }
@keyframes pulso { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, .55); } 70% { box-shadow: 0 0 0 10px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.pv-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--linea); }
.pv-kpi { background: #151214; padding: 16px 16px 14px; display: flex; flex-direction: column; gap: 2px; }
.pv-kpi b { font-size: 26px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.pv-kpi span { font-size: 11.5px; color: var(--suave); font-weight: 600; line-height: 1.3; }
.pv-barras { display: flex; align-items: flex-end; gap: 6px; height: 64px; padding: 14px 18px 0; }
.pv-barras i { flex: 1; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, #C9587A, #7A1F3D); opacity: .85; transition: height .8s ease; }
.pv-barras i:nth-child(3n) { background: linear-gradient(180deg, #F1F3F5, #8E949D); opacity: .7; }
.pv-feed { list-style: none; padding: 10px 12px 14px; display: flex; flex-direction: column; gap: 8px; height: 214px; overflow: hidden; position: relative; }
.pv-feed::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 50px; background: linear-gradient(transparent, #0C0A0B); pointer-events: none; }
.pv-feed li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .035); border: 1px solid var(--linea); font-size: 13.5px; animation: entraFeed .5s ease both; }
.pv-feed li .ic { flex-shrink: 0; width: 32px; height: 32px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 15px; background: rgba(255, 255, 255, .06); }
.pv-feed li .tx { flex: 1; min-width: 0; line-height: 1.35; }
.pv-feed li .tx small { display: block; color: var(--tenue); font-size: 11.5px; }
.pv-feed li .hora { color: var(--tenue); font-size: 11.5px; font-variant-numeric: tabular-nums; }
@keyframes entraFeed { from { opacity: 0; transform: translateY(-14px) scale(.98); } to { opacity: 1; transform: none; } }
.pv-nota { font-size: 11.5px; color: var(--tenue); text-align: center; padding: 0 0 12px; }

/* Cinta de logos / capacidades */
.cinta { border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); background: var(--carbon); overflow: hidden; padding: 18px 0; }
.cinta-pista { display: flex; gap: 48px; width: max-content; animation: cinta 40s linear infinite; }
.cinta span { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 15px; color: #CFC6C9; white-space: nowrap; letter-spacing: .02em; }
.cinta span::before { content: "✦"; color: var(--oro); }
@keyframes cinta { to { transform: translateX(-50%); } }

/* Servicios: tarjetas con foto */
.servicios-rejilla { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.servicio { grid-column: span 2; min-height: 380px; border-radius: var(--radio); border: 1px solid var(--linea); padding: 30px; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; text-decoration: none; color: var(--texto); transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease; }
.servicio:nth-child(1), .servicio:nth-child(2) { grid-column: span 3; min-height: 420px; }
.servicio::after { background: linear-gradient(180deg, rgba(10, 8, 9, .15) 0%, rgba(10, 8, 9, .7) 50%, rgba(10, 8, 9, .97) 100%), linear-gradient(120deg, rgba(122, 31, 61, .45), transparent 60%); }
.servicio:hover { transform: translateY(-6px); border-color: rgba(216, 190, 110, .45); box-shadow: 0 30px 60px rgba(0, 0, 0, .5); color: var(--texto); }
.servicio:hover::before { transform: scale(1.12); filter: grayscale(.4) contrast(1.1) brightness(.6); }
.servicio .num { position: absolute; top: 24px; right: 26px; font-size: 13px; font-weight: 800; letter-spacing: .2em; color: rgba(255, 255, 255, .5); }
.servicio h3 { font-size: 26px; letter-spacing: -.02em; }
.servicio p { color: #CFC6C9; max-width: 460px; }
.icono { width: 52px; height: 52px; border-radius: 16px; background: var(--metal-burdeos); display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: var(--brillo), 0 8px 20px rgba(122, 31, 61, .4); }
.icono svg { width: 25px; height: 25px; }
.icono.plata { background: var(--plata); box-shadow: var(--brillo), 0 8px 20px rgba(0, 0, 0, .4); }

/* Pestañas interactivas (antes/después) */
.conmutador { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--grafito); border: 1px solid var(--linea-fuerte); gap: 4px; }
.conmutador button { font: inherit; font-weight: 800; font-size: 14.5px; color: var(--suave); background: transparent; border: 0; border-radius: 999px; padding: 11px 22px; cursor: pointer; transition: all .25s ease; }
.conmutador button[aria-selected="true"] { background: var(--metal-burdeos); color: #fff; box-shadow: var(--brillo); }
.conmutador button[aria-selected="true"].plata { background: var(--plata); color: #141113; }
.comparacion { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 34px; }
.comp { border-radius: 20px; padding: 24px; background: var(--grafito); border: 1px solid var(--linea); display: flex; flex-direction: column; gap: 10px; transition: all .4s ease; }
.comp .hora { font-size: 13px; font-weight: 800; color: var(--oro); letter-spacing: .1em; }
.comp h4 { font-size: 18px; }
.comp p { color: var(--suave); font-size: 15px; }
.comp .mins { margin-top: auto; font-weight: 800; font-size: 14px; display: inline-flex; gap: 8px; align-items: center; }
.modo-antes .comp { border-color: rgba(168, 48, 79, .35); }
.modo-antes .comp .mins { color: #E0738F; }
.modo-despues .comp { border-color: rgba(216, 190, 110, .35); background: linear-gradient(180deg, #1F1A1C, #151213); }
.modo-despues .comp .mins { color: #9FE3B5; }
.total-dia { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding: 20px 26px; border-radius: 20px; border: 1px solid var(--linea); background: rgba(255, 255, 255, .02); }
.total-dia b { font-size: 32px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }

/* Calculadora */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
.calc-entradas, .calc-resultado { border-radius: 26px; padding: 34px; border: 1px solid var(--linea); }
.calc-entradas { background: var(--grafito); display: flex; flex-direction: column; gap: 26px; }
.deslizador { display: flex; flex-direction: column; gap: 10px; }
.deslizador label { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; }
.deslizador output { font-weight: 800; color: var(--oro); font-variant-numeric: tabular-nums; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--burgundy-vivo) var(--p, 50%), #2C2629 var(--p, 50%)); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--plata); box-shadow: 0 2px 10px rgba(0, 0, 0, .6), var(--brillo); cursor: grab; border: 2px solid #fff; }
input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #E4E7EA; border: 2px solid #fff; cursor: grab; }
input[type=range]:focus-visible { outline: 3px solid var(--oro); outline-offset: 4px; }
.calc-resultado { background: var(--metal-burdeos); position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 18px; justify-content: center; box-shadow: var(--brillo), var(--sombra); }
.calc-resultado::before { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -120px; border-radius: 50%; border: 50px solid rgba(255, 255, 255, .06); }
.calc-resultado .gran-cifra { font-size: clamp(56px, 8vw, 96px); font-weight: 800; letter-spacing: -.05em; line-height: .95; font-variant-numeric: tabular-nums; }
.calc-resultado p { color: #F4DCE3; font-size: 17px; position: relative; }
.calc-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; position: relative; }
.calc-mini div { background: rgba(0, 0, 0, .22); border-radius: 16px; padding: 14px 16px; }
.calc-mini b { display: block; font-size: 24px; font-variant-numeric: tabular-nums; }
.calc-mini span { font-size: 13px; color: #F4DCE3; }

/* Bloque demo con Ruti */
.demo { border-radius: 32px; border: 1px solid var(--linea-fuerte); padding: clamp(34px, 6vw, 70px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: center; }
.demo-texto { display: flex; flex-direction: column; gap: 20px; }
.demo h2 { font-size: clamp(30px, 4.2vw, 50px); letter-spacing: -.035em; }
.demo p { color: #D6CDD0; font-size: 18px; }
.demo-pasos { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.demo-pasos li { display: flex; gap: 14px; align-items: center; color: #E9E1E4; }
.demo-mascota { display: flex; justify-content: center; position: relative; }
.demo-mascota::before { content: ""; position: absolute; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(168, 48, 79, .45), transparent 70%); top: 50%; left: 50%; transform: translate(-50%, -50%); filter: blur(10px); }
.demo-mascota svg { position: relative; width: min(260px, 70%); height: auto; cursor: pointer; }
.numero { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--metal-oro); color: #241A06; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 14.5px; box-shadow: var(--brillo); }

/* Caso real */
.caso .contenedor { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.caso-texto { display: flex; flex-direction: column; gap: 20px; }
.caso h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -.035em; }
.caso-texto p { font-size: 18px; color: #D6CDD0; }
.cifras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.cifra { position: relative; border-radius: 22px; padding: 26px; background: rgba(20, 17, 19, .75); border: 1px solid var(--linea-fuerte); backdrop-filter: blur(8px); display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.cifra::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--metal-oro); }
.cifra strong { font-size: clamp(34px, 4vw, 46px); letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.cifra span { color: var(--suave); font-size: 15px; line-height: 1.45; }

/* Proceso (línea de tiempo) */
.linea-tiempo { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.linea-tiempo::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: var(--linea-fuerte); }
.linea-tiempo::after { content: ""; position: absolute; left: 0; top: 27px; height: 2px; width: var(--avance, 0%); background: linear-gradient(90deg, var(--burgundy-vivo), var(--oro)); transition: width 1.4s ease; box-shadow: 0 0 12px rgba(216, 190, 110, .6); }
.etapa { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; }
.etapa .bola { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; background: var(--grafito); border: 2px solid var(--linea-fuerte); color: var(--suave); transition: all .5s ease; }
.etapa.activa .bola { background: var(--metal-burdeos); border-color: rgba(255, 255, 255, .3); color: #fff; box-shadow: 0 0 0 6px rgba(168, 48, 79, .15), var(--brillo); }
.etapa h3 { font-size: 20px; }
.etapa p { color: var(--suave); }

/* Tarjetas genéricas */
.rejilla { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.tarjeta { position: relative; border-radius: var(--radio); padding: 30px; background: linear-gradient(180deg, #1C181A, #151213); border: 1px solid var(--linea); display: flex; flex-direction: column; gap: 12px; transition: transform .3s ease, border-color .3s ease; overflow: hidden; }
.tarjeta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(216, 190, 110, .1), transparent 40%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.tarjeta:hover::before { opacity: 1; }
.tarjeta:hover { transform: translateY(-4px); border-color: var(--linea-fuerte); }
.tarjeta h3 { font-size: 20px; letter-spacing: -.01em; }
.tarjeta p { color: var(--suave); }
.tarjeta .emoji { font-size: 26px; }

/* ¿Te suena? */
.situaciones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .situaciones { grid-template-columns: minmax(0, 1fr); } }
.situacion { border-radius: 22px; padding: 28px; background: var(--grafito); border: 1px solid var(--linea); display: flex; flex-direction: column; gap: 12px; }
.situacion q { font-size: 19px; font-weight: 800; quotes: "“" "”"; line-height: 1.35; }
.situacion q::before { color: var(--burgundy-vivo); }
.situacion p { color: var(--suave); }
.situacion p::before { content: "Con RutinOut → "; font-weight: 800; color: var(--oro); }

/* Lista de pasos (páginas internas) */
.lista-pasos { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.lista-pasos li { display: flex; gap: 18px; align-items: flex-start; background: var(--grafito); border: 1px solid var(--linea); border-radius: 20px; padding: 24px 26px; }
.lista-pasos h3 { font-size: 19px; margin-bottom: 4px; }
.lista-pasos p { color: var(--suave); }

/* Encabezado de páginas internas */
.cabeza-pagina { padding: 170px 0 110px; border-bottom: 1px solid var(--linea); }
.cabeza-pagina .contenedor { display: flex; flex-direction: column; gap: 22px; max-width: 980px; margin: 0 auto; }
.cabeza-pagina h1 { font-size: clamp(38px, 5.6vw, 70px); letter-spacing: -.045em; line-height: 1.02; }
.cabeza-pagina p.grande { font-size: 20px; color: #D6CDD0; max-width: 760px; }
.miga { font-size: 14px; color: var(--suave); }
.miga a { color: var(--suave); text-decoration: none; }
.miga a:hover { color: var(--oro); }

/* Texto largo */
.prosa { display: flex; flex-direction: column; gap: 18px; font-size: 18px; }
.prosa h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -.02em; margin-top: 26px; }
.prosa p, .prosa li { color: #CFC6C9; }
.prosa ul { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.prosa strong { color: #fff; }

/* Preguntas */
.lista-preguntas { display: flex; flex-direction: column; gap: 12px; }
details.pregunta { background: var(--grafito); border: 1px solid var(--linea); border-radius: 18px; padding: 22px 26px; transition: border-color .3s; }
details.pregunta[open] { border-color: rgba(216, 190, 110, .35); }
details.pregunta summary { font-size: 18px; font-weight: 800; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
details.pregunta summary::-webkit-details-marker { display: none; }
details.pregunta summary::after { content: "+"; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; background: rgba(255, 255, 255, .05); color: var(--oro); transition: transform .3s; }
details.pregunta[open] summary::after { transform: rotate(45deg); }
details.pregunta p { margin-top: 14px; color: var(--suave); }

/* Cierre */
.cierre { border-radius: 32px; padding: clamp(40px, 7vw, 84px); border: 1px solid var(--linea-fuerte); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.cierre-texto { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.cierre h2 { font-size: clamp(32px, 4.4vw, 54px); letter-spacing: -.04em; line-height: 1.05; }
.cierre p { font-size: 18px; color: #D6CDD0; }

/* Pie */
footer { background: #060505; border-top: 1px solid var(--linea); position: relative; }
footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--burgundy-vivo), var(--oro), transparent); }
.pie { display: flex; flex-wrap: wrap; gap: 44px; padding-top: 72px; padding-bottom: 44px; }
.pie-marca { flex: 2 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.pie-marca .logo { font-size: 30px; }
.pie-marca p { color: var(--suave); font-size: 15px; max-width: 340px; }
.pie-col { flex: 1 1 170px; min-width: 0; display: flex; flex-direction: column; gap: 11px; font-size: 15px; }
.pie-col h4 { font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--oro); margin-bottom: 6px; }
.pie-col a { color: var(--suave); text-decoration: none; }
.pie-col a:hover { color: #fff; }
.pie-final { border-top: 1px solid var(--linea); padding-top: 22px; padding-bottom: 30px; font-size: 13.5px; color: var(--tenue); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

/* Aparecer al hacer scroll */
.revelar { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.revelar.visto { opacity: 1; transform: none; }
.revelar[data-retraso="1"] { transition-delay: .1s; }
.revelar[data-retraso="2"] { transition-delay: .2s; }
.revelar[data-retraso="3"] { transition-delay: .3s; }
.revelar[data-retraso="4"] { transition-delay: .4s; }

/* Diagnóstico (una pregunta por pantalla) */
.asistente-form { background: linear-gradient(180deg, #1C181A, #131012); border: 1px solid var(--linea-fuerte); border-radius: 30px; box-shadow: var(--sombra); padding: clamp(26px, 5vw, 52px); display: flex; flex-direction: column; gap: 30px; }
.progreso { height: 6px; border-radius: 99px; background: #2A2427; overflow: hidden; }
.progreso div { height: 100%; width: 0; background: linear-gradient(90deg, var(--burgundy-vivo), var(--oro)); transition: width .4s ease; }
.contador { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--oro); }
.paso-form { display: none; flex-direction: column; gap: 18px; }
.paso-form.visible { display: flex; animation: entra .45s ease both; }
.paso-form h2 { font-size: clamp(25px, 3.2vw, 36px); letter-spacing: -.025em; }
.paso-form .ayuda { color: var(--suave); }
.campo { width: 100%; font: inherit; font-size: 18px; padding: 17px 20px; border-radius: 16px; border: 1.5px solid var(--linea-fuerte); background: #0F0D0E; color: var(--texto); transition: border-color .2s, box-shadow .2s; }
.campo::placeholder { color: var(--tenue); }
.campo:focus { outline: none; border-color: var(--oro); box-shadow: 0 0 0 4px rgba(216, 190, 110, .12); }
textarea.campo { min-height: 140px; resize: vertical; }
.opciones { display: flex; flex-wrap: wrap; gap: 10px; }
.opcion { position: relative; }
.opcion input { position: absolute; opacity: 0; pointer-events: none; }
.opcion span { display: inline-block; padding: 13px 20px; border-radius: 999px; border: 1.5px solid var(--linea-fuerte); background: #0F0D0E; font-weight: 700; cursor: pointer; transition: all .2s ease; }
.opcion span:hover { border-color: rgba(255, 255, 255, .35); }
.opcion input:checked + span { background: var(--metal-burdeos); border-color: transparent; color: #fff; box-shadow: var(--brillo); }
.opcion input:focus-visible + span { outline: 3px solid var(--oro); outline-offset: 2px; }
.botones-form { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.aviso-error { color: #F08DA5; font-weight: 700; font-size: 15px; min-height: 1.2em; }
.oculto { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.final-form { text-align: center; align-items: center; }

/* ───── Ruti: mascota y chat ───── */
.ruti-svg { display: block; overflow: visible; }
.ruti-cuerpo, .ruti-sombra, .ruti-ojo, .ruti-pupilas, .ruti-antena, .ruti-brazo-d, .ruti-boca, .ruti-aguja-l, .ruti-aguja-c { transform-box: fill-box; }
.ruti-cuerpo { animation: rFlota 3.4s ease-in-out infinite; transform-origin: center; }
.ruti-sombra { animation: rSombra 3.4s ease-in-out infinite; transform-origin: center; }
.ruti-ojo { animation: rParpadeo 4.8s infinite; transform-origin: center; }
.ruti-pupilas { transition: transform .35s ease; }
.ruti-antena { animation: rBrillo 2.4s ease-in-out infinite; transform-origin: center; }
.ruti-brazo-d { transform-origin: 20% 10%; }
.ruti-boca { transform-origin: center; }
.ruti-aguja-l { transform-origin: 50% 100%; animation: rGira 12s linear infinite; }
.ruti-aguja-c { transform-origin: 50% 100%; animation: rGira 2.5s linear infinite; }
.saluda .ruti-brazo-d { animation: rSaludo 1.1s ease-in-out 2; }
.habla .ruti-boca { animation: rHabla .26s ease-in-out infinite alternate; }
.piensa .ruti-pupilas { animation: rMira 1.6s ease-in-out infinite; }
.piensa .ruti-aguja-c { animation-duration: .5s; }
.piensa .ruti-antena { animation-duration: .6s; }
@keyframes rFlota { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-7px) rotate(1.5deg); } }
@keyframes rSombra { 0%, 100% { transform: scaleX(1); opacity: .45; } 50% { transform: scaleX(.78); opacity: .22; } }
@keyframes rParpadeo { 0%, 90%, 100% { transform: scaleY(1); } 93% { transform: scaleY(.1); } }
@keyframes rBrillo { 0%, 100% { transform: scale(1); filter: drop-shadow(0 0 2px #F6E8A6); } 50% { transform: scale(1.2); filter: drop-shadow(0 0 8px #F6E8A6); } }
@keyframes rSaludo { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-40deg); } 50% { transform: rotate(-12deg); } 75% { transform: rotate(-40deg); } }
@keyframes rHabla { from { transform: scaleY(.45); } to { transform: scaleY(1.5); } }
@keyframes rMira { 0%, 100% { transform: translateX(-2.4px); } 50% { transform: translateX(2.4px); } }
@keyframes rGira { to { transform: rotate(360deg); } }

.ruti-lanzar { position: fixed; right: 18px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 50; width: 84px; height: 100px; border: 0; background: none; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .55)); transition: transform .2s; }
.ruti-lanzar:hover { transform: scale(1.06); }
.ruti-lanzar:focus-visible { outline: 3px solid var(--oro); outline-offset: 4px; border-radius: 24px; }
.ruti-globo { position: fixed; right: 108px; bottom: calc(56px + env(safe-area-inset-bottom)); z-index: 50; background: var(--plata); color: #141113; box-shadow: var(--sombra); border-radius: 18px 18px 4px 18px; padding: 12px 16px; font-size: 14px; font-weight: 700; max-width: 240px; cursor: pointer; animation: rGlobo .45s ease-out both; line-height: 1.4; }
.ruti-globo b { color: var(--burgundy); }
@keyframes rGlobo { from { opacity: 0; transform: translateY(10px) scale(.9); } to { opacity: 1; transform: none; } }
.ruti-wa { position: fixed; right: 30px; bottom: calc(122px + env(safe-area-inset-bottom)); z-index: 49; width: 52px; height: 52px; border-radius: 50%; background: var(--metal-grafito); border: 1px solid var(--linea-fuerte); display: flex; align-items: center; justify-content: center; box-shadow: var(--sombra), var(--brillo); transition: transform .2s; }
.ruti-wa:hover { transform: scale(1.08); }
.ruti-wa svg { width: 26px; height: 26px; }
.ruti-chat { position: fixed; right: 18px; bottom: 18px; top: auto; width: min(420px, calc(100% - 36px)); height: min(680px, calc(100% - 110px)); z-index: 60; background: #0E0C0D; border: 1px solid var(--linea-fuerte); border-radius: 26px; display: flex; flex-direction: column; box-shadow: 0 30px 80px rgba(0, 0, 0, .7); transform: translateY(24px) scale(.96); opacity: 0; pointer-events: none; transition: transform .28s ease, opacity .28s ease; overflow: hidden; }
.ruti-chat.on { transform: none; opacity: 1; pointer-events: auto; }
.ruti-cab { background: var(--metal-grafito); padding: 12px 14px 14px; display: flex; align-items: center; gap: 12px; position: relative; border-bottom: 1px solid var(--linea); }
.ruti-cab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--burgundy-vivo) 0 33%, #C9CED6 33% 66%, var(--oro) 66%); }
.ruti-cab h2 { font-size: 17px; margin: 0; }
.ruti-cab .sub { font-size: 12px; color: var(--suave); display: flex; align-items: center; gap: 6px; }
.ruti-cab .sub::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3DDC84; }
.ruti-cab .acc { margin-left: auto; display: flex; gap: 6px; }
.ruti-cab .acc button, .ruti-cab .acc a { background: rgba(255, 255, 255, .06); border: 1px solid var(--linea-fuerte); color: var(--texto); border-radius: 12px; width: 40px; height: 40px; font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.ruti-cab .acc svg { width: 18px; height: 18px; }
.ruti-msgs { flex: 1; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; background: radial-gradient(circle at 80% 0%, rgba(122, 31, 61, .18), transparent 50%); }
.ruti-m { max-width: 86%; padding: 10px 14px; border-radius: 18px; word-wrap: break-word; line-height: 1.5; font-size: 14.5px; animation: entra .3s ease both; }
.ruti-m.bot { align-self: flex-start; background: #1E1A1C; border: 1px solid var(--linea); border-bottom-left-radius: 5px; }
.ruti-m.yo { align-self: flex-end; background: var(--metal-burdeos); color: #fff; border-bottom-right-radius: 5px; box-shadow: var(--brillo); }
.ruti-m a { color: var(--oro); }
.ruti-m.demo { border-color: rgba(216, 190, 110, .4); background: linear-gradient(180deg, #2A2316, #1E1A1C); }
.ruti-escribe { align-self: flex-start; display: flex; gap: 5px; padding: 13px 15px; background: #1E1A1C; border: 1px solid var(--linea); border-radius: 18px; border-bottom-left-radius: 5px; }
.ruti-escribe i { width: 7px; height: 7px; border-radius: 50%; background: var(--suave); animation: rPunto 1s infinite; }
.ruti-escribe i:nth-child(2) { animation-delay: .15s; background: var(--burgundy-vivo); }
.ruti-escribe i:nth-child(3) { animation-delay: .3s; background: var(--oro); }
@keyframes rPunto { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-5px); opacity: 1; } }
.ruti-pdf { align-self: flex-start; display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 18px; background: var(--plata); color: #141113; text-decoration: none; max-width: 90%; box-shadow: var(--brillo), 0 10px 24px rgba(0, 0, 0, .4); animation: entra .4s ease both; }
.ruti-pdf:hover { color: #141113; transform: translateY(-1px); }
.ruti-pdf .doc { flex-shrink: 0; width: 42px; height: 50px; border-radius: 8px; background: var(--metal-burdeos); color: #fff; font-size: 11px; font-weight: 800; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 6px; }
.ruti-pdf b { display: block; font-size: 14px; }
.ruti-pdf span { font-size: 12.5px; color: #4A4246; }
.ruti-chips { display: flex; gap: 6px; overflow-x: auto; padding: 0 14px 10px; scrollbar-width: none; }
.ruti-chips[hidden] { display: none; }
.ruti-chips button { flex: none; border: 1px solid var(--linea-fuerte); background: rgba(255, 255, 255, .04); color: var(--texto); border-radius: 999px; padding: 8px 13px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.ruti-chips button:hover { border-color: var(--oro); }
.ruti-form { display: flex; gap: 8px; padding: 10px 12px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--linea); background: #121011; }
.ruti-form textarea { flex: 1; resize: none; min-height: 46px; max-height: 120px; border: 1px solid var(--linea-fuerte); border-radius: 16px; padding: 12px 14px; background: #0A0809; color: var(--texto); font: inherit; font-size: 15px; }
.ruti-form textarea:focus { outline: none; border-color: var(--oro); }
.ruti-form button { flex: none; width: 50px; border-radius: 16px; border: 0; background: var(--metal-burdeos); color: #fff; box-shadow: var(--brillo); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.ruti-form button svg { width: 20px; height: 20px; }
.ruti-aviso { font-size: 11.5px; color: var(--tenue); text-align: center; padding: 0 14px 8px; background: #121011; }

/* Equivalencias de clases usadas en las páginas internas */
.seccion.blanco, .seccion.tintado { background: var(--carbon); }
.boton-amarillo { background: var(--metal-oro); color: #241A06; box-shadow: var(--brillo), 0 10px 30px rgba(201, 164, 74, .25); }
.boton-amarillo:hover { color: #241A06; }
.boton-borde-claro { background: rgba(255, 255, 255, .03); color: var(--texto); border: 1px solid var(--linea-fuerte); padding: 15px 27px; }
.boton-borde-claro:hover { color: #fff; border-color: rgba(255, 255, 255, .4); }
.resaltado { background: linear-gradient(135deg, #E0738F, #A8304F 45%, #F09AB0 60%, #8E2848); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Adaptación */
@media (max-width: 1020px) {
  .hero .contenedor, .caso .contenedor, .calc, .demo { grid-template-columns: minmax(0, 1fr); }
  .panel-vivo { transform: none; max-width: 560px; }
  .servicios-rejilla { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .servicio, .servicio:nth-child(1), .servicio:nth-child(2) { grid-column: span 1; min-height: 340px; }
  .servicio:nth-child(5) { grid-column: span 2; }
  .comparacion { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .linea-tiempo { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .linea-tiempo::before, .linea-tiempo::after { display: none; }
  .demo-mascota { order: -1; }
}
@media (max-width: 640px) {
  .seccion { padding: 80px 0; }
  .contenedor { padding: 0 16px; }
  .hero { padding: 110px 0 80px; }
  .servicios-rejilla, .comparacion, .linea-tiempo, .cifras, .calc-mini { grid-template-columns: minmax(0, 1fr); }
  .servicio:nth-child(5) { grid-column: span 1; }
  .pv-kpi b { font-size: 21px; }
  .boton { font-size: 15.5px; padding: 15px 22px; }
  .calc-entradas, .calc-resultado { padding: 24px; }
  .ruti-chat { right: 0; bottom: 0; width: 100%; height: 100%; border-radius: 0; }
  .ruti-globo { right: 100px; max-width: 200px; }
  .bajar { display: none; }
  .cabeza-pagina { padding: 130px 0 80px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .revelar { opacity: 1; transform: none; }
}

/* ═══════════════ TEMA "NOCHE" (2026-11-08) ═══════════════
   Sobrio, colores lisos, fotos de negocios a color. Esta capa va al final y manda sobre lo de arriba. */
body { font-family: 'Onest', system-ui, sans-serif; line-height: 1.55; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -.015em; }
.titulo-seccion, .hero h1, .cabeza-pagina h1, .cierre h2, .demo h2 { letter-spacing: -.02em; }
a { color: #fff; } a:hover { color: #fff; }
::selection { background: var(--burgundy); }
.metal, .metal-oro, .resaltado { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #fff; }
.metal-burdeos { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--oro); }
.etiqueta { font-weight: 600; letter-spacing: .12em; font-size: 13px; }
.etiqueta::before { background: var(--burgundy-vivo); width: 22px; }

/* botones: blanco liso (principal) y borde blanco */
.boton { font-weight: 600; text-transform: uppercase; letter-spacing: .05em; font-size: 15px; }
.boton::after { display: none; }
.boton:hover { transform: translateY(-1px); }
.boton-principal, .boton-oro, .boton-amarillo { background: #fff; color: #0D0E14; box-shadow: none; }
.boton-principal:hover, .boton-oro:hover, .boton-amarillo:hover { background: #DADBE0; color: #0D0E14; box-shadow: none; }
.boton-plata, .boton-borde, .boton-borde-claro { background: #000; color: #fff; border: 1.5px solid #fff; box-shadow: none; backdrop-filter: none; padding: 15px 26px; }
.boton-plata:hover, .boton-borde:hover, .boton-borde-claro:hover { background: #fff; color: #0D0E14; }
.flecha { color: #fff; font-weight: 600; }

/* cabecera y logo calado */
header::after { background: var(--linea); }
.menu { font-weight: 500; }
.menu > a:not(.boton)::after, .submenu > summary::before { background: var(--burgundy-vivo); }
.submenu-panel { background: #000; border-radius: 14px; }
.marca { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.marca svg { width: 1.45em; height: 1.45em; flex: none; }
.barra .marca { font-size: 23px; }

/* fotos a color con velo oscuro (antes: blanco y negro con capa burdeos) */
.foto::before { filter: brightness(.8) saturate(.95); }
.foto::after { background: linear-gradient(110deg, rgba(13, 14, 20, .94) 0%, rgba(13, 14, 20, .8) 45%, rgba(13, 14, 20, .35) 100%); }
.foto.suave::after { background: linear-gradient(180deg, rgba(13, 14, 20, .7) 0%, rgba(13, 14, 20, .9) 70%, var(--negro) 100%); }
.malla::before { display: none; }
.servicio::after { background: linear-gradient(180deg, rgba(0, 0, 0, .05) 0%, rgba(0, 0, 0, .6) 50%, rgba(0, 0, 0, .94) 100%); }
.servicio:hover::before { filter: brightness(.85); }
.confianza span::before { background: var(--burgundy-vivo); box-shadow: none; }

/* piezas sin brillo */
.panel-vivo { background: var(--linea-fuerte); padding: 1.5px; transform: none; border-radius: 16px; }
.panel-vivo:hover { transform: none; }
.panel-vivo-interior { background: #000; border-radius: 15px; }
.pv-cabeza::after, .ruti-cab::after { background: var(--burgundy-vivo); height: 1px; }
.pv-barras i { background: var(--burgundy); }
.pv-barras i:nth-child(3n) { background: #F3F2F4; opacity: .5; }
.icono { background: var(--burgundy); box-shadow: none; border-radius: 12px; }
.conmutador button[aria-selected="true"] { background: #fff; color: #0D0E14; }
.modo-despues .comp { border-color: rgba(255, 255, 255, .35); background: #000; }
input[type=range] { background: linear-gradient(90deg, var(--burgundy-vivo) var(--p, 50%), #2C2F3A var(--p, 50%)); }
input[type=range]::-webkit-slider-thumb { background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .5); }
.deslizador output { color: #fff; }
.calc-resultado { background: var(--burgundy); box-shadow: none; }
.demo-mascota::before { background: #1D1F2A; filter: none; }
.numero { background: #fff; color: #0D0E14; box-shadow: none; }
.cifra::before { background: var(--burgundy-vivo); }
.linea-tiempo::after { background: var(--burgundy-vivo); box-shadow: none; }
.etapa.activa .bola { background: var(--burgundy); box-shadow: none; border-color: transparent; }
.tarjeta { background: #000; border: 1.5px solid var(--linea-fuerte); }
.tarjeta::before { display: none; }
.tarjeta:hover { border-color: #8B8E9C; }
.situacion p::before { color: var(--oro); }
.demo, .cierre, .asistente-form { border-radius: 18px; }
.asistente-form { background: #000; }
.progreso div { background: var(--burgundy-vivo); }
.campo:focus { border-color: #fff; box-shadow: none; }
.opcion input:checked + span { background: #fff; color: #0D0E14; }
details.pregunta summary::after { color: #fff; background: transparent; border: 1px solid var(--linea-fuerte); }
footer { background: #08090D; }
footer::before { background: var(--linea); }
.pie-col h4 { color: var(--suave); }

/* chat de Ruti: liso */
.ruti-chat { background: #000; border-radius: 20px; }
.ruti-msgs { background: none; }
.ruti-m.demo { border-color: var(--linea-fuerte); background: #1A1C26; }
.ruti-m a { color: #fff; }
.ruti-pdf { box-shadow: none; }
.ruti-chips button:hover, .ruti-form textarea:focus { border-color: #fff; }
.ruti-wa { background: #000; box-shadow: none; }
/* saludo de Ruti: más arriba para no tapar el contenido; se va solo al bajar */
.ruti-globo { right: 18px; bottom: calc(184px + env(safe-area-inset-bottom)); border-radius: 16px 16px 4px 16px; font-weight: 600; box-shadow: 0 14px 30px rgba(0, 0, 0, .45); background: #fff; }
.ruti-globo.sale { opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; pointer-events: none; }

/* ───── Portada ───── */
.portada { position: relative; overflow: hidden; padding: 0 0 40px; }
.mosaico { position: absolute; inset: -60px -10px auto; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; transform: rotate(-4deg) scale(1.12); transform-origin: top center; height: 1150px; overflow: hidden; }
.mosaico .col { display: flex; flex-direction: column; gap: 10px; padding-bottom: 10px; animation: nSube 90s linear infinite; }
.mosaico .col:nth-child(even) { animation-name: nBaja; }
.mosaico img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 6px; display: block; }
@keyframes nSube { to { transform: translateY(-50%); } }
@keyframes nBaja { from { transform: translateY(-50%); } to { transform: none; } }
.velo { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 14, 20, .6) 0%, rgba(13, 14, 20, .76) 45%, var(--negro) 78%); }
.portada > .contenedor { position: relative; z-index: 2; }
.portada-texto { text-align: center; padding-top: 170px; }
.portada h1 { font-size: clamp(36px, 6vw, 68px); line-height: 1.08; max-width: 900px; margin: 0 auto; letter-spacing: -.02em; }
.rota { display: inline-block; border-bottom: 4px solid var(--burgundy-vivo); min-width: 3ch; }
.rota .metal-burdeos { color: #fff; }
.portada .bajada { color: var(--suave); font-size: 19px; max-width: 640px; margin: 22px auto 0; }
.portada .acciones { justify-content: center; margin-top: 28px; }

.srv-carril { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-top: 18px; padding-bottom: 12px; scrollbar-width: thin; }
.srv { scroll-snap-align: start; position: relative; background: #000; border: 1.5px solid var(--linea-fuerte); border-radius: 14px; padding: 30px 24px 24px; display: flex; flex-direction: column; gap: 12px; min-width: 0; text-decoration: none; color: var(--texto); transition: border-color .25s, transform .25s; }
.srv:hover { border-color: #8B8E9C; transform: translateY(-3px); color: var(--texto); }
.srv.pop { border-color: #fff; }
.sello { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: #fff; color: #0D0E14; font-weight: 700; font-size: 14px; padding: 6px 16px; border-radius: 6px; white-space: nowrap; }
.srv .tipo { font-size: 13px; font-weight: 600; color: var(--suave); text-transform: uppercase; letter-spacing: .1em; }
.srv h3 { font-size: 23px; }
.srv .gancho { font-size: 18px; font-weight: 600; }
.srv p { color: var(--suave); }
.srv .boton { margin-top: auto; pointer-events: none; }
.srv small { color: var(--suave); font-size: 13px; text-align: center; }
.notas { color: var(--suave); font-size: 13px; text-align: center; margin-top: 20px; line-height: 1.6; }

/* ───── Tiras horizontales ───── */
.franja { overflow: hidden; border-block: 1px solid var(--linea-fuerte); background: #08090D; padding: 18px 0; }
.pista { display: flex; width: max-content; animation: nCorre 80s linear infinite; }
.pista span { display: inline-flex; align-items: center; gap: 14px; padding-right: 44px; font-weight: 600; font-size: 16px; color: #D5D5DC; white-space: nowrap; letter-spacing: .02em; }
.lg { display: inline-block; width: 16px; height: 16px; background: var(--burgundy-vivo); -webkit-mask: var(--logo) center/contain no-repeat; mask: var(--logo) center/contain no-repeat; flex: none; }
.franja:hover .pista { animation-play-state: paused; }
@keyframes nCorre { to { transform: translateX(-50%); } }
.franja-xl { overflow: hidden; padding: 26px 0; }
.franja-xl .pista { animation-duration: 110s; animation-direction: reverse; }
.franja-xl span { gap: 28px; padding-right: 28px; font-size: clamp(54px, 9vw, 120px); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px rgba(255, 255, 255, .2); }
.franja-xl span em { font-style: normal; color: #20232E; -webkit-text-stroke: 0; }
.franja-xl .lg { width: .5em; height: .5em; background: var(--burgundy); }

/* ───── Secciones nuevas ───── */
.sec { padding-block: 84px; position: relative; }
.sec h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.1; }
.sec .intro { color: var(--suave); margin-top: 12px; max-width: 620px; }
.con-fondo { overflow: hidden; }
.con-fondo > .contenedor { position: relative; z-index: 1; }
.palabra { position: absolute; left: 0; top: 30px; font-size: clamp(150px, 24vw, 330px); font-weight: 800; letter-spacing: -.05em; line-height: .9; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.2px rgba(255, 255, 255, .06); pointer-events: none; user-select: none; will-change: transform; z-index: 0; }
.palabra.abajo { top: auto; bottom: -30px; }
.palabra.vert { writing-mode: vertical-rl; left: auto; right: -30px; top: 0; font-size: clamp(120px, 15vw, 200px); }
.palabra .o { display: inline-block; width: .74em; height: .74em; vertical-align: -.02em; margin: 0 .02em; }
.palabra .o svg { width: 100%; height: 100%; overflow: visible; }
.palabra .o line { transform-origin: 50px 50px; animation: nGira 14s linear infinite; }
.palabra .o line + line { animation-duration: 90s; }
.aro { position: absolute; pointer-events: none; opacity: .1; }
.aro svg { display: block; animation: nGira 120s linear infinite; }
@keyframes nGira { to { transform: rotate(360deg); } }

.negocios { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 36px; }
.negocio { position: relative; border-radius: 10px; overflow: hidden; background: var(--carbon); aspect-ratio: 3/4; }
.cara { position: absolute; inset: 0; transition: opacity .9s ease; }
.cara.entra { opacity: 0; }
.negocio img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 4s ease; }
.cara.entra img { transform: scale(1.08); }
.negocio .cara > div { position: absolute; inset: auto 0 0; padding: 16px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .85) 40%); transition: transform .7s ease .2s; }
.cara.entra > div { transform: translateY(14px); }
.negocio b { display: block; font-size: 19px; }
.negocio span { font-size: 14px; color: #D8D8DE; line-height: 1.35; display: block; margin-top: 4px; }
.cuenta { display: flex; align-items: center; gap: 10px; margin-top: 16px; color: var(--suave); font-size: 14px; }
.cuenta b { color: var(--texto); font-variant-numeric: tabular-nums; }
.cuenta-barra { flex: 1; max-width: 180px; height: 3px; background: var(--linea-fuerte); border-radius: 2px; overflow: hidden; }
.cuenta-barra i { display: block; height: 100%; width: 100%; background: var(--burgundy-vivo); transform-origin: left; transform: scaleX(0); }
.cuenta-barra i.va { animation: nLlena 2.6s linear; }
@keyframes nLlena { to { transform: scaleX(1); } }

.atiende { background: var(--carbon); border-block: 1px solid var(--linea-fuerte); }
.atiende > .contenedor { display: grid; grid-template-columns: 1fr 360px; gap: 56px; align-items: center; }
.atiende .palabra { font-size: clamp(160px, 26vw, 360px); top: auto; bottom: -40px; left: auto; right: -20px; -webkit-text-stroke-color: rgba(255, 255, 255, .05); }
.tel-caja { position: relative; margin-top: 56px; }
.tel { background: #000; border: 1.5px solid var(--linea-fuerte); border-radius: 30px; padding: 14px; }
.tel-hd { display: flex; gap: 10px; align-items: center; padding: 6px 8px 14px; border-bottom: 1px solid var(--linea-fuerte); }
.tel-av { width: 36px; height: 36px; border-radius: 50%; background: var(--burgundy); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.tel-hd small { display: block; color: var(--suave); font-size: 12px; }
.msgs { display: flex; flex-direction: column; gap: 10px; padding: 16px 4px 6px; }
.m { max-width: 84%; padding: 10px 13px; border-radius: 14px; font-size: 15px; line-height: 1.4; transition: opacity .35s, transform .35s; }
.m.c { background: #22252F; align-self: flex-start; border-bottom-left-radius: 4px; }
.m.a { background: var(--burgundy); align-self: flex-end; border-bottom-right-radius: 4px; }
.m.s { align-self: center; background: transparent; color: var(--suave); font-size: 13px; border: 1px dashed var(--linea-fuerte); }
.js-on .msgs .m { opacity: 0; transform: translateY(8px); }
.js-on .msgs .m.ve { opacity: 1; transform: none; }
.puntitos { display: inline-flex; gap: 5px; padding: 4px 2px; }
.puntitos i { width: 7px; height: 7px; border-radius: 50%; background: #F1D6DE; animation: rPunto 1s infinite; }
.puntitos i:nth-child(2) { animation-delay: .15s; } .puntitos i:nth-child(3) { animation-delay: .3s; }
.repetir { margin-top: 12px; background: none; border: 0; color: var(--suave); font: 500 14px 'Onest', sans-serif; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.lista-puntos { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.lista-puntos li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; color: var(--suave); }
.lista-puntos li b { color: var(--texto); }
.lista-puntos li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--burgundy-vivo); margin-top: 8px; }
.et { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--oro); margin-bottom: 12px; }

.caso-b { position: relative; overflow: hidden; border-radius: 16px; display: block; text-decoration: none; color: var(--texto); }
.caso-b > img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.caso-b .capa { position: relative; background: linear-gradient(90deg, rgba(13, 14, 20, .94) 0%, rgba(13, 14, 20, .8) 55%, rgba(13, 14, 20, .3) 100%); padding: 56px 48px; }
.caso-b .capa > * { max-width: 560px; }
.caso-b p { color: #D1D1D8; margin-top: 16px; }
.cifras-b { display: flex; flex-wrap: wrap; gap: 28px 44px; margin-top: 22px; }
.cifras-b b { display: block; font-size: 36px; font-weight: 800; font-variant-numeric: tabular-nums; }
.cifras-b span { font-size: 14px; color: var(--suave); }

.pasos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.paso { background: #000; border: 1.5px solid var(--linea-fuerte); border-radius: 12px; padding: 24px; position: relative; overflow: hidden; }
.paso::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--burgundy-vivo); transform: scaleX(0); transform-origin: left; transition: transform .7s ease; }
.paso.visto::after { transform: scaleX(1); }
.paso:nth-child(2)::after { transition-delay: .35s; } .paso:nth-child(3)::after { transition-delay: .7s; } .paso:nth-child(4)::after { transition-delay: 1.05s; }
.paso i { font-style: normal; color: var(--suave); font-weight: 600; font-size: 14px; }
.paso h3 { font-size: 19px; margin-top: 10px; }
.paso p { color: var(--suave); margin-top: 8px; font-size: 16px; }

.final-b { text-align: center; }
.reloj-caja { position: relative; }
.reloj { width: 150px; height: 150px; margin: 0 auto 26px; color: var(--burgundy); position: relative; }
.reloj svg { width: 100%; height: 100%; display: block; }
.anillos { position: absolute; left: 50%; top: -55px; width: 260px; height: 260px; margin-left: -130px; pointer-events: none; }
.anillos svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: nGira 60s linear infinite; }
.anillos svg + svg { animation-duration: 40s; animation-direction: reverse; }
.hora-txt { color: var(--suave); font-size: 15px; margin-top: 10px; }
.hora-txt b { color: var(--texto); font-variant-numeric: tabular-nums; }
.num-tel { display: block; font-size: 30px; font-weight: 800; margin: 18px 0 26px; user-select: all; font-variant-numeric: tabular-nums; }
.final-b .acciones { justify-content: center; }

.marca-xl { display: flex; align-items: center; justify-content: center; gap: 2.5vw; margin-bottom: -4.2vw; color: #1A1C26; font-size: 19vw; font-weight: 800; letter-spacing: -.05em; line-height: 1; white-space: nowrap; user-select: none; overflow: hidden; }
.marca-xl i { width: .72em; height: .72em; background: currentColor; -webkit-mask: var(--logo) center/contain no-repeat; mask: var(--logo) center/contain no-repeat; flex: none; }
footer { overflow: hidden; }

/* ───── Ruti mini que aparece señalando ───── */
.guia { display: flex; align-items: flex-end; gap: 8px; margin-top: 26px; }
.guia .r { flex: none; width: 42px; transform: translateY(30px) scale(.6); opacity: 0; transition: transform .55s cubic-bezier(.3, 1.5, .5, 1), opacity .3s; }
.guia .globo { position: relative; background: #fff; color: #0D0E14; font-weight: 600; font-size: 15px; line-height: 1.35; padding: 9px 13px; border-radius: 14px; margin: 0 0 24px; max-width: 290px; opacity: 0; transform: scale(.8); transform-origin: left bottom; transition: transform .35s ease .5s, opacity .35s ease .5s; }
.guia .globo::before { content: ""; position: absolute; left: -6px; bottom: 10px; width: 14px; height: 14px; background: inherit; transform: rotate(45deg); border-radius: 2px; }
.guia.ve .r { transform: none; opacity: 1; }
.guia.ve .globo { opacity: 1; transform: none; }
.guia .ruti-brazo-d { transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.guia.ve .ruti-brazo-d { animation: rSenala 1.3s ease-in-out .6s infinite alternate; transform: rotate(-110deg); }
@keyframes rSenala { from { transform: rotate(-104deg); } to { transform: rotate(-122deg); } }
.guia.izq { flex-direction: row-reverse; }
.guia.izq .r svg { transform: scaleX(-1); }
.guia.izq .globo { transform-origin: right bottom; }
.guia.izq .globo::before { left: auto; right: -6px; }
.tel-caja .guia { position: absolute; right: 4px; top: -64px; margin: 0; }
.guia + .rejilla, .guia + .lista-pasos, .guia + .lista-preguntas, .guia + .situaciones { margin-top: 18px; }

@media (max-width: 820px) {
  .mosaico { grid-template-columns: repeat(3, 1fr); }
  .mosaico .col:nth-child(n+4) { display: none; }
  .portada-texto { padding-top: 120px; }
  .srv-carril { grid-auto-columns: 84%; }
  .negocios { grid-template-columns: 1fr 1fr; }
  .atiende > .contenedor { grid-template-columns: 1fr; gap: 20px; }
  .pasos { grid-template-columns: 1fr 1fr; }
  .caso-b .capa { padding: 36px 22px; background: rgba(13, 14, 20, .82); }
  .sec { padding-block: 64px; }
  .pista span { font-size: 15px; }
}
@media (max-width: 440px) { .pasos { grid-template-columns: 1fr; } .guia .globo { font-size: 14px; } }
@media (prefers-reduced-motion: reduce) {
  .guia .r, .guia .globo, .js-on .msgs .m { opacity: 1 !important; transform: none !important; }
}
/* botón blanco dentro del menú: texto oscuro (el color de los enlaces del menú lo tapaba) */
.menu > a.boton-principal, .menu > a.boton-principal:hover,
.menu-movil-panel a.boton-principal, .menu-movil-panel a.boton-principal:hover { color: #0D0E14; }
.menu-movil-panel a.boton-principal { border-bottom: 0; margin-top: 14px; }

/* ═════ Versión sobria (2026-11-13): sin Ruti decorativos, solo el del chat ═════ */
.demo.sin-mascota { grid-template-columns: 1fr; }
.demo.sin-mascota .demo-texto { max-width: 720px; }

/* ═════ Soluciones por rubro ═════ */
.rubros { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.rubro { display: flex; flex-direction: column; background: #000; border: 1.5px solid var(--linea-fuerte); border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--texto); transition: border-color .25s, transform .25s; }
.rubro:hover { border-color: #8B8E9C; transform: translateY(-3px); color: var(--texto); }
.rubro img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; filter: brightness(.85); }
.rubro .cuerpo { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.rubro .tipo { font-size: 13px; font-weight: 600; color: var(--suave); text-transform: uppercase; letter-spacing: .1em; }
.rubro h3 { font-size: 23px; }
.rubro p { color: var(--suave); }
.rubro .flecha { margin-top: auto; padding-top: 8px; font-weight: 600; }
.rubro .flecha::after { content: " →"; }

.chips-rubro { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-rubro span { border: 1px solid var(--linea-fuerte); border-radius: 999px; padding: 6px 14px; font-size: 14px; color: #D6D7DE; }
.tarjeta .nuevo { align-self: flex-start; background: #fff; color: #0D0E14; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 5px; }
.tarjeta .ya { align-self: flex-start; border: 1px solid var(--linea-fuerte); color: var(--suave); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 5px; }

.ejemplo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 48px; align-items: center; }
.ejemplo .tel { max-width: 420px; }
.msgs.fija .m { opacity: 1 !important; transform: none !important; }
.m.a b { font-weight: 700; }
@media (max-width: 900px) {
  .rubros { grid-template-columns: 1fr; }
  .rubro img { aspect-ratio: 16 / 8; }
  .ejemplo { grid-template-columns: 1fr; gap: 28px; }
}
