/* Modo foco universal — Sistema Catedral */
.sm-foco-fab {
  position: fixed;
  bottom: 22px;
  left: 22px;
  z-index: 900;
  padding: 12px 18px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--sm-gold, #c17f3a), #d4a05a);
  color: #fff;
  font-family: var(--sm-font-ui, 'DM Sans', system-ui, sans-serif);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(193, 127, 58, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}

.sm-foco-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(193, 127, 58, 0.45);
}

.sm-foco-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  flex-direction: column;
  background: #0c1524;
  color: #f6f3ec;
}

.sm-foco-overlay.is-open {
  display: flex;
}

.sm-foco-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sm-foco-top span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(246, 243, 236, 0.6);
}

.sm-foco-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.sm-foco-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 10px 20px 16px;
}

.sm-foco-nav button {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.sm-foco-nav button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.sm-foco-counter {
  font-size: 12px;
  font-weight: 700;
  color: rgba(246, 243, 236, 0.7);
  min-width: 72px;
  text-align: center;
}

.sm-foco-stage {
  flex: 1;
  overflow-y: auto;
  padding: 8px 20px 32px;
}

.sm-foco-slide {
  max-width: 880px;
  margin: 0 auto;
  padding: 32px 36px 40px;
  border-radius: 20px;
  background: #fffcf7;
  color: #0c1524;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  line-height: 1.65;
  font-size: 16px;
}

.sm-foco-slide h1,
.sm-foco-slide h2,
.sm-foco-slide h3 {
  font-family: 'Fraunces', 'Source Serif 4', Georgia, serif;
  color: #0c1524;
}

.sm-foco-slide img {
  max-width: 100%;
  border-radius: 12px;
}

@media (max-width: 640px) {
  .sm-foco-fab {
    left: 14px;
    bottom: 14px;
    padding: 10px 14px;
    font-size: 11px;
  }

  .sm-foco-slide {
    padding: 22px 18px 28px;
    border-radius: 14px;
  }
}