/* Estilos específicos para la página "En que creemos" */

@media (min-width: 992px) {
.beliefs-page {
  min-height: 100vh;
}

}

/* Breadcrumb Navigation */
.breadcrumb-nav {
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.breadcrumb-item {
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
  color: #fff;
  text-decoration: none;
}

.breadcrumb-item.active {
  color: #fff;
  font-weight: 500;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: ">";
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0.5rem;
}

.beliefs-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 6rem 0;
  text-align: center;
  margin-top: 20px;
  position: relative;
  overflow: hidden;
}

.beliefs-hero .hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  position: relative;
  z-index: 2;
}

.beliefs-hero .hero-content {
  position: relative;
  z-index: 2;
}

/* Estilos del libro interactivo */
.book {
  transition: opacity 0.4s 0.2s;
  perspective: 250vw;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
}

.book .pages {
  width: 70vw;
  height: 50vw;
  position: relative;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  border-radius: 4px;
}

.book .page {
  float: none;
  clear: none;
  margin: 0;
  position: absolute;
  top: 0;
  width: 35vw;
  height: 50vw;
  transform-origin: 0 0;
  transition: transform 1.4s;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  cursor: pointer;
  user-select: none;
  background-color: #f0f0f0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.book .page:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  transition: background 0.7s;
  z-index: 2;
}

.book .page:nth-child(odd) {
  pointer-events: all;
  transform: rotateY(0deg);
  right: 0;
  border-radius: 0 4px 4px 0;
  background-position: right top;
}

.book .page:nth-child(odd):hover {
  transform: rotateY(-15deg);
}

.book .page:nth-child(odd):hover:before {
  background: rgba(0, 0, 0, 0.03);
}

.book .page:nth-child(odd):before {
  background: rgba(0, 0, 0, 0);
}

.book .page:nth-child(even) {
  pointer-events: all;
  transform: rotateY(180deg);
  transform-origin: 100% 0;
  left: 0;
  border-radius: 4px 0 0 4px;
  border-color: black;
}

.book .page:nth-child(even):before {
  background: rgba(0, 0, 0, 0.2);
}

.book .page.grabbing {
  transition: none;
}

.book .page.clicking {
  pointer-events: none;
  opacity: 0.8;
}

.book .page.flipped:nth-child(odd) {
  pointer-events: all;
  transform: rotateY(-180deg);
}

.book .page.flipped:nth-child(odd):before {
  background: rgba(0, 0, 0, 0.2);
}

.book .page.flipped:nth-child(even) {
  pointer-events: all;
  transform: rotateY(0deg);
}

.book .page.flipped:nth-child(even):hover {
  transform: rotateY(15deg);
}

.book .page.flipped:nth-child(even):hover:before {
  background: rgba(0, 0, 0, 0.03);
}

.book .page.flipped:nth-child(even):before {
  background: rgba(0, 0, 0, 0);
}

/* Responsive design mejorado para tablets y notebooks */
@media (max-width: 1200px) {
  .book .pages {
    width: 80vw;
    height: 55vw;
  }
  
  .book .page {
    width: 40vw;
    height: 55vw;
  }
  
  .page-content {
    padding: 2.5rem 1.2rem;
    gap: 1rem;
  }
  
  /* Ocultar títulos con números en notebook y tablet */
  .page-header {
    display: none !important;
  }
  
  /* Ajustar espaciado del contenido cuando se ocultan los títulos */
  .page-content {
    padding-top: 1.5rem;
    justify-content: flex-start;
  }
  
  .belief-section {
    padding: 1.2rem;
  }
  
  .belief-title {
    font-size: 1.3rem;
  }
  
  .belief-text {
    font-size: 0.90rem;
  }
}

