/* ==========================================================================
   Estrategia y gestión de redes sociales (Presencia Digital)
   Tipografía y colores de ÉTIKA: Montserrat (titulares) + Inter (texto),
   teal / teal oscuro / turquesa / naranja sobre crema.
   Los espacios para creativos, reels y planes están marcados con
   data-slot / .is-empty para reemplazarlos por el material real.
   ========================================================================== */

.rs-page {
  --rs-gutter: var(--page-gutter, clamp(32px, 5.5vw, 72px));
  --rs-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --rs-ink: #12272d;
  --rs-teal: #236978;
  --rs-deep: #0e3640;
  --rs-turq: #55bec5;
  --rs-orange: #f47735;
  --rs-cream: #fbf7f2;
  --rs-line: rgba(18, 63, 73, 0.12);
  background: var(--rs-cream);
  color: var(--rs-ink);
  overflow-x: clip;
  padding-top: 72px;
}

@media (min-width: 1024px) {
  .rs-page { padding-top: 147px; }
}

.rs-wrap {
  width: calc(100% - var(--rs-gutter) * 2);
  margin-inline: auto;
}

/* ---------- Titulares comunes de sección ---------- */
.rs-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-family: "Montserrat", var(--font-display);
  font-size: clamp(12.5px, 0.95vw, 14.5px);
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--rs-teal);
}

.rs-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--rs-orange);
}

.rs-title {
  margin: 0;
  max-width: 18ch;
  font-family: "Montserrat", var(--font-display);
  font-size: clamp(32px, 3.2vw, 52px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -1px;
  color: var(--rs-teal);
}

.rs-title em,
.rs-title span {
  font-style: normal;
  color: var(--rs-orange);
}

.rs-lead {
  max-width: 60ch;
  margin: 18px 0 0;
  font-family: "Inter", var(--font-body);
  font-size: clamp(16px, 1.2vw, 19px);
  font-weight: 500;
  line-height: 1.6;
  color: #5a6b6f;
}

.rs-head {
  display: grid;
  gap: 18px 64px;
  align-items: end;
  margin-bottom: clamp(36px, 4vw, 56px);
}

@media (min-width: 1024px) {
  .rs-head { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
  .rs-head .rs-lead { margin: 0; }
}

/* ---------- Botones ---------- */
.rs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: "Montserrat", var(--font-display);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--rs-ease), background-color 0.25s, color 0.25s, border-color 0.25s;
}

.rs-btn:hover { transform: translateY(-2px); }
.rs-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rs-page .rs-btn--primary { background: var(--rs-orange); color: #fff; }
.rs-btn--primary:hover { background: #e2621f; }
.rs-page .rs-btn--ghost { border-color: rgba(35, 105, 120, 0.3); background: #fff; color: var(--rs-teal); }
.rs-page .rs-btn--light { border-color: rgba(255, 255, 255, 0.6); background: transparent; color: #fff; }
.rs-btn--light:hover { background: rgba(255, 255, 255, 0.1); }

/* ---------- Aparición al hacer scroll ---------- */
.rs-js [data-rs-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.8s var(--rs-ease), transform 0.8s var(--rs-ease);
  transition-delay: var(--d, 0s);
}

.rs-js [data-rs-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   1. Portada
   ========================================================================== */
.rs-hero {
  position: relative;
  padding: clamp(40px, 6vh, 72px) 0 clamp(64px, 9vh, 104px);
  overflow: hidden;
  background:
    radial-gradient(60% 70% at 88% 30%, rgba(85, 190, 197, 0.22), transparent 70%),
    radial-gradient(40% 50% at 70% 95%, rgba(244, 119, 53, 0.14), transparent 70%),
    var(--rs-cream);
}

.rs-hero-grid {
  display: grid;
  gap: 56px;
  align-items: center;
}

@media (min-width: 1024px) {
  .rs-hero { min-height: calc(100svh - 147px); display: flex; align-items: center; }
  .rs-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
}

.rs-hero h1 {
  margin: 0;
  font-family: "Montserrat", var(--font-display);
  font-size: clamp(38px, 3.6vw, 62px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1px;
  color: var(--rs-teal);
}

.rs-hero h1 span { display: block; color: var(--rs-orange); }

@media (max-width: 599px) {
  .rs-hero h1 { font-size: 32px; line-height: 1.04; letter-spacing: 0; }
}

.rs-hero-lead {
  max-width: 560px;
  margin: 20px 0 0;
  font-family: "Inter", var(--font-body);
  font-size: clamp(16px, 1.2vw, 19px);
  font-weight: 500;
  line-height: 1.6;
  color: #5a6b6f;
}

.rs-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.rs-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--rs-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  font-family: "Montserrat", var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--rs-teal);
}

.rs-chips li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rs-orange);
}

.rs-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

/* --- Celular con perfil animado --- */
.rs-hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
}

.rs-orbit {
  position: absolute;
  width: min(520px, 92%);
  aspect-ratio: 1;
  border: 1.5px dashed rgba(35, 105, 120, 0.22);
  border-radius: 50%;
  animation: rs-spin 60s linear infinite;
}

.rs-orbit::before,
.rs-orbit::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--rs-orange);
  top: 12%;
  left: 12%;
}

.rs-orbit::after { background: var(--rs-turq); top: auto; left: auto; right: 6%; bottom: 22%; width: 10px; height: 10px; }

@keyframes rs-spin { to { transform: rotate(360deg); } }

.rs-phone {
  position: relative;
  z-index: 2;
  width: min(300px, 74vw);
  aspect-ratio: 9 / 19;
  padding: 12px;
  border-radius: 46px;
  background: #0d1f24;
  box-shadow:
    0 40px 80px -30px rgba(14, 54, 64, 0.55),
    0 0 0 1.5px rgba(255, 255, 255, 0.08) inset;
  transform: rotate(-3deg);
}

.rs-phone::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 50%;
  z-index: 3;
  width: 92px;
  height: 24px;
  border-radius: 999px;
  background: #0d1f24;
  transform: translateX(-50%);
}

.rs-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 36px;
  background: #fff;
}

.rs-profile {
  padding: 52px 14px 10px;
  font-family: "Inter", var(--font-body);
}

.rs-profile-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rs-avatar {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  padding: 3px;
  border-radius: 50%;
  background: conic-gradient(var(--rs-orange), var(--rs-turq), var(--rs-teal), var(--rs-orange));
}

.rs-avatar span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--rs-teal);
  font-family: "Montserrat", var(--font-display);
  font-size: 11px;
  font-weight: 900;
  color: #fff;
}

.rs-profile-name strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--rs-ink);
}

.rs-profile-name small {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: #6a7a7e;
}

