/* MAIN CONTENT CON ANCHO UNIFORME */
        main {
            width: 100%;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
		
		main2 {
		  flex: 1;
		  width: 100%;
		  max-width: 1100px;
		  margin: 0 auto;
		  padding: 32px 20px;
		  display: flex;
		  flex-direction: column;
		  gap: 36px;
		}

        .content-container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 2.5rem 1.5rem;
            display: flex;
            flex-direction: column;
            gap: 2.5rem;
        }

        /* SECCIÓN FOTO PRINCIPAL Y AJUSTE ANTI-DESBORDE */
        .photo-section {
            width: 100%;
            border-radius: 12px;
            overflow: hidden; /* Evita que cualquier elemento hijo se desborde */
            background-color: var(--card-bg);
            border: 1px solid var(--divider);
            box-shadow: 0 2px 4px rgba(0,0,0,0.02); /* 0 2px 4px rgba(0,0,0,0.02); */
            display: flex;
            justify-content: center;
            align-items: center;
            max-height: 720px; /* Limita la altura para que no ocupe toda la pantalla */
        }
		
		
        /* Regla de control estricto para cuando reemplaces por un <img> */
        .photo-section img.lab-photo {
            width: 100%;
            max-width: 100%;
            height: 100%;
            max-height: 100%;
            object-fit: cover; /* Ajusta la imagen manteniendo la proporción sin deformarla */
            display: block;
        }
		
		.photo-placeholder {
            width: 100%;
            height: 320px;
            background-color: #ffffff;
            border: 2px dashed var(--primary-accent);
            border-radius: 12px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: var(--primary-accent);
            text-align: center;
            padding: 2rem;
            box-sizing: border-box;
        }

        .photo-placeholder svg {
            width: 56px;
            height: 56px;
            margin-bottom: 1rem;
            opacity: 0.85;
        }

        .photo-placeholder span {
            font-size: 1.15rem;
            font-weight: 600;
            color: var(--text-dark);
        }

        .photo-placeholder small {
            font-size: 0.85rem;
            color: var(--text-muted);
            margin-top: 0.5rem;
        }
		
		/* SECCIÓN CAROUSEL */
		/* CARRUSEL DE IMÁGENES box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); */
    .carousel-section {
      position: relative;
      width: 100%;
      height: 600px;
      border-radius: 12px;
      overflow: hidden;
      background-color: #ffffff;
      border: 0px solid #e2e8f0;
      
    }

    .carousel-container {
      position: relative;
      width: 100%;
      height: 100%;
    }

    .carousel-slide {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      opacity: 0;
      visibility: hidden;
	  overflow: hidden;
      transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
	  display: flex;
	  align-items: center;
      justify-content: center;
    }

    .carousel-slide.active {
      opacity: 1;
      visibility: visible;	  
    }

    .carousel-slide img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      display: block;
    }
	
	.carousel-slide img.ori {
	  max-width: 100%;
	  max-height: 100%;
	  height: auto;
	  width: auto;
	  object-fit: contain;	  
	  position: relative;
	  z-index: 2; /* Para que quede por encima del fondo */
	  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    }
	
	.carousel-slide img.fondo {
	  display: block;
	  position: absolute;
	  width: 100%;
	  height: 100%;
	  object-fit: cover; 
	  filter: blur(15px) brightness(0.5); 
	  z-index: 1;
    }

    /* PLACEHOLDERS DE PRUEBA */
    .slide-placeholder {
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      color: #ffffff;
      text-align: center;
      padding: 20px;
    }

    .slide-bg-1 { background: linear-gradient(135deg, #1e3a8a, #3b82f6); }
    .slide-bg-2 { background: linear-gradient(135deg, #065f46, #10b981); }
    .slide-bg-3 { background: linear-gradient(135deg, #4c1d95, #8b5cf6); }

    .slide-placeholder svg {
      width: 48px;
      height: 48px;
      margin-bottom: 12px;
      opacity: 0.9;
    }

    .slide-placeholder h3 {
      font-size: 1.4rem;
      margin-bottom: 6px;
    }

    .slide-placeholder p {
      font-size: 0.9rem;
      opacity: 0.85;
    }

    /* BOTONES DE NAVEGACIÓN (FLECHAS) */
    .carousel-arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background-color: rgba(255, 255, 255, 0.85);
      color: #1f2937;
      border: none;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      z-index: 10;
      box-shadow: 0 2px 8px rgba(0,0,0,0.3);
      transition: background-color 0.2s ease, transform 0.2s ease;
    }

    .carousel-arrow:hover {
      background-color: #ffffff;
      transform: translateY(-50%) scale(1.1);
    }

    .carousel-arrow.prev { left: 16px; }
    .carousel-arrow.next { right: 16px; }

    .carousel-arrow svg {
      width: 24px;
      height: 24px;
    }

    /* INDICADORES (DOTS) */
    .carousel-dots {
      position: absolute;
      bottom: 16px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 10px;
      z-index: 10;
    }

    .dot {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background-color: rgba(255, 255, 255, 0.5);
      border: 1px solid rgba(0, 0, 0, 0.2);
      cursor: pointer;
      transition: background-color 0.3s ease, transform 0.3s ease;
    }

    .dot.active {
      background-color: #ffffff;
      transform: scale(1.2);
    }
	
	/* Estilo para diapositiva dividida */
	.carousel-slide-split {
	  display: flex;
	  flex-direction: row;
	  align-items: center;
	  justify-content: space-between; /* space-between */
	  width: 100%;
	  height: 100%;
	  background: linear-gradient(135deg, #1f2937 0%, #2f4957 100%);
	  padding: 0px 0px;
	  box-sizing: border-box;
	}

	/* Imagen contenida a un lado */
	.carousel-slide-split img {
	  height: 100%;
	  max-height: 600px;
	  width: auto;
	  border-radius: 8px;
	  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	  object-fit: contain;
	}

	/* Bloque de texto a la derecha */
	.carousel-slide-info {
	  color: #ffffff;
	  flex: 1;                 /* Hace que el texto ocupe de manera pareja el espacio libre */
	  text-align: left;       /* Centra las líneas de texto dentro de su recuadro */
	  max-width: 50%;
	  padding: 0px 90px 0px 60px;
	}

	.carousel-slide-info h3 {
	  font-size: 1.6rem;
	  margin-bottom: 10px;
	}

	.carousel-slide-info p {
	  font-size: 1.3rem;
	  line-height: 1.5;
	  color: #e8f5e9;
	}
	
	/* carrusel con varias imagenes por diapositiva */
	.carousel-slide-grid {
	  display: flex;
	  justify-content: center;
	  align-items: center;
	  gap: 40px;
	  width: 100%;
	  height: 100%;
	  background-color: #f1f5f9;
	  padding: 16px;
	}

	.carousel-slide-grid img {
	  height: 100%;
	  width: auto;
	  max-width: 50%; /* Permite 2 fotos lado a lado */
	  object-fit: cover;
	  border-radius: 8px;
	  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	}