@media (max-width: 992px) {
  .beliefs-hero .hero-title {
    font-size: 2.5rem;
  }
  
  .book .pages {
    width: 85vw;
    height: 58vw;
  }
  
  .book .page {
    width: 42.5vw;
    height: 58vw;
  }
  
  .page-content {
    padding: 2rem 1rem;
    gap: 0.8rem;
  }
  
  /* Ocultar títulos con números en tablet */
  .page-header {
    display: none !important;
  }
  
  /* Ajustar espaciado del contenido cuando se ocultan los títulos */
  .page-content {
    padding-top: 1.2rem;
    justify-content: flex-start;
  }
  
  .magazine-title {
    font-size: 2.8rem;
  }
  
  .magazine-subtitle {
    font-size: 1.3rem;
  }
  
  .belief-section {
    padding: 1rem;
  }
  
  .belief-title {
    font-size: 1.25rem;
  }
  
  .belief-text {
    font-size: 0.90rem;
    line-height: 1.5;
  }
  
  .page-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  .beliefs-hero {
    padding: 4rem 0;
  }
  
  .beliefs-hero .hero-title {
    font-size: 2.2rem;
  }
  
  .book .pages {
    width: 90vw;
    height: 62vw;
  }
  
  .book .page {
    width: 45vw;
    height: 62vw;
  }
  
  .page-content {
    padding: 1.5rem 0.8rem;
    gap: 0.6rem;
  }
  
  /* Ocultar títulos con números en móviles también */
  .page-header {
    display: none !important;
  }
  
  /* Ajustar espaciado del contenido cuando se ocultan los títulos */
  .page-content {
    padding-top: 1rem;
    justify-content: flex-start;
  }
  
  .magazine-title {
    font-size: 2.5rem;
  }
  
  .magazine-subtitle {
    font-size: 1.2rem;
  }
  
  .belief-section {
    padding: 0.8rem;
  }
  
  .belief-title {
    font-size: 1.2rem;
  }
  
  .belief-text {
    font-size: 0.9rem;
    text-indent: 0.8rem;
    line-height: 1.4;
  }
  
  .belief-icon {
    font-size: 1.8rem;
  }
  
  .church-name {
    font-size: 2rem;
  }
  
  .church-motto {
    font-size: 1rem;
  }
  
  .contact-info, .service-times {
    max-width: 350px;
  }
}

