/* rs-mes — «Tu mes en redes» (fondo crema). Formulario con Marko → animación «armando» → perfil + calendario.
   --rsm-c / --rsm-t los pone el JS con el color de marca elegido y su tinta legible. */

.rs-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.rsm { --rsm-c: #FF5B23; --rsm-t: #fff; --c-reel: #FF3D6E; --c-tip: #D2FB8C; --c-promo: #FF5B23; --c-testimonio: #7B4DFF; --c-detras: #121011; position: relative; padding: var(--sep) var(--m); background: #FBF8F4; color: var(--ink); scroll-margin-top: 72px; }
.rsm::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(40% 50% at 92% 8%, rgba(255, 61, 110, .1), transparent 70%), radial-gradient(36% 40% at 4% 92%, rgba(210, 251, 140, .4), transparent 70%); }
.rsm__in { position: relative; max-width: 1240px; margin: 0 auto; }

.rsm__cab { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px clamp(24px, 5vw, 80px); align-items: end; }
.rsm__ceja { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; color: var(--accent); font-size: 13.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.rsm__ceja i { width: 22px; height: 22px; border-radius: 50%; background: conic-gradient(from 200deg, #FF5B23, #FF3D6E, #D2FB8C, #FF5B23); -webkit-mask: radial-gradient(circle, transparent 6px, #000 6.5px); mask: radial-gradient(circle, transparent 6px, #000 6.5px); }
.rsm__cab h2 { max-width: 13ch; text-wrap: balance; font-size: clamp(36px, 4.8vw, 70px); }
.rsm__intro { max-width: 46ch; color: var(--muted); font-size: clamp(16px, 1.3vw, 18px); line-height: 1.6; }

.rsm__app { position: relative; margin-top: clamp(28px, 4vw, 52px); padding: clamp(16px, 3vw, 40px); border-radius: clamp(24px, 3vw, 36px); background: #fff; box-shadow: 0 0 0 1px rgba(18, 16, 17, .05), 0 50px 90px -60px rgba(18, 16, 17, .45); }
.rsm button { font-family: var(--f); }
.rsm :is(button, a, input):focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ── Formulario ── */
.rsm__form { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 56px); align-items: stretch; }
.rsm__form[hidden], .rsm__armando[hidden], .rsm__res[hidden] { display: none; }
.rsm__marko { position: relative; display: grid; place-items: end center; min-height: 420px; padding: 24px 24px 0; border-radius: 26px; overflow: hidden; background: radial-gradient(70% 60% at 30% 20%, rgba(255, 61, 110, .22), transparent 70%), radial-gradient(70% 60% at 80% 80%, rgba(210, 251, 140, .55), transparent 70%), radial-gradient(60% 60% at 90% 10%, rgba(255, 91, 35, .25), transparent 70%), #FFF3EC; }
.rsm__marko img { width: 78%; max-width: 300px; height: auto; filter: drop-shadow(0 24px 30px rgba(18, 16, 17, .18)); animation: rsm-flota 5s ease-in-out infinite; }
@keyframes rsm-flota { 50% { transform: translateY(-8px) rotate(-1.5deg); } }
.rsm__burbuja { position: absolute; left: 22px; right: 22px; top: 22px; z-index: 1; margin: 0; padding: 14px 18px; border-radius: 20px 20px 20px 6px; background: #fff; box-shadow: 0 16px 34px -18px rgba(18, 16, 17, .35); font-size: 16px; font-weight: 600; line-height: 1.35; }
.rsm__burbuja.is-habla { animation: rsm-habla .45s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes rsm-habla { from { opacity: .3; transform: scale(.94) translateY(6px); } }

.rsm__campos { display: grid; gap: 22px; align-content: center; min-width: 0; }
.rsm__paso { min-width: 0; margin: 0; padding: 0; border: 0; }
.rsm__lbl { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding: 0; color: var(--ink); font-size: 17px; font-weight: 700; }
.rsm__lbl > span { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; }
.rsm__lbl small { color: var(--muted); font-size: 14px; font-weight: 500; }
.rsm__input { width: 100%; min-height: 58px; padding: 0 20px; border: 2px solid #E7E4DF; border-radius: 16px; background: #FBF8F4; color: var(--ink); font: 600 19px/1 var(--f); transition: border-color .2s, background-color .2s; }
.rsm__input:focus { outline: none; border-color: var(--accent); background: #fff; }
.rsm__input::placeholder { color: #A8A4A6; font-weight: 500; }
.rsm__handle { margin: 8px 0 0 4px; color: var(--muted); font-size: 13.5px; }
.rsm__handle span { color: var(--accent); font-weight: 600; }

.rsm__giros { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.rsm__giro { grid-column: span 2; }
.rsm__giro:nth-child(n+4) { grid-column: span 3; } /* 5 giros: 3 arriba y 2 abajo, sin hueco */
.rsm__giro { position: relative; display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 6px 12px 6px 6px; border-radius: 16px; background: #FBF8F4; box-shadow: inset 0 0 0 1.5px #ECE8E2; cursor: pointer; font-size: 14.5px; font-weight: 600; transition: box-shadow .2s, background-color .2s, transform .2s var(--ease); }
.rsm__giro:hover { transform: translateY(-2px); }
.rsm__giro input, .rsm__color input { position: absolute; opacity: 0; pointer-events: none; }
.rsm__giro img { flex: none; width: 44px; height: 44px; border-radius: 12px; object-fit: cover; }
.rsm__giro span { min-width: 0; line-height: 1.15; }
.rsm__giro:has(input:checked) { background: #fff; box-shadow: inset 0 0 0 2px var(--ink), 0 10px 22px -14px rgba(18, 16, 17, .5); }
.rsm__giro:has(input:focus-visible), .rsm__color:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }

.rsm__colores { display: flex; flex-wrap: wrap; gap: 6px; }
.rsm__color { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; }
.rsm__color i { width: 32px; height: 32px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); transition: transform .2s var(--ease), box-shadow .2s; }
.rsm__color--auto i { background: conic-gradient(#FF5B23, #FF3D6E, #7B4DFF, #2F6BFF, #1F8A5B, #D2FB8C, #FF5B23); }
.rsm__color:hover i { transform: scale(1.1); }
.rsm__color:has(input:checked) i { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--ink); }

.rsm__armar { justify-self: start; min-height: 60px; box-shadow: 0 16px 34px -16px rgba(255, 91, 35, .9); }
.rsm__armar svg { transition: transform .4s var(--ease); }
.rsm__armar:hover svg { transform: rotate(90deg) scale(1.15); }
.rsm__nota { margin: -8px 0 0; color: var(--muted); font-size: 13px; }

/* ── Armando ── */
.rsm__armando { display: grid; place-content: center; justify-items: center; gap: 22px; min-height: 420px; text-align: center; }
.rsm__mini { display: grid; grid-template-columns: repeat(3, 34px); gap: 5px; }
.rsm__mini i { aspect-ratio: 1; border-radius: 8px; background: #EFEEEC; animation: rsm-celda 1.4s ease-in-out infinite; }
.rsm__mini i:nth-child(3n+1) { --cc: #FF5B23; } .rsm__mini i:nth-child(3n+2) { --cc: #FF3D6E; } .rsm__mini i:nth-child(3n) { --cc: #D2FB8C; }
.rsm__mini i:nth-child(2) { animation-delay: .1s; } .rsm__mini i:nth-child(3) { animation-delay: .2s; } .rsm__mini i:nth-child(4) { animation-delay: .3s; } .rsm__mini i:nth-child(5) { animation-delay: .4s; } .rsm__mini i:nth-child(6) { animation-delay: .5s; } .rsm__mini i:nth-child(7) { animation-delay: .6s; } .rsm__mini i:nth-child(8) { animation-delay: .7s; } .rsm__mini i:nth-child(9) { animation-delay: .8s; }
@keyframes rsm-celda { 40% { background: var(--cc); transform: scale(1.08); } }
.rsm__armando p { margin: 0; font-size: clamp(18px, 2vw, 22px); font-weight: 600; }

/* ── Resultado ── */
.rsm__res:focus { outline: none; }
.rsm__barra { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 24px; margin-bottom: clamp(18px, 2.4vw, 28px); }
.rsm__resumen { min-width: 0; max-width: 640px; }
.rsm__resumen h3 { font-size: clamp(24px, 2.6vw, 36px); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; overflow-wrap: anywhere; }
.rsm__resumen h3 span { color: var(--rsm-c); }
.rsm__resumen p { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.rsm__herr { display: flex; flex-wrap: wrap; gap: 8px; }
.rsm__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 600; cursor: pointer; transition: transform .2s var(--ease), background-color .2s; }
.rsm__btn:hover { transform: translateY(-2px); background: #000; }
.rsm__btn:hover svg { transform: rotate(180deg); transition: transform .5s var(--ease); }
.rsm__btn--sutil { background: #F3F0EB; color: var(--ink); }
.rsm__btn--sutil:hover { background: #EAE6DF; }
.rsm__btn--sutil:hover svg { transform: none; }

.rsm__tabs { display: none; }
.rsm__paneles { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.rsm__panel { min-width: 0; }

/* Perfil */
.rsm__tel { padding: 18px 16px 16px; border-radius: 28px; background: #fff; box-shadow: 0 0 0 1px #EEEAE4, 0 30px 60px -40px rgba(18, 16, 17, .4); }
.rsm__pcab { display: flex; align-items: center; gap: 18px; }
.rsm__ava { display: grid; place-items: center; flex: none; width: 76px; height: 76px; border-radius: 50%; background: var(--rsm-c); color: var(--rsm-t); font-family: 'Marko Display', var(--f); font-size: 32px; font-weight: 800; border: 3px solid transparent; background: linear-gradient(var(--rsm-c), var(--rsm-c)) padding-box, conic-gradient(from 200deg, #FF5B23, #FF3D6E, #D2FB8C, #FF5B23) border-box; box-shadow: inset 0 0 0 3px #fff; }
.rsm__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); flex: 1; gap: 4px; margin: 0; text-align: center; }
.rsm__stats div { display: flex; flex-direction: column-reverse; min-width: 0; }
.rsm__stats dd { margin: 0; font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; }
.rsm__stats dt { color: var(--muted); font-size: 11.5px; line-height: 1.2; }
.rsm__pnom { display: grid; margin: 14px 0 0; line-height: 1.3; }
.rsm__pnom b { font-size: 15px; overflow-wrap: anywhere; }
.rsm__pnom small { color: var(--muted); font-size: 13px; }
.rsm__bio { margin: 4px 0 0; font-size: 14px; line-height: 1.45; }
.rsm__ubi { margin: 4px 0 0; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.rsm__ubi span { color: #2F4F9A; font-weight: 600; }
.rsm__pacc { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 6px; margin-top: 12px; }
.rsm__pacc span { display: grid; place-items: center; min-height: 34px; border-radius: 10px; background: #F1EFEC; font-size: 13px; font-weight: 700; }
.rsm__pacc .rsm__seguir { background: var(--rsm-c); color: var(--rsm-t); }
.rsm__dest { display: flex; gap: 12px; margin: 14px 0 0; padding: 0; overflow-x: auto; list-style: none; scrollbar-width: none; }
.rsm__dest li { display: grid; justify-items: center; gap: 4px; flex: none; width: 60px; }
.rsm__dest i { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #FBF8F4; box-shadow: 0 0 0 1.5px #E3DFD9, inset 0 0 0 3px #fff; font-size: 22px; font-style: normal; }
.rsm__dest span { max-width: 100%; overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.rsm__gtit { margin: 14px 0 8px; padding-top: 10px; border-top: 1px solid #EFECE7; color: var(--muted); font-size: 12px; text-align: center; }
.rsm__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; border-radius: 12px; overflow: hidden; }

/* Pieza (miniatura del grid y vista grande): la tipografía escala con el ancho de la pieza (cqi) */
.rsm__tile, .rsm__vimg { position: relative; display: grid; place-content: center; justify-items: center; gap: 4px; aspect-ratio: 4 / 5; overflow: hidden; padding: 8%; background: #EFEEEC; color: var(--ink); text-align: center; container-type: inline-size; }
.rsm__tile { width: 100%; border: 0; cursor: pointer; }
.rsm__tile::after { content: ""; position: absolute; inset: 0; background: rgba(18, 16, 17, 0); transition: background-color .2s; }
.rsm__tile:hover::after { background: rgba(18, 16, 17, .14); }
.rsm__tile:focus-visible { outline-offset: -3px; }
:is(.rsm__tile, .rsm__vimg) img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
:is(.rsm__tile, .rsm__vimg).is-tip { background: var(--c); color: var(--t); }
:is(.rsm__tile, .rsm__vimg).is-testimonio { background: #FBF8F4; }
.rsm__pk { padding: 2px 8px; border-radius: 999px; background: var(--t); color: var(--c); font-size: max(8px, 7cqi); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.rsm__pt { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; font-size: max(9px, 11.5cqi); font-weight: 800; letter-spacing: -.02em; line-height: 1.08; text-transform: lowercase; }
.is-testimonio .rsm__pt { font-size: max(8.5px, 10cqi); font-weight: 700; text-transform: none; }
.rsm__pm { font-size: max(7px, 6cqi); opacity: .75; }
.rsm__pq { color: var(--c); font-family: Georgia, serif; font-size: 30cqi; font-style: normal; line-height: .6; }
.rsm__pe { color: #F5A623; font-size: max(8px, 7cqi); letter-spacing: .1em; }
.rsm__play { position: absolute; right: 7%; top: 6%; width: 11cqi; aspect-ratio: 1; background: #fff; clip-path: polygon(20% 10%, 90% 50%, 20% 90%); filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .5)); }
.rsm__chip { position: absolute; left: 6%; top: 6%; padding: 3px 8px; border-radius: 999px; background: rgba(18, 16, 17, .62); color: #fff; font-size: max(7px, 6.5cqi); font-weight: 600; white-space: nowrap; }
.rsm__band { position: absolute; left: 6%; right: 6%; bottom: 6%; display: grid; gap: 1px; padding: 7% 6%; border-radius: 6cqi; background: var(--c); color: var(--t); box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .5); }
.rsm__band b { font-family: 'Marko Display', var(--f); font-size: max(13px, 19cqi); font-weight: 800; line-height: 1; }
.rsm__band small { font-size: max(7px, 6.5cqi); font-weight: 600; line-height: 1.15; }

/* Calendario */
.rsm__ccab { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 14px; }
.rsm__ccab h4 { font-size: clamp(20px, 2vw, 26px); font-weight: 800; letter-spacing: -.03em; }
.rsm__ley { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 0; padding: 0; list-style: none; color: var(--ink-2); font-size: 12.5px; }
.rsm__ley li { display: inline-flex; align-items: center; gap: 6px; }
.rsm__ley li::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--k, #E3DFD9); }
.rsm__ley .is-reel, .rsm__dia.is-reel { --k: var(--c-reel); }
.rsm__ley .is-tip, .rsm__dia.is-tip { --k: var(--c-tip); }
.rsm__ley .is-promo, .rsm__dia.is-promo { --k: var(--c-promo); }
.rsm__ley .is-testimonio, .rsm__dia.is-testimonio { --k: var(--c-testimonio); }
.rsm__ley .is-detras, .rsm__dia.is-detras { --k: var(--c-detras); }
.rsm__ley .is-story::before { background: none; box-shadow: inset 0 0 0 1.5px #C9C4BD; }

.rsm__sem, .rsm__fila { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.rsm__sem { margin-bottom: 6px; color: var(--muted); font-size: 12px; font-weight: 600; text-align: center; }
.rsm__dias { display: grid; gap: 6px; }
.rsm__celda { display: block; min-width: 0; }
.rsm__dia { position: relative; display: flex; flex-direction: column; justify-content: space-between; width: 100%; min-height: 64px; padding: 7px 7px 6px; border: 0; border-radius: 12px; background: #F7F5F1; color: var(--ink); text-align: left; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s, background-color .2s; }
.rsm__dia.is-vacio { display: block; background: none; cursor: default; }
.rsm__dia b { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.rsm__dia small { display: block; overflow: hidden; padding: 3px 6px; border-radius: 6px; background: var(--k); color: #fff; font-size: 10.5px; font-weight: 700; line-height: 1.1; text-overflow: ellipsis; white-space: nowrap; }
.rsm__dia.is-tip small { color: #121011; }
.rsm__dia.is-story { background: transparent; box-shadow: inset 0 0 0 1px #EDE9E3; }
.rsm__dia.is-story small { background: none; color: #A39E98; padding-left: 0; font-weight: 500; }
.rsm__dia:not(.is-story):not(.is-vacio):hover { transform: translateY(-2px); background: #fff; box-shadow: 0 10px 20px -12px rgba(18, 16, 17, .35); }
.rsm__dia[aria-pressed="true"] { background: #fff; box-shadow: 0 0 0 2px var(--ink), 0 12px 24px -14px rgba(18, 16, 17, .45); }

.rsm__vista { display: grid; grid-template-columns: minmax(0, 170px) minmax(0, 1fr); gap: 18px; margin-top: 18px; padding: 14px; border-radius: 22px; background: #FBF8F4; box-shadow: inset 0 0 0 1px #EFEBE5; }
.rsm__vista.is-nueva { animation: rsm-vista .45s var(--ease); }
@keyframes rsm-vista { from { opacity: .2; transform: translateY(8px); } }
.rsm__vimg { border-radius: 14px; }
.rsm__vimg.is-story { background: radial-gradient(circle at 30% 20%, rgba(255, 61, 110, .25), transparent 60%), radial-gradient(circle at 70% 80%, rgba(210, 251, 140, .5), transparent 60%), #FFF3EC; }
.rsm__vtxt { display: grid; align-content: start; gap: 10px; min-width: 0; }
.rsm__vmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; color: var(--muted); font-size: 13px; }
.rsm__vtipo { padding: 4px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; }
.rsm__vcap { margin: 0; font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; }
.rsm__vtags { margin: 0; color: #2F4F9A; font-size: 13.5px; font-weight: 500; line-height: 1.5; overflow-wrap: anywhere; }
.rsm__vred { margin: 0; color: var(--muted); font-size: 12px; }

.rsm__cierre { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; margin-top: clamp(20px, 3vw, 32px); padding: clamp(18px, 2.4vw, 26px) clamp(18px, 2.4vw, 28px); border-radius: 22px; background: var(--ink); color: rgba(255, 255, 255, .74); }
.rsm__cierre p { flex: 1 1 360px; max-width: 620px; margin: 0; font-size: 15px; line-height: 1.55; }
.rsm__cierre b { color: #fff; }
.rsm__cta { box-shadow: 0 16px 34px -16px rgba(255, 91, 35, .9); }
.rsm__cta svg { transition: transform .3s var(--ease); }
.rsm__cta:hover svg { transform: translateX(4px); }
.rsm__cierre :focus-visible { outline-color: var(--lima); }

/* Llegada del resultado */
.rsm__res.is-llega .rsm__tile { animation: rsm-pop .5s cubic-bezier(.2, 1.3, .4, 1) calc(var(--k) * 60ms) both; }
.rsm__res.is-llega .rsm__dia:not(.is-vacio) { animation: rsm-sube .45s var(--ease) calc(150ms + var(--i) * 14ms) both; }
.rsm__res.is-llega .rsm__ava { animation: rsm-pop .6s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes rsm-pop { from { opacity: 0; transform: scale(.7); } }
@keyframes rsm-sube { from { opacity: 0; transform: translateY(10px); } }


/* ── Tablet y celular: pestañas Perfil / Calendario ── */
@media (max-width: 999px) {
	.rsm__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 14px; padding: 4px; border-radius: 999px; background: #F3F0EB; }
	.rsm__tabs button { min-height: 44px; border: 0; border-radius: 999px; background: none; color: var(--muted); font-size: 15px; font-weight: 700; cursor: pointer; transition: background-color .2s, color .2s; }
	.rsm__tabs [aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 4px 12px -6px rgba(18, 16, 17, .35); }
	.rsm__paneles { grid-template-columns: minmax(0, 1fr); }
	.rsm__panel:not(.is-on) { display: none; }
	.rsm__tel { max-width: 440px; margin: 0 auto; }
}

@media (max-width: 860px) {
	.rsm__cab { grid-template-columns: minmax(0, 1fr); }
	.rsm__form { grid-template-columns: minmax(0, 1fr); gap: 18px; }
	/* Marko en una fila: burbuja a la izquierda, Marko chiquito a la derecha */
	.rsm__marko { display: flex; align-items: flex-end; gap: 10px; min-height: 0; padding: 14px 10px 0 14px; border-radius: 20px; }
	.rsm__burbuja { position: static; flex: 1; align-self: center; margin-bottom: 14px; padding: 11px 14px; border-radius: 16px 16px 6px 16px; font-size: 14.5px; }
	.rsm__marko img { flex: none; width: 92px; }
	.rsm__armando { min-height: 300px; }
}

@media (max-width: 600px) {
	.rsm { padding-block: 56px; }
	.rsm__cab h2 { font-size: clamp(34px, 10vw, 46px); }
	.rsm__intro { font-size: 15.5px; }
	.rsm__app { margin-inline: calc(var(--m) * -.5); padding: 14px; border-radius: 24px; }
	.rsm__campos { gap: 18px; }
	.rsm__lbl { margin-bottom: 10px; font-size: 16px; }
	.rsm__giros { gap: 6px; }
	.rsm__giro { flex-direction: column; gap: 4px; min-height: 0; padding: 6px 4px 8px; font-size: 12.5px; text-align: center; }
	.rsm__giro img { width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 10px; }
	.rsm__armar { justify-self: stretch; }
	.rsm__barra { gap: 12px; }
	.rsm__herr { width: 100%; }
	.rsm__btn { flex: 1; justify-content: center; padding: 0 12px; font-size: 14px; }
	.rsm__tel { padding: 14px 10px 10px; border-radius: 22px; box-shadow: 0 0 0 1px #EEEAE4; }
	.rsm__pcab { gap: 12px; }
	.rsm__ava { width: 64px; height: 64px; font-size: 26px; }
	.rsm__stats dd { font-size: 16px; }
	.rsm__stats dt { font-size: 10.5px; }
	.rsm__dest { gap: 8px; }
	.rsm__dest li { width: 54px; }
	.rsm__dest i { width: 48px; height: 48px; font-size: 19px; }
	.rsm__sem, .rsm__fila, .rsm__dias { gap: 4px; }
	/* Días: número + punto de color (la leyenda explica cada color) */
	.rsm__dia { align-items: center; justify-content: center; gap: 4px; min-height: 46px; padding: 4px 2px; border-radius: 10px; }
	.rsm__dia b { font-size: 13px; }
	.rsm__dia small { width: 8px; height: 8px; padding: 0; border-radius: 50%; font-size: 0; }
	.rsm__dia.is-story small { width: 6px; height: 6px; box-shadow: inset 0 0 0 1.5px #C9C4BD; }
	.rsm__ley { gap: 4px 10px; font-size: 11.5px; }
	.rsm__vista { grid-template-columns: minmax(0, 112px) minmax(0, 1fr); gap: 12px; margin-top: 14px; padding: 10px; border-radius: 18px; }
	.rsm__vcap { font-size: 14px; line-height: 1.5; }
	.rsm__vtags { font-size: 12.5px; }
	.rsm__cierre { padding: 18px; }
	.rsm__cierre p { flex-basis: 100%; font-size: 14px; }
	.rsm__cta { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.rsm *, .rsm *::before, .rsm *::after { animation: none !important; transition: none !important; }
}

/* fuera de pantalla Marko no flota */
.rsm.is-pausa .rsm__marko img { animation-play-state: paused; }