.rs-highlights {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.rs-highlights i {
  display: block;
  width: 34px;
  height: 34px;
  border: 2px solid #e8eef0;
  border-radius: 50%;
  background: linear-gradient(135deg, #e9f6f7, #fde6d9);
}

.rs-profile-tabs {
  display: flex;
  justify-content: space-around;
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px solid #edf1f2;
}

.rs-profile-tabs i {
  display: block;
  width: 16px;
  height: 16px;
  border: 2px solid #b9c5c8;
  border-radius: 4px;
}

.rs-profile-tabs i:first-child { border-color: var(--rs-ink); }

.rs-feed-window {
  position: absolute;
  inset: 214px 0 0;
  overflow: hidden;
}

.rs-feed {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  animation: rs-feed 18s ease-in-out infinite;
}

@keyframes rs-feed {
  0%, 12% { transform: translateY(0); }
  45%, 57% { transform: translateY(-34%); }
  90%, 100% { transform: translateY(0); }
}

/* Mosaicos del feed: espacio para creativos reales (data-slot). */
.rs-tile {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #e9f1f2;
}

.rs-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }

.rs-tile.is-empty::after {
  content: attr(data-label);
  position: absolute;
  inset: auto 6px 6px;
  font-family: "Montserrat", var(--font-display);
  font-size: 8px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: currentColor;
}

.rs-tile.t1 { background: var(--rs-teal); color: #fff; }
.rs-tile.t2 { background: #fde6d9; color: var(--rs-orange); }
.rs-tile.t3 { background: linear-gradient(160deg, var(--rs-turq), var(--rs-teal)); color: #fff; }
.rs-tile.t4 { background: #fff7ef; color: var(--rs-teal); }
.rs-tile.t5 { background: var(--rs-orange); color: #fff; }
.rs-tile.t6 { background: #0e3640; color: var(--rs-turq); }

.rs-tile.is-empty::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  width: 38%;
  height: 4px;
  border-radius: 4px;
  background: currentColor;
  opacity: 0.55;
  box-shadow: 0 8px 0 0 currentColor;
}

/* Tarjetas flotantes */
.rs-float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 44px -22px rgba(14, 54, 64, 0.45);
  font-family: "Montserrat", var(--font-display);
  animation: rs-bob 6s ease-in-out infinite;
}

.rs-float strong { display: block; font-size: 13px; font-weight: 800; color: var(--rs-ink); }
.rs-float small { display: block; margin-top: 2px; font-family: "Inter", var(--font-body); font-size: 11.5px; color: #6a7a7e; }
.rs-float-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: #e9f6f7; color: var(--rs-teal); }
.rs-float-ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.rs-float--a { top: 44%; left: 0; }
.rs-float--b { top: 14%; right: 0; animation-delay: -2s; }
.rs-float--c { bottom: 7%; right: 4%; animation-delay: -4s; }
.rs-float--b .rs-float-ico { background: #fdeee5; color: var(--rs-orange); }

.rs-bars { display: flex; align-items: flex-end; gap: 4px; height: 28px; }
.rs-bars i { display: block; width: 6px; border-radius: 3px; background: var(--rs-turq); animation: rs-bar 2.4s ease-in-out infinite; }
.rs-bars i:nth-child(1) { height: 40%; }
.rs-bars i:nth-child(2) { height: 65%; animation-delay: 0.2s; }
.rs-bars i:nth-child(3) { height: 50%; animation-delay: 0.4s; }
.rs-bars i:nth-child(4) { height: 85%; animation-delay: 0.6s; background: var(--rs-orange); }

@keyframes rs-bob { 50% { transform: translateY(-10px); } }
@keyframes rs-bar { 50% { transform: scaleY(0.7); transform-origin: bottom; } }

@media (max-width: 599px) {
  .rs-hero-visual { min-height: 520px; }
  .rs-float { padding: 10px 12px; }
  .rs-float--a { left: -4px; }
  .rs-float--b { right: -4px; }
  .rs-float--c { right: -4px; }
}

/* ==========================================================================
   2. Manifiesto
   ========================================================================== */
.rs-manifesto {
  position: relative;
  padding: clamp(80px, 11vw, 140px) 0 0;
  overflow: hidden;
  background: var(--rs-deep);
  color: #fff;
}

.rs-manifesto::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 60% at 15% 10%, rgba(85, 190, 197, 0.22), transparent 70%),
    radial-gradient(40% 60% at 95% 80%, rgba(244, 119, 53, 0.18), transparent 70%);
  pointer-events: none;
}

.rs-manifesto-quote {
  position: relative;
  max-width: 22ch;
  margin: 0;
  font-family: "Montserrat", var(--font-display);
  font-size: clamp(34px, 4.6vw, 76px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -1.5px;
}

.rs-manifesto-quote em { font-style: normal; color: var(--rs-orange); }

.rs-manifesto-sub {
  position: relative;
  max-width: 52ch;
  margin: 26px 0 0;
  font-family: "Inter", var(--font-body);
  font-size: clamp(16px, 1.25vw, 20px);
  font-weight: 500;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.rs-marquee {
  position: relative;
  display: flex;
  margin-top: clamp(64px, 8vw, 110px);
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.rs-marquee-track {
  display: flex;
  flex: 0 0 auto;
  gap: 40px;
  padding-right: 40px;
  animation: rs-marquee 36s linear infinite;
}

.rs-marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  font-family: "Montserrat", var(--font-display);
  font-size: clamp(24px, 3vw, 44px);
  font-weight: 900;
  letter-spacing: -0.5px;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(255, 255, 255, 0.55);
}

.rs-marquee-track span:nth-child(even) { color: #fff; -webkit-text-stroke: 0; }
.rs-marquee-track span::after { content: "✦"; font-size: 0.5em; color: var(--rs-orange); -webkit-text-stroke: 0; }

@keyframes rs-marquee { to { transform: translateX(-100%); } }

/* ==========================================================================
   3. Servicios (bento)
   ========================================================================== */
.rs-services { padding: clamp(84px, 10vw, 140px) 0; }

.rs-bento {
  display: grid;
  gap: 16px;
}

@media (min-width: 768px) {
  .rs-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
  .rs-bento { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rs-card--feature { grid-column: span 2; grid-row: span 2; }
  .rs-card--wide { grid-column: span 2; min-height: 200px; }
}

.rs-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--rs-line);
  border-radius: 26px;
  background: #fff;
  overflow: hidden;
  transition: transform 0.4s var(--rs-ease), box-shadow 0.4s var(--rs-ease), border-color 0.4s;
}

.rs-card:hover {
  transform: translateY(-4px);
  border-color: rgba(35, 105, 120, 0.25);
  box-shadow: 0 30px 60px -36px rgba(14, 54, 64, 0.45);
}

.rs-card-ico {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #e9f6f7;
  color: var(--rs-teal);
}

.rs-card-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.rs-card h3 {
  margin: 6px 0 0;
  font-family: "Montserrat", var(--font-display);
  font-size: clamp(18px, 1.35vw, 22px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--rs-ink);
}

.rs-card p {
  margin: 0;
  font-family: "Inter", var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: #5a6b6f;
}

.rs-card-num {
  position: absolute;
  top: 24px;
  right: 26px;
  font-family: "Montserrat", var(--font-display);
  font-size: 13px;
  font-weight: 800;
  color: rgba(35, 105, 120, 0.35);
}

.rs-card--feature {
  justify-content: flex-end;
  min-height: 420px;
  border: 0;
  background: linear-gradient(155deg, var(--rs-teal) 0%, var(--rs-deep) 100%);
  color: #fff;
}

.rs-card--feature h3 { font-size: clamp(26px, 2.3vw, 38px); font-weight: 900; color: #fff; }
.rs-card--feature p { max-width: 44ch; color: rgba(255, 255, 255, 0.82); font-size: 16px; }
.rs-card--feature .rs-card-ico { background: rgba(255, 255, 255, 0.12); color: #fff; }
.rs-card--feature .rs-card-num { color: rgba(255, 255, 255, 0.45); }

.rs-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.rs-pillars li {
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-family: "Montserrat", var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
}

.rs-card--feature .rs-feature-art {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(244, 119, 53, 0.9), transparent 42%),
    radial-gradient(circle at 70% 60%, rgba(85, 190, 197, 0.85), transparent 48%);
  filter: blur(2px);
  opacity: 0.55;
}

.rs-card--accent { background: #fff4ec; border-color: rgba(244, 119, 53, 0.2); }
.rs-card--accent .rs-card-ico { background: #fde3d3; color: var(--rs-orange); }

/* ==========================================================================
   4. Método
   ========================================================================== */
.rs-method {
  padding: clamp(84px, 10vw, 130px) 0;
  background: #fff;
  border-block: 1px solid var(--rs-line);
}

.rs-steps {
  position: relative;
  display: grid;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: rs-step;
}

@media (min-width: 1024px) {
  .rs-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
  .rs-steps::before,
  .rs-steps::after {
    content: "";
    position: absolute;
    top: 27px;
    left: 28px;
    right: 28px;
    height: 2px;
    background: var(--rs-line);
  }
  .rs-steps::after {
    right: auto;
    width: calc((100% - 56px) * var(--rs-progress, 0));
    background: linear-gradient(90deg, var(--rs-turq), var(--rs-orange));
    transition: width 1.6s var(--rs-ease);
  }
}

.rs-step {
  position: relative;
  z-index: 1;
}

.rs-step-num {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 2px solid var(--rs-teal);
  border-radius: 50%;
  background: #fff;
  font-family: "Montserrat", var(--font-display);
  font-size: 16px;
  font-weight: 900;
  color: var(--rs-teal);
  transition: background-color 0.4s, color 0.4s;
}

.rs-step.is-in .rs-step-num { background: var(--rs-teal); color: #fff; }
.rs-step:last-child .rs-step-num { border-color: var(--rs-orange); }
.rs-step:last-child.is-in .rs-step-num { background: var(--rs-orange); }

.rs-step h3 {
  margin: 20px 0 8px;
  font-family: "Montserrat", var(--font-display);
  font-size: 19px;
  font-weight: 800;
  color: var(--rs-ink);
}

.rs-step p {
  margin: 0;
  font-family: "Inter", var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: #5a6b6f;
}

@media (max-width: 1023px) {
  .rs-step { display: grid; grid-template-columns: 56px 1fr; gap: 0 18px; }
  .rs-step h3 { margin-top: 12px; }
  .rs-step p { grid-column: 2; }
}

/* ==========================================================================
   5. Portafolio de creativos
   ========================================================================== */
.rs-work { padding: clamp(84px, 10vw, 140px) 0; }

.rs-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 32px;
}

.rs-filter {
  padding: 10px 18px;
  border: 1.5px solid var(--rs-line);
  border-radius: 999px;
  background: #fff;
  font-family: "Montserrat", var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--rs-teal);
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}

.rs-filter:hover { border-color: rgba(35, 105, 120, 0.35); }
.rs-filter[aria-pressed="true"] { border-color: var(--rs-teal); background: var(--rs-teal); color: #fff; }

.rs-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 14px;
}

@media (min-width: 768px) {
  .rs-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
  .rs-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
}

.rs-work-item {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  cursor: zoom-in;
  transition: transform 0.45s var(--rs-ease), opacity 0.35s;
}

.rs-work-item.is-tall { grid-row: span 2; aspect-ratio: auto; min-height: 100%; }
.rs-work-item.is-wide { grid-column: span 2; aspect-ratio: 8 / 5; }
.rs-work-item[hidden] { display: none; }
.rs-work-item:hover { transform: translateY(-4px); }
.rs-work-item img,
.rs-work-item video { width: 100%; height: 100%; object-fit: cover; display: block; }

.rs-work-item figcaption {
  position: absolute;
  inset: auto 12px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  font-family: "Montserrat", var(--font-display);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--rs-ink);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s var(--rs-ease);
}

.rs-work-item figcaption small { font-family: "Inter", var(--font-body); font-size: 11.5px; font-weight: 600; color: var(--rs-teal); }
.rs-work-item:hover figcaption,
.rs-work-item:focus-visible figcaption { opacity: 1; transform: none; }

/* Espacio vacío (placeholder) para un creativo futuro */
.rs-work-item.is-empty {
  display: grid;
  place-items: center;
  border: 1.5px dashed rgba(35, 105, 120, 0.25);
  background:
    repeating-linear-gradient(135deg, rgba(35, 105, 120, 0.035) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, #ffffff, #f1f7f7);
  cursor: default;
}

.rs-work-item.is-empty:nth-child(3n) {
  background:
    repeating-linear-gradient(135deg, rgba(244, 119, 53, 0.05) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, #ffffff, #fff3ea);
}

.rs-slot {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 16px;
  text-align: center;
  font-family: "Montserrat", var(--font-display);
  color: var(--rs-teal);
}

.rs-slot svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: 0.7; }
.rs-slot strong { font-size: 13px; font-weight: 800; }
.rs-slot small { font-family: "Inter", var(--font-body); font-size: 11.5px; font-weight: 600; color: #7c8b8f; }
.rs-work-item.is-empty figcaption { display: none; }

/* Visor ampliado */
.rs-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 26, 31, 0.86);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.rs-lightbox.is-open { opacity: 1; visibility: visible; }
.rs-lightbox img,
.rs-lightbox video { max-width: min(92vw, 720px); max-height: 86vh; border-radius: 18px; box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45); }

.rs-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  font-size: 26px;
  line-height: 1;
  color: var(--rs-ink);
  cursor: pointer;
}

/* ==========================================================================
   6. Video / reels
   ========================================================================== */
.rs-reels {
  position: relative;
  padding: clamp(84px, 10vw, 140px) 0;
  overflow: hidden;
  background: linear-gradient(170deg, var(--rs-deep) 0%, #123f49 100%);
  color: #fff;
}

.rs-reels .rs-kicker { color: var(--rs-turq); }
.rs-reels .rs-title { color: #fff; }
.rs-reels .rs-lead { color: rgba(255, 255, 255, 0.8); }

.rs-reels-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1024px) {
  .rs-reels-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 72px; }
}

.rs-pipeline {
  display: grid;
  gap: 4px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: rs-pipe;
}

.rs-pipeline li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: "Montserrat", var(--font-display);
  font-size: 17px;
  font-weight: 700;
  counter-increment: rs-pipe;
}

.rs-pipeline li::before {
  content: counter(rs-pipe, decimal-leading-zero);
  font-size: 13px;
  font-weight: 800;
  color: var(--rs-orange);
}

.rs-reel-track {
  display: flex;
  gap: 16px;
  margin-right: calc(var(--rs-gutter) * -1);
  padding: 8px var(--rs-gutter) 48px 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.rs-reel-track::-webkit-scrollbar { display: none; }

.rs-reel {
  position: relative;
  flex: 0 0 clamp(190px, 17vw, 240px);
  aspect-ratio: 9 / 16;
  margin: 0;
  overflow: hidden;
  border-radius: 26px;
  background: #0b2a32;
  scroll-snap-align: start;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}

.rs-reel:nth-child(even) { transform: translateY(28px); }
.rs-reel video,
.rs-reel img { width: 100%; height: 100%; object-fit: cover; display: block; }

.rs-reel.is-empty {
  display: grid;
  place-items: center;
  border: 1.5px dashed rgba(255, 255, 255, 0.2);
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(85, 190, 197, 0.22), transparent 70%),
    #0b2a32;
}

.rs-reel .rs-slot { color: #fff; }
.rs-reel .rs-slot small { color: rgba(255, 255, 255, 0.6); }

.rs-reel-play {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.rs-reel-play svg { width: 22px; height: 22px; fill: #fff; stroke: none; opacity: 1; }

.rs-reel-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-family: "Montserrat", var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

/* ==========================================================================
   7. Planes
   ========================================================================== */
.rs-plans { padding: clamp(84px, 10vw, 140px) 0; }

.rs-plan-grid {
  display: grid;
  gap: 18px;
  align-items: stretch;
}

@media (min-width: 900px) {
  .rs-plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.rs-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border: 1px solid var(--rs-line);
  border-radius: 28px;
  background: #fff;
}

.rs-plan--featured {
  border: 0;
  background: linear-gradient(160deg, var(--rs-teal), var(--rs-deep));
  color: #fff;
  box-shadow: 0 40px 70px -40px rgba(14, 54, 64, 0.7);
}

@media (min-width: 900px) {
  .rs-plan--featured { transform: translateY(-14px); }
}

.rs-plan-badge {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--rs-orange);
  font-family: "Montserrat", var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #fff;
}

.rs-plan h3 {
  margin: 0;
  font-family: "Montserrat", var(--font-display);
  font-size: 22px;
  font-weight: 900;
}

.rs-plan-for {
  margin: 8px 0 0;
  font-family: "Inter", var(--font-body);
  font-size: 14.5px;
  line-height: 1.5;
  color: #6a7a7e;
}

.rs-plan--featured .rs-plan-for { color: rgba(255, 255, 255, 0.75); }

.rs-plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 24px 0 4px;
  font-family: "Montserrat", var(--font-display);
}

.rs-plan-price strong { font-size: clamp(34px, 3vw, 46px); font-weight: 900; letter-spacing: -1px; }
.rs-plan-price span { font-size: 14px; font-weight: 700; opacity: 0.7; }
.rs-plan-price.is-pending strong { font-size: 22px; letter-spacing: 0; }

.rs-plan ul {
  display: grid;
  gap: 12px;
  margin: 22px 0 28px;
  padding: 22px 0 0;
  border-top: 1px solid var(--rs-line);
  list-style: none;
}

.rs-plan--featured ul { border-color: rgba(255, 255, 255, 0.16); }

.rs-plan li {
  position: relative;
  padding-left: 28px;
  font-family: "Inter", var(--font-body);
  font-size: 14.5px;
  line-height: 1.5;
}

.rs-plan li::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e9f6f7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23236978' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.rs-plan--featured li::before { background-color: rgba(255, 255, 255, 0.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E"); }
.rs-plan li.is-pending { color: #9aa7aa; font-style: italic; }
.rs-plan--featured li.is-pending { color: rgba(255, 255, 255, 0.55); }

.rs-plan .rs-btn { margin-top: auto; }
.rs-page .rs-plan--featured .rs-btn--ghost { border-color: #fff; background: #fff; color: var(--rs-teal); }

.rs-plans-note {
  margin: 28px 0 0;
  text-align: center;
  font-family: "Inter", var(--font-body);
  font-size: 14.5px;
  color: #6a7a7e;
}

.rs-plans-note a { font-weight: 700; color: var(--rs-teal); }

/* ==========================================================================
   8. Cierre
   ========================================================================== */
.rs-cta { padding: 0 0 clamp(84px, 10vw, 130px); }

.rs-cta-card {
  position: relative;
  display: grid;
  gap: 28px;
  align-items: center;
  padding: clamp(40px, 5vw, 72px);
  border-radius: 34px;
  overflow: hidden;
  background: var(--rs-orange);
  color: #fff;
}

.rs-cta-card::before {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -60%;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 60px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 1024px) {
  .rs-cta-card { grid-template-columns: minmax(0, 1.3fr) auto; }
}

.rs-page .rs-cta-card h2 {
  position: relative;
  margin: 0;
  color: #fff;
  font-family: "Montserrat", var(--font-display);
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1px;
}

.rs-cta-card p {
  position: relative;
  margin: 14px 0 0;
  max-width: 54ch;
  font-family: "Inter", var(--font-body);
  font-size: 16.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.rs-cta-card p a { color: #fff; font-weight: 700; }

.rs-cta-actions { position: relative; display: flex; flex-wrap: wrap; gap: 12px; }
.rs-page .rs-cta-card .rs-btn--primary { background: #fff; color: var(--rs-orange); }
.rs-cta-card .rs-btn--primary:hover { background: #fff3ea; }

@media (prefers-reduced-motion: reduce) {
  .rs-page *,
  .rs-page *::before,
  .rs-page *::after { animation: none !important; transition: none !important; }
  .rs-js [data-rs-reveal] { opacity: 1; transform: none; }
}

/* Celular: menos tarjetas flotantes sobre el teléfono y tarjetas de servicio compactas */
@media (max-width: 599px) {
  .rs-float--b { display: none; }
  .rs-card { min-height: 0; padding: 24px; }
  .rs-card--feature { min-height: 340px; }
}

/* ==========================================================================
   Marcas con las que hemos trabajado
   ========================================================================== */
.rs-brands {
  padding: clamp(64px, 8vw, 104px) 0;
  border-bottom: 1px solid var(--rs-line);
  background: #fff;
}

.rs-brands-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 1024px) {
  .rs-brands-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; }
}

.rs-brands-title { font-size: clamp(28px, 2.6vw, 42px); }

.rs-logos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rs-line);
  border-left: 1px solid var(--rs-line);
}

@media (min-width: 700px) {
  .rs-logos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.rs-logos li {
  display: grid;
  place-items: center;
  min-height: 120px;
  padding: 22px 18px;
  border-right: 1px solid var(--rs-line);
  border-bottom: 1px solid var(--rs-line);
  transition: background-color 0.35s;
}

.rs-logos img {
  display: block;
  width: auto;
  max-width: min(150px, 100%);
  max-height: 46px;
  opacity: 0.62;
  transition: opacity 0.35s, transform 0.35s var(--rs-ease);
}

.rs-logos li:hover { background: var(--rs-cream); }
.rs-logos li:hover img { opacity: 1; transform: scale(1.04); }

/* ==========================================================================
   Feeds reales en el portafolio
   ========================================================================== */
.rs-gallery--feeds { grid-template-columns: minmax(0, 1fr); gap: 22px; }

@media (min-width: 640px) {
  .rs-gallery--feeds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .rs-gallery--feeds { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
}

.rs-feed-item {
  border: 1px solid var(--rs-line);
  box-shadow: 0 30px 60px -44px rgba(14, 54, 64, 0.5);
}

.rs-feed-item figcaption { opacity: 1; transform: none; }

@media (hover: hover) {
  .rs-feed-item figcaption { opacity: 0; transform: translateY(8px); }
  .rs-feed-item:hover figcaption { opacity: 1; transform: none; }
}

/* ==========================================================================
   Reels con video real
   ========================================================================== */
.rs-reel[data-rs-reel] { cursor: pointer; }
.rs-reel[data-rs-reel] video { transition: transform 0.6s var(--rs-ease); }
.rs-reel[data-rs-reel]:hover video { transform: scale(1.03); }

.rs-reel[data-rs-reel] .rs-reel-play {
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.92);
  transform: translateX(-50%);
  transition: transform 0.3s var(--rs-ease), opacity 0.3s;
}

.rs-reel[data-rs-reel] .rs-reel-play svg { width: 18px; height: 18px; margin-left: 3px; fill: var(--rs-teal); }
.rs-reel[data-rs-reel]:hover .rs-reel-play { transform: translateX(-50%) scale(1.08); }
.rs-reel.is-playing .rs-reel-play { opacity: 0.85; }

@media (max-width: 699px) {
  .rs-logos li { min-height: 92px; padding: 16px 12px; }
  .rs-logos img { max-height: 38px; }
}

/* ==========================================================================
   Portada: dos celulares con contenido real (feed + reel)
   ========================================================================== */
.rs-duo {
  position: relative;
  display: block;
  width: 100%;
  max-width: 620px;
  min-height: 640px;
  margin-inline: auto;
}

.rs-duo-glow {
  position: absolute;
  inset: 8% 4% 4% 8%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 40%, rgba(85, 190, 197, 0.35), transparent 60%),
    radial-gradient(circle at 75% 70%, rgba(244, 119, 53, 0.22), transparent 60%);
  filter: blur(30px);
}

.rs-duo .rs-phone {
  position: absolute;
  padding: 10px;
  border-radius: 44px;
  background: linear-gradient(145deg, #1d3a42, #0a1a1f);
  box-shadow:
    0 50px 90px -40px rgba(14, 54, 64, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 0 0 2px #2c4a52;
}

.rs-duo .rs-phone::before { top: 18px; width: 82px; height: 22px; background: #0a1a1f; }

/* Brillo sutil del vidrio */
.rs-duo .rs-phone::after {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 4;
  border-radius: 34px;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 32%);
  pointer-events: none;
}

.rs-duo .rs-screen { border-radius: 34px; }

.rs-phone--feed {
  top: 2%;
  left: 2%;
  z-index: 1;
  width: 250px;
  aspect-ratio: 9 / 19;
  transform: rotate(-7deg);
}

.rs-phone--reel {
  top: 9%;
  right: 4%;
  z-index: 2;
  width: 276px;
  aspect-ratio: 9 / 19;
  transform: rotate(4deg);
}

/* --- Feed real --- */
.rs-ig-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 46px 14px 10px;
  font-family: "Inter", var(--font-body);
}

.rs-ig-avatar {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rs-teal), var(--rs-deep));
  box-shadow: 0 0 0 2px var(--rs-orange);
  font-family: "Montserrat", var(--font-display);
  font-size: 15px;
  font-weight: 900;
  color: #fff;
}

.rs-ig-head strong { display: block; font-size: 12.5px; font-weight: 800; color: var(--rs-ink); }
.rs-ig-head small { display: block; margin-top: 2px; font-size: 10.5px; color: #6a7a7e; }
.rs-ig-head div { transition: opacity 0.35s; }
.rs-duo.is-switching .rs-ig-head div,
.rs-duo.is-switching .rs-ig-avatar { opacity: 0; }
.rs-ig-avatar { transition: opacity 0.35s; }

.rs-ig-tabs {
  display: flex;
  justify-content: space-around;
  margin: 0 14px;
  padding: 8px 0;
  border-top: 1px solid #edf1f2;
}

.rs-ig-tabs i { display: block; width: 14px; height: 14px; border: 2px solid #c3cdd0; border-radius: 3px; }
.rs-ig-tabs i.is-on { border-color: var(--rs-ink); }

.rs-feed-stage {
  position: absolute;
  inset: 118px 0 0;
  overflow: hidden;
  background: #fff;
}

.rs-feed-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.9s var(--rs-ease), transform 6s linear;
}

.rs-feed-stage img.is-on { opacity: 1; transform: scale(1); }

/* --- Reel real --- */
.rs-reel-screen { background: #0b2a32; }

.rs-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.45s;
}

.rs-hero-video.is-fading { opacity: 0; }

.rs-reel-ui {
  position: absolute;
  inset: 0;
  z-index: 2;
  color: #fff;
  font-family: "Inter", var(--font-body);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 22%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 34%);
}

.rs-reel-progress {
  position: absolute;
  top: 44px;
  left: 14px;
  right: 14px;
  display: flex;
  gap: 4px;
}

.rs-reel-progress i {
  position: relative;
  flex: 1;
  height: 2.5px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
}

.rs-reel-progress i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
}

.rs-reel-progress i.is-done::after { transform: scaleX(1); }
.rs-reel-progress i.is-on::after { animation: rs-progress var(--rs-clip, 10s) linear forwards; }

@keyframes rs-progress { to { transform: scaleX(1); } }

.rs-reel-top {
  position: absolute;
  top: 58px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.rs-reel-top strong { font-family: "Montserrat", var(--font-display); font-size: 15px; font-weight: 800; }
.rs-reel-top svg,
.rs-reel-rail svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.rs-reel-rail {
  position: absolute;
  right: 12px;
  bottom: 96px;
  display: grid;
  gap: 18px;
}

.rs-reel-rail span { display: grid; place-items: center; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35)); }
.rs-reel-rail span:first-child svg { fill: #fff; animation: rs-heart 3.2s ease-in-out infinite; }

@keyframes rs-heart {
  0%, 70%, 100% { transform: scale(1); fill: #fff; stroke: #fff; }
  78% { transform: scale(1.3); fill: var(--rs-orange); stroke: var(--rs-orange); }
  88% { transform: scale(1); fill: var(--rs-orange); stroke: var(--rs-orange); }
}

.rs-reel-meta {
  position: absolute;
  left: 14px;
  right: 54px;
  bottom: 22px;
}

.rs-reel-by {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Montserrat", var(--font-display);
  font-size: 12px;
  font-weight: 800;
}

.rs-reel-by img { width: 26px; height: 26px; border: 1.5px solid #fff; border-radius: 50%; }
.rs-reel-meta small { display: block; margin-top: 6px; font-size: 11px; line-height: 1.4; color: rgba(255, 255, 255, 0.85); }

/* --- Tarjetas flotantes con información real --- */
.rs-float--feed { left: -4%; bottom: 12%; z-index: 3; animation-delay: -1s; }
.rs-float--feed small span[data-rs-feed-ind] { transition: opacity 0.35s; }
.rs-float--feed strong { transition: opacity 0.35s; }
.rs-duo.is-switching .rs-float--feed strong,
.rs-duo.is-switching .rs-float--feed [data-rs-feed-ind] { opacity: 0; }
.rs-float--play { right: -6%; top: 2%; z-index: 3; animation-delay: -3s; }
.rs-float--play .rs-bars { height: 22px; }

.rs-float--trust {
  right: 0;
  bottom: 0;
  z-index: 3;
  display: block;
  padding: 12px 16px 14px;
  animation-delay: -5s;
}

.rs-float--trust small {
  display: block;
  margin: 0 0 8px;
  font-family: "Montserrat", var(--font-display);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--rs-teal);
}

.rs-trust-logos { display: flex; align-items: center; gap: 14px; }
.rs-trust-logos img { display: block; width: auto; height: 20px; max-width: 74px; opacity: 0.7; }

@media (min-width: 1024px) and (max-width: 1279px) {
  .rs-duo { min-height: 600px; }
  .rs-phone--feed { width: 220px; }
  .rs-phone--reel { width: 250px; }
  .rs-float--play { right: -2%; }
  .rs-float--feed { left: 0; }
}

/* Celular: un solo teléfono (el reel) y menos tarjetas */
@media (max-width: 599px) {
  .rs-duo { min-height: 560px; }
  .rs-phone--feed,
  .rs-float--trust { display: none; }
  .rs-phone--reel { top: 3%; right: auto; left: 50%; width: 248px; transform: translateX(-50%) rotate(2deg); }
  .rs-float--play { right: 0; top: auto; bottom: 16%; }
  .rs-float--feed { left: 0; bottom: 4%; }
}
.rs-duo.is-paused .rs-reel-progress i.is-on::after { animation-play-state: paused; }

/* Ajustes finos de la escena */
.rs-duo { min-height: 690px; }
.rs-phone--reel { top: 3%; }
.rs-float--trust { right: 12%; bottom: 0; }
.rs-float--feed { bottom: 16%; }

.rs-ig-bio { padding: 0 14px 10px; }
.rs-ig-bio i { display: block; height: 5px; margin-bottom: 5px; border-radius: 4px; background: #e6ecee; }
.rs-ig-bio i:nth-child(2) { width: 62%; }
.rs-ig-bio span { display: flex; gap: 6px; margin-top: 9px; }
.rs-ig-bio b {
  flex: 1;
  padding: 6px 0;
  border-radius: 8px;
  background: #eef3f4;
  font-family: "Montserrat", var(--font-display);
  font-size: 10px;
  font-weight: 800;
  text-align: center;
  color: var(--rs-ink);
}
.rs-ig-bio b:first-child { background: var(--rs-teal); color: #fff; }

.rs-feed-stage { inset: 176px 0 0; }
.rs-feed-stage img {
  left: -5%;
  width: 110%;
  height: auto;
  object-fit: initial;
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .rs-duo { min-height: 640px; }
  .rs-feed-stage { inset: 168px 0 0; }
}

@media (max-width: 599px) {
  .rs-duo { min-height: 580px; }
}

@media (max-width: 599px) {
  .rs-duo { min-height: 640px; }
  .rs-float--feed { display: none; }
  .rs-float--play { top: auto; right: auto; left: 8%; bottom: 0; }
}

/* ==========================================================================
   Celular del feed: perfil realista (v2)
   ========================================================================== */
.rs-ig {
  display: flex;
  flex-direction: column;
  background: #fff;
  font-family: "Inter", var(--font-body);
  color: var(--rs-ink);
}

.rs-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 0 0 auto;
  height: 40px;
  padding: 0 20px 0 24px;
  font-size: 11px;
}

.rs-status b { font-weight: 700; letter-spacing: 0.2px; }
.rs-status span { display: flex; align-items: center; gap: 5px; }
.rs-status svg { height: 9px; width: auto; fill: currentColor; }

.rs-ig-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 14px 0;
}

.rs-ig-ring {
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  padding: 2.5px;
  border-radius: 50%;
  background: conic-gradient(from 210deg, var(--rs-orange), #f9b26b, var(--rs-turq), var(--rs-teal), var(--rs-orange));
}

.rs-ig-ring i,
.rs-ig-hl li span {
  display: block;
  width: 100%;
  height: 100%;
  border: 2.5px solid #fff;
  border-radius: 50%;
  background-image: var(--rs-grid);
  background-size: 300% 300%;
  background-position: 0 0;
  transition: background-image 0.4s;
}

.rs-ig-id { min-width: 0; transition: opacity 0.35s; }
.rs-ig-id strong { display: block; font-size: 13px; font-weight: 800; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rs-ig-id small { display: block; margin-top: 2px; font-size: 10.5px; color: #6a7a7e; }
.rs-ig-id em { display: block; margin-top: 3px; font-size: 9.5px; font-style: normal; font-weight: 700; color: var(--rs-teal); }
.rs-duo.is-switching .rs-ig-id { opacity: 0; }

.rs-ig-actions {
  display: flex;
  gap: 6px;
  padding: 12px 14px 0;
}

.rs-ig-actions b {
  flex: 1;
  padding: 7px 0;
  border-radius: 8px;
  background: #eff3f4;
  font-family: "Montserrat", var(--font-display);
  font-size: 10px;
  font-weight: 800;
  text-align: center;
}

.rs-ig-actions b:first-child { background: var(--rs-teal); color: #fff; }

.rs-ig-hl {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 12px 14px 8px;
  list-style: none;
}

.rs-ig-hl li { display: grid; justify-items: center; gap: 4px; width: 42px; }
.rs-ig-hl li span { width: 40px; height: 40px; border: 1.5px solid #fff; box-shadow: 0 0 0 1.5px #d9e2e4; }
.rs-ig-hl li:nth-child(1) span { background-position: 50% 0; }
.rs-ig-hl li:nth-child(2) span { background-position: 100% 0; }
.rs-ig-hl li:nth-child(3) span { background-position: 0 50%; }
.rs-ig-hl li:nth-child(4) span { background-position: 50% 50%; }
.rs-ig-hl small { font-size: 8.5px; color: #4b5a62; white-space: nowrap; }

.rs-ig-tabbar {
  display: flex;
  border-top: 1px solid #edf1f2;
}

.rs-ig-tabbar span {
  display: grid;
  flex: 1;
  place-items: center;
  height: 30px;
  color: #a7b3b6;
}

.rs-ig-tabbar span.is-on { color: var(--rs-ink); box-shadow: inset 0 -1.5px 0 var(--rs-ink); }
.rs-ig-tabbar svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Cuadrícula de borde a borde con líneas finas, como Instagram */
.rs-ig .rs-feed-stage {
  position: relative;
  inset: auto;
  flex: 1 1 auto;
  overflow: hidden;
}

.rs-ig .rs-feed-stage::after { content: none; }

.rs-ig .rs-feed-stage img {
  left: 0;
  width: 100%;
  height: auto;
  top: 0;
  transform: translateY(0);
  transition: opacity 0.9s var(--rs-ease), transform 4.6s ease-in-out;
}

.rs-ig .rs-feed-stage img.is-on { transform: translateY(-12%); }

@media (min-width: 1024px) and (max-width: 1279px) {
  .rs-ig-ring { width: 50px; height: 50px; }
  .rs-ig-hl li span { width: 34px; height: 34px; }
  .rs-ig-hl { gap: 8px; }
}

/* ==========================================================================
   Planes reales (4 planes)
   ========================================================================== */
.rs-plan-grid--4 { gap: 16px; }

@media (min-width: 720px) {
  .rs-plan-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1200px) {
  .rs-plan-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; }
}

.rs-plan-grid--4 .rs-plan { padding: 30px 24px 26px; }
.rs-plan-grid--4 .rs-plan--featured { transform: none; }

@media (min-width: 1200px) {
  .rs-plan-grid--4 .rs-plan--featured { transform: translateY(-14px); }
}

.rs-plan-tag {
  margin: 0 0 6px;
  font-family: "Montserrat", var(--font-display);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--rs-orange);
}

.rs-plan--featured .rs-plan-tag { color: #ffb489; }
.rs-plan-grid--4 .rs-plan h3 { font-size: 24px; }

.rs-plan-grid--4 .rs-plan-price { align-items: flex-start; gap: 4px; margin: 18px 0 2px; }
.rs-plan-price small { margin-top: 8px; font-size: 13px; font-weight: 800; opacity: 0.7; }
.rs-plan-grid--4 .rs-plan-price strong { font-size: clamp(38px, 3.2vw, 50px); line-height: 1; }
.rs-plan-grid--4 .rs-plan-price span { align-self: flex-end; margin-bottom: 6px; }

.rs-plan-sum {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff4ec;
  font-family: "Inter", var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
  color: #8a4a22;
}

.rs-plan-inc {
  margin: 18px 0 0;
  font-family: "Montserrat", var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--rs-teal);
}

.rs-plan--featured .rs-plan-inc { color: var(--rs-turq); }
.rs-plan-grid--4 .rs-plan > ul { margin-top: 12px; padding-top: 16px; gap: 10px; }
.rs-plan-grid--4 .rs-plan li { font-size: 14px; }

/* sub-lista (detalle de anuncios en Meta) */
.rs-plan li ul {
  display: grid;
  gap: 6px;
  margin: 8px 0 0;
  padding: 0;
  border: 0;
  list-style: none;
}

.rs-plan li ul li {
  padding-left: 14px;
  font-size: 13px;
  color: #5a6b6f;
}

.rs-plan li ul li::before {
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--rs-orange);
}

.rs-plans-fine {
  margin: 22px 0 0;
  text-align: center;
  font-family: "Inter", var(--font-body);
  font-size: 13px;
  color: #7c8b8f;
}

.rs-page .rs-plan h3 { color: var(--rs-teal); }
.rs-page .rs-plan--featured h3 { color: #fff; }
.rs-plan-grid--4 .rs-plan-badge { top: -13px; right: 22px; box-shadow: 0 10px 20px -10px rgba(244, 119, 53, 0.8); }

/* ==========================================================================
   Planes v2: lo común una sola vez, botón bajo el precio, listas equilibradas
   ========================================================================== */
.rs-plan-all {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  margin: 0 0 30px;
  padding: 18px 24px;
  border: 1px solid var(--rs-line);
  border-radius: 20px;
  background: #fff;
}

.rs-plan-all strong {
  font-family: "Montserrat", var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--rs-orange);
}

.rs-plan-all ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rs-plan-all li {
  position: relative;
  padding-left: 26px;
  font-family: "Inter", var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--rs-ink);
}

.rs-plan-all li::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e9f6f7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23236978' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.rs-plan-grid--4 .rs-plan .rs-btn { margin: 20px 0 0; width: 100%; }
.rs-plan-grid--4 .rs-plan > ul { margin-bottom: 0; }
.rs-plan-grid--4 .rs-plan li b { font-weight: 800; }

.rs-plan details { margin-top: 6px; }
.rs-plan summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Montserrat", var(--font-display);
  font-size: 12px;
  font-weight: 800;
  color: var(--rs-orange);
  cursor: pointer;
  list-style: none;
}

.rs-plan summary::-webkit-details-marker { display: none; }
.rs-plan summary::after { content: "+"; font-size: 14px; line-height: 1; }
.rs-plan details[open] summary::after { content: "–"; }

@media (min-width: 1200px) {
  .rs-plan-grid--4 .rs-plan-tag { min-height: 2.6em; line-height: 1.3; }
}

/* ==========================================================================
   Planes estilo Spotify (fondo oscuro, un color por plan, lista completa,
   botón al final) con la tipografía y colores de ÉTIKA
   ========================================================================== */
.rs-plans--dark {
  background:
    radial-gradient(50% 40% at 10% 0%, rgba(85, 190, 197, 0.16), transparent 70%),
    radial-gradient(40% 40% at 100% 100%, rgba(244, 119, 53, 0.12), transparent 70%),
    #0b2a32;
  color: #fff;
}

.rs-plans--dark .rs-kicker { color: var(--rs-turq); }
.rs-plans--dark .rs-title { color: #fff; }
.rs-plans--dark .rs-lead { color: rgba(255, 255, 255, 0.75); }
.rs-plans--dark .rs-plans-note { color: rgba(255, 255, 255, 0.7); }
.rs-plans--dark .rs-plans-note a { color: var(--rs-turq); }

.rs-sp-grid {
  display: grid;
  gap: 18px;
  align-items: stretch;
}

@media (min-width: 760px) {
  .rs-sp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1200px) {
  .rs-sp-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.rs-sp {
  --c: var(--rs-turq);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px 26px;
  border-radius: 16px;
  background: #143a43;
  font-family: "Inter", var(--font-body);
  transition: transform 0.35s var(--rs-ease), box-shadow 0.35s var(--rs-ease);
}

.rs-sp:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(0, 0, 0, 0.7); }

.rs-sp--turq { --c: #55bec5; }
.rs-sp--peach { --c: #ffb38a; }
.rs-sp--orange { --c: #f47735; }
.rs-sp--cream { --c: #f4e3c8; }

.rs-sp.is-featured { background: #18454f; box-shadow: inset 0 0 0 2px var(--c); }

.rs-sp-badge {
  position: absolute;
  top: 0;
  left: 26px;
  padding: 6px 14px;
  border-radius: 0 0 10px 10px;
  background: var(--c);
  font-family: "Montserrat", var(--font-display);
  font-size: 12px;
  font-weight: 800;
  color: #0b2a32;
}

.rs-sp.is-featured .rs-sp-brand { margin-top: 14px; }

.rs-sp-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Montserrat", var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.rs-sp-brand img { width: 24px; height: 24px; border-radius: 50%; }

.rs-page .rs-sp-name {
  margin: 14px 0 0;
  font-family: "Montserrat", var(--font-display);
  font-size: clamp(30px, 2.3vw, 38px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.5px;
  color: var(--c);
}

.rs-sp-tag {
  margin: 6px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.rs-sp-price {
  margin: 20px 0 0;
  font-family: "Montserrat", var(--font-display);
  font-size: 19px;
  font-weight: 800;
  color: #fff;
}

.rs-sp-sub {
  margin: 4px 0 0;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
}

.rs-sp hr {
  width: 100%;
  margin: 20px 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.rs-sp-list {
  display: grid;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0 0 0 18px;
  list-style: disc;
}

.rs-sp-list > li {
  padding-left: 2px;
  font-size: 15px;
  line-height: 1.45;
  color: #fff;
}

.rs-sp-list > li::marker { color: var(--c); }
.rs-sp-list > li.is-all { font-weight: 700; color: var(--c); }

.rs-sp-list ul {
  display: grid;
  gap: 6px;
  margin: 8px 0 2px;
  padding-left: 16px;
  list-style: circle;
}

.rs-sp-list ul li { font-size: 13.5px; line-height: 1.45; color: rgba(255, 255, 255, 0.78); }
.rs-sp-list ul li::marker { color: rgba(255, 255, 255, 0.5); }

.rs-sp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  margin-top: auto;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--c);
  font-family: "Montserrat", var(--font-display);
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  color: #0b2a32;
  transition: transform 0.2s var(--rs-ease), filter 0.2s;
}

.rs-page .rs-sp-btn { color: #0b2a32; }
.rs-sp-btn:hover { transform: scale(1.03); filter: brightness(1.06); }

.rs-sp-fine {
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 760px) {
  .rs-sp-fine { min-height: calc(12px * 1.5 * 3); }
}

/* ==========================================================================
   Planes en versión clara (estructura tipo Spotify sobre fondo crema)
   ========================================================================== */
.rs-plans--light {
  background:
    radial-gradient(45% 40% at 0% 0%, rgba(85, 190, 197, 0.14), transparent 70%),
    radial-gradient(40% 40% at 100% 100%, rgba(244, 119, 53, 0.1), transparent 70%),
    var(--rs-cream);
}

.rs-plans--light .rs-sp {
  border: 1px solid var(--rs-line);
  background: #fff;
  box-shadow: 0 24px 50px -38px rgba(14, 54, 64, 0.45);
}

.rs-plans--light .rs-sp:hover { box-shadow: 0 34px 64px -36px rgba(14, 54, 64, 0.5); }

/* color de cada plan, con contraste suficiente sobre blanco */
.rs-plans--light .rs-sp--turq { --c: #2b9ea6; --btn: #55bec5; --btn-text: #0b2a32; }
.rs-plans--light .rs-sp--peach { --c: #e0773f; --btn: #ffb38a; --btn-text: #0b2a32; }
.rs-plans--light .rs-sp--orange { --c: #f47735; --btn: #f47735; --btn-text: #fff; }
.rs-plans--light .rs-sp--cream { --c: #123f49; --btn: #123f49; --btn-text: #fff; }

.rs-plans--light .rs-sp.is-featured {
  border-color: transparent;
  background: #fff;
  box-shadow: 0 0 0 2px var(--c), 0 34px 70px -36px rgba(244, 119, 53, 0.45);
}

.rs-plans--light .rs-sp-badge { color: #fff; background: var(--rs-orange); }
.rs-plans--light .rs-sp-brand { color: var(--rs-ink); }
.rs-plans--light .rs-sp-tag { color: #6a7a7e; }
.rs-plans--light .rs-sp-price { color: var(--rs-ink); }
.rs-plans--light .rs-sp-sub { color: #8a979a; }
.rs-plans--light .rs-sp hr { border-top-color: var(--rs-line); }
.rs-plans--light .rs-sp-list > li { color: var(--rs-ink); }
.rs-plans--light .rs-sp-list ul li { color: #5a6b6f; }
.rs-plans--light .rs-sp-list ul li::marker { color: #a7b3b6; }
.rs-plans--light .rs-sp-fine { color: #8a979a; }

.rs-page .rs-plans--light .rs-sp-btn { background: var(--btn); color: var(--btn-text); }

/* banda superior de color en cada tarjeta, discreta */
.rs-plans--light .rs-sp::before {
  content: "";
  position: absolute;
  top: 0;
  left: 26px;
  right: 26px;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: var(--c);
}

.rs-plans--light .rs-sp.is-featured::before { display: none; }

/* Precio protagonista en las tarjetas de planes */
.rs-sp-price {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin: 22px 0 0;
  line-height: 1;
}

.rs-sp-price small {
  margin-top: 8px;
  font-family: "Montserrat", var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--c);
}

.rs-sp-price strong {
  font-family: "Montserrat", var(--font-display);
  font-size: clamp(48px, 3.9vw, 62px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 0.95;
  color: var(--rs-ink);
}

.rs-sp-price span {
  align-self: flex-end;
  margin: 0 0 6px 4px;
  font-family: "Inter", var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: #6a7a7e;
}

.rs-sp-sub { margin-top: 10px; }

@media (min-width: 1200px) and (max-width: 1365px) {
  .rs-sp-price strong { font-size: 44px; }
}

/* Precios alineados: etiqueta "Recomendado" sobre el borde y subtítulo de 2 líneas */
.rs-plans--light .rs-sp.is-featured .rs-sp-brand { margin-top: 0; }
.rs-plans--light .rs-sp-badge { top: -13px; border-radius: 999px; padding: 6px 14px; box-shadow: 0 10px 20px -10px rgba(244, 119, 53, 0.8); }

@media (min-width: 1200px) {
  .rs-sp-tag { min-height: 2.9em; line-height: 1.45; }
}

/* ==========================================================================
   Qué hacemos: vitrina interactiva (lista de servicios + panel visual)
   ========================================================================== */
.rs-sv {
  display: grid;
  gap: 18px;
}

@media (min-width: 1024px) {
  .rs-sv { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: 28px; align-items: stretch; }
}

.rs-sv-tabs { display: grid; gap: 6px; align-content: start; }

.rs-sv-tab {
  position: relative;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: center;
  width: 100%;
  padding: 14px 18px 16px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 18px;
  background: transparent;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.rs-sv-tab:hover { background: rgba(255, 255, 255, 0.6); }

.rs-sv-tab.is-on {
  border-color: var(--rs-line);
  background: #fff;
  box-shadow: 0 20px 40px -30px rgba(14, 54, 64, 0.45);
}

.rs-sv-ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #e9f3f4;
  color: var(--rs-teal);
  transition: background-color 0.3s, color 0.3s;
}

.rs-sv-ico svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rs-sv-tab.is-on .rs-sv-ico { background: var(--rs-orange); color: #fff; }

.rs-sv-txt strong {
  display: block;
  font-family: "Montserrat", var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--rs-ink);
}

.rs-sv-txt small {
  display: block;
  margin-top: 3px;
  font-family: "Inter", var(--font-body);
  font-size: 14px;
  color: #6a7a7e;
}

.rs-sv-tab.is-on .rs-sv-txt small { color: var(--rs-teal); font-weight: 600; }

.rs-sv-bar {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 3px;
  border-radius: 3px;
  background: transparent;
  overflow: hidden;
}

.rs-sv-tab.is-on .rs-sv-bar { background: #edf2f3; }
.rs-sv-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--rs-turq), var(--rs-orange)); }
.rs-sv-tab.is-on .rs-sv-bar i { animation: rs-sv-fill var(--rs-sv-time, 6s) linear forwards; }
.rs-showcase.is-paused .rs-sv-tab.is-on .rs-sv-bar i { animation-play-state: paused; }

@keyframes rs-sv-fill { to { width: 100%; } }

/* Escenario */
.rs-sv-stage {
  position: relative;
  min-height: 560px;
  border-radius: 30px;
  overflow: hidden;
  background:
    radial-gradient(60% 60% at 85% 10%, rgba(85, 190, 197, 0.28), transparent 70%),
    radial-gradient(50% 50% at 10% 100%, rgba(244, 119, 53, 0.22), transparent 70%),
    linear-gradient(160deg, #134650 0%, #0b2a32 100%);
  box-shadow: 0 40px 80px -50px rgba(14, 54, 64, 0.8);
}

.rs-sv-panel {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  opacity: 0;
  transition: opacity 0.5s var(--rs-ease);
}

.rs-sv-panel.is-on { opacity: 1; }
.rs-sv-panel[hidden] { display: grid; visibility: hidden; }

.rs-sv-visual {
  position: relative;
  display: grid;
  place-items: center;
  padding: 34px 34px 10px;
  min-height: 0;
}

.rs-sv-copy {
  padding: 0 34px 30px;
  color: #fff;
}

.rs-sv-name {
  margin: 0;
  font-family: "Montserrat", var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--rs-turq);
}

.rs-page .rs-sv-copy h3 {
  margin: 6px 0 0;
  font-family: "Montserrat", var(--font-display);
  font-size: clamp(22px, 1.9vw, 30px);
  font-weight: 900;
  line-height: 1.15;
  color: #fff;
}

.rs-sv-copy > p:last-child {
  max-width: 54ch;
  margin: 8px 0 0;
  font-family: "Inter", var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.rs-sv-ex {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 3;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-family: "Inter", var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
}

/* Miniatura de un creativo real (recorte de la cuadrícula 3x3) */
.rs-ti {
  display: block;
  aspect-ratio: 3 / 4;
  background-image: var(--g);
  background-size: 304.4% 303.3%;
  background-position: calc(var(--x) * 50%) calc(var(--y) * 50%);
  background-color: #dfe8ea;
}

/* Entrada escalonada de elementos del panel activo */
.rs-sv-panel [style*="--i"] { opacity: 0; transform: translateY(10px); transition: opacity 0.5s var(--rs-ease), transform 0.5s var(--rs-ease); transition-delay: calc(var(--i) * 0.09s + 0.15s); }
.rs-sv-panel.is-on [style*="--i"] { opacity: 1; transform: none; }

/* --- 1. Estrategia --- */
.rs-sv-brief { position: relative; width: 100%; max-width: 520px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; align-items: center; }
.rs-br-card { padding: 22px; border-radius: 22px; background: #fff; font-family: "Inter", var(--font-body); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.5); }
.rs-br-top { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--rs-line); }
.rs-br-logo { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px var(--rs-orange); }
.rs-br-logo .rs-ti { width: 100%; height: 100%; aspect-ratio: auto; }
.rs-br-top small { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--rs-orange); }
.rs-br-top strong { display: block; font-family: "Montserrat", var(--font-display); font-size: 15px; font-weight: 800; color: var(--rs-ink); }
.rs-br-row { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--rs-line); font-size: 12.5px; }
.rs-br-row span { color: #6a7a7e; }
.rs-br-row strong { text-align: right; color: var(--rs-ink); }
.rs-br-h { margin: 14px 0 8px; font-size: 10.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--rs-teal); }
.rs-br-pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.rs-br-pills li { padding: 6px 11px; border-radius: 999px; background: #e9f6f7; font-size: 11.5px; font-weight: 700; color: var(--rs-teal); }
.rs-br-pills li:nth-child(even) { background: #fdeee5; color: #c95c22; }
.rs-br-side { position: relative; height: 300px; }
.rs-br-side .rs-ti { position: absolute; width: 120px; border-radius: 14px; border: 3px solid #fff; box-shadow: 0 24px 40px -20px rgba(0, 0, 0, 0.6); }
.rs-br-side .is-a { top: 0; left: 10px; transform: rotate(-6deg); }
.rs-br-side .is-b { top: 90px; right: 0; transform: rotate(5deg); }
.rs-br-side .is-c { bottom: 0; left: 0; transform: rotate(-2deg); }

/* --- 2. Calendario --- */
.rs-sv-cal { width: 100%; max-width: 540px; padding: 20px; border-radius: 22px; background: #fff; font-family: "Inter", var(--font-body); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.5); }
.rs-sv-cal .rs-sv-ex { background: #eef3f4; color: #6a7a7e; }
.rs-cal-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.rs-cal-head strong { font-family: "Montserrat", var(--font-display); font-size: 15px; font-weight: 800; color: var(--rs-ink); }
.rs-cal-head ul { display: flex; gap: 10px; margin: 0 70px 0 0; padding: 0; list-style: none; font-size: 10.5px; color: #6a7a7e; }
.rs-cal-head li::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 4px; border-radius: 2px; background: var(--k); }
.rs-cal-head .is-post, .rs-cd.is-post { --k: var(--rs-teal); }
.rs-cal-head .is-reel, .rs-cd.is-reel { --k: var(--rs-orange); }
.rs-cal-head .is-carrusel, .rs-cd.is-carrusel { --k: var(--rs-turq); }
.rs-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.rs-cd-h { font-size: 10px; font-weight: 700; text-align: center; color: #9aa7aa; }
.rs-cd { position: relative; aspect-ratio: 1; padding: 3px; border-radius: 8px; background: #f5f8f8; overflow: hidden; }
.rs-cd b { position: relative; z-index: 2; font-size: 9px; font-weight: 700; color: #8a979a; }
.rs-cd .rs-ti { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 8px; }
.rs-cd[class*="is-"] { box-shadow: inset 0 0 0 2px var(--k); }
.rs-cd[class*="is-"] b { padding: 0 4px; border-radius: 4px; background: var(--k); color: #fff; }
.rs-cal-ok { margin: 12px 0 0; font-size: 12px; font-weight: 700; color: #2b9ea6; }

/* --- 3. Diseño: carrusel continuo de piezas reales --- */
.rs-sv-design { position: relative; width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.rs-dz-track { display: flex; gap: 16px; width: max-content; animation: rs-dz 28s linear infinite; }
.rs-dz-s { width: 200px; border-radius: 18px; box-shadow: 0 30px 50px -28px rgba(0, 0, 0, 0.7); }
.rs-dz-s:nth-child(odd) { transform: translateY(18px); }
.rs-showcase.is-paused .rs-dz-track,
.rs-sv-panel:not(.is-on) .rs-dz-track { animation-play-state: paused; }
@keyframes rs-dz { to { transform: translateX(-50%); } }
.rs-dz-dots { display: flex; justify-content: center; gap: 6px; margin-top: 30px; }
.rs-dz-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.3); }
.rs-dz-dots i:first-child { width: 22px; border-radius: 4px; background: var(--rs-orange); }

/* --- 4. Video --- */
.rs-sv-video { display: flex; align-items: center; gap: 28px; }
.rs-vd-phone { position: relative; width: 200px; aspect-ratio: 9 / 18; padding: 8px; border-radius: 34px; background: #0a1a1f; box-shadow: 0 0 0 2px #2c4a52, 0 40px 70px -30px rgba(0, 0, 0, 0.8); }
.rs-vd-phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 26px; display: block; }
.rs-vd-rec { position: absolute; top: 22px; left: 22px; display: flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 999px; background: rgba(0, 0, 0, 0.45); font-family: "Montserrat", var(--font-display); font-size: 10px; font-weight: 800; color: #fff; }
.rs-vd-rec i { width: 7px; height: 7px; border-radius: 50%; background: #ff4d4d; animation: rs-blink 1.2s infinite; }
@keyframes rs-blink { 50% { opacity: 0.2; } }
.rs-vd-steps { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: v; }
.rs-vd-steps li { display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 14px; background: rgba(255, 255, 255, 0.08); font-family: "Montserrat", var(--font-display); font-size: 14px; font-weight: 700; color: #fff; counter-increment: v; }
.rs-vd-steps li::before { content: counter(v); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); font-size: 12px; }
.rs-vd-steps li:last-child { background: var(--rs-orange); }
.rs-vd-steps li:last-child::before { content: "✓"; background: rgba(255, 255, 255, 0.25); }

/* --- 5. Gestión --- */
.rs-sv-manage { position: relative; }
.rs-gs-phone { width: 270px; padding: 16px 12px 12px; border-radius: 30px; background: #fff; box-shadow: 0 0 0 8px #0a1a1f, 0 0 0 10px #2c4a52, 0 40px 70px -30px rgba(0, 0, 0, 0.8); font-family: "Inter", var(--font-body); }
.rs-gs-top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.rs-gs-av { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px var(--rs-orange); }
.rs-gs-av .rs-ti { width: 100%; height: 100%; aspect-ratio: auto; }
.rs-gs-top strong { display: block; font-size: 12.5px; font-weight: 800; color: var(--rs-ink); }
.rs-gs-top small { display: block; font-size: 10.5px; color: #6a7a7e; }
.rs-gs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.rs-gs-c { position: relative; }
.rs-gs-c em { position: absolute; right: 4px; bottom: 4px; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #22b573; font-size: 9px; font-style: normal; font-weight: 800; color: #fff; }
.rs-gs-toast { position: absolute; left: -120px; top: 70px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: #fff; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6); font-family: "Inter", var(--font-body); animation: rs-bob 5s ease-in-out infinite; }
.rs-gs-toast i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #22b573; font-style: normal; font-weight: 800; color: #fff; }
.rs-gs-toast strong { display: block; font-size: 12.5px; font-weight: 800; color: var(--rs-ink); }
.rs-gs-toast small { display: block; font-size: 10.5px; color: #6a7a7e; }
.rs-gs-toast.is-2 { left: auto; right: -130px; top: auto; bottom: 60px; animation-delay: -2.5s; }
.rs-gs-toast.is-2 i { background: var(--rs-orange); }

/* --- 6. Comunidad --- */
.rs-sv-chat { position: relative; width: 100%; max-width: 420px; }
.rs-cm-box { border-radius: 24px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6); font-family: "Inter", var(--font-body); }
.rs-cm-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--rs-line); }
.rs-cm-av { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; }
.rs-cm-av .rs-ti { width: 100%; height: 100%; aspect-ratio: auto; }
.rs-cm-head strong { display: block; font-size: 13px; font-weight: 800; color: var(--rs-ink); }
.rs-cm-head small { display: block; font-size: 10.5px; color: #22b573; }
.rs-cm-body { display: grid; gap: 8px; padding: 16px; }
.rs-cm-body p { max-width: 80%; margin: 0; padding: 10px 13px; border-radius: 16px; font-size: 13px; line-height: 1.45; }
.rs-cm-in { justify-self: start; border-bottom-left-radius: 4px; background: #eef3f4; color: var(--rs-ink); }
.rs-cm-out { justify-self: end; border-bottom-right-radius: 4px; background: var(--rs-teal); color: #fff; }
.rs-cm-typing { justify-self: start; display: flex; gap: 4px; padding: 10px 13px; border-radius: 16px; background: #eef3f4; }
.rs-cm-typing i { width: 6px; height: 6px; border-radius: 50%; background: #9aa7aa; animation: rs-dot 1.2s infinite; }
.rs-cm-typing i:nth-child(2) { animation-delay: 0.15s; }
.rs-cm-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes rs-dot { 50% { transform: translateY(-4px); opacity: 0.5; } }

/* --- 7. Reportes --- */
.rs-sv-report { position: relative; width: 100%; max-width: 520px; }
.rs-rp-card { padding: 20px; border-radius: 22px; background: #fff; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6); font-family: "Inter", var(--font-body); }
.rs-sv-report .rs-sv-ex { top: 22px; right: 22px; background: #eef3f4; color: #6a7a7e; }
.rs-rp-h { margin: 0 0 12px; font-family: "Montserrat", var(--font-display); font-size: 15px; font-weight: 800; color: var(--rs-ink); }
.rs-rp-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; padding: 0; list-style: none; }
.rs-rp-kpis li { padding: 10px; border-radius: 12px; background: #f5f8f8; }
.rs-rp-kpis span { display: block; font-size: 10.5px; color: #6a7a7e; }
.rs-rp-kpis strong { font-size: 16px; color: #22b573; }
.rs-rp-kpis svg { display: block; width: 100%; height: 18px; margin-top: 4px; fill: none; stroke: var(--rs-turq); stroke-width: 2; }
.rs-rp-sub { margin: 14px 0 8px; font-size: 11px; font-weight: 700; color: #6a7a7e; }
.rs-rp-bars { display: flex; align-items: flex-end; gap: 14px; height: 110px; }
.rs-rp-bars span { display: flex; flex: 1; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; gap: 4px; }
.rs-rp-bars span i { display: block; width: 100%; height: 0; border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, var(--rs-turq), var(--rs-teal)); transition: height 0.9s var(--rs-ease); transition-delay: calc(var(--i) * 0.12s + 0.2s); }
.rs-rp-bars span:last-child i { background: linear-gradient(180deg, #ffa36c, var(--rs-orange)); }
.rs-sv-panel.is-on .rs-rp-bars span i { height: var(--h); }
.rs-rp-bars small { font-size: 10px; color: #9aa7aa; }
.rs-rp-best { position: absolute; right: -14px; bottom: -26px; display: flex; align-items: center; gap: 10px; max-width: 250px; padding: 10px 12px 10px 10px; border-radius: 16px; background: #fff; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.6); font-family: "Inter", var(--font-body); }
.rs-rp-best .rs-ti { width: 46px; border-radius: 8px; flex: 0 0 auto; }
.rs-rp-best small { display: block; font-size: 10px; font-weight: 700; color: var(--rs-orange); }
.rs-rp-best strong { display: block; font-size: 12px; line-height: 1.35; color: var(--rs-ink); }

/* --- Responsive --- */
@media (max-width: 1023px) {
  .rs-sv-tabs { grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
  .rs-sv-tabs::-webkit-scrollbar { display: none; }
  .rs-sv-tab { scroll-snap-align: start; border-color: var(--rs-line); background: rgba(255, 255, 255, 0.6); }
  .rs-sv-stage { min-height: 600px; }
}

@media (max-width: 599px) {
  .rs-sv-stage { min-height: 640px; border-radius: 24px; }
  .rs-sv-visual { padding: 24px 18px 6px; }
  .rs-sv-copy { padding: 0 20px 24px; }
  .rs-sv-brief { grid-template-columns: 1fr; }
  .rs-br-side { display: none; }
  .rs-sv-cal { padding: 14px; }
  .rs-cal-head ul { display: none; }
  .rs-sv-video { gap: 14px; }
  .rs-vd-phone { width: 150px; }
  .rs-vd-steps li { padding: 8px 10px 8px 8px; font-size: 12px; }
  .rs-gs-phone { width: 230px; }
  .rs-gs-toast { left: -18px; top: -14px; }
  .rs-gs-toast.is-2 { right: -18px; bottom: -14px; }
  .rs-dz-s { width: 150px; }
  .rs-rp-best { right: 0; bottom: -30px; }
}

/* Ajustes de la vitrina */
.rs-sv-stage { min-height: 600px; }
.rs-sv-visual > .rs-sv-brief,
.rs-sv-visual > .rs-sv-chat { position: static; }
.rs-sv-visual > .rs-sv-cal { position: relative; }
.rs-sv-cal .rs-sv-ex { top: -30px; right: 0; background: rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.75); }
.rs-cal-head ul { margin-right: 0; }
.rs-cal-grid { gap: 4px; }
.rs-cd { aspect-ratio: 6 / 5; }
.rs-rp-kpis strong { display: block; margin-top: 2px; font-size: 12px; font-weight: 800; }
.rs-rp-bars { height: 96px; }
.rs-rp-best { right: auto; left: -28px; bottom: auto; top: -34px; }
@media (max-width: 599px) {
  .rs-rp-best { left: 0; top: -40px; }
  .rs-cd { aspect-ratio: 1; }
}
.rs-rp-best { top: auto; bottom: -38px; left: -28px; }
@media (max-width: 599px) { .rs-rp-best { left: 0; top: auto; bottom: -46px; } }
@media (min-width: 600px) { .rs-rp-best { left: -96px; bottom: -44px; } }

/* ==========================================================================
   Vitrina v2: miniaturas con <img> y paneles detallados
   ========================================================================== */
.rs-ti {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #dfe8ea;
  background-image: none;
}

.rs-ti img {
  position: absolute;
  left: calc(var(--x) * -102.2%);
  top: calc(var(--y) * -101.67%);
  width: 304.4%;
  height: 303.3%;
  max-width: none;
  display: block;
}

/* --- Estrategia --- */
.rs-sv-brief { max-width: 600px; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 22px; }
.rs-br-card { padding: 22px 22px 20px; }
.rs-br-top { align-items: center; }
.rs-br-logo { width: 50px; height: 50px; flex: 0 0 auto; }
.rs-br-top em { display: block; margin-top: 2px; font-size: 11.5px; font-style: normal; color: #6a7a7e; }
.rs-br-row { align-items: baseline; gap: 14px; padding: 9px 0; }
.rs-br-row span { flex: 0 0 auto; font-size: 11px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; color: #8a979a; }
.rs-br-row strong { font-size: 12.5px; line-height: 1.35; }
.rs-br-mix { display: flex; height: 10px; overflow: hidden; border-radius: 999px; background: #eef3f4; }
.rs-br-mix i { display: block; width: 0; height: 100%; transition: width 1s var(--rs-ease); transition-delay: 0.5s; }
.rs-sv-panel.is-on .rs-br-mix i { width: var(--w); }
.rs-br-mix .is-turq, .rs-br-leg .is-turq { --k: #55bec5; }
.rs-br-mix .is-teal, .rs-br-leg .is-teal { --k: #236978; }
.rs-br-mix .is-orange, .rs-br-leg .is-orange { --k: #f47735; }
.rs-br-mix .is-peach, .rs-br-leg .is-peach { --k: #ffc29e; }
.rs-br-mix i { background: var(--k); }
.rs-br-leg { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 14px; margin: 10px 0 0; padding: 0; list-style: none; }
.rs-br-leg li { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; color: #4b5a62; }
.rs-br-leg li span::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 2px; background: var(--k); }
.rs-br-leg b { font-weight: 800; color: var(--rs-ink); }
.rs-br-side { position: relative; height: 340px; }
.rs-br-piece { position: absolute; width: 132px; margin: 0; }
.rs-br-piece .rs-ti { position: relative; width: 100%; border: 3px solid #fff; border-radius: 14px; box-shadow: 0 24px 40px -18px rgba(0, 0, 0, 0.65); }
.rs-br-piece figcaption { position: absolute; left: 10px; bottom: -11px; padding: 4px 10px; border-radius: 999px; font-family: "Montserrat", var(--font-display); font-size: 10.5px; font-weight: 800; color: #fff; box-shadow: 0 8px 16px -8px rgba(0, 0, 0, 0.5); }
.rs-br-piece.is-0 { top: 0; left: 0; transform: rotate(-5deg); }
.rs-br-piece.is-0 figcaption { background: #2b9ea6; }
.rs-br-piece.is-1 { top: 95px; right: 0; transform: rotate(4deg); }
.rs-br-piece.is-1 figcaption { background: var(--rs-teal); }
.rs-br-piece.is-2 { bottom: 0; left: 18px; transform: rotate(-2deg); }
.rs-br-piece.is-2 figcaption { background: var(--rs-orange); }
.rs-sv-panel.is-on .rs-br-piece.is-0 { transform: rotate(-5deg); }
.rs-sv-panel.is-on .rs-br-piece.is-1 { transform: rotate(4deg); }
.rs-sv-panel.is-on .rs-br-piece.is-2 { transform: rotate(-2deg); }

/* --- Calendario --- */
.rs-sv-cal {
  position: relative;
  max-width: 640px;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 16px;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.rs-sv-cal .rs-sv-ex { top: -30px; right: 0; }
.rs-cal-card,
.rs-cal-next { padding: 16px; border-radius: 20px; background: #fff; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.55); font-family: "Inter", var(--font-body); }
.rs-cal-head { margin-bottom: 10px; }
.rs-cal-head small { display: block; font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--rs-orange); }
.rs-cal-head strong { font-size: 17px; }
.rs-cal-nav { display: flex; gap: 4px; }
.rs-cal-nav i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: #f1f5f6; font-style: normal; font-weight: 800; color: #6a7a7e; }
.rs-cal-grid { gap: 3px; }
.rs-cd { aspect-ratio: 1; border-radius: 7px; padding: 0; }
.rs-cd.is-out { background: transparent; }
.rs-cd > b { position: absolute; top: 3px; left: 4px; z-index: 2; font-size: 8.5px; }
.rs-cd .rs-ti { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 7px; }
.rs-cd[class*="is-post"], .rs-cd[class*="is-reel"], .rs-cd[class*="is-carrusel"] { box-shadow: none; }
.rs-cd.is-post > b, .rs-cd.is-reel > b, .rs-cd.is-carrusel > b { padding: 0 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.92); color: var(--rs-ink); }
.rs-cd em { position: absolute; right: 3px; bottom: 3px; z-index: 2; display: grid; place-items: center; width: 14px; height: 14px; border-radius: 4px; background: var(--k); }
.rs-cd em svg { width: 9px; height: 9px; fill: #fff; stroke: #fff; stroke-width: 1.5; }
.rs-cd.is-carrusel em svg { fill: none; }
.rs-cd.is-next { box-shadow: 0 0 0 2px var(--rs-orange), 0 6px 14px -6px rgba(244, 119, 53, 0.8); z-index: 3; }
.rs-cal-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--rs-line); }
.rs-cal-leg { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 10px; color: #6a7a7e; }
.rs-cal-leg li::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 4px; border-radius: 2px; background: var(--k); }
.rs-cal-sum { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.rs-cal-sum li { font-size: 10px; color: #6a7a7e; }
.rs-cal-sum strong { margin-right: 2px; font-family: "Montserrat", var(--font-display); font-size: 12px; font-weight: 900; color: var(--rs-ink); }
.rs-cal-next { align-self: center; }
.rs-cal-next-h { margin: 0 0 8px; font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--rs-orange); }
.rs-cal-next-img { position: relative; overflow: hidden; border-radius: 12px; }
.rs-cal-next-img span { position: absolute; top: 8px; left: 8px; padding: 3px 8px; border-radius: 999px; background: #55bec5; font-size: 9.5px; font-weight: 800; color: #0b2a32; }
.rs-cal-when { margin: 10px 0 0; font-family: "Montserrat", var(--font-display); font-size: 13px; font-weight: 800; color: var(--rs-ink); }
.rs-cal-cap { margin: 4px 0 0; font-size: 11px; line-height: 1.45; color: #5a6b6f; }
.rs-cal-checks { display: grid; gap: 4px; margin: 10px 0 0; padding: 0; list-style: none; }
.rs-cal-checks li { font-size: 10.5px; font-weight: 700; color: #1f9d63; }
.rs-cal-checks li::before { content: "✓ "; }
.rs-cal-checks li:last-child { color: var(--rs-orange); }
.rs-cal-checks li:last-child::before { content: "◷ "; }

/* --- Diseño --- */
.rs-sv-design {
  width: 100%;
  max-width: 600px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  overflow: visible;
  -webkit-mask-image: none;
  mask-image: none;
}

.rs-dz-hero { position: relative; margin: 0; }
.rs-dz-hero .rs-ti { border-radius: 20px; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.75); }
.rs-dz-hero figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.95); font-family: "Inter", var(--font-body); }
.rs-dz-hero small { display: block; font-size: 9.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--rs-orange); }
.rs-dz-hero strong { font-family: "Montserrat", var(--font-display); font-size: 14px; font-weight: 900; color: var(--rs-ink); }
.rs-dz-hero span { margin-left: 6px; font-size: 11px; color: #6a7a7e; }
.rs-dz-kit { display: grid; gap: 10px; }
.rs-dz-card { padding: 12px 14px; border-radius: 16px; background: #fff; box-shadow: 0 20px 40px -26px rgba(0, 0, 0, 0.6); font-family: "Inter", var(--font-body); }
.rs-dz-card > p { margin: 0 0 8px; font-size: 9.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--rs-teal); }
.rs-dz-sw { display: flex; gap: 6px; }
.rs-dz-sw i { flex: 1; height: 34px; border-radius: 8px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06); }
.rs-dz-type div { display: flex; align-items: center; gap: 12px; }
.rs-dz-type b { font-family: "Montserrat", var(--font-display); font-size: 34px; font-weight: 900; line-height: 1; color: #12457a; }
.rs-dz-type span { font-size: 11.5px; line-height: 1.4; color: #4b5a62; }
.rs-dz-minis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.rs-dz-mini .rs-ti { border-radius: 7px; }
.rs-dz-card > small { display: block; margin-top: 8px; font-size: 10.5px; font-weight: 700; color: #1f9d63; }

@media (max-width: 599px) {
  .rs-sv-cal { grid-template-columns: 1fr; }
  .rs-cal-next { display: none; }
  .rs-sv-design { grid-template-columns: 0.9fr 1.1fr; gap: 10px; }
  .rs-dz-type span { display: none; }
  .rs-br-side { display: none; }
}

/* Calendario: tarjeta "Próxima publicación" y leyenda */
.rs-cal-next-img span.rs-ti { position: relative; top: auto; left: auto; padding: 0; border-radius: 12px; background: #dfe8ea; }
.rs-cal-next-img > span:not(.rs-ti) { position: absolute; top: 8px; left: 8px; z-index: 2; }
.rs-cal-next-img { width: 62%; margin: 0 auto; box-shadow: 0 16px 30px -18px rgba(0, 0, 0, 0.6); }
.rs-cal-leg .is-post { --k: var(--rs-teal); }
.rs-cal-leg .is-reel { --k: var(--rs-orange); }
.rs-cal-leg .is-carrusel { --k: var(--rs-turq); }
.rs-br-side { height: 330px; }
.rs-br-piece { width: 112px; }
.rs-br-piece.is-0 { top: 4px; left: 4px; }
.rs-br-piece.is-1 { top: 84px; right: 4px; }
.rs-br-piece.is-2 { bottom: 14px; left: 26px; }
@media (max-width: 599px) {
  .rs-dz-hero figcaption { left: 6px; right: 6px; bottom: 6px; padding: 7px 8px; }
  .rs-dz-hero span { display: block; margin: 2px 0 0; }
}

/* ==========================================================================
   Creativos: palabra gigante detrás de cada feed + parallax + hover
   ========================================================================== */
.rs-gallery--feeds { row-gap: clamp(64px, 6vw, 92px); padding-top: clamp(40px, 4vw, 60px); }

.rs-feed-cell { position: relative; }
.rs-feed-cell[hidden] { display: none; }

.rs-feed-word {
  position: absolute;
  top: clamp(-58px, -4.2vw, -40px);
  left: -6px;
  z-index: 0;
  font-family: "Montserrat", var(--font-display);
  font-size: clamp(54px, 5.6vw, 92px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(35, 105, 120, 0.28);
  pointer-events: none;
  transform: translate3d(var(--px, 0px), 0, 0);
  transition: color 0.5s var(--rs-ease), -webkit-text-stroke-color 0.5s;
  will-change: transform;
}

.rs-feed-word.is-right { left: auto; right: -6px; }

.rs-feed-cell .rs-feed-item {
  position: relative;
  z-index: 1;
  transition: transform 0.5s var(--rs-ease), box-shadow 0.5s var(--rs-ease);
}

.rs-feed-cell:hover .rs-feed-item {
  transform: translateY(-10px) rotate(-0.6deg);
  box-shadow: 0 50px 80px -46px rgba(14, 54, 64, 0.65);
}

.rs-feed-cell:nth-child(even):hover .rs-feed-item { transform: translateY(-10px) rotate(0.6deg); }

.rs-feed-cell:hover .rs-feed-word {
  color: rgba(244, 119, 53, 0.92);
  -webkit-text-stroke-color: transparent;
}

/* Entrada escalonada: sube con ligera escala */
.rs-js .rs-feed-cell[data-rs-reveal] { transform: translate3d(0, 46px, 0) scale(0.96); }
.rs-js .rs-feed-cell[data-rs-reveal].is-in { transform: none; }

@media (max-width: 639px) {
  .rs-feed-word { font-size: 50px; top: -38px; letter-spacing: -1px; }
  .rs-gallery--feeds { row-gap: 70px; }
}
/* Cada palabra se ajusta al ancho de su tarjeta (no se corta ni se cruza) */
.rs-feed-cell { container-type: inline-size; }
.rs-feed-word {
  left: 0;
  font-size: min(calc(132cqw / var(--len, 8)), 96px);
  top: calc(min(calc(132cqw / var(--len, 8)), 96px) * -0.62);
  letter-spacing: -0.03em;
}
.rs-feed-word.is-right { left: auto; right: 0; }
@media (max-width: 639px) { .rs-feed-word { font-size: min(calc(132cqw / var(--len, 8)), 80px); top: calc(min(calc(132cqw / var(--len, 8)), 80px) * -0.62); } }

/* Portada: los celulares conservan su tamaño; el texto se alinea arriba
   (no se centra en la altura de los celulares) para que se vea completo. */
@media (min-width: 1024px) {
  .rs-hero { padding-block: clamp(28px, 4vh, 56px) clamp(48px, 7vh, 88px); }
  .rs-hero-grid { align-items: start; }
  .rs-hero-copy { padding-top: clamp(40px, 7vh, 96px); }
}

/* --- Vitrina: el escenario crece con el contenido (los paneles se apilan en la misma celda) --- */
.rs-sv-stage { display: grid; grid-template-columns: minmax(0, 1fr); }
.rs-sv-panel { position: relative; inset: auto; grid-area: 1 / 1; }
.rs-sv-visual { grid-template-columns: minmax(0, 1fr); padding-top: 56px; }
@media (max-width: 1023px) {
  .rs-sv-stage { min-height: 0; }
}

@media (max-width: 699px) {
  .rs-sv-brief { max-width: 440px; grid-template-columns: minmax(0, 1fr); }
  .rs-br-side { display: none; }
  .rs-sv-cal { grid-template-columns: minmax(0, 1fr); }
  .rs-cal-card { padding: 12px; }
  .rs-cal-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .rs-cal-foot { flex-wrap: wrap; row-gap: 6px; }
}

@media (max-width: 399px) {
  .rs-br-card { padding: 18px 16px 16px; }
  .rs-br-row { flex-direction: column; gap: 2px; }
  .rs-br-row strong { text-align: left; }
  .rs-br-leg { grid-template-columns: minmax(0, 1fr); }
}

/* --- Planes: Pretty Easy --- */
.rs-sp-brand { gap: 12px; }
.rs-sp-brand .rs-sp-pe { width: auto; height: 30px; border-radius: 0; }

/* Encabezado de planes: "Tu perfil en" + botón rosa de Pretty Easy */
.rs-head-side { display: grid; gap: 22px; justify-items: start; }
.rs-head .rs-head-side .rs-lead { margin: 0; }
.rs-pe-link { display: inline-flex; align-items: center; gap: 22px; text-decoration: none; }
.rs-pe-k {
  font-family: "Montserrat", var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--rs-teal);
}
.rs-pe-pill {
  display: grid;
  place-items: center;
  padding: 14px 34px;
  border-radius: 16px;
  background: #f1e3f1;
  box-shadow: 0 14px 30px -22px rgba(120, 40, 110, 0.55);
  transition: transform 0.35s var(--rs-ease), background 0.35s var(--rs-ease), box-shadow 0.35s var(--rs-ease);
}
.rs-pe-pill img { display: block; width: auto; height: 44px; }
.rs-pe-link:hover .rs-pe-pill,
.rs-pe-link:focus-visible .rs-pe-pill { transform: translateY(-3px); background: #f9c9f0; box-shadow: 0 20px 36px -20px rgba(120, 40, 110, 0.6); }
.rs-pe-link:focus-visible { outline: none; }
.rs-pe-link:focus-visible .rs-pe-pill { outline: 3px solid rgba(85, 190, 197, 0.7); outline-offset: 3px; }
@media (max-width: 599px) {
  .rs-pe-link { gap: 14px; }
  .rs-pe-k { font-size: 10.5px; letter-spacing: 1.4px; }
  .rs-pe-pill { padding: 12px 24px; }
  .rs-pe-pill img { height: 34px; }
}


/* Portada: kicker + logo Pretty Easy */
.rs-hero-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.rs-hero-kicker .rs-kicker { margin-bottom: 0; }
.rs-hero-pe { display: block; width: auto; height: 40px; }
.rs-hero-kicker + h1 { margin-top: 14px; }
.rs-hero-kicker { flex-direction: column; align-items: flex-start; gap: 12px; }
.rs-hero-kicker .rs-kicker { white-space: nowrap; }
@media (min-width: 1200px) {
  .rs-hero-pe { height: 46px; }
}
@media (max-width: 599px) {
  .rs-hero-kicker .rs-kicker { white-space: normal; }
}
@media (max-width: 599px) {
  .rs-hero-pe { height: 34px; }
}