@media (max-width: 576px) {
  .beliefs-hero {
    padding: 3rem 0;
  }
  
  .beliefs-hero .hero-title {
    font-size: 1.8rem;
  }
  
  .book .pages {
    width: 95vw;
    height: 68vw;
  }
  
  .book .page {
    width: 47.5vw;
    height: 68vw;
  }
  
  .page-content {
    padding: 1.2rem 0.6rem;
    gap: 0.5rem;
  }
  
  /* Ocultar títulos con números en móviles pequeños */
  .page-header {
    display: none !important;
  }
  
  /* Ajustar espaciado del contenido cuando se ocultan los títulos */
  .page-content {
    padding-top: 0.8rem;
    justify-content: flex-start;
  }
  
  .magazine-title {
    font-size: 2.2rem;
  }
  
  .magazine-subtitle {
    font-size: 1.1rem;
  }
  
  .belief-section {
    padding: 0.6rem;
  }
  
  .belief-title {
    font-size: 1.1rem;
  }
  
  .belief-text {
    font-size: 0.85rem;
    line-height: 1.4;
    text-indent: 0.6rem;
  }
  
  .belief-icon {
    font-size: 1.6rem;
  }
  
  .cross-symbol {
    font-size: 3rem;
  }
  
  .biblical-citation {
    padding: 0.1rem 0.3rem;
    font-size: 0.9rem;
  }
  
  .church-name {
    font-size: 1.8rem;
  }
  
  .church-motto {
    font-size: 0.9rem;
  }
  
  .contact-info, .service-times {
    max-width: 300px;
  }
  
  .contact-info h3, .service-times h3 {
    font-size: 1.1rem;
  }
  
  .verse {
    font-size: 1rem;
  }
  
  .book-decoration .cross-symbol {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .beliefs-hero {
    padding: 2.5rem 0;
  }
  
  .beliefs-hero .hero-title {
    font-size: 1.6rem;
  }
  
  .book .pages {
    width: 98vw;
    height: 70vw;
  }
  
  .book .page {
    width: 49vw;
    height: 70vw;
  }
  
  .page-content {
    padding: 1rem 0.5rem;
    gap: 0.4rem;
  }
  
  /* Ocultar títulos con números en móviles muy pequeños */
  .page-header {
    display: none !important;
  }
  
  /* Ajustar espaciado del contenido cuando se ocultan los títulos */
  .page-content {
    padding-top: 0.6rem;
    justify-content: flex-start;
  }
  
  .magazine-title {
    font-size: 2rem;
  }
  
  .magazine-subtitle {
    font-size: 1rem;
  }
  
  .belief-section {
    padding: 0.5rem;
  }
  
  .belief-title {
    font-size: 1rem;
  }
  
  .belief-text {
    font-size: 0.8rem;
    line-height: 1.3;
    text-indent: 0.5rem;
  }
  
  .belief-icon {
    font-size: 1.4rem;
  }
  
  .cross-symbol {
    font-size: 2.5rem;
  }
  
  .biblical-citation {
    padding: 0.1rem 0.2rem;
    font-size: 0.8rem;
  }
  
  .church-name {
    font-size: 1.6rem;
  }
  
  .church-motto {
    font-size: 0.8rem;
  }
  
  .contact-info, .service-times {
    max-width: 280px;
  }
  
  .contact-info h3, .service-times h3 {
    font-size: 1rem;
  }
  
  .verse {
    font-size: 0.9rem;
  }
  
  .book-decoration .cross-symbol {
    font-size: 2rem;
  }
}

/* Estilos para páginas de revista */
.magazine-page {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  color: #2c3e50;
  font-family: 'Slabo 27px', serif;
  overflow: hidden;
}

.page-content {
  padding: 3rem 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  gap: 1.2rem;
}

/* Portada de la revista */
.page-cover {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
  text-align: center;
  justify-content: center;
  align-items: center;
}

.magazine-cover {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.magazine-title {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  font-family: 'Domine', serif;
}

.magazine-subtitle {
  font-size: 1.4rem;
  font-weight: 300;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.magazine-decoration {
  margin-top: 2rem;
}

.cross-symbol {
  font-size: 4rem;
  opacity: 0.7;
  animation: gentle-glow 3s ease-in-out infinite alternate;
}

@keyframes gentle-glow {
  from { opacity: 0.7; }
  to { opacity: 1; }
}

/* Contraportada */
.page-back-cover {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
  text-align: center;
  justify-content: center;
  align-items: center;
}

.back-cover-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 2rem;
}

.church-info {
  margin-bottom: 3rem;
}

.church-name {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  font-family: 'Domine', serif;
}

.church-motto {
  font-size: 1.2rem;
  font-style: italic;
  opacity: 0.9;
  margin: 0;
}

.contact-info, .service-times {
  margin-bottom: 2.5rem;
  text-align: left;
  width: 100%;
  max-width: 400px;
}

.contact-info h3, .service-times h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center;
  color: #ecf0f1;
  font-family: 'Domine', serif;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.8rem;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: background 0.3s ease;
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.2);
}

.contact-item i {
  margin-right: 1rem;
  width: 20px;
  color: #667eea;
}

.service-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: background 0.3s ease;
}

.service-item:hover {
  background: rgba(255, 255, 255, 0.2);
}

.day {
  font-weight: 600;
  color: #ecf0f1;
}

.time {
  color: #bdc3c7;
  font-size: 0.9rem;
}

.final-message {
  margin-bottom: 2rem;
  text-align: center;
}

.verse {
  font-size: 1.1rem;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 0.5rem;
  color: #ecf0f1;
}

.verse-reference {
  font-size: 1rem;
  font-weight: 600;
  color: #667eea;
}

.book-decoration {
  margin-top: 1rem;
}

.book-decoration .cross-symbol {
  font-size: 3rem;
  opacity: 0.8;
  animation: gentle-glow 3s ease-in-out infinite alternate;
}

/* Encabezado de página */
.page-header {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--primary-color);
}

.page-number {
  background: var(--primary-color);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin-right: 1rem;
  box-shadow: 0 2px 8px rgba(128, 0, 32, 0.3);
}

.page-title {
  font-size: 1.8rem;
  font-weight: 400;
  color: #2c3e50;
  font-family: 'DM Serif Text', serif;
}

