/* Portada · Hero: la misma plantilla en el ordenador (navegador) y en el celular, rotando */
.showcase {
  position: relative;
  padding: 0 0 48px 0;
}
.sc-browser {
  border-radius: 14px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  margin-right: 70px;
}
.sc-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.sc-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}
.sc-url {
  margin-left: 10px;
  flex: 1;
  font-size: 12px;
  color: var(--muted);
  background: var(--panel);
  border-radius: 999px;
  padding: 4px 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Capturas (no sitios en vivo): la del ordenador llena la pantalla 16:10 y la del celular, el marco desde arriba */
.sc-screen {
  position: relative;
  aspect-ratio: 1280 / 800;
  overflow: hidden;
}
.sc-screen img,
.sc-phone img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  pointer-events: none;
  transition: opacity 0.25s;
}
.sc-phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 26%;
  max-width: 170px;
}
.showcase.sc-swap .sc-screen img,
.showcase.sc-swap .sc-phone img {
  opacity: 0;
}
@media (prefers-reduced-motion: reduce) {
  .sc-screen img,
  .sc-phone img {
    transition: none;
  }
}

.sc-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4px;
}
.sc-chips button {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  border-radius: 999px;
  padding: 6px 12px;
  font: 600 13px/1 var(--f-body);
  cursor: pointer;
}
.sc-chips button.on {
  background: var(--text);
  border-color: var(--text);
  color: var(--on-text, #fff);
}

@media (max-width: 640px) {
  .sc-browser {
    margin-right: 40px;
  }
  .sc-phone {
    width: 30%;
  }
}