/* Secciones de creencias */
.belief-section {
  margin: 0;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  border-left: 3px solid var(--primary-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 100%;
  text-align: left;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.belief-section:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.belief-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: block;
  text-align: center;
}

.belief-title {
  font-size: 1.4rem;
  font-weight: 400;
  color: #2c3e50;
  margin-bottom: 1rem;
  line-height: 1.3;
  font-family: 'DM Serif Text', serif;
  text-align: left;
}

.belief-text {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #495057;
  text-align: justify;
  margin: 0;
  text-indent: 1rem;
  flex: 1;
}

.biblical-citation {
  color: var(--primary-color);
  font-family: "DM Serif Text", serif;
  font-weight: 400;
  font-style: italic;
  font-size: 1em;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
}

/* Mejoras adicionales para el libro interactivo */
.book {
  min-height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
}

/* Mejorar la experiencia de volteo de páginas */
.book .page {
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.book .page:hover {
  z-index: 10;
}

/* Mejorar la legibilidad del texto */
.belief-text {
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Estilos para indicadores de navegación */
.book-indicators {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2rem;
  gap: 1rem;
}

.indicator-dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.indicator-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(128, 0, 32, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.indicator-dot.active {
  background: var(--primary-color);
  transform: scale(1.2);
  box-shadow: 0 0 8px rgba(128, 0, 32, 0.4);
}

.indicator-dot:hover {
  background: rgba(128, 0, 32, 0.6);
  transform: scale(1.1);
}

.navigation-hint {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-style: italic;
}

.navigation-hint i {
  color: var(--primary-color);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-5px);
  }
  60% {
    transform: translateY(-3px);
  }
}

/* Mejorar el espaciado en dispositivos pequeños */
@media (max-width: 360px) {
  .book .pages {
    width: 100vw;
    height: 72vw;
  }
  
  .book .page {
    width: 50vw;
    height: 72vw;
  }
  
  .page-content {
    padding: 0.8rem 0.4rem;
    gap: 0.3rem;
  }
  
  /* Ocultar títulos con números en móviles ultra pequeños */
  .page-header {
    display: none !important;
  }
  
  /* Ajustar espaciado del contenido cuando se ocultan los títulos */
  .page-content {
    padding-top: 0.4rem;
    justify-content: flex-start;
  }
  
  .belief-section {
    padding: 0.4rem;
  }
  
  .belief-text {
    font-size: 0.75rem;
    line-height: 1.2;
    text-indent: 0.4rem;
  }
  
  .belief-title {
    font-size: 0.95rem;
  }
  
  .magazine-title {
    font-size: 1.8rem;
  }
  
  .magazine-subtitle {
    font-size: 0.9rem;
  }
  
  .book-indicators {
    margin-top: 1rem;
  }
  
  .indicator-dot {
    width: 10px;
    height: 10px;
  }
  
  .navigation-hint {
    font-size: 0.8rem;
  }
}

/* Mejoras adicionales para tablets en modo landscape */
@media (max-width: 1024px) and (orientation: landscape) {
  .book .pages {
    width: 75vw;
    height: 50vw;
  }
  
  .book .page {
    width: 37.5vw;
    height: 50vw;
  }
  
  .page-content {
    padding: 1.5rem 1rem;
  }
}

/* Asegurar que los títulos se muestren en desktop */
@media (min-width: 1201px) {
  .page-header {
    display: flex !important;
  }
  
  .page-content {
    justify-content: space-between !important;
  }
}

/* Mejoras para pantallas muy anchas */
@media (min-width: 1400px) {
  .book .pages {
    width: 60vw;
    height: 45vw;
  }
  
  .book .page {
    width: 30vw;
    height: 45vw;
  }
  
  .page-content {
    padding: 3.5rem 2rem;
  }
  
  .belief-section {
    padding: 2rem;
  }
  
  .belief-title {
    font-size: 1.5rem;
  }
  
  .belief-text {
    font-size: 1.1rem;
  }
}

/* Guía de uso del libro */
.container-guide-libro {
  padding: 2rem 0 !important;
}
.book-guide {
  text-align: center;
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.guide-text {
  font-size: 0.9rem;
  color:  var(--background-white) !important;
  margin: 0;
  font-style: italic;
  opacity: 0.8;
}

/* Responsive para la guía */
@media (max-width: 768px) {
  .book-guide {
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding: 1.2rem 1.5rem;
    max-width: 90%;
    border-radius: 12px;
  }
  
  .guide-text {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .book-guide {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1rem 1.2rem;
    border-radius: 10px;
  }
  
  .guide-text {
    font-size: 0.8rem;
  }
}


@media (min-width: 768px) and (max-width: 900px) {
    
  .belief-text {
    font-size: 0.85rem;
    line-height: 1.2;
  }

}


@media (min-width: 900px) and (max-width: 1090px) {
    
  .belief-text {
    font-size: 0.9rem;
    line-height: 1.3;
  }

}

@media (min-width: 768px) and (max-width: 1090px) {
.final-message {
  display: none !important;
}
}

@media (min-width: 768px) {
  .beliefs-page {
  background: var(--background-black);
}
}

.visor {
  padding: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
  font-family: sans-serif;
  position: relative;
  overflow: hidden;
  min-height: 500px; /* Asegurar altura mínima para evitar colapso */
}

.visor-page {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  width: 100%;
  box-sizing: border-box;
  z-index: 1;
}

.visor-page.active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
  z-index: 2;
}

.visor-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-align: center;
  font-family: var(--font-heading);
  color: var(--primary-color);
  font-weight: 600;
}

.visor-content {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-family: var(--font-body);
}

.visor-page-number {
  text-align: center;
  font-weight: bold;
  font-style: italic;
  font-family: var(--font-heading);
  margin-bottom: 1rem;
  
}

.visor-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem;
  gap: 1rem;
}

.visor-navigation button {
  padding: 0.75rem 1.5rem;
  border: none;
  font-size: 1rem;
  background: var(--primary-color);
  color: var(--background-white);
  font-family: var(--font-heading);
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.3s ease;
  flex: 1;
  min-height: 44px; /* Tamaño mínimo recomendado para touch */
  position: relative;
  z-index: 10; /* Asegurar que estén por encima de otros elementos */
}

.visor-navigation button:hover {
  background: #600018;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(128, 0, 32, 0.3);
}

.visor-navigation button:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(128, 0, 32, 0.3);
}

.visor-navigation button:disabled {
  background: #ccc;
  color: #666;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

@media (max-width: 425px) {
  .visor {
    padding: 1rem;
    min-height: 450px;
  }
  
  .visor-page {
    padding: 1rem;
  }
  
  .visor-title {
    font-size: 1.3rem;
  }
  
  .visor-content {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
  
  .visor-navigation {
    margin-top: 1rem;
    gap: 0.5rem;
  }
  
  .visor-navigation button {
    font-size: 0.8rem;
    padding: 0.6rem 1rem;
    min-height: 40px;
  }
}

@media (max-width: 355px) {
  .visor {
    padding: 0.8rem;
    min-height: 400px;
  }
  
  .visor-page {
    padding: 0.8rem;
  }
  
  .visor-title {
    font-size: 1.2rem;
  }
  
  .visor-content {
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
  }
  
  .visor-navigation {
    margin-top: 0.8rem;
    gap: 0.4rem;
  }
  
  .visor-navigation button {
    font-size: 0.7rem;
    padding: 0.5rem 0.8rem;
    min-height: 36px;
  }
  
  .belief-text {
    font-size: 0.85rem;
  }
}

@media (min-width: 355px) and (max-width: 768px) {
  .belief-text {
    font-size: 1.1rem;
    line-height: 1.6;
  }
}

/* Estilos adicionales para el visor móvil */
.visor-page-indicator {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--primary-color);
  font-weight: 500;
  font-family: var(--font-heading);
}

/* Mejorar la accesibilidad táctil */
.visor-navigation button:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Asegurar que el contenido sea legible */
.visor-content .belief-text {
  text-align: justify;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Mejorar el espaciado en dispositivos muy pequeños */
@media (max-width: 320px) {
  .visor {
    padding: 0.5rem;
    min-height: 350px;
  }
  
  .visor-page {
    padding: 0.5rem;
  }
  
  .visor-title {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
  }
  
  .visor-content {
    font-size: 0.8rem;
    margin-bottom: 0.6rem;
  }
  
  .visor-navigation {
    margin-top: 0.6rem;
    gap: 0.3rem;
  }
  
  .visor-navigation button {
    font-size: 0.65rem;
    padding: 0.4rem 0.6rem;
    min-height: 32px;
  }
  
  .visor-page-indicator {
    font-size: 0.8rem;
    margin-top: 0.8rem;
  }
}